FE-835: Orchestrator demo seeds from plan fixtures#192
Conversation
PR SummaryLow Risk Overview Adds Seeded graphs are observer-faithful: provenance, constraints, and
Reviewed by Cursor Bugbot for commit 7cd7da7. Bugbot is set up for automated code reviews on this repo. Configure here. |
fcfc8b2 to
1b8115e
Compare
2802d71 to
7d4a35e
Compare
1b8115e to
a165763
Compare
7d4a35e to
5799649
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5799649. Configure here.
lunelson
left a comment
There was a problem hiding this comment.
This looks useful for getting the demo path closer to the real SPEC → plan → cook flow.
One thing I’d keep an eye on: src/server/fixtures/closed-spec-builder.ts is fixture code, but it now knows how to replay a full four-phase interview using many of the same DB primitives as the product flow. That seems fine for seeding, but I’d avoid letting it become a second “interview implementation” that future tests or features quietly depend on. The boundary is clear in the comments today; just calling it out because this helper is now fairly capable.
Reverse the three brunch cook plan fixtures (parallel-utils, layered-todo, resilient-pipeline) into completed-spec fixtures seeded into the intent-graph DB, so the orchestrator runs end-to-end SPEC -> plan (build-architect) -> cook, not just from a hand-authored plan.yaml. Graphs are observer-faithful: only grounding/design provenance, constraints, and verifying criteria -- no requirement->requirement execution order (plan truth the architect re-derives). Adds an ORCHESTRATOR.md runbook. Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Mirror the grounding ladder: after design elicitation turns, insert a propose_phase_closure proposal turn before user confirmation instead of reusing the last ask_question-style turn as the phase outcome proposal. Co-authored-by: Cursor <cursoragent@cursor.com>
b886e83 to
7cd7da7
Compare


Reverse the three
brunch cookplan fixtures (parallel-utils,layered-todo,resilient-pipeline) into completed-spec fixtures seeded into the intent-graph DB, so the orchestrator can be driven end-to-end SPEC → plan (build-architect, FE-829) → cook — not just from a hand-authoredplan.yaml.plan.yamlinto a reviewableSPEC.md/PLAN.md+ an*-specseed scenario (npm run seed -- <name>-spec); adds a blank*-kickofffor live-driving the interview.closed-spec-builder.ts: content-agnostic four-phase interview replay (grounding → design → requirements → criteria) with a per-turnimpactspread.ORCHESTRATOR.mdrunbook.How to seed them
Each fixture is registered as a completed-spec scenario. Seed one by name, which prints the new project id:
npm run seed -- parallel-utils-spec # or layered-todo-spec / resilient-pipeline-specUse
<name>-kickoff(e.g.parallel-utils-kickoff) instead to seed a blank spec and drive the four-phase interview live from scratch.To drive the full SPEC → plan → cook loop for all three (build-architect re-derives the slice DAG the fixtures hand-author):
These are greenfield specs (cook runs in empty per-slice worktrees). See
ORCHESTRATOR.md§7 for the full runbook.Verification
npm run verify(check + test + build); in-memory seed asserts four phases closed, policy-valid edges, and zero requirement→requirementdepends_on.