From 49235f8ccd7b2f8a65dd8bf279dc2ec42b7e14ba Mon Sep 17 00:00:00 2001 From: Brian Searls Date: Thu, 7 May 2026 17:47:48 +0000 Subject: [PATCH 1/2] =?UTF-8?q?docs(debt):=20DP1=20stratum=20C=20=E2=80=94?= =?UTF-8?q?=20refresh=20CollectionOps=20ledger=20row?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stratum C of R3 DP1 Q-Drift-Reconcile (issue #1977, brief docs/briefs/r3-dp1-q-drift-reconcile-worker.md). Strata A (declaration_by_name) and B (#1499 fence) already paid via PR #1892; this PR closes the remaining ledger↔ROADMAP drift. Debt receipt: - (1) Debt paid: ledger row "CollectionOps / StringOps / MapOps duplicate operation surfaces" now carries Phase 1 (fold, 2026-05-03), Phase 2 (concat/length/is_empty, PR #1602), and Phase 3 (map, 2026-05-05) receipts, matching ROADMAP §562 + brief docs/briefs/collectionops-algebra-reframe.md. - Open list updated: drops `concat`/`length`/`map`; retains legacy literal fields (contains/empty_list/list_literal/cons) + StringOps / MapOps / PartialFunction + deferred dsl languages.dag work + Go `/* map(...) */` stub dissolution trigger. - Bucket counts: "Partial (fold)" 1 → 0 (special-case bucket retired); "Partially closed" 9 → 10 (CollectionOps row absorbed). Total 75. - Header amended marker added (2026-05-07). Docs-only; no code paths touched. cargo fmt / clippy unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) --- docs/debt/r3-debt-paydown-ledger-2026-05-02.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/debt/r3-debt-paydown-ledger-2026-05-02.md b/docs/debt/r3-debt-paydown-ledger-2026-05-02.md index 932d1f7583b..4ed833183ca 100644 --- a/docs/debt/r3-debt-paydown-ledger-2026-05-02.md +++ b/docs/debt/r3-debt-paydown-ledger-2026-05-02.md @@ -1,6 +1,6 @@ # R3 Debt-Paydown Ledger -**Date:** 2026-05-02 (**amended 2026-05-06** — DP1 / Q7 ledger↔ROADMAP reconciliation) +**Date:** 2026-05-02 (**amended 2026-05-06** — DP1 / Q7 ledger↔ROADMAP reconciliation; **amended 2026-05-07** — DP1 stratum C CollectionOps row refresh) **Owner:** R3 Debt-Paydown Manager **Authority parent:** [#1518](https://github.com/gunb-ai/gunbc/pull/1518) **Scope:** ROADMAP.md tracked-debt rows under `## Tracked debts -- 2026-04 analyses` through the 2026-05-04 Exploratory + Reflective paired-analysis ingestion, plus rows that explicitly route to the R3 standing debt-paydown program. (Original 2026-05-02 baseline extended on 2026-05-04 to absorb the F2/F5/F11/F12/R1 novel-finding routings; eight already-tracked findings from the same ingestion are confirmed against existing catalog rows rather than duplicated.) @@ -19,8 +19,8 @@ This pass classifies 74 ROADMAP-tracked debt rows (69 baseline + 5 added 2026-05 |---|---:|---| | Open implementation / retirement work | 43 | Needs a named retirement PR, executable gate, owner closure receipt, or disposition decision. | | Open / disposition pending | 1 | Open with a parked decision (e.g., await an upstream lane before classifying). | -| Partially closed | 9 | Has a landed partial receipt but still names remaining work. | -| Partial (fold) | 1 | Special-case partial closure (e.g., one variant landed, others pending). | +| Partially closed | 10 | Has a landed partial receipt but still names remaining work. | +| Partial (fold) | 0 | _DP1 stratum C (2026-05-07): merged into "Partially closed" — CollectionOps row now carries Phase 1 (fold) + Phase 2 (concat/length/is_empty) + Phase 3 (map) receipts, no longer a single-variant special case._ | | Retired / stale receipt row | 21 | ROADMAP already records retirement or stale-finding resolution; next action is ledger cleanup, not code. | The highest concentration is in Substrate-adjacent rows: operator authority, value-body / mirror isomorphism, illegal-state carriers, bootstrap diagnostics, and algebra-law conformance. The second concentration is PB/Verification scaffolding: `test_runner.rs`, author-now/fire-later claims, bridge-ledger open rows, and SG-0 hand-Rust growth. @@ -94,7 +94,7 @@ The highest concentration is in Substrate-adjacent rows: operator authority, val | SubValueRelation bounded-lattice law violation | 2026-05-01 | R3 Substrate + Verification | Retired | PR #1543 (`3c77a60c9`) stops claiming `BoundedLattice` in `src/v3/std/induction.dag`; PR #1542 extends the same Path B correction to `dsl/std/induction.dag` and the audit/design receipts. | | Emitter `as_bind().expect()` panic paths | 2026-05-01 | R3 Substrate / PB | Retired | PR #1548 (`0427f96f7`) landed the typed `BindNodeId` witness on `ArrowBody::UserDefined`; all six emitter sites consume `(*bind_id).bind(self.dag)`, guarded site uses `.bind_opt(dag)` returning typed `EmitError::MalformedUserDefinedCallable`. Local-typed-error path was rejected at design split as parallel-representation debt. | | `??` / `%` syntax authority mismatch | 2026-05-01 | R3 Substrate + Grounding | Retired | PR #1552 (`d9bda3e3d`) deletes the unsupported `dag` operator rows and gates syntax coverage with a 4-authority cross-validation gate. | -| `CollectionOps` / `StringOps` / `MapOps` duplicate operation surfaces | 2026-05-01 | R3 Grounding | Partial (fold) | Same strand as ROADMAP **CollectionOps / StringOps / MapOps duplicate algebra operation surfaces** row (`FreeMonoid` / `PartialFunction` vs per-target string templates). **Phase 1 (fold):** v3 `emit_model.CollectionOps.fold_contract` + per-target `MethodTemplateContract` for `fold_method` per `docs/briefs/collectionops-algebra-reframe.md`. **Open:** `concat` / `length` / `map` + `StringOps` / `MapOps` / `PartialFunction` + dsl `languages.dag`; target templates must reference algebra method contracts / declaration refs. | +| `CollectionOps` / `StringOps` / `MapOps` duplicate operation surfaces | 2026-05-01 | R3 Grounding | Partial (fold/concat/length/is_empty/map) | Same strand as ROADMAP **CollectionOps / StringOps / MapOps duplicate algebra operation surfaces** row (`FreeMonoid` / `PartialFunction` vs per-target string templates) — see `docs/briefs/collectionops-algebra-reframe.md` for migration order. **Phase 1 (fold, 2026-05-03):** v3 `emit_model.CollectionOps.fold_contract` + per-target `MethodTemplateContract` for `fold_method`. **Phase 2 (concat / length / is_empty, PR #1602):** per-target `MethodTemplateContract` literals for the corresponding `*_method` fields; cross-target `%Q` substrate-lift deferred (brief §Phase-2 receipt). **Phase 3 (map, 2026-05-05, v3 path):** `CollectionOps.map: String` → `map_contract: DeclarationRef` with `rust_/python_/go_language_spec_map_contract`; Python/Go `map_method` intentionally omitted from `{python,go}_method_template_contracts` per ROADMAP §562 (legacy adapter shape mismatch). **Open:** legacy literal fields on v3 `CollectionOps` (`contains`, `empty_list`, `list_literal`, `cons`) + `StringOps` / `MapOps` / `PartialFunction` migrations + dsl `languages.dag` (deferred per brief until v3 consumers are authoritative); Go `/* map(...) */` stub dissolution per ROADMAP §562 P5 trigger. | | Author-now/fire-later verification style | 2026-05-01 | R3 Verification | Open | Make one `BinaryDimensionReportEquals` claim actually execute. | | Typed-carrier-landed + Rust-mirror-remains pattern | 2026-05-01 | R3 PB debt discipline | Open | Pair mirror introductions with isomorphism/generation or deletion. | | BridgeLedgerZero known-open reporting | 2026-05-01 | R3 Verification | Retired | PR #1571 (`c3138a946`) lands the decreasing-open-count ratchet (`test(v3): add BridgeLedger open-count ratchet`); known-open count can no longer silently grow. Closes Bundle 4a. | From c03baa23d4cdfc3c311c5e0fb7050d2d2dbc9fb3 Mon Sep 17 00:00:00 2001 From: Brian Searls Date: Thu, 7 May 2026 17:54:42 +0000 Subject: [PATCH 2/2] docs(debt): unify CollectionOps row status with bucket taxonomy Per openai-pro review on PR #2129: the row status column was using a bespoke 'Partial (fold/concat/length/is_empty/map)' category while the summary bucket uses 'Partially closed'. Single-authority taxonomy fix: status column now reads 'Partially closed'; phase detail moved into the narrative cell ('Landed phases: fold / concat / length / is_empty / map.'). Co-Authored-By: Claude Opus 4.7 (1M context) --- docs/debt/r3-debt-paydown-ledger-2026-05-02.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/debt/r3-debt-paydown-ledger-2026-05-02.md b/docs/debt/r3-debt-paydown-ledger-2026-05-02.md index 4ed833183ca..5a84054406b 100644 --- a/docs/debt/r3-debt-paydown-ledger-2026-05-02.md +++ b/docs/debt/r3-debt-paydown-ledger-2026-05-02.md @@ -94,7 +94,7 @@ The highest concentration is in Substrate-adjacent rows: operator authority, val | SubValueRelation bounded-lattice law violation | 2026-05-01 | R3 Substrate + Verification | Retired | PR #1543 (`3c77a60c9`) stops claiming `BoundedLattice` in `src/v3/std/induction.dag`; PR #1542 extends the same Path B correction to `dsl/std/induction.dag` and the audit/design receipts. | | Emitter `as_bind().expect()` panic paths | 2026-05-01 | R3 Substrate / PB | Retired | PR #1548 (`0427f96f7`) landed the typed `BindNodeId` witness on `ArrowBody::UserDefined`; all six emitter sites consume `(*bind_id).bind(self.dag)`, guarded site uses `.bind_opt(dag)` returning typed `EmitError::MalformedUserDefinedCallable`. Local-typed-error path was rejected at design split as parallel-representation debt. | | `??` / `%` syntax authority mismatch | 2026-05-01 | R3 Substrate + Grounding | Retired | PR #1552 (`d9bda3e3d`) deletes the unsupported `dag` operator rows and gates syntax coverage with a 4-authority cross-validation gate. | -| `CollectionOps` / `StringOps` / `MapOps` duplicate operation surfaces | 2026-05-01 | R3 Grounding | Partial (fold/concat/length/is_empty/map) | Same strand as ROADMAP **CollectionOps / StringOps / MapOps duplicate algebra operation surfaces** row (`FreeMonoid` / `PartialFunction` vs per-target string templates) — see `docs/briefs/collectionops-algebra-reframe.md` for migration order. **Phase 1 (fold, 2026-05-03):** v3 `emit_model.CollectionOps.fold_contract` + per-target `MethodTemplateContract` for `fold_method`. **Phase 2 (concat / length / is_empty, PR #1602):** per-target `MethodTemplateContract` literals for the corresponding `*_method` fields; cross-target `%Q` substrate-lift deferred (brief §Phase-2 receipt). **Phase 3 (map, 2026-05-05, v3 path):** `CollectionOps.map: String` → `map_contract: DeclarationRef` with `rust_/python_/go_language_spec_map_contract`; Python/Go `map_method` intentionally omitted from `{python,go}_method_template_contracts` per ROADMAP §562 (legacy adapter shape mismatch). **Open:** legacy literal fields on v3 `CollectionOps` (`contains`, `empty_list`, `list_literal`, `cons`) + `StringOps` / `MapOps` / `PartialFunction` migrations + dsl `languages.dag` (deferred per brief until v3 consumers are authoritative); Go `/* map(...) */` stub dissolution per ROADMAP §562 P5 trigger. | +| `CollectionOps` / `StringOps` / `MapOps` duplicate operation surfaces | 2026-05-01 | R3 Grounding | Partially closed | Landed phases: fold / concat / length / is_empty / map. Same strand as ROADMAP **CollectionOps / StringOps / MapOps duplicate algebra operation surfaces** row (`FreeMonoid` / `PartialFunction` vs per-target string templates) — see `docs/briefs/collectionops-algebra-reframe.md` for migration order. **Phase 1 (fold, 2026-05-03):** v3 `emit_model.CollectionOps.fold_contract` + per-target `MethodTemplateContract` for `fold_method`. **Phase 2 (concat / length / is_empty, PR #1602):** per-target `MethodTemplateContract` literals for the corresponding `*_method` fields; cross-target `%Q` substrate-lift deferred (brief §Phase-2 receipt). **Phase 3 (map, 2026-05-05, v3 path):** `CollectionOps.map: String` → `map_contract: DeclarationRef` with `rust_/python_/go_language_spec_map_contract`; Python/Go `map_method` intentionally omitted from `{python,go}_method_template_contracts` per ROADMAP §562 (legacy adapter shape mismatch). **Open:** legacy literal fields on v3 `CollectionOps` (`contains`, `empty_list`, `list_literal`, `cons`) + `StringOps` / `MapOps` / `PartialFunction` migrations + dsl `languages.dag` (deferred per brief until v3 consumers are authoritative); Go `/* map(...) */` stub dissolution per ROADMAP §562 P5 trigger. | | Author-now/fire-later verification style | 2026-05-01 | R3 Verification | Open | Make one `BinaryDimensionReportEquals` claim actually execute. | | Typed-carrier-landed + Rust-mirror-remains pattern | 2026-05-01 | R3 PB debt discipline | Open | Pair mirror introductions with isomorphism/generation or deletion. | | BridgeLedgerZero known-open reporting | 2026-05-01 | R3 Verification | Retired | PR #1571 (`c3138a946`) lands the decreasing-open-count ratchet (`test(v3): add BridgeLedger open-count ratchet`); known-open count can no longer silently grow. Closes Bundle 4a. |