Remove CPU calibration and freeze runtime constants only - #1604
Merged
TheGreenCedar merged 3 commits intoJul 29, 2026
Conversation
TheGreenCedar
marked this pull request as ready for review
July 29, 2026 18:46
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.
Context
CodeStory does not support CPU embeddings. The previous calibration path still carried a hosted Linux CPU cell and repeated the complete packaged qualification harness three times, mixing runtime-constant selection with lifecycle, fault, idle, memory, quality, and accelerator qualification.
Base:
2b97dd8b356a56e1def9018beae6fc99c3f23c83Head:
0944b74be6feb349c8b9ae3b4d0761dd49851815What changed
cpu_fallback: unsupported, and rejects CPU identities in calibration, qualification, benchmark, evidence, and release-proof contracts.How to review
release-claims.jsonand the calibration/qualification assertions in.github/scripts/check-workflow-policy.mjs.calibrationandqualificationroutes inpackaged-platform-pr.yml, then the Metal and Linux reusable workflows.constant_calibration.pyand the new Rust constant-calibration driver for the one-setup/three-fresh-generation boundary.Verification
0944b74b: 2,357/2,357 tests, 3m48s compile, 36.7s all-target/all-feature clippy, 131.6s test execution, 7m25s full-source job.cargo test --locked -p codestory-bench --lib: 30/30.cargo test --locked -p codestory-cli --test architecture_contracts: 14/14.960e7071ba1e97425a9c0be13dc107dd35374bd8e9a6ed49fc522d1aa85062ac.git diff --checkpassed.Remaining proof
No calibration or hardware workflow has been dispatched from this branch. After merge, the release lane still must run and time the real Metal calibration, apply the generated constant set as the sole post-calibration source change, and qualify the frozen candidate. Calibration-input digest reuse is intentionally left for a follow-up.
Refs #1597
Closes #1603