Repository navigation
fix(recovery): bind receipts from immutable inspection snapshots - #266
Draft
seonghobae wants to merge 7 commits into
Draft
seonghobae wants to merge 7 commits into
seonghobae wants to merge 7 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
seonghobae
changed the base branch from
main
to
fix/recovery-evidence-weakref-coverage-b84f0c9
August 20, 2026 02:19
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.
ACTIVE Draft — bind recovery receipts from immutable inspection snapshots
Refs #227, #233, #244.
Protected
mainremains5913c4bad79d6bc29d7cc1c624abb7db2ea6a77c; no direct protected-branch write occurred. This remains an explicit child of #233.Current exact stack
fix/recovery-evidence-weakref-coverage-b84f0c9;01d231fde23b82e2ced258d7bfcb4721ed75706d(test(recovery): cover stale evidence registry cleanup #233);fix/recovery-binding-snapshot-race-b84f0c9;00c3535f434762f3090af6de0e449c3f6f9e6418;pg_llm_batch/postgres_recovery_binding.pyandtests/test_postgres_recovery_binding_snapshot.py;Defect and bounded repair
The binding seam historically validated mutable frozen-dataclass evidence against inspection provenance and then could re-read mutable object fields.
object.__setattr__()can replace digest/size fields after validation. The branch captures authoritative schema and backup identity from the inspection registries and constructs the receipt from those snapshots; fabricated or pre-call-mutated evidence continues to fail closed.The branch had drifted onto historical #233
32469711f9a26a26ebcf4a7efcf20938bfdc94db. Reconciliation commit00c3535f434762f3090af6de0e449c3f6f9e6418preserves prior headdad610fe082cc8c19abfdc59d727242b87b5754aas first parent and current #233 as second parent. Its tree starts from the exact current #233 tree and reapplies only the two owner files above. The branch ref advanced non-force; no rebase, force-push, synthetic status, gate weakening, or unrelated workflow ownership was introduced.No receipt schema, persistence, tenant authority, backup/restore execution, path/credential authority, RPO/RTO, HA/DR, or certification claim is added.
Exact-head evidence
For exact
00c3535f434762f3090af6de0e449c3f6f9e6418:34493600261: completed / success;34493600524: completed / success;These are branch-candidate results only. They are not protected-main or immutable-release evidence, and predecessor results do not transfer to a future head.
Integration boundary
#233 must integrate first through live governance. Keep this PR Draft until the dependency root reaches protected main and this two-file slice is reconciled onto the resulting protected tip with every then-required exact-final-head quality, security, package/SBOM/provenance/release, review, and thread-resolution gate reacquired. Queued, pending, cancelled, skipped-required, absent, predecessor, status-only, synthetic, author-only, or infrastructure-failed evidence is non-passing.