feat(legal): add immutable source repair transaction - #449
Open
zhengdaqi wants to merge 4 commits into
Open
Conversation
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.
Summary
Adds a bounded immutable Legal Coverage repair transaction for rejected source-merge proposals. The repair is validated against the unchanged proposal and current state, applied through an exact command, and renews semantic progress only after a verified applied receipt.
This addresses the preserved Case 09 failure where two proposal facts needed corrections but the read/edit protocol exhausted the bounded Progress Lease.
Changes
source-repair-<digest>.jsoncontract from complete fact-level diagnostics.source-repair-applied-<digest>.json.write_filepreparation checkpoint through PostToolUse without changing Core or Lease thresholds.QA & Evidence
308/308passed after one isolated, non-reproducible O1 temp-directory cleanup race. See.omo/evidence/20260727-v24r8-immutable-source-repair/full-test-rerun.logando1-isolated-rerun.log.4/4passed with Router and Memory disabled, O1 diagnostic/4096 complete, paired model/tool/turn events, and zero drops. Seereal-gateway.log.0 -> 1 -> 1, progress0 -> 0 -> 1, rejected proposal unchanged. Seecase09-replay-result.json..omo/evidence/20260727-v24r8-immutable-source-repair/QA.md.Risks & Residuals
8/2, Router, Memory, O1, V24R7 authority closure, model, or corpus behavior changed.Stack
This PR intentionally targets
codex/convergence-v24r7-bounded-authority-closure, its exact dependency base, so the V24R8 review remains isolated from the preceding convergence stack.