Skip to content

chore: Replace historical-diff canary machinery before the live transit… - #4608

Merged
Sinity merged 7 commits into
masterfrom
feature/packet/polylogue-1qmz3
Sep 3, 2026
Merged

Sinity merged 7 commits into
masterfrom
feature/packet/polylogue-1qmz3

Conversation

@Sinity

@Sinity Sinity commented Sep 3, 2026

Copy link
Copy Markdown
Owner

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.db and 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: missing source/040 sidecars; 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.

@Sinity
Sinity enabled auto-merge (squash) September 3, 2026 18:34
@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: daf3a386-d9f1-49a0-8230-a6e83aeb261f


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-03T18:42:21.524449Z e86a9c3 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Sinity
Sinity merged commit d14383e into master Sep 3, 2026
3 of 4 checks passed
@Sinity
Sinity deleted the feature/packet/polylogue-1qmz3 branch September 3, 2026 18:40

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread polylogue/maintenance/reindex_canary.py Resolved
Comment thread polylogue/maintenance/reindex_canary.py Resolved
Comment thread polylogue/maintenance/reindex_canary.py Resolved
Comment thread polylogue/maintenance/reindex_canary.py Resolved
Comment thread polylogue/maintenance/reindex_canary.py Resolved
Comment thread polylogue/maintenance/reindex_canary.py Resolved
Comment thread polylogue/maintenance/reindex_canary.py Resolved
@Sinity

Sinity commented Sep 28, 2026

Copy link
Copy Markdown
Owner Author

Codex review threads on this PR whose cited code is gone (checked against master at 23f91a5):

Resolving these threads.

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.

1 participant