Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
509da51
WIP: v4 de-prose: src/v4/extdeps/languages/cpp.dag — 93.4%→<20% stric…
briansrls May 18, 2026
d69847f
WIP: v4 de-prose: src/v4/extdeps/languages/cpp.dag — 93.4%→<20% stric…
briansrls May 18, 2026
3c9fbf1
WIP: v4 de-prose: src/v4/extdeps/languages/cpp.dag — 93.4%→<20% stric…
briansrls May 18, 2026
228f2aa
Merge remote-tracking branch 'origin/main' into session/tidy-carp-737
briansrls May 19, 2026
3b4818d
fix(v4): cpp.dag extdeps fidelity + DECISIONS Practice-4 ledger (#3289)
briansrls May 19, 2026
427d3ce
fix(v4): remove non-Practice-9 `// Ledger:` line from cpp.dag
briansrls May 19, 2026
2a1ee9f
fix(v4): correct CppIntegerOverflowDisposition DECISIONS receipt vs I…
briansrls May 19, 2026
c44b060
Merge remote-tracking branch 'origin/main' into session/tidy-carp-737
briansrls May 19, 2026
a3b15ee
Merge remote-tracking branch 'origin/main' into session/tidy-carp-737
briansrls May 19, 2026
9302c28
Merge remote-tracking branch 'origin/main' into session/tidy-carp-737
briansrls May 19, 2026
b1da98c
Merge remote-tracking branch 'origin/main' into session/tidy-carp-737
briansrls May 19, 2026
ba0d7dc
Merge remote-tracking branch 'origin/main' into session/tidy-carp-737
briansrls May 19, 2026
2b35f9a
WIP: [Mode-1 MAX-PAR] De-prose #3289 redo: refresh branch/PR against …
briansrls May 19, 2026
5a3465e
fix(v4): cpp.dag Practice-9 header + coproduct tag (Composer #3289)
briansrls May 19, 2026
460292f
Merge remote-tracking branch 'origin/main' into session/tidy-carp-737
briansrls May 19, 2026
dc0e12e
fix(v4): restore DECISIONS Part 6 coproduct tag on cpp overflow sum
briansrls May 19, 2026
420887e
fix(v4): cpp.dag — drop DECISIONS path from overflow coproduct tag
briansrls May 19, 2026
90180e2
Merge remote-tracking branch 'origin/main' into session/tidy-carp-737
briansrls May 19, 2026
1af69d9
fix(ci): stabilize v4 gate — PR-scoped concurrency + larger runner
briansrls May 19, 2026
7406c75
WIP: [Mode-1 MAX-PAR] De-prose #3289 redo: refresh branch/PR against …
briansrls May 19, 2026
393f659
chore(ci): retrigger Actions for folded v4 bootstrap gate
briansrls May 19, 2026
deb9c65
merge: origin/main into session/tidy-carp-737
briansrls May 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/v4/DECISIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ remain boundary indexes until the named substrate support lands.
| `extdeps/languages/go.dag` | (Practice-4 sum carriers + D2 partial) | Green coproduct family / records | Per merge-base `92cb26402` 🟢 blocks (see **Part 6 · CP-3229-GREEN-TERMINAL**). De-prose 2026-05-18: in-file prose removed; `GoCost` / `GoIntegerOverflowDisposition` / D2 deferrals indexed here, not in body comments. |
| `extdeps/languages/python.dag` | (Practice-4 sum carriers + cost record) | Green coproduct family / records | Same as go row; merge-base had three 🟢 sum ledgers (see **Part 6 · CP-3229-GREEN-TERMINAL**). **Heuristic vs content (Practice 9):** mechanical `//`-line share may sit modestly above the reviewer’s ~20% *heuristic* while the file still meets **content** compliance (mandated path + four-line header + `// Anchor:` + one-line 🟢 tag per coproduct only). That is not a license to pad with blank lines to game the ratio; additional non-`//` lines should come from real substrate (e.g. more carriers/imports), not whitespace inflation. |
| `extdeps/languages/rust.dag` | (Practice-4 sum carriers + D2 resolver) | Green coproduct family / records | Same bulk **CP-3229-GREEN-TERMINAL** receipt; `PubInPath` semantic scaffold and `RustCost` raw-`Int` bridge remain producer obligations per Part 6 / substrate tables, not narration in the `.dag` body. |
| `extdeps/languages/cpp.dag` | (Practice-4 sum carriers + D2 resolver) | Green coproduct family / records | Same bulk **CP-3229-GREEN-TERMINAL** receipt as sibling `extdeps/languages/*` slices; `CppIntegerOverflowDisposition` 🟢 terminal per subsection **`### src/v4/extdeps/languages/cpp.dag`**; `cpp_bool_grounding` / scalar ladder per that subsection’s `CppBool` row. |
| `extdeps/languages/typescript.dag` | `TsEcma262NumericPrimitiveKind`, `TsEcma262PrimitiveOperationSemantics`, D2 resolver scaffolds | Green coproduct family / yellow D2 deferrals | De-prose 2026-05-18: in-file prose removed; carrier declarations are byte-identical. `TsEcma262NumericPrimitiveKind` is 🟢 terminal because ECMA-262/TypeScript exposes exactly one numeric primitive kind per value: `number` or `bigint`; the partition is not a bool proxy, a dimensional product, or a parameterized width family, and algebraic facts land through future std numeric aliases rather than collapsing this boundary classifier. `TsEcma262PrimitiveOperationSemantics` is 🟢 terminal because resolver rows choose one ECMA primitive-semantics track among IEEE-754 `Number`, ToInt32/ToUint32 bitwise `Number`, and exact `BigInt`; this is not Rust overflow policy and not a width-indexed family. D2a(2): the `{spelling}` `GroundingMap` shape is **retired** under ruled-B — there is no "shared P2 home" pending because the shape is removed, not relocated (cf. INVARIANTS §P2; the `GroundingMap`→`resolver.dag` relocation obligation is obsolete for the removed twin). A local `GroundingMap` type and `{spelling}`-style `ts_*_grounding: GroundingMap{…}` rows remain **forbidden** (the hollow form). The **ruled-B decl-ref** `ts_bool_grounding: BooleanAlgebra<Bool> = bool_boolean_algebra` is a *different, sanctioned* shape (single std-authority reference, not a `GroundingMap` row) — declared this PR, **P2/E-6 staging** (consumer-gated); single-authority disposition is the **TS-D2 §** below. The Bool D2a(1) alias `TsBoolean = Bool` is **retired** (A-vs-B = B / ruled-B) — removed from `typescript.dag`, **not** in the remaining-scaffold set; single-authority disposition is the **TS-D2 §** below (machine-readable grounding *declaration* `ts_bool_grounding: BooleanAlgebra<Bool> = bool_boolean_algebra` — decl-ref shared-authority, present + v2-parse-verified; **P2/E-6 STAGING**, not landed authority — no same-PR consumer, canonical fold specified-not-realized; `grounding-worked-examples.md` §0). Non-Bool D2a(1) alias rows remain 🟡 tracked scaffolds: `TsNumber = Float64` waits on std/float `Float64` + `ApproximateField`, `TsBigInt = Int` waits on unbounded integer/BigInt alignment, `TsString = String` waits on UTF-16/std text refinement policy, and `symbol`/`null`/`undefined` wait on the LanguageModel/nominal-runtime substrate. D2a(3) per-primitive instance rows remain deferred only on top-level nullary sum-variant `data` body validation (Class-5-Gap-3); record-structural disposition rows are safe; the retired D2a(2) `{spelling}`-`GroundingMap` shape is superseded by the ruled-B decl-ref grounding above (no pending `GroundingMap` authority decision — the shape is removed). D2b IEEE-754 `number` Arrow bodies remain deferred to the bundled T-4 grammar and std/float ApproximateField lane. |

### Coordination coproduct receipts
Expand Down Expand Up @@ -306,6 +307,7 @@ Non-Bool C++ scalar ladder in this slice: **tracked** — 🟡 `feature:t4-cpp-s

| Carrier | Classification | Ledger result |
|---------|----------------|---------------|
| `CppIntegerOverflowDisposition` | 🟢 GREEN terminal | Same dissolution posture as `GoIntegerOverflowDisposition` / Rust `OverflowDisposition<IRCarrier>` classifiers: `RepresentableResultRequired` vs `UnsignedModuloArithmetic` are two mutually exclusive implementation-defined overflow behaviors for C++ primitive arithmetic in this slice, not a bool proxy, not a width-indexed family, and not a consumer-local policy knob. Five-pattern receipt and merge-base recovery live under **Part 6 · CP-3229-GREEN-TERMINAL** (bulk sibling-language recovery); live file keeps the Practice-9 one-line 🟢 tag only. |

This comment was marked as resolved.

| `CppBool` | 🟡 staging (canonical-B decl-ref declared + v2-parse-verified; P2/E-6 consumer-gated — no same-PR consumer, canonical fold specified-not-realized); non-bool C++ scalar ladder still 🟡 `feature:t4-cpp-scalar-ladder` | **A-vs-B = B (operator-ratified, ruled-B).** The prior `CppBool = Bool` + `cpp_bool_grounding { spelling: \"bool\" }` shape is **retired**: a bare D2 alias plus a `{spelling}` label asserts identity instead of demonstrating it — the hollow form the machine-readable-inhabitance bar forecloses. The machine-readable grounding edge *declaration* `cpp_bool_grounding: BooleanAlgebra<Bool> = bool_boolean_algebra` — a decl-ref referencing the single std authority (ISO C++ [basic.fundamental]: `bool` is exactly `true`/`false`, standard ops — nothing above the primitive to model) — is present + v2-parse-verified (0 diagnostics, v2 bootstrap gate). **P2/E-6: STAGING, not landed authority** — no same-PR consumer reads it; the canonical/coincidence fold consumer is specified-not-realized (`docs/modeling/grounding-worked-examples.md` §0). This is independent of the C++ **scalar ladder** (non-bool int/float widths), which remains 🟡 `feature:t4-cpp-scalar-ladder`; when that lands, `CppScalar.BoolScalar` adds the *classifier* fact alongside this grounding. `cpp.dag`'s per-file `{spelling}` `GroundingMap` twin is retired (no spelling-only resolver rows post-D2-REV; cf. `machine_code.dag` / INVARIANTS §P2). |

## OS-1 — #3209 Coproduct Dissolution And Scaffold Record
Expand Down
6 changes: 4 additions & 2 deletions src/v4/extdeps/languages/cpp.dag
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
// src/v4/extdeps/languages/cpp.dag
// Scope: C++ language primitive resolver facts.
// Scope: C++ language primitive resolver facts (L-2: ISO/IEC 14882:2020 / C++20; clause navigation via Anchor).
// Owns: CppIntegerOverflowDisposition, cpp_bool_grounding.
// Consumes: v4.std.logic.Bool, bool_boolean_algebra; v4.std.algebra.BooleanAlgebra; CppTargetProfile/CppTargetDataModel via T29-ABI follow-up rows.
// Status: D2-REV resolver slice; bool canonical-B decl-ref grounding — 🟡 E-6(b) staging (scaffold at decl; ledger DECISIONS.md/§0). Non-bool C++ scalar ladder still 🟡 feature:t4-cpp-scalar-ladder — DECISIONS.md P4-3208 + T29-ABI.
// Anchor: https://www.iso.org/standard/79358.html — clause navigation https://eel.is/c++draft/
// Ledger: DECISIONS.md Part 6 (PR #3229): CP-3229-GREEN-TERMINAL.

module v4.extdeps.languages.cpp

import v4.std.logic { Bool, bool_boolean_algebra }
import v4.std.algebra { BooleanAlgebra }


// 🟢 coproduct dissolution — DECISIONS.md T29-ABI + D2-REV.
// 🟢 coproduct dissolution — DECISIONS.md Part 6 · CP-3229-GREEN-TERMINAL.

This comment was marked as resolved.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed on HEAD: DECISIONS.md now has (1) a substrate-table row for extdeps/languages/cpp.dag pointing at Part 6 · CP-3229-GREEN-TERMINAL, and (2) an explicit CppIntegerOverflowDisposition 🟢 row under ### src/v4/extdeps/languages/cpp.dag so the in-file tag is reviewable (3b4818d).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross-checked again on 3b4818d (current PR HEAD): cpp.dag L15 is still the required one-line Part 6 · CP-3229-GREEN-TERMINAL tag immediately above type CppIntegerOverflowDisposition. On the same commit, DECISIONS.md still contains the | extdeps/languages/cpp.dag | … substrate row and the CppIntegerOverflowDisposition 🟢 row under ### src/v4/extdeps/languages/cpp.dag, so the in-file tag is anchored to written ledger text (not a dangling slug). No further code change indicated.

Merge readiness snapshot: GitHub mergeStateStatus=CLEAN, mergeable=MERGEABLE, CI SUCCESS on the 3b4818d workflow run; dashboard api-review approvals = 1/2 (still missing a second distinct qualifying APPROVE on policy). Not running gh pr merge per operator directive.

— sent from witty-owl-88

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-verify on 427d3ce63 (current PR HEAD) — finding does not hold

src/v4/extdeps/languages/cpp.dag L14 still carries the one-line Part 6 · CP-3229-GREEN-TERMINAL tag, and the slug is backed by committed DECISIONS.md on this branch:

  1. ### CP-3229-GREEN-TERMINAL — 🟢 GREEN five-pattern ledgers (bulk) exists in src/v4/DECISIONS.md (Part 6).
  2. Substrate path table row | extdeps/languages/cpp.dag | … explicitly indexes CppIntegerOverflowDisposition to ### src/v4/extdeps/languages/cpp.dag and Part 6 · CP-3229-GREEN-TERMINAL.
  3. Under ### src/v4/extdeps/languages/cpp.dag**, there is a dedicated **| CppIntegerOverflowDisposition | 🟢 GREEN terminal | …` row that names Part 6 · CP-3229-GREEN-TERMINAL as the merge-base / five-pattern recovery home.

So Practice 4 / Practice 9 has a reviewable ledger in-tree; the in-file tag is not dangling. If the relay was anchored to an older commit before 3b4818d, that would explain the mismatch — please re-resolve the thread against 427d3ce63.

— sent from witty-owl-88

type CppIntegerOverflowDisposition
= RepresentableResultRequired
| UnsignedModuloArithmetic
Expand Down
Loading