Skip to content

docs(briefs): R3 bug-fix worker briefs — 4 stranded tasks (gpt-5-5-pro reflective findings) - #2373

Merged
briansrls merged 1 commit into
mainfrom
docs/r3-stranded-bug-fix-briefs-2026-05-09
May 9, 2026
Merged

briansrls merged 1 commit into
mainfrom
docs/r3-stranded-bug-fix-briefs-2026-05-09

Conversation

@briansrls

Copy link
Copy Markdown
Contributor

Summary

stern-ram-58 archived after PR #2367 merge; 4 dispatched bug-fix tasks at gunbc#2366 #issuecomment-4413207527 are stranded. This PR authors them as durable worker briefs in `docs/briefs/` so any future worker can pick up without needing the inbox dispatch context.

All 4 are concrete soundness / illegal-state-representable defects identified by gpt-5-5-pro reflective analyses across 3 sequential shas (`b09e0c8` / `1211e453` / `cf1d523`).

Briefs added

# File Priority Drift class
1 r3-bug-u128-grounding-pilot-mirror-sync-worker.md HIGHEST concrete drift bug; Rust mirror has already diverged from .dag substrate
2 r3-bug-fieldproject-dual-authority-dissolution-worker.md HIGH illegal-state-representable; inference + emission can disagree on projection
3 r3-bug-resolve-producer-opt-typed-return-worker.md HIGH P3 fail-closed violation; malformed substrate → plausible absence
4 r3-bug-callgraph-forward-only-authority-worker.md MEDIUM illegal-state-representable; dual-authority within product type

What each brief contains

  • Problem statement with file:line citations
  • Required outcome + fix options with PM recommendation
  • Expected file scope (touched files / new files)
  • Cross-cutting constraints (no new hand-Rust tests; STOP-and-PING; substrate authority canonical)
  • Receipt criteria
  • Dispatch trigger + risk note

Why this matters

Brief-queue authoring is inert work — these stay queued until a worker is dispatched against them. But:

  1. Removes the "if a worker spawns they need a brief" friction — briefs already exist
  2. Survivable across worker session changes — stranded inbox dispatches go cold; durable briefs survive
  3. Mgr-tier dispatch scope reduced — Substrate Mgr (warm-wolf-698 / session/warm-wolf-698 · R3 Substrate Mgr — lane through R3 close #2068) can dispatch directly against these briefs without re-authoring

Dispatch state

Test plan

  • All 4 briefs render correctly (Markdown formatting; code blocks intact)
  • No conflict markers
  • Citations to gunbc#2366 + Director ratifications resolve

🤖 Generated with Claude Code

SG-0 hand-path delta: +0

…o reflective findings)

stern-ram-58 archived after PR #2367 merge; 4 dispatched bug-fix tasks
at gunbc#2366 #issuecomment-4413207527 are stranded. Authoring as
durable worker briefs in docs/briefs/ so future workers can pick up
without needing the inbox dispatch context.

All 4 briefs are concrete soundness/illegal-state-representable
defects identified by gpt-5-5-pro reflective analyses across 3 sequential
shas (b09e0c8 / 1211e45 / cf1d523):

**Task 1 — u128 grounding-pilot Rust mirror sync** (HIGHEST)
Concrete drift bug: .dag declares u128 across primitives.dag +
integer.dag + rust.dag, but src/v3/grounding_pilot/src/lib.rs Rust
mirror skips u64 → bool. The "must stay in sync" comment didn't
enforce; bridge has already drifted. Brief offers Option A (proper
dissolution: pilot reads .dag directly) or Option B (pragmatic
ratchet: add u128 + cementing test pinning set equality).

**Task 2 — FieldProject dual-authority dissolution**
Illegal state representable: TransformTarget::FieldProject carries
field_label + field_child where inference uses field_child + emit
uses field_label. {label: "x", field_child: y_decl} lets inference
+ emission disagree on what the projection means. Brief offers
Option A (split lifecycle: Unresolved → Resolved variants) or
Option B (collapse to single authority).

**Task 3 — resolve_producer_opt typed return** (P3 fail-closed)
Concrete fail-closed violation: Dag::resolve_producer_opt collapses
4 distinct states (legitimate-NoProducer / MissingPort / MissingNode
/ BindCycle) into Option<None>; lens_apply.rs treats miss as
eligibility. Malformed substrate becomes "yes, eligible" by accident.
Brief specifies typed ProducerLookup sum + per-variant consumer
discrimination + cementing test pinning fail-closed on each
malformed state.

**Task 4 — CallGraph forward-only authority**
Illegal state representable: CallGraph stores both forward + reverse
adjacency as parallel authorities; type admits {forward: A, reverse: B}
where B ≠ reverse(A). Brief offers Option A (edges-as-authority,
adjacencies derived) or Option B (forward-only, reverse derived).

Each brief documents: problem statement with file:line citations,
required outcome, fix options with PM recommendation, expected file
scope, cross-cutting constraints (no new hand-Rust tests; STOP-and-PING;
substrate authority canonical), receipt criteria, dispatch trigger,
risk note.

