Repository navigation
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 inreleases.json, with the commands and workflow that replace the tagged-address procedure and the UK qualification workflow:scripts/bundle.py certify-build: one certification command for either country, by release and build name;scripts/bundle.py check-compatibility(Check one Microcosm build against one model version and certify on the result #788, Check one Microcosm build against one model version and certify on the result #789) andcertify-data --compatibility-record/--regional-compatibility-record;Check model compatibilityworkflow (Check each country's newest model release on Tuesdays and Fridays, replacing certify-uk-release.yaml #787).Files:
docs/engineering/runbooks/build-m-us-populace-certification.mdis renamed todocs/engineering/runbooks/microcosm-certification.mdand rewritten for both countries: naming the builds, choosing the model version,certify-buildwith 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.mdis rewritten aroundcertify-build: the build-folder rules, the compatibility bases (includingcompatibility_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 planneddata_build_fingerprintbasis) and one release workflow for both countries instead of the UK one.docs/bundles.md: its certification examples used tagged addresses; they now point tocertify-build.changelog.d/790.changed.md.docs/engineering/runbooks/uk-qualification.mdis left in place: the compatibility workflow's pull request removes it together withcertify-uk-release.yamland the tests that read it. Deleting it here would failtests/test_uk_qualification_workflow.pyon 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.ymlnames 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:
certify-buildmust 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; deletinguk-qualification.mdhere broke a test (restored); the core-claim exception for records; the workflow's skip rule and manual runs.bundles.md's core sentence; the workflow checks only PyPI's newest version.--model-versionwhen 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-buildbranch (claude/7c-2-certify-build, head79d5d6ac) runs the compatibility check on every build, which refuses a build's own model, and its pull request body reportscore_binding: bundle_pinfor 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:certify-buildcommand's pull request merged, for the same reason;mainis in effect once merged; it also removesuk-qualification.md;Merging those will conflict with this branch in
docs/release-bundles.mdanddocs/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