Repository navigation
chore: Replace historical-diff canary machinery before the live transit… - #4608
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e86a9c389c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Make canary cohort selection require an explicit sealed source manifest and derive production origin denominators from the durable source tier.
Problem
The selector could fall back to hashing the derived index when no source seal was supplied, allowing derived state to choose the audit cohort. The production route also did not require every source origin to have an index denominator.
Solution
Selection now fails closed without a SHA-256 source seal. Candidate execution reads required origins from
source.dband rejects omissions before invoking the daemon-owned inactive-generation build. Existing bounded comparison remains forensic only and preserves child-row identities.Verification
bash nix/devtools-wrapper.sh test tests/unit/maintenance/test_reindex_canary.py tests/unit/maintenance/test_inactive_candidate_durable_barrier.py tests/unit/storage/test_reindex_derived_model_differential.py— 28 passed.bash nix/devtools-wrapper.sh verify layering— no layering violations.bash nix/devtools-wrapper.sh verify oracle-integrity— oracle integrity intact.bash nix/devtools-wrapper.sh verify --quick— blocked by inherited source migration reservation state: missingsource/040sidecars; restoring them reports the pre-existing stale v39→v40 reservation.bash nix/devtools-wrapper.sh verify— refused because no compatible native testmon graph is available.Residual risk
No live daemon or archive operation was run. Full compatible verification remains unavailable until the repository’s source migration reservation state and testmon graph are repaired.