Skip to content

Describe build folders and the new certification commands in the certification docs - #791

Draft
anth-volk wants to merge 5 commits into
mainfrom
claude/7c-4-certification-docs
Draft

anth-volk wants to merge 5 commits into
mainfrom
claude/7c-4-certification-docs

Conversation

@anth-volk

Copy link
Copy Markdown
Contributor

Fixes #790
Do not merge: recheck the docs against the final pull requests of the certify-build command and the compatibility workflow (my own step; removed once done)

What this changes

The certification docs now describe certifying a US or UK Microcosm build from its own folder, releases/<release>/<build>/, listed in releases.json, with the commands and workflow that replace the tagged-address procedure and the UK qualification workflow:

Files:

  • docs/engineering/runbooks/build-m-us-populace-certification.md is renamed to docs/engineering/runbooks/microcosm-certification.md and rewritten for both countries: naming the builds, choosing the model version, certify-build with every option, what the pull request should change, the scheduled workflow, and running the steps by hand. No pointer file is left at the old name; the one link to it (acs-local-wic-replacement.md) is updated.
  • docs/engineering/skills/data-certification.md is rewritten around certify-build: the build-folder rules, the compatibility bases (including compatibility_checked_exact_pair), the compatibility check, the scheduled workflow, the regional routes (the policyengine-uk-data area route is gone), the core (a certificate on a compatibility record always names its core) and validation. A new "Earlier certifications" section keeps the tagged addresses, the policyengine-uk-data route, the UK qualification workflow and the Certify the Microcosm UK national and local-area pair with policyengine-uk 2.132.6 #685 and Allow a UK local-area release on an accepted model mismatch #699 records as history that current .py refuses.
  • docs/release-bundles.md: the top note, the roles, the certification examples, both example manifests (now Microcosm builds in their own folders), the compatibility rule (the compatibility check replaces the planned data_build_fingerprint basis) and one release workflow for both countries instead of the UK one.
  • docs/bundles.md: its certification examples used tagged addresses; they now point to certify-build.
  • changelog.d/790.changed.md.

docs/engineering/runbooks/uk-qualification.md is left in place: the compatibility workflow's pull request removes it together with certify-uk-release.yaml and the tests that read it. Deleting it here would fail tests/test_uk_qualification_workflow.py on this branch.

No tag address and no policyengine-uk-data step appears outside "Earlier certifications". The tracker's completed state for this task says "no tag addresses"; the history section keeps them by the project owner's decision.

Tests

Docs only, with no testable behaviour, so no test was added. No existing test reads these files' wording. The relative links and anchors in the changed files were checked by reading them; all resolve, and docs/_quarto.yml names no renamed or removed file.

Review

Three rounds of adversarial review, each checking every command, option, path and behaviour claim against the code on the earlier tasks' branches:

  • Round 1: 3 medium, 2 low, all fixed. certify-build must check only builds not made with the model version (the docs say so; see below); a certificate on a compatibility record always names its core; deleting uk-qualification.md here broke a test (restored); the core-claim exception for records; the workflow's skip rule and manual runs.
  • Round 2: 1 medium, 2 low, all fixed. A record for either build binds the core; bundles.md's core sentence; the workflow checks only PyPI's newest version.
  • Round 3: 1 medium, fixed. Certifying moves the model pin to the certified version, so the docs say to pass the bundle's current pin as --model-version when it is newer.

Bugs left in this pull request: none. Bugs found in the earlier work that this pull request depends on (not in this pull request): the certify-build branch (claude/7c-2-certify-build, head 79d5d6ac) runs the compatibility check on every build, which refuses a build's own model, and its pull request body reports core_binding: bundle_pin for certificates made on a record. The docs describe the working behaviour, so this pull request should merge only once those are fixed.

What the merge waits for

This branch starts from main. Its merge waits for:

Merging those will conflict with this branch in docs/release-bundles.md and docs/engineering/skills/data-certification.md, which #789 also edits; the conflicts are resolved with a merge commit, keeping #789's meaning.

🤖 Generated with Claude Code

anth-volk and others added 5 commits December 3, 2026 23:08
The certification docs now describe certifying a US or UK Microcosm build
from its own folder with `scripts/bundle.py certify-build`, the
compatibility check (`check-compatibility`) and the Tuesday and Friday
`Check model compatibility` workflow. The US runbook becomes
`docs/engineering/runbooks/microcosm-certification.md` for both countries,
the UK qualification runbook is removed with its workflow, and tagged
addresses and policyengine-uk-data steps remain only in the data
certification skill's "Earlier certifications" history section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The compatibility workflow's branches now name the national build, it runs
certify-build in place and records cancelled runs; check-compatibility
refuses a build's own model and binds the core. Add the changelog fragment
for #790.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- certify-build checks only builds not made with the model version.
- A certificate on a compatibility record always binds its core, and the
  record replaces the release's core claims.
- The scheduled workflow skips a version once any pull request came from
  its branch; a manual run may cover both countries.
- Leave uk-qualification.md to the workflow change that removes it, so this
  branch's tests keep passing on their own.
- Note certify-build's full-commit and --in-place restrictions, and correct
  the regional_release_kind paragraph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A compatibility record for either build binds the certificate's core, and
  the other build's core claims then refuse instead of warning.
- bundles.md names records as a way a certificate binds its core.
- The scheduled workflow checks only the newest version on PyPI.
- Remove the last fingerprint-plan passages, and describe the disk check and
  --output-dir as the code has them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Certifying moves the bundle's model pin to the certified version, and
certify-build defaults to the national build's own model, so the docs now
say to pass the bundle's current pin as --model-version when it is newer.
Also describe --local-area-release's dependency on --local-area-build and
everything --output-dir holds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

Describe build folders and the new certification commands in the certification docs

1 participant