This is a worked SPECS.md you can run end-to-end out of the box. It defines two
trivial, machine-verifiable phases so you can watch the proposer → critic → gate
loop work (and see a REJECT get fixed) without needing a real codebase.
Point the orchestrator at a scratch workdir and this file:
mkdir -p /tmp/specstride-demo && cp SPECS.example.md /tmp/specstride-demo/SPECS.md
./orchestrator.sh -w /tmp/specstride-demoEach phase is a level-2 heading beginning Phase <N>, with an
### Acceptance criteria block. The orchestrator slices a phase by heading and
hands the whole section to the critic as the requirements to check.
Create a file named hello.txt in the working directory whose contents are
exactly the single line Hello, Specstride! (with a trailing newline).
- A file
hello.txtexists in the working directory. - Its contents are exactly
Hello, Specstride!followed by a newline — no other text, no leading/trailing blank lines.
Create a file named manifest.json in the working directory: a JSON object with
a name key set to the string specstride-demo and a phase key set to the number
1.
- A file
manifest.jsonexists in the working directory. - It is valid JSON parseable by
python3 -c 'import json,sys; json.load(open("manifest.json"))'. - It has a top-level key
nameequal to"specstride-demo"and a top-level keyphaseequal to the number1.