You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A generator that queries the Factory Tasks Notion database and emits the Factory intake manifest (the NotionIntakeManifest shape consumed by src/intake/notion.ts), so rows set to Ready for Agent become dispatchable Factory tasks.
Context
Factory's Notion intake (src/intake/notion.ts, PR feat(intake): deliver private Notion specs across fleet nodes #215) reads a manifest of {page, bootstrap:{authorizedPageId, reason, status:"ready", title, recipe, summary, targets:[{repo,labels} | {projectPath,node}]}}, mounts each authorized page, and publishes a GitHub issue Factory then dispatches (idempotent by source key). It does not read a Notion database directly — this generator bridges that gap.
Deliverable
A generator that queries the Factory Tasks Notion database and emits the Factory intake manifest (the
NotionIntakeManifestshape consumed bysrc/intake/notion.ts), so rows set to Ready for Agent become dispatchable Factory tasks.Context
src/intake/notion.ts, PR feat(intake): deliver private Notion specs across fleet nodes #215) reads a manifest of{page, bootstrap:{authorizedPageId, reason, status:"ready", title, recipe, summary, targets:[{repo,labels} | {projectPath,node}]}}, mounts each authorized page, and publishes a GitHub issue Factory then dispatches (idempotent by source key). It does not read a Notion database directly — this generator bridges that gap.collection://a7fb83ad-c667-4003-a1dc-132c6826aac1).Mapping (DB row → bootstrap)
page/authorizedPageId← the row's own Notion page idstatus: "ready")title← Task ·recipe← Recipe ·summary← page body (the brief) ·reason← Reasontargets← Repo + Labels →{repo, labels}OR Project Path + Node →{projectPath, node}labelsDefinition of done
manifestSchema(zod) validation from the live DB.Ready for Agentrows are included; re-runs are idempotent.runNotionIntaketo publish/refresh GitHub issues.projectPath/node) row.Safety gates
Do not merge; open a PR parked in human-review. Do not auto-flip any DB row's Status — humans move a row to Ready for Agent.
Recipe:
single. Filed from the Factory Tasks Notion DB.