Repository navigation
[codex] Retire correction file participation bridge - #2586
Conversation
|
[Director conformance check — fallback for missing dashboard provider reviews] Note: GitHub blocks self-approval (briansrls author shared); recording Director read for Mgr/operator visibility. Verdict: would-approve. Substantive bridge retirement (+7/-24, 3 files; net is removing the Conformance:
Minor flag (non-blocking): the — sent from zesty-bear-812 (gunbc Director, inbox #828) |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
c8c7f1f2· Trigger:schedule - Thinking:
151s wall
Non-blocking — Improvements (fix in-PR if easy, else defer to roadmap)
docs/briefs/bridge-retirement-audit-sourcespan-family.mdRow #19 now records a retirement, so the file-level "audit packet only (no retirements)" status should be refreshed in the B4 bridge-retirement queue lane.
✅ No blocking concerns; the code change removes the duplicate file-string participation gate while preserving offset, UTF-8, tokenize, and parse validation.
|
Review metadata
1. Story of the diffThis PR retires one narrow SourceSpan/file-string bridge in diagnostic correction application. 2. Invariant categories
N/A — this is implementation/docs only:
Compliant — single-authority / facts-flow-forward:
Compliant — clear interface / explicit dependencies: the lower-level edit function’s signature now reflects its actual mapping, while the higher-level reparse helper retains
Compliant — the changed behavior is covered at unit level with a directly named contract test,
N/A — the diff does not alter a locked substrate/design decision. It updates bridge-retirement audit docs and one diagnostic helper, and the ledger explicitly preserves the broader open SourceSpan/file-participation work (
Compliant — no new scaffold, TODO, or temporary bridge is introduced. The debt accounting is bounded: the audit status says “row #19 retired; umbrella row remains open” ( 2.5. Top-down PM intent reviewCompliant. The PM-level intent here is not “all SourceSpan file-string participation is gone”; it is the narrower retirement of diagnostic correction file consistency. The diff preserves that distinction: code removes the correction-time file comparison by narrowing 3. VerdictAPPROVE. The PR cleanly removes a duplicate file-identity participation gate, updates the behavioral unit test to pin the new contract, and keeps the broader bridge debt tracked rather than pretending the whole SourceSpan family is solved. |
…2648) * docs(r3): §1.8 ledger-receipt sync — 2026-05-10 batch (V Mgr lane) Flip §1.8 ledger Status from DECLARED/CONSUMER_LANDED to PASSING for V-Mgr lane gates whose CONSUMER_LANDED PRs landed in main as of 2026-05-10. Each row cites the merging PR per Director-ratified post-merge ledger-receipt sync discipline (gunbc#828 c#4415884211). Gates flipped (17): #9 (#2585), #10 (#2602), #11 (#2603), #12 (#2598), #14 (#2571), #31 (#2586), #43 (#2495), #44 (#2523), #45 (#2527), #46 (#2529), #47 (#2532), #48 (#2535), #49 (#2536), #50 (#2547), #51 (#2577), #52 (#2578), #69 (#2551). Skipped per discipline: #15 (PR #2604 not landed); #35 already PASSING. Doc-only; no code or test changes. Closes #2640. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * docs(r3): preserve corpus-quantified + canvas-deferral qualifiers on rows #9/#10/#11 Reviewer (claude-opus-4-7 on PR #2648) flagged that the prior status text on rows #9, #10, #11 carried Director/PM-ratified semantic qualifiers that must not be silently elided when citing a new slice receipt: - #9 `l4_emit_eval_match`: §1.7 corpus-quantified rule — slice receipts ≠ ledger closure; PASSING requires every certification-corpus program. Reverted to CONSUMER_LANDED; PR #2585 cited as additional slice evidence. - #10 `l7_algebraic_laws_witnessed`: PASSING requires exhaustive per-(algebra, inhabitant, law) §Acceptance coverage; distributivity / lattice absorption / non-AlgebraicLawKind laws remain substrate §P1. Reverted to CONSUMER_LANDED; PR #2602 cited as incremental advancement. - #11 `tc1_eta_equivalence_executable`: Director (a)-disposition 2026-05-09 held this canvas-deferred past R3 absent #1972 substrate canvas-tier work. Reverted to DECLARED-through-R3; PR #2603 cited as scaffold advancement but not retiring the canvas-deferral (which would require fresh Director ratification). Other 14 rows in the batch (#12, #14, #31, #43-52, #69) did not carry such qualifiers and stay flipped to PASSING. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Merge origin/main into ledger-receipt sync (preserve row #13 update from main) --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
correction.span.filevs callerfilegate fromapply_correctionValidation
cargo fmtrg -n "correction\.span\.file\s*!=|CorrectionApplyError::FileMismatch|FileMismatch" src/v3/compiler/src/diagnostics.rs docs/briefs/bridge-retirement-audit-sourcespan-family.md(no matches)cargo test -p v3-compiler diagnostics::tests::apply_correction_uses_span_offsets_not_file_participationcargo test -p v3-compiler apply_correctiongit diff --checkNotes
This is a leaf retirement for audit row #19. The umbrella
bridge_source_span_file_participation_retiredledger row remainsOpenbecause the audit packet still lists production lens/lower/emit SourceSpan.file participation surfaces.