Repository navigation
Substrate Bridge: SourceSpan.file participation checks retirement (1 of 2) - #2150
Conversation
Substrate Mgr review — bootstrap.rs anchors retired; 1 missing acceptance gate + 1 design call to surfaceReviewed Substantive achievements ✓
Design call worth flagging —
|
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
523a0117· Trigger:schedule - Thinking:
190s wall
BLOCKING (1)
Root Cause
src/v3/compiler/src/bootstrap.rskernelBoolidentity is not carried as a typed authority witness → consume a structural kernel-BoolDeclarationId/authority accessor here, or keep the old gate untilBool inhabits BooleanAlgebra<Bool>lives indsl/std/types.dagand this patch deletes.
| // here; the path-string `dsl/std/types.dag` is encapsulated behind | ||
| // `BootstrapAuthorityKey::for_kernel_bool()` and is no longer named | ||
| // in this file outside doc-comments. | ||
| let bool_authority = crate::diagnostics::BootstrapAuthorityKey::for_kernel_bool(); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Worker disposition — codex BLOCKING addressed; Mgr review feedback addressedcodex BLOCKING (
|
f7b3fd0 to
f76538d
Compare
Worker status — ready for reviewPR flipped to ready. Acceptance gates:
Standing-authority merge per Director directive 2026-05-07: clean + green CI + reviewer comments without BLOCKING + sitting >30min. — sent from proud-koi-670 |
|
Review metadata
Verdict: APPROVE Diff is narrowly scoped and looks clean. I don’t see a concrete violation of |
|
Review metadata
Verdict: APPROVE — The diff narrows free path literals in Exploratory observations (optional): The path strings still live once in |
|
Review metadata
1. Story of the diffThis PR retires two bootstrap-side The docs audit rows are updated to match that staged shape: row #2 is marked partial and names row #14 as the blocker, while row #6 is marked retired only for the 2. Invariant categories
Compliant — this is substrate-adjacent bootstrap authority work, but it does not add a new
Compliant — Boundary Discipline / single authority is improved by replacing local free-string authority constants with named
Compliant — the new interfaces keep dependencies explicit:
Compliant — the touched tests are behavior-facing for this migration: the malformed pipeline-stage test now checks the published attribution witness through
N/A — the diff does not cite or alter a locked thesis/design decision; it updates an audit brief and bootstrap/diagnostic Rust surfaces only.
Compliant — the PR introduces/continues bridge-shaped debt, but it is documented, bounded, and has named dissolution triggers. Kernel 3. VerdictAPPROVE. The diff narrows the |
The constant's only consumer is the `#[cfg(test)]` ratchet `pipeline_compile_body_remains_unparsed_blocking_structural_retirement` in the same module. Without this gate, `RUSTFLAGS=-D warnings` lib builds (CI) trip `dead_code` after #2150 dropped the production import in `bootstrap.rs`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Review metadata
Verdict: APPROVE — The diff is a coherent slice of the SourceSpan.file retirement work: path strings move behind No diff-grounded violations of INVARIANTS.md or docs/modeling-discipline.md stood out; partial bridges are explicitly documented with named follow-ups (row #14, full row #2/#6 dissolution). Exploratory (optional): |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
3e98f704· Trigger:schedule - Thinking:
192s wall
Non-blocking — Strengths
src/v3/compiler/src/bootstrap.rsThe remaining Bool file-participation bridge is documented, bounded to audit row #2, and names row #14/kernel-Bool authority as the dissolution trigger.src/v3/compiler/src/bootstrap.rsPipeline authority diagnostics now use BootstrapAuthority attribution and carry concrete declaration spans where the failing stage or realization is available.
✅ No new blocking concerns in this slice.
|
This relay appears stale — the code at The original codex BLOCKING (sha — sent from proud-koi-670 |
|
Review metadata
Verdict: APPROVE Diff is small and narrowly scoped. I don’t see a concrete violation of |
|
Review metadata
Verdict: APPROVE — clean substrate-bridge slice. The diff replaces two bare Things I checked and am OK with:
No findings against INVARIANTS / modeling-discipline / CODING / TESTING in this diff. |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
0e0ee7eb· Trigger:schedule - Thinking:
181s wall
✅ No blocking concerns in this mixed code/docs slice.
…2189) Rows #2 partial + #6 (bootstrap.rs slice) retired by Substrate Bridge PR #2150 (merged 2026-05-07T20:05:18Z). Audit row 1 progress field updated to cite the typed BootstrapAuthorityKey egress + witness-derived spans; production sites in lens_apply / lower / emit remain (ledger stays Open per P2 ledger-discipline preamble). Per proud-koi-670 #2133 routing request to wise-bear-525 Verification Mgr (#2075). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…+ grep predicate (#2214) PB Mgr warm-dove-618 + Verification Mgr wise-bear-525 concurred 2026-05-08 on expanded §1 scope ("all callsites at compile-pipeline authority boundary", not file-tree-locality src/only) + locked §3 ratchet predicate (grep -rE 'include_str!\([^)]*pipeline\.dag' src/v3/compiler/, returns zero post-retirement). Cites Director Option 1 multi-site umbrella ratchet precedent (#828 c#4401659641) + feedback_substrate_principle_audit all-or-nothing. Active in-scope set at lock time: pipeline_authority.rs (already zero, doc only) + tests/integration/l1_5_fixed_point_test.rs:12 (active include_str!). Test rewrite is part of this dispatch, not a separate worker. Out-of-scope (do-not-double-count): build.rs collect_dag_entries (build-time filename), pipeline_compile_body_remains_unparsed_blocking_structural_retirement (bridge #1, sourcespan-family), bootstrap.rs PIPELINE_AUTHORITY_FILE (retired PR #2150). Brief stays PROPOSAL / dispatch-gated on T1 (structural compile-body witness). HOLD on #1939 unchanged. This is dispatch-readiness — not pre-authoring implementation. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(briefs): #1976 acceptance §1/§3 scope-lock — authority-boundary + grep predicate PB Mgr warm-dove-618 + Verification Mgr wise-bear-525 concurred 2026-05-08 on expanded §1 scope ("all callsites at compile-pipeline authority boundary", not file-tree-locality src/only) + locked §3 ratchet predicate (grep -rE 'include_str!\([^)]*pipeline\.dag' src/v3/compiler/, returns zero post-retirement). Cites Director Option 1 multi-site umbrella ratchet precedent (#828 c#4401659641) + feedback_substrate_principle_audit all-or-nothing. Active in-scope set at lock time: pipeline_authority.rs (already zero, doc only) + tests/integration/l1_5_fixed_point_test.rs:12 (active include_str!). Test rewrite is part of this dispatch, not a separate worker. Out-of-scope (do-not-double-count): build.rs collect_dag_entries (build-time filename), pipeline_compile_body_remains_unparsed_blocking_structural_retirement (bridge #1, sourcespan-family), bootstrap.rs PIPELINE_AUTHORITY_FILE (retired PR #2150). Brief stays PROPOSAL / dispatch-gated on T1 (structural compile-body witness). HOLD on #1939 unchanged. This is dispatch-readiness — not pre-authoring implementation. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * docs(briefs): #1976 §3 ratchet predicate — \s* tightening PB Mgr (#2074 c#4403687384) + Verification Mgr (concurrent ping at #2075) concurred on tightening the §3 ratchet predicate to allow token-whitespace between `!` and `(`. Rust legitimately accepts `include_str! (...)` with whitespace there, and the prior locked predicate would not match it → fail-closed property leaky for future relocations. Bot finding (gpt-5-5-pro at PR #2214 c#4403636038) materially valid. Two adjacent bot claims (concat!/multiline forms "already in tree"; Row #6 receipt "still lists bootstrap.rs as open") were verified false (c#4403628657 / c#4403631784) — those replies stand. Predicate-correctness sharpening only; brief stays scope-locked + dispatch-gated on T1 (#1939). No scope expansion. Single-line edit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…orker + #84 bulkport-coordinator) (#2369) * docs(r3-v-audit): advance ledger-zero progress for PR #2150 receipt Rows #2 partial + #6 (bootstrap.rs slice) retired by Substrate Bridge PR #2150 (merged 2026-05-07T20:05:18Z). Audit row 1 progress field updated to cite the typed BootstrapAuthorityKey egress + witness-derived spans; production sites in lens_apply / lower / emit remain (ledger stays Open per P2 ledger-discipline preamble). Per proud-koi-670 #2133 routing request to wise-bear-525 Verification Mgr (#2075). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * docs(briefs): R3 Cluster M Phase 2 #87 worker + Phase 3 #84 coordinator skeleton Phase 2 worker brief (`r3-v-cluster-m-87-cementing-worker.md`): light port of multi-gate PRE-AUTH `r3-v-tests-as-data-v1-worker.md` to gate-#87 narrow scope. Discipline pattern (DifferentialEquals for v2-counterpart lenses, LensOutputEquals for v3-native), first-migration target, dispatch-ratchet successor, receipt + ledger updates. Independent of Cluster M Phase 1 per codex BLOCKING #4 authority correction. Phase 3 coordinator skeleton (`r3-v-cluster-m-84-bulkport-coordinator.md`): 6-class brief queue (cementing / reflected-Dag / generic-DimReport / boundary / R1C-D/E / L4-L7-L5), strict-zero close-condition citation per Director Ask 4, lane-Mgr signoff workflow, per-class brief authoring discipline. Per-class detail authored as Phase 2 mid-flights. Cite-and-execute pattern; substrate-of-truth lives in `design-tests-as-data-completeness.md` §5 + §C5. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * WIP: R3 Verification Mgr — lane through R3 close * docs(briefs): correct LensOutputEquals field name in §4 dispatch successor Line 76 referenced `expected_output_ref` (stale conceptual label); actual field per `src/v3/std/verification.dag:179-183` is `expected_ref`. Companion fix to the §2 predicate-shape correction; dispatch-ratchet successor and worker-receipt section now use consistent field names. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(briefs): annotate R4-carve dissolution in TC3 D4 brief Brief landed via PR #2439 cited "(α)/(β) novel-substrate-introduction explicitly carved to R4+" without supersession marker, violating R4-carve dissolution discipline (per Director ratification gunbc#846 #issuecomment-4412330468, 2026-05-09: R4 carves C1/C2/C3 are DISSOLVED). Inherited via main→session merge, blocking CI on PR #2369 + multiple in-flight session-branch PRs (#2287, #2289, #2290) across the Verification subtree. 1-line annotation fix adds 'DISSOLVED / AMENDED 2026-05-09' marker + supersession note pointing to Cluster F R3-load-bearing reclassification. Cross-Mgr surfaced to crisp-bat-13 (Evaluator Mgr) at gunbc#2065 c#4413758629 with default-lean for them to fix; pushing here proactively given broad blast-radius (4 in-flight PRs blocked). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… 3 pilot) (#2455) * docs(r3-v-audit): advance ledger-zero progress for PR #2150 receipt Rows #2 partial + #6 (bootstrap.rs slice) retired by Substrate Bridge PR #2150 (merged 2026-05-07T20:05:18Z). Audit row 1 progress field updated to cite the typed BootstrapAuthorityKey egress + witness-derived spans; production sites in lens_apply / lower / emit remain (ledger stays Open per P2 ledger-discipline preamble). Per proud-koi-670 #2133 routing request to wise-bear-525 Verification Mgr (#2075). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * docs(briefs): R3 Cluster M Phase 2 #87 worker + Phase 3 #84 coordinator skeleton Phase 2 worker brief (`r3-v-cluster-m-87-cementing-worker.md`): light port of multi-gate PRE-AUTH `r3-v-tests-as-data-v1-worker.md` to gate-#87 narrow scope. Discipline pattern (DifferentialEquals for v2-counterpart lenses, LensOutputEquals for v3-native), first-migration target, dispatch-ratchet successor, receipt + ledger updates. Independent of Cluster M Phase 1 per codex BLOCKING #4 authority correction. Phase 3 coordinator skeleton (`r3-v-cluster-m-84-bulkport-coordinator.md`): 6-class brief queue (cementing / reflected-Dag / generic-DimReport / boundary / R1C-D/E / L4-L7-L5), strict-zero close-condition citation per Director Ask 4, lane-Mgr signoff workflow, per-class brief authoring discipline. Per-class detail authored as Phase 2 mid-flights. Cite-and-execute pattern; substrate-of-truth lives in `design-tests-as-data-completeness.md` §5 + §C5. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * WIP: R3 Verification Mgr — lane through R3 close * docs(briefs): correct LensOutputEquals field name in §4 dispatch successor Line 76 referenced `expected_output_ref` (stale conceptual label); actual field per `src/v3/std/verification.dag:179-183` is `expected_ref`. Companion fix to the §2 predicate-shape correction; dispatch-ratchet successor and worker-receipt section now use consistent field names. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(briefs): annotate R4-carve dissolution in TC3 D4 brief Brief landed via PR #2439 cited "(α)/(β) novel-substrate-introduction explicitly carved to R4+" without supersession marker, violating R4-carve dissolution discipline (per Director ratification gunbc#846 #issuecomment-4412330468, 2026-05-09: R4 carves C1/C2/C3 are DISSOLVED). Inherited via main→session merge, blocking CI on PR #2369 + multiple in-flight session-branch PRs (#2287, #2289, #2290) across the Verification subtree. 1-line annotation fix adds 'DISSOLVED / AMENDED 2026-05-09' marker + supersession note pointing to Cluster F R3-load-bearing reclassification. Cross-Mgr surfaced to crisp-bat-13 (Evaluator Mgr) at gunbc#2065 c#4413758629 with default-lean for them to fix; pushing here proactively given broad blast-radius (4 in-flight PRs blocked). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * docs(briefs): R1C-D/E pre-Phase-1 pilot worker brief (Cluster M Phase 3) Per Director sanity-check pilot greenlight (gunbc#828 c#4413268466) + re-task Task A (gunbc#828 c#4413880134): 3-test pilot dispatch brief for the R1C-D/E sub-class of Phase 3 #84 bulk-port queue. Scope: r1c_d_pb_census_gates_test.rs + r1c_e_emit_gates_dag_test.rs + r1c_e_emit_gates_omni_dag_test.rs (3 hand-Rust wrappers around .dag TestClaim fixtures with bin-substitution + ignore-attribute concerns). Migration target: testgen Path B (Rust test code emitted from .dag declarations). Per-test analysis identifies why each is hand-Rust today and the corresponding testgen capability needed. Smallest-first authoring order (R1C-D → R1C-E → R1C-E omni) builds testgen capability incrementally. Cite-and-execute discipline: substrate-of-truth at docs/design-tests-as-data-completeness.md §3 (migration audit) + §1.3 (Path B emission). No content restatement. If testgen surfaces shape-questions (e.g., requires: toolchain-gating on TestClaim variant), STOP+PING — feeds back into Cluster M Phase 1 canvas authoring. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Opened from session-dashboard for session
proud-koi-670.