Skip to content

FE-812: Completed-spec fixture for the plan emitter#168

Open
kostandinang wants to merge 1 commit into
ka/fe-800-spec-to-cook-planfrom
ka/fe-812-completed-spec-fixture
Open

FE-812: Completed-spec fixture for the plan emitter#168
kostandinang wants to merge 1 commit into
ka/fe-800-spec-to-cook-planfrom
ka/fe-812-completed-spec-fixture

Conversation

@kostandinang
Copy link
Copy Markdown
Contributor

@kostandinang kostandinang commented Jun 4, 2026

Summary

Adds a realistic completed-spec fixture for the emitter to run against, plus a reusable skill for producing more of them. spatial_graph_layout is a brunch feature specced as a full completed specification — four interview phases closed, requirements and criteria reviews accepted — seeded into .brunch/brunch.db as scenario spatial-graph-layout-all-phases-closed. It gives the emitter (and the workspace UI) believable input beyond the single thin real spec.

The graph is authored for coverage: full criterion→requirement verification, one criterion verifying two requirements, non-buildable constraint-phrased requirements, and zero req→req execution edges (so ordering must be synthesized, not read) — exercising the emitter's projection, ordering, and reconciliation stages.

What Changed

  • Adds src/server/fixtures/scenarios/spatial-graph-layout.ts — the completed-spec seed (25 knowledge items, 16 typed edges, all four phases confirmed, per-turn impact), registered in scenarios.ts as spatial-graph-layout-all-phases-closed.
  • Adds docs/fixtures/spatial-graph-layout-interview.md — the four-phase interview transcript and node/edge capture map (source of truth for the seed).
  • Adds the spec-fixture skill (.agents/skills/spec-fixture/) — a standalone, profile-parameterized workflow for authoring further completed-spec fixtures from any feature, so dogfooding the emitter and UI is repeatable rather than a one-off hand-build.

Scope

Fixtures and tooling only — no product or emitter code changes. Completed-spec fixtures live in their own scenarios/ sub-tree to keep the scenarios.ts registry lean as the family grows. The seed is additive (a new specification row); existing scenarios and DB state are untouched.

Verification

npm run verify passes: format and lint, full test suite, production build. The seeded scenario produces 25 items / 16 edges with all four phases confirmed against a fresh DB.

Run: npm run seed -- spatial-graph-layout-all-phases-closed

Closes FE-812.

🤖 Generated with Claude Code

Adds the spatial_graph_layout completed-spec fixture (scenario
`spatial-graph-layout-all-phases-closed`): 25 knowledge items, 16 typed edges,
all four interview phases closed — plus a reusable `spec-fixture` skill for
authoring completed-spec fixtures from a feature.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor Author

kostandinang commented Jun 4, 2026

@kostandinang kostandinang changed the title FE-812: Realistic completed-spec fixture for the plan emitter FE-812: Completed-spec fixture for the plan emitter Jun 4, 2026
@kostandinang kostandinang marked this pull request as ready for review June 4, 2026 16:27
@cursor
Copy link
Copy Markdown

cursor Bot commented Jun 4, 2026

PR Summary

Low Risk
Fixtures, docs, and agent skill only; no runtime product or emitter logic changes. Existing scenarios unchanged aside from one new registry entry.

Overview
Introduces a realistic completed-spec fixture for the plan emitter and UI dogfooding: scenario spatial-graph-layout-all-phases-closed seeds a brownfield spatial graph layout spec (four phases closed, accepted requirements/criteria, 25 knowledge items, 16 policy-guarded edges) via new seedAcceptedSpatialGraphLayoutSpec in src/server/fixtures/scenarios/spatial-graph-layout.ts, wired through scenarios.ts and npm run seed.

The graph is authored for coverage stress: full verifies on buildable requirements, multi-target criteria, non-buildable constraint-phrased requirements without verification, no req→req depends_on, and an adversarial refines edge—so downstream consumers must synthesize order and validate, not read execution deps from the graph.

Adds docs/fixtures/spatial-graph-layout-interview.md as the transcript + capture map kept in sync with the seed, and the spec-fixture agent skill (with references/seed-pattern.md) documenting how to produce additional completed-spec fixtures with coverage or clean profiles.

Reviewed by Cursor Bugbot for commit 2cd009a. Bugbot is set up for automated code reviews on this repo. Configure here.

@kostandinang kostandinang self-assigned this Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant