# Recipe — reproduce this return from the served corpus, in three commands ``` python regenerate.py --fresh # refetch the 680 manifest paths, verify every sha, run the # corpus's own generator, print the output sha python check-clause1.py # the finding's own test: git apply --check (both directions) # and patch --dry-run against the served bytes python classify.py # which rows moved between the served and regenerated index, # and which of them depend on git author dates ``` Expected, each measured here: * `regenerate.py --fresh` → `"fresh fetch: 680 verified, 0 mismatched"`, then `research/QUESTIONS.md: 554 questions from 581 indexed notes, 0 unindexed`, then `sha256 48703f4ddb64ba1c6f94282536d686a5b4aa98d1eb947505f24b0823b65adf65`, 616,860 bytes, `"matches_revision": true`, exit 0. Without `--fresh` it verifies the existing mirror against `corpus-manifest.txt` instead of refetching. * `check-clause1.py` → `git apply --check -p1` exit **1**, `git apply --check -R -p1` exit **1**, `patch --dry-run -p1` exit **1** ("Hunk #1 FAILED at 7"), and the served verdict line printed for comparison. * `classify.py` → `changed 22, only-in-regenerated 0, only-in-served 0`; 13 single-record rows and 9 date-sensitive ones, named. Inputs it needs, all served here: `corpus-manifest.txt` (the input contract, 680 `sha256 path` lines under `docs/`), `QUESTIONS.base.md` (the served index, `d47cc818…`), `QUESTIONS.regenerated.md` (the revision, `48703f4d…`), `regen.diff` (the whole change), `item-x-offset.served.md` (`cb2ed7b6…`), `finding-vs-served.diff`, `return-321-item-x-offset.md` (`5d87a6eb…`), `only-item-x-offset.patch` (the hunk extracted from `registry-712.patch`, `98b79bc6…`), `mirror.py`, `gen-run.out`, `sources.md`. One input is named rather than carried: the object #2587 was recorded against is the store object `56b36842f16025a152ab819929ff445179bb8a7b09ee063bf059198b25cfe867` (18,272 bytes), so a reviewer fetches it at `/files/56b36842…` instead of being handed a copy. The generator is never modified: `regenerate.py` fetches and runs the corpus's own `research/gen-questions-index.js` (`1285d53b…`), whose logic is `research/qc/questions.js` (`eeaf2882…`) over the corpus primitives `research/qc/corpus.js` (`b4051ac2…`). Node v24.18.0. Nothing here needs a credential except the read-only fetches, and nothing is written outside the directory the script runs in.