Skip to content

Describe the emitter's backfill-orrery command in the Orrery docs - #1824

Merged
anth-volk merged 4 commits into
mainfrom
claude/docs-backfill-orrery
Dec 1, 2026
Merged

anth-volk merged 4 commits into
mainfrom
claude/docs-backfill-orrery

Conversation

@anth-volk

@anth-volk anth-volk commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1823

Do not merge: wait for the microcosm-emitter release with PolicyEngine/microcosm-emitter#103 on PyPI, and change 0.19.0 in docs/orrery-adapter.md and the changelog fragment if that release has another version, so the docs describe a command people can install.

Summary

docs/orrery-publication.md and docs/orrery-adapter.md called the emitter's microcosm-emitter backfill-orrery <dir> command planned, and said a reconstructed schema could not be submitted yet. This PR describes the command as PolicyEngine/microcosm-emitter#103 builds it:

  • docs/orrery-publication.md: the paragraph on builds whose files exist only on one machine now says the emitter command runs orrery_inputs on that machine (or the reconstruction command for a build made before Add country-neutral Orrery execution evidence and UK contracts #1144) and submits the result to the collector with no Hugging Face location, and links to the new section.
  • docs/orrery-adapter.md, "Writing inputs for a saved build": the last paragraph points to the emitter command and says the command refuses a build that has a schema but no execution evidence, because the collector makes no document from an unmarked schema without an overlay.
  • docs/orrery-adapter.md, "UK builds before Add country-neutral Orrery execution evidence and UK contracts #1144": no longer says submission waits for collector and emitter work. The collector accepts a marked schema without an overlay and records the document as reconstructed (Accept reconstructed declaration-only Orrery inputs microcosm-collector#82), and the emitter command runs the reconstruction tool for such a build.
  • docs/orrery-adapter.md, new section "Submitting a saved build's inputs": the usual invocation; --python pointing at a Microcosm checkout's environment set up with uv sync --all-packages; one build per call and how the command picks orrery_inputs or orrery_reconstruction from the directory's files; the submission with huggingface: null and what it sends; where the build and run IDs come from, including --build-id for an interrupted build; and the warning that a build already staged to Hugging Face gets a second document, which becomes current. The full option list and exit codes stay in the emitter's README, so the two don't drift apart.
  • A changed changelog fragment.

Tests

No test in the repository reads these docs, and this PR adds none: it changes only wording, so there is no failing-then-passing pair of commits.

Review

  • Round 1 (microcosm-1824-review-round1-2026-12-01.md): four bugs, all fixed in 6eecdf6fd8. Medium: a plain uv sync does not install Microcosm's packages (now uv sync --all-packages). Medium: the identity and directory rules had changed in Require exact SOI filter materialization #103 since the reviewed head (--build-id is required with --schema or --evidence; evidence without a schema is refused). Low: the version 0.19.0 was not certain (dropped from the docs, then restored in round 2 with a check in the "Do not merge" step). Low: the publication doc left out the reconstruction command. Also linked the emitter README and noted that a telemetry-only collector token stops the command.
  • Round 2 (microcosm-1824-review-round2-2026-12-01.md): every round 1 fix confirmed; one low bug, fixed in a7a731311a: "the release that follows Require exact SOI filter materialization #103" told a reader no version or upgrade command, so the section now says microcosm-emitter 0.19.0 or later with the uv tool install --upgrade command, as the publication doc does for other emitter requirements. Also from its notes: only interrupted UK full or national builds record their IDs in request.json, and the section mentions --timeout and --dry-run.
  • Round 3 (microcosm-1824-review-round3-2026-12-01.md): no bugs; earlier fixes confirmed against Require exact SOI filter materialization #103 e589bd18d4. Two of its wording notes applied in 304076778d: the publication doc names orrery_reconstruction and links its section, and the second-document warning covers only builds the collector already has from Hugging Face. Review finished; no bugs left.

What the merge waits for

🤖 Generated with Claude Code

anth-volk and others added 4 commits December 1, 2026 01:55
docs/orrery-publication.md and docs/orrery-adapter.md no longer call
`microcosm-emitter backfill-orrery` planned. A new section in
orrery-adapter.md, "Submitting a saved build's inputs", says how to run it:
--python pointing at a Microcosm checkout's environment, one build per
call, and a submission to the collector with no Hugging Face location,
with a pointer to the emitter's README for every option and exit code.
The reconstructed-schema section now says the collector accepts a marked
schema without an execution overlay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use uv sync --all-packages, describe the identity rules for --schema and
--evidence and the refusal of evidence without a schema, as
PolicyEngine/microcosm-emitter#103 now does, mention the reconstruction
command in the publication doc, drop the uncertain emitter version, and
link the emitter README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Give the emitter version and upgrade command as the publication doc does
for other emitter requirements, name the builds that record their IDs in
request.json, and mention --timeout and --dry-run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wording notes from review round 3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@anth-volk
anth-volk marked this pull request as ready for review December 1, 2026 14:05
@anth-volk
anth-volk merged commit 1466e62 into main Dec 1, 2026
11 checks passed
@anth-volk
anth-volk deleted the claude/docs-backfill-orrery branch December 1, 2026 14:05
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.

Docs: describe the emitter's backfill-orrery command

1 participant