Briefs are inert until dispatched. Future worker (or re-spawned session)
can pick up by reading the brief + executing per the contained option
selection. PM (deep-wolf-155) coordinates dispatch + review when worker
spawns. Substrate Mgr (warm-wolf-698 / #2068) lane scope owns all 4.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@briansrls
briansrls merged commit 96295a1 into main May 9, 2026
3 checks passed
@briansrls
briansrls deleted the docs/r3-stranded-bug-fix-briefs-2026-05-09 branch May 9, 2026 19:32
briansrls added a commit that referenced this pull request May 9, 2026
…re amendment (Brian operator directive 2026-05-09) (#2436)

Per Brian operator directive 2026-05-09 (~20:30Z): "can we please do
a one time audit to get EVERYTHING, not just R3 - all debt paydown -
might as well use that lane for all v3 paydown now, even if its past
R3 - additionally, we need to get that lane working on the debt thats
gone in ASAP"

**Two deliverables**:

**1. Comprehensive debt audit** (`docs/audit/v3-comprehensive-debt-audit-2026-05-09.md`)

Initial inventory dump across 10 sources:
- ROADMAP "Post-merge debt" sections (10 sections; ~40 still-open rows)
- docs/audit/r3-debt-sweep-2026-05-06.md Class A-G framework (49-71 expected rows; placeholders unpopulated)
- §10.3 RED items in r3-program-plan.md (~5-10 still RED-pending)
- Today's gpt-5-5-pro reflective analyses (6 novel findings)
- 4 dispatched bug-fix briefs (PR #2373; stern-ram-58 archived stranded)
- SG-0 census untracked entries (113 of 159 entries / 72%)
- §1.8 ledger Status drift (PR #2399 in flight; 10 candidates)
- Drift-class anti-patterns (ratchet generalization candidates; 6 patterns)
- TODOs/FIXMEs in src/v3/ (4 markers)
- 5 PM structural recommendations (awaiting authorization)

Total approximate inventory size: 50-80 distinct items. Many overlap.

PM-proposed priority sizing (Mgr finalizes during organize phase):
- P0 — block R3 close: 4-5 items
- P1 — accelerate R3 close: ~50-60 items (Class A-G framework population)
- P2 — post-R3 ambition / R4 prep: ~5-10 items
- P3 — discipline / drift prevention: 5 ratchet candidates

NEW class proposal per Brian directive: Class P — past-R3 debt
(substrate-capability gaps that don't block R3 close but block R4+).
Examples: TC1 #11 canvas-deferred work; ProgramShape richer-shape
variants; C4/C5/C6 substrate-axis defers in r4-carve-out-routing.md.

Mgr action plan (proposed; gentle-newt-665 finalizes):
- Phase 1 (next ~24h): organize inventory into Class A-G + extend with Class P
- Phase 2 (next ~48h): dispatch workers on P0 items (4 stranded bug-fix briefs + 6 gpt-5-5-pro novel findings + 113 SG-0 census per-entry classification)
- Phase 3 (continuous): daily snapshot + weekly velocity-tripwire + per-PR debt-receipt enforcement
- Phase 4 (ongoing): polling cadence; new debt items routed through Mgr inbox

**2. Lane scope/posture amendment** (`docs/r3-structure.md`)

Standing program section AMENDED 2026-05-09:
- Lane scope: R3-only → all v3 debt (including post-R3 horizons)
- Posture: cadence-only → active organize-dispatch
- NEW responsibilities: comprehensive v3 debt inventory; active polling;
  active worker dispatch under standing authority; daily snapshot
  reporting to PM inbox

Prior Director ratification at gunbc#828 c#4411537717 ("no eager-action
between cadence checkpoints") superseded by direct operator
authorization. Prior trigger model retained as fallback (CI per-PR;
cadence velocity-tripwire; Director-dispatched audits) but no longer
the only triggers — proactive work expected.

**Mgr dispatch** (separate from this PR):

Will post on gentle-newt-665 inbox (#2062) with:
- Pointer to this audit + amendment
- New posture acknowledgment
- Initial Phase 1 ask: organize inventory into Class A-G + new Class P

**Verification**: R4-carve dissolution discipline ratchet still passes
(32 citations, all properly annotated). No new drift introduced.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
briansrls added a commit that referenced this pull request May 9, 2026
…e 1 organize cycle

Per Brian operator directive 2026-05-09 ~20:30Z (lane scope expanded to all v3 debt; active posture), Debt-Paydown Mgr (gentle-newt-665) Phase 1 organize cycle replaces 7 [Mgr canvas populates rows] placeholders with initial substantive rows seeded from:

- docs/audit/v3-comprehensive-debt-audit-2026-05-09.md 10-source inventory (PR #2436)
- ROADMAP ## Tracked debts (10 sections; ~40 still-open rows)
- r3-program-plan §10.3 ratifications + §1.8 ledger gate references
- 4 stranded bug-fix briefs (PR #2373: u128 mirror / FieldProject dual-authority / resolve_producer_opt / CallGraph)
- 6 gpt-5-5-pro novel findings (PR #2358 §8 meta-finding cycle)
- SG-0 census untracked entries (113 of 159) + drift-class anti-patterns

Class A-G total ~83 rows; new Class P (past-R3 / R4+ ambition parking lot) ~8 rows per Brian directive. Mgr re-organize cycle continues; initial pass not exhaustive.

Phase 2 dispatch list surfacing to PM #846 follows in separate comment.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
briansrls added a commit that referenced this pull request May 9, 2026
Authored under Mgr standing authority per PM confirmation at #846 c#4413701937 (Brian operator directive 2026-05-09 active posture). Mirrors PR #2373 brief template.

Briefs:
- F1 MissingEmissionPath typed-axes substrate (Class C; HIGH; Substrate Mgr) — substrate stringifies axes that Rust mirror correctly types
- F2 ShapeATarget closed enum vs LanguageSpec extensibility (Class F; HIGH; Grounding Mgr) — closed Rust enum negates thesis extensibility claim
- F3 Map<String,Bool> as set (Class F; MEDIUM; Substrate) — Set<A> declared but bypassed; set_has helper
- F4 PartitionResult anonymous bypass (Class G; LOW-MEDIUM; Substrate) — named type declared but consumer uses anonymous return
- F5 ComposedEffect illegal product (Class C; HIGH; Substrate) — idempotent + breaking_operation contradictory pair representable
- F6 derive_op_effect string parser at structural boundary (Class C; HIGH; Substrate) — string-keyed dispatch over typed HttpMethod/Path carriers

Each brief: problem statement with file:line citations + 1-2 fix options with PM/Mgr recommendation + receipt criteria + cross-cutting constraints. Cross-references sweep-doc Class A-G rows for traceability.

Phase 2 dispatch under Brian-directive active posture.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
briansrls added a commit that referenced this pull request May 9, 2026
…ng briefs (Phase 1+2) (#2437)

* WIP: R3 Debt-Paydown Mgr — standing program through R3 close

* docs(r3): cite specific Director-ratification comment URL in §7.6.2

Per Director micro-suggestion on #2101 review — match #1534 source-column
URL discipline so future readers can navigate to rationale without searching.

Debt receipt: no debt introduced; no debt retired (review-absorption edit).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(r3): §7.6.1 log intra-cadence tripwire reading 1.56:1 (466 PRs)

Adds a 2026-05-07 intra-cadence re-check row to the readings log.
Same 7-day window as Wave 3, advanced ~3.5h. D-side grew 47 → 54
while I-side held at 84; ratio improved from 1.79:1 to 1.56:1.
Confirms continued dissolution-side accrual — no breach.

Debt receipt: no debt introduced; no debt retired (readings-log entry).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* WIP: R3 Debt-Paydown Mgr — standing program through R3 close

* docs(r3): r3-debt-sweep §1 Class A-G populated + Class P added — Phase 1 organize cycle

Per Brian operator directive 2026-05-09 ~20:30Z (lane scope expanded to all v3 debt; active posture), Debt-Paydown Mgr (gentle-newt-665) Phase 1 organize cycle replaces 7 [Mgr canvas populates rows] placeholders with initial substantive rows seeded from:

- docs/audit/v3-comprehensive-debt-audit-2026-05-09.md 10-source inventory (PR #2436)
- ROADMAP ## Tracked debts (10 sections; ~40 still-open rows)
- r3-program-plan §10.3 ratifications + §1.8 ledger gate references
- 4 stranded bug-fix briefs (PR #2373: u128 mirror / FieldProject dual-authority / resolve_producer_opt / CallGraph)
- 6 gpt-5-5-pro novel findings (PR #2358 §8 meta-finding cycle)
- SG-0 census untracked entries (113 of 159) + drift-class anti-patterns

Class A-G total ~83 rows; new Class P (past-R3 / R4+ ambition parking lot) ~8 rows per Brian directive. Mgr re-organize cycle continues; initial pass not exhaustive.

Phase 2 dispatch list surfacing to PM #846 follows in separate comment.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(briefs): 6 worker briefs for gpt-5-5-pro novel findings F1-F6

Authored under Mgr standing authority per PM confirmation at #846 c#4413701937 (Brian operator directive 2026-05-09 active posture). Mirrors PR #2373 brief template.

Briefs:
- F1 MissingEmissionPath typed-axes substrate (Class C; HIGH; Substrate Mgr) — substrate stringifies axes that Rust mirror correctly types
- F2 ShapeATarget closed enum vs LanguageSpec extensibility (Class F; HIGH; Grounding Mgr) — closed Rust enum negates thesis extensibility claim
- F3 Map<String,Bool> as set (Class F; MEDIUM; Substrate) — Set<A> declared but bypassed; set_has helper
- F4 PartitionResult anonymous bypass (Class G; LOW-MEDIUM; Substrate) — named type declared but consumer uses anonymous return
- F5 ComposedEffect illegal product (Class C; HIGH; Substrate) — idempotent + breaking_operation contradictory pair representable
- F6 derive_op_effect string parser at structural boundary (Class C; HIGH; Substrate) — string-keyed dispatch over typed HttpMethod/Path carriers

Each brief: problem statement with file:line citations + 1-2 fix options with PM/Mgr recommendation + receipt criteria + cross-cutting constraints. Cross-references sweep-doc Class A-G rows for traceability.

Phase 2 dispatch under Brian-directive active posture.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): SG-0 census per-entry classification (Phase 2(3) deliverable)

Per PM dispatch at #846 c#4413701937 (Brian directive 2026-05-09 active posture; Debt-Paydown Mgr standing authority).

scripts/classify-sg0-census.py: heuristic regex classification of preceding-comment-block + path against Class A-G/P framework. Output:
docs/audit/sg0-census-classification-2026-05-09.md — per-entry table + summary.

Initial pass: 159 entries (104 TEST + 53 NON_TEST + 2 FRAGMENTS) — 115 untagged (no preceding dissolution-trigger comment), matching audit's "113 of 159" estimate.

Heuristic class breakdown (initial):
- A 0, B 4, C 1, D 3, E 7, F 0, G 143, STRUCTURAL 1

Coarse-grained — heuristic sweeps Class E (Tier3/v2-retirement/T-LensProducer) reliably; substrate-gap (Class A) and ontology (Class F) need Mgr-eye review on the 115 untagged entries. Initial pass is dispatchable input, not ratified classification.

Mgr next-action documented in output §"Mgr next-action": review heuristics → confirm-or-correct → fold per-entry classifications back into r3-debt-sweep-2026-05-06.md §1 Class A-G rows.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): one-source SG-0 untagged-count derivation (codex BLOCKING fix sha 03a8830)

Codex flagged: hard-coded SG-0 untagged-count appeared in both sweep doc Class G row + classification doc Summary, creating drift risk. Fix per "one checkable value" discipline:

- sweep doc Class G row 16: drop hard-coded "159 entries; 113 untagged"; cite classification doc §Summary as live source.
- classification doc preamble: explicit "single source for SG-0 untagged-count" framing; regenerated by `scripts/classify-sg0-census.py` from `sg0_census_test.rs`.

Other consumers of the count (audit prose at PR #2436) are owned by PM; my PR's contribution is making my surfaces non-duplicating.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(briefs): supersede-disambig marker on TC3 D4 brief line 121 (CI R4-carve discipline fix)

CI scripts/check-r4-carve-dissolution-discipline.sh fail-closed on docs/briefs/r3-evaluator-tc3-d4-eval-step-producer-worker.md:121 — the line read "(α)/(β) novel-substrate-introduction explicitly carved to R4+ via Class P partition" without a supersession marker.

Disambiguating note added inline: "(Note: this is a novel R4+ partition for (α)/(β); does NOT supersede or invoke the DISSOLVED prior C1/C2/C3 carves per Director carve-promotion-IN-R3 at gunbc#846 #issuecomment-4412330468.)"

The clarification is structurally accurate — Class P partition is a NEW R4+ routing for specific Pattern-A items, distinct from the prior C1/C2/C3 carves which Director DISSOLVED + reclassified R3-load-bearing within Cluster F (per gunbc#846 #issuecomment-4412330468). Marker "supersede" + "DISSOLVED" both present satisfies the discipline.

Surfaced fix scope justification: PR #2437 introduces Class P partition; the brief at line 121 forward-references it. Cleanest fix is on the citing brief, not the discipline script (preserves single-Mgr-ownership of the Cluster F discipline).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): refine SG-0 classifier with path-based heuristics (better Class A/C/D/E surfacing)

Per PM observation at gunbc#846 c#4413720143 — Class A=0/F=0 from comment-only heuristic was the substrate-gap and ontology-duplication semantic gap; path-based rules can fire on canonical compiler-Rust-mirror locations.

Added PATH_RULES tier (fires when CLASS_RULES miss):
- src/v3/compiler/src/dag.rs / lower.rs / infer.rs / emit*.rs / value.rs / eval/ → Class C
- src/v3/compiler/src/parse / tokenize / test_runner → Class A (substrate-gap parser/grammar)
- src/v3/compiler/src/bin/regen_ / bootstrap → Class D
- src/v3/compiler/benches → STRUCTURAL
- src/v3/lenses → Class E (T-LensProducer)
- src/v3/grounding_pilot / grounding_cross_target / spec / std → Class C

Class breakdown delta:
- A: 0 → 1
- C: 1 → 16
- D: 3 → 12
- E: 7 → 9
- G: 143 → 115 (default drops as path-based rules catch real classes)

115 still-G are entries that don't fit canonical compiler patterns — test fixtures, integration boundaries, ad-hoc scaffolds; legitimate Mgr-eye-review cohort.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
briansrls added a commit that referenced this pull request May 9, 2026
* WIP: R3 Debt-Paydown Mgr — standing program through R3 close

* docs(r3): cite specific Director-ratification comment URL in §7.6.2

Per Director micro-suggestion on #2101 review — match #1534 source-column
URL discipline so future readers can navigate to rationale without searching.

Debt receipt: no debt introduced; no debt retired (review-absorption edit).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(r3): §7.6.1 log intra-cadence tripwire reading 1.56:1 (466 PRs)

Adds a 2026-05-07 intra-cadence re-check row to the readings log.
Same 7-day window as Wave 3, advanced ~3.5h. D-side grew 47 → 54
while I-side held at 84; ratio improved from 1.79:1 to 1.56:1.
Confirms continued dissolution-side accrual — no breach.

Debt receipt: no debt introduced; no debt retired (readings-log entry).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* WIP: R3 Debt-Paydown Mgr — standing program through R3 close

* docs(r3): r3-debt-sweep §1 Class A-G populated + Class P added — Phase 1 organize cycle

Per Brian operator directive 2026-05-09 ~20:30Z (lane scope expanded to all v3 debt; active posture), Debt-Paydown Mgr (gentle-newt-665) Phase 1 organize cycle replaces 7 [Mgr canvas populates rows] placeholders with initial substantive rows seeded from:

- docs/audit/v3-comprehensive-debt-audit-2026-05-09.md 10-source inventory (PR #2436)
- ROADMAP ## Tracked debts (10 sections; ~40 still-open rows)
- r3-program-plan §10.3 ratifications + §1.8 ledger gate references
- 4 stranded bug-fix briefs (PR #2373: u128 mirror / FieldProject dual-authority / resolve_producer_opt / CallGraph)
- 6 gpt-5-5-pro novel findings (PR #2358 §8 meta-finding cycle)
- SG-0 census untracked entries (113 of 159) + drift-class anti-patterns

Class A-G total ~83 rows; new Class P (past-R3 / R4+ ambition parking lot) ~8 rows per Brian directive. Mgr re-organize cycle continues; initial pass not exhaustive.

Phase 2 dispatch list surfacing to PM #846 follows in separate comment.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(briefs): 6 worker briefs for gpt-5-5-pro novel findings F1-F6

Authored under Mgr standing authority per PM confirmation at #846 c#4413701937 (Brian operator directive 2026-05-09 active posture). Mirrors PR #2373 brief template.

Briefs:
- F1 MissingEmissionPath typed-axes substrate (Class C; HIGH; Substrate Mgr) — substrate stringifies axes that Rust mirror correctly types
- F2 ShapeATarget closed enum vs LanguageSpec extensibility (Class F; HIGH; Grounding Mgr) — closed Rust enum negates thesis extensibility claim
- F3 Map<String,Bool> as set (Class F; MEDIUM; Substrate) — Set<A> declared but bypassed; set_has helper
- F4 PartitionResult anonymous bypass (Class G; LOW-MEDIUM; Substrate) — named type declared but consumer uses anonymous return
- F5 ComposedEffect illegal product (Class C; HIGH; Substrate) — idempotent + breaking_operation contradictory pair representable
- F6 derive_op_effect string parser at structural boundary (Class C; HIGH; Substrate) — string-keyed dispatch over typed HttpMethod/Path carriers

Each brief: problem statement with file:line citations + 1-2 fix options with PM/Mgr recommendation + receipt criteria + cross-cutting constraints. Cross-references sweep-doc Class A-G rows for traceability.

Phase 2 dispatch under Brian-directive active posture.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): SG-0 census per-entry classification (Phase 2(3) deliverable)

Per PM dispatch at #846 c#4413701937 (Brian directive 2026-05-09 active posture; Debt-Paydown Mgr standing authority).

scripts/classify-sg0-census.py: heuristic regex classification of preceding-comment-block + path against Class A-G/P framework. Output:
docs/audit/sg0-census-classification-2026-05-09.md — per-entry table + summary.

Initial pass: 159 entries (104 TEST + 53 NON_TEST + 2 FRAGMENTS) — 115 untagged (no preceding dissolution-trigger comment), matching audit's "113 of 159" estimate.

Heuristic class breakdown (initial):
- A 0, B 4, C 1, D 3, E 7, F 0, G 143, STRUCTURAL 1

Coarse-grained — heuristic sweeps Class E (Tier3/v2-retirement/T-LensProducer) reliably; substrate-gap (Class A) and ontology (Class F) need Mgr-eye review on the 115 untagged entries. Initial pass is dispatchable input, not ratified classification.

Mgr next-action documented in output §"Mgr next-action": review heuristics → confirm-or-correct → fold per-entry classifications back into r3-debt-sweep-2026-05-06.md §1 Class A-G rows.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): one-source SG-0 untagged-count derivation (codex BLOCKING fix sha 03a8830)

Codex flagged: hard-coded SG-0 untagged-count appeared in both sweep doc Class G row + classification doc Summary, creating drift risk. Fix per "one checkable value" discipline:

- sweep doc Class G row 16: drop hard-coded "159 entries; 113 untagged"; cite classification doc §Summary as live source.
- classification doc preamble: explicit "single source for SG-0 untagged-count" framing; regenerated by `scripts/classify-sg0-census.py` from `sg0_census_test.rs`.

Other consumers of the count (audit prose at PR #2436) are owned by PM; my PR's contribution is making my surfaces non-duplicating.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(briefs): supersede-disambig marker on TC3 D4 brief line 121 (CI R4-carve discipline fix)

CI scripts/check-r4-carve-dissolution-discipline.sh fail-closed on docs/briefs/r3-evaluator-tc3-d4-eval-step-producer-worker.md:121 — the line read "(α)/(β) novel-substrate-introduction explicitly carved to R4+ via Class P partition" without a supersession marker.

Disambiguating note added inline: "(Note: this is a novel R4+ partition for (α)/(β); does NOT supersede or invoke the DISSOLVED prior C1/C2/C3 carves per Director carve-promotion-IN-R3 at gunbc#846 #issuecomment-4412330468.)"

The clarification is structurally accurate — Class P partition is a NEW R4+ routing for specific Pattern-A items, distinct from the prior C1/C2/C3 carves which Director DISSOLVED + reclassified R3-load-bearing within Cluster F (per gunbc#846 #issuecomment-4412330468). Marker "supersede" + "DISSOLVED" both present satisfies the discipline.

Surfaced fix scope justification: PR #2437 introduces Class P partition; the brief at line 121 forward-references it. Cleanest fix is on the citing brief, not the discipline script (preserves single-Mgr-ownership of the Cluster F discipline).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): refine SG-0 classifier with path-based heuristics (better Class A/C/D/E surfacing)

Per PM observation at gunbc#846 c#4413720143 — Class A=0/F=0 from comment-only heuristic was the substrate-gap and ontology-duplication semantic gap; path-based rules can fire on canonical compiler-Rust-mirror locations.

Added PATH_RULES tier (fires when CLASS_RULES miss):
- src/v3/compiler/src/dag.rs / lower.rs / infer.rs / emit*.rs / value.rs / eval/ → Class C
- src/v3/compiler/src/parse / tokenize / test_runner → Class A (substrate-gap parser/grammar)
- src/v3/compiler/src/bin/regen_ / bootstrap → Class D
- src/v3/compiler/benches → STRUCTURAL
- src/v3/lenses → Class E (T-LensProducer)
- src/v3/grounding_pilot / grounding_cross_target / spec / std → Class C

Class breakdown delta:
- A: 0 → 1
- C: 1 → 16
- D: 3 → 12
- E: 7 → 9
- G: 143 → 115 (default drops as path-based rules catch real classes)

115 still-G are entries that don't fit canonical compiler patterns — test fixtures, integration boundaries, ad-hoc scaffolds; legitimate Mgr-eye-review cohort.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): novel-findings F1-F6 dispatch tracker (Phase 3 Task A)

Per Director Phase 3 re-task at #828 → gentle-newt-665 inbox c#4413891498. Operator-authorized 2026-05-09 ~20:30Z (lane scope all v3 debt; active posture).

Per-brief dispatch-path classification for the 6 gpt-5-5-pro novel-finding worker briefs from PR #2437. Output:

- Path (a) Mgr-self-author retirement: 0
- Path (b) cross-Mgr surface: 6 (Substrate-owned 5 + Grounding-owned 1; PB v2-retirement coord on F3/F5/F6)
- Path (c) operator-tier ratification: 0

F6 substrate-prereq audited dep-clear (HttpMethod carrier exists at std/types.dag).

Cross-Mgr dispatch surfaces already posted at gunbc#2068 c#4413712338 + gunbc#2063 c#4413712632 in Phase 2 cycle; this tracker provides the option-(c) tightening evidence per PR #2361 §3.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
briansrls added a commit that referenced this pull request May 9, 2026
…ation 2026-05-09)

Per PM re-task at #846 → gentle-newt-665 inbox c#4413913108 (operator directive 2026-05-09 ~23:15Z: orient ALL pending v3 debt work-items through Debt-Paydown Mgr as central tracker).

Changes:
- Renamed: r3-novel-findings-dispatch-tracker-2026-05-09.md → r3-debt-dispatch-tracker-2026-05-09.md
- Scope broadened: 6 (F1-F6 novel findings) → 10 (+ 4 P0 bug-fix briefs from PR #2373)
- Added Capacity column reflecting cross-Mgr workload state per PM observation:
  - Substrate (warm-wolf-698): WORKING heavy (9 of 10 briefs in this lane; no escalation pressure)
  - Grounding (sunny-koi-893): IDLE with capacity (1 brief: F2)
  - PB: coord on F3/F5/F6 v2-retirement timing
- F-resolve-producer-opt reclassified: Verification → Substrate per brief header (PM scope-consolidation)

Triage outcome: 10 of 10 path (b) cross-Mgr surface; 0 (a) Mgr-self-author; 0 (c) operator-tier ratification.

Velocity expectation: Substrate heavy-queue → ~2 briefs/cycle absorption rate; cycle-1 = u128 + FieldProject.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
briansrls added a commit that referenced this pull request May 9, 2026
…ation) (#2456)

* WIP: R3 Debt-Paydown Mgr — standing program through R3 close

* docs(r3): cite specific Director-ratification comment URL in §7.6.2

Per Director micro-suggestion on #2101 review — match #1534 source-column
URL discipline so future readers can navigate to rationale without searching.

Debt receipt: no debt introduced; no debt retired (review-absorption edit).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(r3): §7.6.1 log intra-cadence tripwire reading 1.56:1 (466 PRs)

Adds a 2026-05-07 intra-cadence re-check row to the readings log.
Same 7-day window as Wave 3, advanced ~3.5h. D-side grew 47 → 54
while I-side held at 84; ratio improved from 1.79:1 to 1.56:1.
Confirms continued dissolution-side accrual — no breach.

Debt receipt: no debt introduced; no debt retired (readings-log entry).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* WIP: R3 Debt-Paydown Mgr — standing program through R3 close

* docs(r3): r3-debt-sweep §1 Class A-G populated + Class P added — Phase 1 organize cycle

Per Brian operator directive 2026-05-09 ~20:30Z (lane scope expanded to all v3 debt; active posture), Debt-Paydown Mgr (gentle-newt-665) Phase 1 organize cycle replaces 7 [Mgr canvas populates rows] placeholders with initial substantive rows seeded from:

- docs/audit/v3-comprehensive-debt-audit-2026-05-09.md 10-source inventory (PR #2436)
- ROADMAP ## Tracked debts (10 sections; ~40 still-open rows)
- r3-program-plan §10.3 ratifications + §1.8 ledger gate references
- 4 stranded bug-fix briefs (PR #2373: u128 mirror / FieldProject dual-authority / resolve_producer_opt / CallGraph)
- 6 gpt-5-5-pro novel findings (PR #2358 §8 meta-finding cycle)
- SG-0 census untracked entries (113 of 159) + drift-class anti-patterns

Class A-G total ~83 rows; new Class P (past-R3 / R4+ ambition parking lot) ~8 rows per Brian directive. Mgr re-organize cycle continues; initial pass not exhaustive.

Phase 2 dispatch list surfacing to PM #846 follows in separate comment.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(briefs): 6 worker briefs for gpt-5-5-pro novel findings F1-F6

Authored under Mgr standing authority per PM confirmation at #846 c#4413701937 (Brian operator directive 2026-05-09 active posture). Mirrors PR #2373 brief template.

Briefs:
- F1 MissingEmissionPath typed-axes substrate (Class C; HIGH; Substrate Mgr) — substrate stringifies axes that Rust mirror correctly types
- F2 ShapeATarget closed enum vs LanguageSpec extensibility (Class F; HIGH; Grounding Mgr) — closed Rust enum negates thesis extensibility claim
- F3 Map<String,Bool> as set (Class F; MEDIUM; Substrate) — Set<A> declared but bypassed; set_has helper
- F4 PartitionResult anonymous bypass (Class G; LOW-MEDIUM; Substrate) — named type declared but consumer uses anonymous return
- F5 ComposedEffect illegal product (Class C; HIGH; Substrate) — idempotent + breaking_operation contradictory pair representable
- F6 derive_op_effect string parser at structural boundary (Class C; HIGH; Substrate) — string-keyed dispatch over typed HttpMethod/Path carriers

Each brief: problem statement with file:line citations + 1-2 fix options with PM/Mgr recommendation + receipt criteria + cross-cutting constraints. Cross-references sweep-doc Class A-G rows for traceability.

Phase 2 dispatch under Brian-directive active posture.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): SG-0 census per-entry classification (Phase 2(3) deliverable)

Per PM dispatch at #846 c#4413701937 (Brian directive 2026-05-09 active posture; Debt-Paydown Mgr standing authority).

scripts/classify-sg0-census.py: heuristic regex classification of preceding-comment-block + path against Class A-G/P framework. Output:
docs/audit/sg0-census-classification-2026-05-09.md — per-entry table + summary.

Initial pass: 159 entries (104 TEST + 53 NON_TEST + 2 FRAGMENTS) — 115 untagged (no preceding dissolution-trigger comment), matching audit's "113 of 159" estimate.

Heuristic class breakdown (initial):
- A 0, B 4, C 1, D 3, E 7, F 0, G 143, STRUCTURAL 1

Coarse-grained — heuristic sweeps Class E (Tier3/v2-retirement/T-LensProducer) reliably; substrate-gap (Class A) and ontology (Class F) need Mgr-eye review on the 115 untagged entries. Initial pass is dispatchable input, not ratified classification.

Mgr next-action documented in output §"Mgr next-action": review heuristics → confirm-or-correct → fold per-entry classifications back into r3-debt-sweep-2026-05-06.md §1 Class A-G rows.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): one-source SG-0 untagged-count derivation (codex BLOCKING fix sha 03a8830)

Codex flagged: hard-coded SG-0 untagged-count appeared in both sweep doc Class G row + classification doc Summary, creating drift risk. Fix per "one checkable value" discipline:

- sweep doc Class G row 16: drop hard-coded "159 entries; 113 untagged"; cite classification doc §Summary as live source.
- classification doc preamble: explicit "single source for SG-0 untagged-count" framing; regenerated by `scripts/classify-sg0-census.py` from `sg0_census_test.rs`.

Other consumers of the count (audit prose at PR #2436) are owned by PM; my PR's contribution is making my surfaces non-duplicating.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(briefs): supersede-disambig marker on TC3 D4 brief line 121 (CI R4-carve discipline fix)

CI scripts/check-r4-carve-dissolution-discipline.sh fail-closed on docs/briefs/r3-evaluator-tc3-d4-eval-step-producer-worker.md:121 — the line read "(α)/(β) novel-substrate-introduction explicitly carved to R4+ via Class P partition" without a supersession marker.

Disambiguating note added inline: "(Note: this is a novel R4+ partition for (α)/(β); does NOT supersede or invoke the DISSOLVED prior C1/C2/C3 carves per Director carve-promotion-IN-R3 at gunbc#846 #issuecomment-4412330468.)"

The clarification is structurally accurate — Class P partition is a NEW R4+ routing for specific Pattern-A items, distinct from the prior C1/C2/C3 carves which Director DISSOLVED + reclassified R3-load-bearing within Cluster F (per gunbc#846 #issuecomment-4412330468). Marker "supersede" + "DISSOLVED" both present satisfies the discipline.

Surfaced fix scope justification: PR #2437 introduces Class P partition; the brief at line 121 forward-references it. Cleanest fix is on the citing brief, not the discipline script (preserves single-Mgr-ownership of the Cluster F discipline).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): refine SG-0 classifier with path-based heuristics (better Class A/C/D/E surfacing)

Per PM observation at gunbc#846 c#4413720143 — Class A=0/F=0 from comment-only heuristic was the substrate-gap and ontology-duplication semantic gap; path-based rules can fire on canonical compiler-Rust-mirror locations.

Added PATH_RULES tier (fires when CLASS_RULES miss):
- src/v3/compiler/src/dag.rs / lower.rs / infer.rs / emit*.rs / value.rs / eval/ → Class C
- src/v3/compiler/src/parse / tokenize / test_runner → Class A (substrate-gap parser/grammar)
- src/v3/compiler/src/bin/regen_ / bootstrap → Class D
- src/v3/compiler/benches → STRUCTURAL
- src/v3/lenses → Class E (T-LensProducer)
- src/v3/grounding_pilot / grounding_cross_target / spec / std → Class C

Class breakdown delta:
- A: 0 → 1
- C: 1 → 16
- D: 3 → 12
- E: 7 → 9
- G: 143 → 115 (default drops as path-based rules catch real classes)

115 still-G are entries that don't fit canonical compiler patterns — test fixtures, integration boundaries, ad-hoc scaffolds; legitimate Mgr-eye-review cohort.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): novel-findings F1-F6 dispatch tracker (Phase 3 Task A)

Per Director Phase 3 re-task at #828 → gentle-newt-665 inbox c#4413891498. Operator-authorized 2026-05-09 ~20:30Z (lane scope all v3 debt; active posture).

Per-brief dispatch-path classification for the 6 gpt-5-5-pro novel-finding worker briefs from PR #2437. Output:

- Path (a) Mgr-self-author retirement: 0
- Path (b) cross-Mgr surface: 6 (Substrate-owned 5 + Grounding-owned 1; PB v2-retirement coord on F3/F5/F6)
- Path (c) operator-tier ratification: 0

F6 substrate-prereq audited dep-clear (HttpMethod carrier exists at std/types.dag).

Cross-Mgr dispatch surfaces already posted at gunbc#2068 c#4413712338 + gunbc#2063 c#4413712632 in Phase 2 cycle; this tracker provides the option-(c) tightening evidence per PR #2361 §3.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(audit): broaden dispatch tracker to 10 briefs (PM scope-consolidation 2026-05-09)

Per PM re-task at #846 → gentle-newt-665 inbox c#4413913108 (operator directive 2026-05-09 ~23:15Z: orient ALL pending v3 debt work-items through Debt-Paydown Mgr as central tracker).

Changes:
- Renamed: r3-novel-findings-dispatch-tracker-2026-05-09.md → r3-debt-dispatch-tracker-2026-05-09.md
- Scope broadened: 6 (F1-F6 novel findings) → 10 (+ 4 P0 bug-fix briefs from PR #2373)
- Added Capacity column reflecting cross-Mgr workload state per PM observation:
  - Substrate (warm-wolf-698): WORKING heavy (9 of 10 briefs in this lane; no escalation pressure)
  - Grounding (sunny-koi-893): IDLE with capacity (1 brief: F2)
  - PB: coord on F3/F5/F6 v2-retirement timing
- F-resolve-producer-opt reclassified: Verification → Substrate per brief header (PM scope-consolidation)

Triage outcome: 10 of 10 path (b) cross-Mgr surface; 0 (a) Mgr-self-author; 0 (c) operator-tier ratification.

Velocity expectation: Substrate heavy-queue → ~2 briefs/cycle absorption rate; cycle-1 = u128 + FieldProject.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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