The golden demo is the canonical end-to-end SpecForge walkthrough for an existing repository. It gives us one repeatable scenario that proves the value stream from repository inspection to task execution artifacts.
pnpm install
pnpm demo:goldenTo write the demo workspace somewhere specific:
pnpm demo:golden -- --workspace-root ./tmp/specforge-golden-demoFor safety, custom workspace roots must stay under ./tmp, ./.tmp, or your OS temp directory. The demo resets that workspace before it copies the fixture repository.
The demo copies a small existing-repo fixture into an isolated workspace, initializes it as a git repository, and then runs the following workflow:
sf doctorvalidates local runtime, git, pnpm, repository readiness, and policy shape.sf inspectprofiles the fixture repository and writes bounded architecture artifacts.- The artifact chain runs in-process for deterministic regression coverage:
ideaInterviewgeneratePRDgenerateSpecPackdecomposeToWorkGraphbuildContextPackdevTDDTaskcriticRalphLoop
sf explainrenders artifact lineage for the generated task execution result.sf statusprints simulated GitHub status output so the demo stays runnable without a live pull request.
The demo writes these key files into the chosen workspace. This is not an exhaustive list:
repository/— a copied fixture repository used for brownfield inspectionartifacts/.specforge/repo_profile.jsonartifacts/.specforge/architecture_summary.jsonartifacts/idea_brief.jsonartifacts/PRD.mdartifacts/PRD.jsonartifacts/SPEC.mdartifacts/spec/index.jsonartifacts/spec/dag.yamlartifacts/schemas/core.schema.jsonartifacts/acceptance/core.mdartifacts/decisions.mdartifacts/.specforge/context-packs/TASK-1.jsonartifacts/.specforge/task-results/TASK-1.jsonartifacts/.specforge/critic-results/TASK-1.jsongolden-demo-manifest.json
golden-demo-manifest.json is the regression baseline. It captures normalized command outputs plus the artifact ids, versions, and workspace-relative paths that the workflow produced.
This demo gives new contributors a concrete, runnable example of how SpecForge behaves today without assuming orchestration we have not built yet. It also gives the core team a stable end-to-end baseline that can be exercised in tests as the CLI grows.