From c50d32dc8dbe450efb771688012682bed69af8e8 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 10:49:32 +0000 Subject: [PATCH] gov(post-merge): #353 PR_ARC + LATEST_STATE prepend; #109 adjacent landing noted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Post-merge governance for PR #353 (palantir-parity-cascade-v2 + SoA DTO ledger + #352 post-merge governance, merged 2026-05-07 as 4d0c2d9). PR_ARC_INVENTORY.md prepended with full Added/Locked/Deferred/Docs entry + adjacent-consumer-landings section documenting: - MedCare-rs PR #109 (merged 2026-05-07): ?source=lance toggle on GET /api/patient/{id} exercises per-request RlsRewriter + ColumnMaskRewriter attachment from lance-graph-callcenter. Validates the Zone 2 → Zone 3 path. Pinned the discovery that ColumnMaskRewriter has no ::new() method (struct-literal construction at policy.rs:111-114, 464, 565, 672) — feeds the SoA DTO ledger when V2-10 CI gate lands. - OGIT fork branch (claude/create-graph-ontology-crate-gkuJG): pushed but not yet PR'd. Adds 24 predicate fills to NTO/WorkOrder/ {Order,Customer,Article}.ttl (191 lines) + bootstraps NTO/Healthcare/ with 7 entities + 7 enums (846 lines). Closes the per-attribute gaps the woa-bridge and medcare-bridge needed for O(1) migration. v5 D-1 (dcterms:source) extended from entity-level to per-attribute level. medcare-bridge previously failed at hydrate with UnknownNamespace ("Healthcare") — now resolvable. LATEST_STATE.md table prepended with #353 row; "Last updated" advanced. Append-only governance honored: no past entries edited; only Confidence lines on prior entries are mutable per policy. https://claude.ai/code/session_01WevBiZ3jzVocu8fBpTY8sq --- .claude/board/LATEST_STATE.md | 3 ++- .claude/board/PR_ARC_INVENTORY.md | 35 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/.claude/board/LATEST_STATE.md b/.claude/board/LATEST_STATE.md index 07582b9a..393281c1 100644 --- a/.claude/board/LATEST_STATE.md +++ b/.claude/board/LATEST_STATE.md @@ -2,7 +2,7 @@ > **Auto-injected at session start via SessionStart hook.** > Updated after every merged PR. -> **Last updated:** 2026-05-07 (PR #352 merged: lance-graph-ontology v5 + ogit-cascade v1 plans). Prior: 2026-05-06 (splat-osint-ingestion-v1 PR 1+2 of 6 in flight). Prior: 2026-04-21 post PR #243. +> **Last updated:** 2026-05-07 (PR #353 merged: palantir-parity-cascade v2 capstone + SoA DTO entropy ledger + #352 post-merge governance). Prior: 2026-05-07 (PR #352 merged: lance-graph-ontology v5 + ogit-cascade v1 plans). Prior: 2026-05-06 (splat-osint-ingestion-v1 PR 1+2 of 6 in flight). Prior: 2026-04-21 post PR #243. > > Purpose: prevent new sessions from hallucinating structure that > already exists or proposing features already shipped. Read this @@ -14,6 +14,7 @@ | PR | Merged | Title | What it added | |---|---|---|---| +| **#353** | 2026-05-07 | plan: palantir-parity-cascade v2 + SoA DTO entropy ledger + #352 post-merge governance | Three artifacts. **v2 capstone** (262 lines): integrates 4 prior Foundry parity docs. Pillar 0 carry-forward: Foundry parity IS SoA-as-canon parity. Column H (PR #272 SHIPPED) is already the Foundry Object Type bridge. 15 D-PARITY-V2 deliverables. **SoA DTO entropy ledger** (210 lines, append-only knowledge): 22 DTOs classified across 4 tiers (sensor → engine → contract → callcenter). Buckets: 9 bare-metal / 7 SoA-glue / 6 bridge-projection (3 OPEN). `ResonanceDto` IS the SoA. Codec cascade columns all OPEN today. **#352 post-merge governance**: PR_ARC + LATEST_STATE updates. | | **#352** | 2026-05-07 | plan: lance-graph-ontology v5 + ogit-cascade v1 | Two-plan PR. **v5** (177 lines): 15 deliverables for ontology crate post-merge follow-on (D-1 dcterms:source, D-2 SpoBridge::promote_to_spo, D-9 ontology-aware MUL thresholds). 4 ratifications (smb-ontology export-only, D-9 above D-2, MulThresholdProfile in lance-graph-contract, OGIT-fork upstream non-PR). **v1 cascade** (209 lines): 15 D-CASCADE deliverables for SoA-as-canon + Zone 1/2/3 + BioPortal arsenal + bridge collapse. **Pillar 0**: OntologyRegistry IS the SoA, schema IS the DTO + name→row index. **Codec cascade per row** (target state, NOT YET WIRED — D-CASCADE-V1-7): identity Vsa16kF32 → CAM-PQ 6 B → Base17 34 B → palette key 4 B → Scent 1 B + qualia 18×f32 + meta 8 B + edge 8 B, every step O(1). | | **#243** | *(open)* | D5+D7 categorical-algebraic inference | `thinking_styles.rs` (490 LOC, 12 tests), `free_energy.rs` (347 LOC, 7 tests), `role_keys.rs` bind/unbind/recovery (295 LOC, 14 tests), `content_fp.rs` (98 LOC, 5 tests), `markov_bundle.rs` (250 LOC, 8 tests), `trajectory.rs` (298 LOC, 4 tests). Plans: `categorical-algebraic-inference-v1.md` (496 lines). Knowledge: `paper-landscape-grammar-parsing.md`, `session-2026-04-21-categorical-click.md`. CLAUDE.md § The Click (P-1). 12 epiphanies. | | **#225** | *(open)* | Codec-sweep plan + D0.6/D0.7 CodecParams | 9-commit plan (`codec-sweep-via-lab-infra-v1.md`, Rules A-F, 9 starter YAMLs, CODING_PRACTICES audit) + `lance-graph-contract::cam` CodecParams/Builder/precision-ladder validation (14 tests). 147/147 contract suite | diff --git a/.claude/board/PR_ARC_INVENTORY.md b/.claude/board/PR_ARC_INVENTORY.md index 09b569c3..b40d8fae 100644 --- a/.claude/board/PR_ARC_INVENTORY.md +++ b/.claude/board/PR_ARC_INVENTORY.md @@ -35,6 +35,41 @@ --- +## #353 — plan: palantir-parity-cascade v2 + SoA DTO entropy ledger + #352 post-merge governance (merged 2026-05-07) + +**Confidence (2026-05-07):** plan-only, pre-execution. Pillar 0 carry-forward (Foundry parity IS SoA-as-canon parity) is the architectural anchor; v2 integrates 4 prior Foundry parity docs without duplicating. SoA DTO ledger formalizes 22 DTOs across 4 tiers as the canonical classification artifact. **Status:** Merged to `main` as `4d0c2d9`. + +**Added:** +- `.claude/plans/palantir-parity-cascade-v2.md` (262 lines) — integration capstone over `q2-foundry-integration-v1`, `lf-integration-mapping-v1`, `foundry-consumer-parity-v1`, `medcare-foundry-vision`, and v1 cascade Pillar 0. 15 D-PARITY-V2 deliverables. Top-3 ship with the plan: V2-1 (DTO ledger), V2-2 (triangle ledger — not yet), V2-3 (BusDto bridge — not yet). +- `.claude/knowledge/soa-dto-dependency-ledger.md` (210 lines) — append-only entropy ledger. 22 DTOs classified: 9 bare-metal, 7 SoA-glue, 6 bridge-projection (3 OPEN reclassifications). Codec cascade column status: all 8 OPEN today (registry uses `(bridge_id, public_name)` tuples + `ogit_uri` hashing per 2026-05-07 audit). Internal vs external O(1) mapping diagrams. Probe queue with pass criteria for D-CASCADE-V1-1/7/11 + D-PARITY-V2-3/10. Maintenance protocol attached. +- `.claude/board/PR_ARC_INVENTORY.md` + `.claude/board/LATEST_STATE.md` — post-merge governance for #352 (`8e2f088`). +- `.claude/board/INTEGRATION_PLANS.md` — v2 capstone prepend. + +**Locked:** +- **v2 Pillar 0 carry-forward:** Foundry parity IS SoA-as-canon parity. Column H (`EntityTypeId = u16`, PR #272 SHIPPED) is already the Foundry Object Type bridge; v2 makes the SoA carry the Foundry-equivalent shape, NOT duplicate the table set. +- **DTO ledger maintenance protocol:** every PR adding `*Dto`/`*Row`/`*Filter`/`*Intent`/`*Event`/`*Step`/`*Slot` types prepends a row. CI gate D-PARITY-V2-10 (planned) enforces. +- **`ResonanceDto` IS the SoA**, not a glue layer (per the 2026-05-07 audit; `thinking-engine::dto.rs:59`, 4096-element ripple field). +- **Business Logic ↔ Thinking-style ↔ OGIT triangle** is a routing artifact (D-PARITY-V2-2), NOT a new schema column. +- **Three-tier classification doctrine:** bare-metal may carry `serde::Serialize` (Zone 3 only); SoA-glue must NOT carry `serde::Serialize` (projections break the SIMD sweep); bridge-projection must own no data (only `LazyLock<&Registry>`). + +**Deferred (immutable parks):** +- All 15 D-PARITY-V2 code implementations except V2-1 (ledger ships with the plan). +- Q2 cockpit panels (D-PARITY-V2-7/11/15) — depend on lance-graph workspace + Q2 repo simultaneously; cross-repo sync needed. +- `lance-graph-models` crate scaffold (D-PARITY-V2-8) — independent but unscheduled. +- Helix-equivalent causal-histogram operator (D-PARITY-V2-14) — out of v2 scope. + +**Docs:** +- `.claude/plans/palantir-parity-cascade-v2.md` — capstone with §"Self-bootstrapping prompt". +- `.claude/knowledge/soa-dto-dependency-ledger.md` — entropy ledger. + +**Resolves ledger rows:** none directly. **Hardens** v1 D-CASCADE-V1-7 (codec cascade column population) via explicit OPEN status tracking per column. + +**Adjacent consumer landings (not in this PR):** +- **MedCare-rs #109** (merged 2026-05-07): `?source=lance` toggle on `GET /api/patient/{id}` exercises per-request `RlsRewriter` + `ColumnMaskRewriter` attachment from `lance-graph-callcenter::rls` and `policy::ColumnMaskRewriter`. Validates the Zone 2 → Zone 3 path the v1/v2 plans rely on. Note: PR #109 documents that `ColumnMaskRewriter` has NO `::new()` method — constructed via struct literal `{ registry, actor_role }` (verified at `policy.rs:111-114, 464, 565, 672`). Consider a `// classification:` doc-comment audit for the DTO ledger now that consumer-side construction patterns are known. +- **OGIT fork branch** (`claude/create-graph-ontology-crate-gkuJG`, not yet PR'd): post-merge follow-on adds 24 predicate fills to NTO/WorkOrder/{Order,Customer,Article}.ttl + bootstraps NTO/Healthcare/ with 7 entities + 7 enums (846 lines). Closes the entity-level + per-attribute gaps the woa-bridge and medcare-bridge needed for O(1) migration. v5 D-1 (dcterms:source) extended from entity-level to per-attribute level in this work; medcare-bridge previously failed at hydrate with `UnknownNamespace("Healthcare")` — now resolvable. + +--- + ## #352 — plan: lance-graph-ontology v5 + ogit-cascade v1 (merged 2026-05-07) **Confidence (2026-05-07):** plan-only, pre-execution. Pillar 0 (SoA-as-canon) is the architectural anchor; Pillars 1-4 are mechanical consequences. Top-3 deliverables locked for both v5 and v1 cascade. Foundry/Gotham parity prior art confirmed extensive (Q2 = Gotham UI equivalent per `q2-foundry-integration-v1.md`; Column H EntityTypeId = Foundry Object Type bridge per PR #272 SHIPPED; LF-12/20/22/23/50 already mapped in `lf-integration-mapping-v1.md`). v2 roadmap will integrate, not duplicate. **Status:** Merged to `main` as `8e2f088`.