Skip to content

plan: Foundry Consumer Parity — shared ontology for SMB + MedCare + UNKNOWN resolutions - #276

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/callcenter-unknowns-and-foundry-parity
Apr 28, 2026
Merged

plan: Foundry Consumer Parity — shared ontology for SMB + MedCare + UNKNOWN resolutions#276
AdaWorldAPI merged 1 commit into
mainfrom
claude/callcenter-unknowns-and-foundry-parity

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Summary

Foundry Consumer Parity plan: maps the shared contract surface that both smb-office-rs and medcare-rs need, resolves 5 callcenter UNKNOWNs, and documents the DataFusion/SQL groundtruth architecture.

Callcenter UNKNOWNs resolved (both consumers confirm)

UNKNOWN Resolution
UNKNOWN-2 (Phoenix vs Rust API) Both. Phoenix WS for realtime push + direct Rust for bespoke routes.
UNKNOWN-3 (pgwire needed?) No. All clients are HTTP/WS. PostgREST shape is the target.
UNKNOWN-4 (actor_id type) String (JWT sub). Custom claims via ActorContext::custom().
UNKNOWN-5 (Lance URI) Single root env var, subpaths per dataset.
§8 PostgREST YES — confirmed by both consumers. DM-8 is UNBLOCKED.

Key finding

Both SMB and medcare-rs need the IDENTICAL Foundry surface:

  • Same Ontology { schemas, links, actions } contract shape
  • Same PostgREST → DataFusion → Lance datasets → MySQL oracle architecture
  • Same RLS rewriter (tenant per praxis_id)
  • Same audit log, pipeline DAG, time-travel, search requirements

The cognitive stack doesn't care whether it's thinking about a Mahnung or a Prescription — it processes fingerprints, emits edges, learns ontology. "Foundry outside, AGI inside."

P-0 shared build priorities

  1. DM-8 PostgRestHandler — 87+ medcare routes + 50+ SMB routes collapse
  2. LF-90 AuditLog — both need SOC2/GDPR/clinical audit
  3. LF-12 Pipeline DAG — both need orchestrated ingestion

Test plan

  • Plan file created (186 LOC)
  • Registered in INTEGRATION_PLANS.md
  • Cross-checked against smb-office-rs foundry-parity-checklist.md (45 LF chunks)

https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh


Generated by Claude Code

…B + MedCare

186 LOC plan mapping the Foundry parity surface shared by smb-office-rs
and medcare-rs. Both consumers confirm the same callcenter UNKNOWN answers
and need the same contract modules.

§1 Callcenter UNKNOWN Resolutions (consumer-validated):
  UNKNOWN-2: Both Phoenix WS + direct Rust API needed
  UNKNOWN-3: No pgwire — all clients HTTP/WS
  UNKNOWN-4: actor_id = String (JWT sub), custom claims via ActorContext
  UNKNOWN-5: Single LANCE_URI root, subpaths per dataset
  §8 PostgREST: CONFIRMED needed by both — DM-8 is UNBLOCKED

§2 Shared Foundry surface: 10 contract modules already shipped (Tier 0),
  14 LF items requested by both consumers (DM-8, LF-12, LF-31, LF-20,
  LF-23, LF-40, LF-41, LF-50, LF-52, LF-60, LF-61, LF-90, LF-91, LF-92)

§3 DataFusion/SQL groundtruth pattern: PostgREST → DataFusion SQL →
  Lance datasets (via lance-datafusion) + MySQL oracle as parity witness.
  Both consumers use identical architecture.

§4 Ontology unification: one contract shape (Ontology { schemas, links,
  actions }), two domain instances. AGI surface identical for both —
  "Foundry outside, AGI inside."

§5 Build priority: DM-8 PostgREST (P-0) → LF-90 AuditLog (P-0) →
  LF-12 Pipeline DAG (P-0) → LF-31 scan_as_of (P-1) → LF-92 tenant (P-1)

https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
@AdaWorldAPI
AdaWorldAPI merged commit 12f3116 into main Apr 28, 2026
AdaWorldAPI added a commit that referenced this pull request Apr 28, 2026
Adds .claude/plans/foundry-roadmap-unified-smb-medcare-v1.md mirrored
across lance-graph, smb-office-rs, medcare-rs. Supersedes the
Binary16K-centric framing in PR #276's foundry-consumer-parity-v1
with the correct per-scale data-model decisions from
FormatBestPractices.md (SPO + ontology + graph + Vsa16kF32 hot-path
at tenant scale; CAM-PQ only at cross-tenant cohort scale).

Critical path: LF-3 / DM-7 RLS rewriter unblocks both SMB F8 and
medcare RLS; was gated on UNKNOWN-3 + UNKNOWN-4 which PR #276
resolved.

Cross-ref: smb-office-rs/docs/foundry-parity-checklist.md (45 LF
chunks); FormatBestPractices.md §5 per-workload format decisions.
AdaWorldAPI added a commit that referenced this pull request Apr 28, 2026
plan: unified Foundry roadmap for SMB + MedCare consumers (corrects PR #276 data-model framing)
AdaWorldAPI added a commit that referenced this pull request Aug 18, 2026
… and the C-band (#960)

The contract's mirror of OGAR's ConceptDomain ended at Geo (0x0F) while
OGAR carries Ontology (0x03, populated by the DisMech 0x0333 mints),
Blocks (0x17), and the C-band JavaRuntime/Analytics/BinaryLifting
(0xC0/0xC1/0xC4 -- the altitude ruling, OGAR #276+#277; 0xC0 is Panama
FFM alone, Valhalla being a property of the C0 vocabulary rather than an
addressable concept). Both sides' docs demand they update together; this
is the catch-up, found by the lance-graph-java session and verified
independently by the ruff/R2IL session at db488f5, with ownership of the
sync explicitly handed here so the ruff arc's PR3 rebases trivially.

The real finding is WHY the drift guard never fired: domains_agree +
assert_codebook_parity only walk ids that carry concept rows, so a
reserved-EMPTY domain added to one enum but not the other is invisible to
a content walk. Proven live -- the first disable-run (dropping the new
BinaryLifting pair from domains_agree) stayed GREEN. Repaired with
reserved_empty_domains_agree_across_the_mirror: one id per new domain,
the populated 0x0333, the deliberate 0xC2-0xC3 gap pinned like OGAR's own
0x10-0x16, the band edges, and the 0x0C/0xC0 digit-swap two-sided. Both
disable-runs (bridge pair dropped; contract arm dropped) now go red on
exactly that test; the contract's own domain_routes_on_high_byte
independently catches the arm removal.

Gates: lance-graph-contract 1162/1162 + doctests, clippy --all-targets
clean; lance-graph-ogar (workspace-excluded, tested via manifest-path)
64/64 incl. assert_codebook_parity green -- content parity holds, this
was domain-level drift only. The crate's 11 pre-existing clippy warnings
are measured identical with this diff stashed and left untouched.

Board: EPIPHANIES E-OGAR-CODEBOOK-MIRROR-DOMAIN-DRIFT-SYNCED-1 prepended
in the same commit, per the board-hygiene rule.

Co-authored-by: Claude <noreply@anthropic.com>
AdaWorldAPI added a commit that referenced this pull request Aug 18, 2026
…#961)

* ogar_codebook: sync the ConceptDomain wire-mirror -- Ontology, Blocks, and the C-band

The contract's mirror of OGAR's ConceptDomain ended at Geo (0x0F) while
OGAR carries Ontology (0x03, populated by the DisMech 0x0333 mints),
Blocks (0x17), and the C-band JavaRuntime/Analytics/BinaryLifting
(0xC0/0xC1/0xC4 -- the altitude ruling, OGAR #276+#277; 0xC0 is Panama
FFM alone, Valhalla being a property of the C0 vocabulary rather than an
addressable concept). Both sides' docs demand they update together; this
is the catch-up, found by the lance-graph-java session and verified
independently by the ruff/R2IL session at db488f5, with ownership of the
sync explicitly handed here so the ruff arc's PR3 rebases trivially.

The real finding is WHY the drift guard never fired: domains_agree +
assert_codebook_parity only walk ids that carry concept rows, so a
reserved-EMPTY domain added to one enum but not the other is invisible to
a content walk. Proven live -- the first disable-run (dropping the new
BinaryLifting pair from domains_agree) stayed GREEN. Repaired with
reserved_empty_domains_agree_across_the_mirror: one id per new domain,
the populated 0x0333, the deliberate 0xC2-0xC3 gap pinned like OGAR's own
0x10-0x16, the band edges, and the 0x0C/0xC0 digit-swap two-sided. Both
disable-runs (bridge pair dropped; contract arm dropped) now go red on
exactly that test; the contract's own domain_routes_on_high_byte
independently catches the arm removal.

Gates: lance-graph-contract 1162/1162 + doctests, clippy --all-targets
clean; lance-graph-ogar (workspace-excluded, tested via manifest-path)
64/64 incl. assert_codebook_parity green -- content parity holds, this
was domain-level drift only. The crate's 11 pre-existing clippy warnings
are measured identical with this diff stashed and left untouched.

Board: EPIPHANIES E-OGAR-CODEBOOK-MIRROR-DOMAIN-DRIFT-SYNCED-1 prepended
in the same commit, per the board-hygiene rule.

* lotus Phase 0/1: frontier audit + F-ORD-REAL pre-registered falsifier

Research charter deliverables 1-2 (no fix included, by design):

- docs/lotus/LOTUS-FRONTIER-AUDIT.md — Phase 0 archaeology across the
  write path, persistence capability, placement/comma prior art, and
  frontier visibility, every statement graded VERIFIED / INFERENCE /
  HYPOTHESIS / BLOCKER. Headline findings: content_hash folds
  arrival-minted stream_position values into batch_hash
  (persist_sink.rs:414), contradicting DetachedCycleBatch's own
  order-independence doc; the seal is O(batch bytes) x3 passes with the
  batch resident up to 3x at seal; SweepSlot's caller-supplied semantic
  order-key contract vs collect_casts' arrival mint; the lance crate
  source is absent from this sandbox (prepared-artifact capability audit
  BLOCKED). Section 6 answers the permeability question: the cycle does
  not become permeable, it becomes thin — trailing-publication pipelining
  (Regime A) needs no epistemic weakening; rung-qualified frontier
  visibility (temporal.rs EpistemicMode ladder) stratifies rather than
  reopens the retired race; texts stay linear, tiles get derived
  placement, resolved per class.

- docs/lotus/F-ORD-REAL-FALSIFIER.md — the defect mechanism in four
  verified steps + the test design (perturb the process that creates the
  key: permute cast() call order, never post-mint slots).

- cycle_driver.rs tests: f_ord_real_defect_pin_... (GREEN, two-sided —
  anti-vacuity proves the perturbation reaches the key mint; semantic
  set + image pinned arrival-independent; batch_hash pinned
  arrival-DEPENDENT; fails loudly when a fix lands) and
  f_ord_real_publication_identity_... (#[ignore]d RED falsifier — the
  desired property, red under --ignored on the real chain).

Gates: cargo test -p lance-graph-supervisor --features cycle-driver
28 passed / 1 ignored (+ suites green); RED verified red under
--ignored; fmt clean; clippy adds zero new warnings (8 pre-existing
recover_fleet lints only visible under this non-default feature).

Board: EPIPHANIES E-FORD-REAL-PUBLICATION-IDENTITY-IS-ARRIVAL-DEPENDENT-1;
STATUS_BOARD lotus-seal-fractal-commit-frontier section (D-LOTUS-1..9).

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
AdaWorldAPI added a commit that referenced this pull request Aug 18, 2026
…e.dev debug=0 (#962)

* ogar_codebook: sync the ConceptDomain wire-mirror -- Ontology, Blocks, and the C-band

The contract's mirror of OGAR's ConceptDomain ended at Geo (0x0F) while
OGAR carries Ontology (0x03, populated by the DisMech 0x0333 mints),
Blocks (0x17), and the C-band JavaRuntime/Analytics/BinaryLifting
(0xC0/0xC1/0xC4 -- the altitude ruling, OGAR #276+#277; 0xC0 is Panama
FFM alone, Valhalla being a property of the C0 vocabulary rather than an
addressable concept). Both sides' docs demand they update together; this
is the catch-up, found by the lance-graph-java session and verified
independently by the ruff/R2IL session at db488f5, with ownership of the
sync explicitly handed here so the ruff arc's PR3 rebases trivially.

The real finding is WHY the drift guard never fired: domains_agree +
assert_codebook_parity only walk ids that carry concept rows, so a
reserved-EMPTY domain added to one enum but not the other is invisible to
a content walk. Proven live -- the first disable-run (dropping the new
BinaryLifting pair from domains_agree) stayed GREEN. Repaired with
reserved_empty_domains_agree_across_the_mirror: one id per new domain,
the populated 0x0333, the deliberate 0xC2-0xC3 gap pinned like OGAR's own
0x10-0x16, the band edges, and the 0x0C/0xC0 digit-swap two-sided. Both
disable-runs (bridge pair dropped; contract arm dropped) now go red on
exactly that test; the contract's own domain_routes_on_high_byte
independently catches the arm removal.

Gates: lance-graph-contract 1162/1162 + doctests, clippy --all-targets
clean; lance-graph-ogar (workspace-excluded, tested via manifest-path)
64/64 incl. assert_codebook_parity green -- content parity holds, this
was domain-level drift only. The crate's 11 pre-existing clippy warnings
are measured identical with this diff stashed and left untouched.

Board: EPIPHANIES E-OGAR-CODEBOOK-MIRROR-DOMAIN-DRIFT-SYNCED-1 prepended
in the same commit, per the board-hygiene rule.

* lotus Phase 0/1: frontier audit + F-ORD-REAL pre-registered falsifier

Research charter deliverables 1-2 (no fix included, by design):

- docs/lotus/LOTUS-FRONTIER-AUDIT.md — Phase 0 archaeology across the
  write path, persistence capability, placement/comma prior art, and
  frontier visibility, every statement graded VERIFIED / INFERENCE /
  HYPOTHESIS / BLOCKER. Headline findings: content_hash folds
  arrival-minted stream_position values into batch_hash
  (persist_sink.rs:414), contradicting DetachedCycleBatch's own
  order-independence doc; the seal is O(batch bytes) x3 passes with the
  batch resident up to 3x at seal; SweepSlot's caller-supplied semantic
  order-key contract vs collect_casts' arrival mint; the lance crate
  source is absent from this sandbox (prepared-artifact capability audit
  BLOCKED). Section 6 answers the permeability question: the cycle does
  not become permeable, it becomes thin — trailing-publication pipelining
  (Regime A) needs no epistemic weakening; rung-qualified frontier
  visibility (temporal.rs EpistemicMode ladder) stratifies rather than
  reopens the retired race; texts stay linear, tiles get derived
  placement, resolved per class.

- docs/lotus/F-ORD-REAL-FALSIFIER.md — the defect mechanism in four
  verified steps + the test design (perturb the process that creates the
  key: permute cast() call order, never post-mint slots).

- cycle_driver.rs tests: f_ord_real_defect_pin_... (GREEN, two-sided —
  anti-vacuity proves the perturbation reaches the key mint; semantic
  set + image pinned arrival-independent; batch_hash pinned
  arrival-DEPENDENT; fails loudly when a fix lands) and
  f_ord_real_publication_identity_... (#[ignore]d RED falsifier — the
  desired property, red under --ignored on the real chain).

Gates: cargo test -p lance-graph-supervisor --features cycle-driver
28 passed / 1 ignored (+ suites green); RED verified red under
--ignored; fmt clean; clippy adds zero new warnings (8 pre-existing
recover_fleet lints only visible under this non-default feature).

Board: EPIPHANIES E-FORD-REAL-PUBLICATION-IDENTITY-IS-ARRIVAL-DEPENDENT-1;
STATUS_BOARD lotus-seal-fractal-commit-frontier section (D-LOTUS-1..9).

Co-Authored-By: Claude <noreply@anthropic.com>

* board: #961 arc entry + LATEST_STATE + D-LOTUS-1/2 Shipped flips

Co-Authored-By: Claude <noreply@anthropic.com>

* operator pin ruling: DF 54.1 only — remove broken delta feature; RP-SEAL charter + boards

Ruling (E-PIN-LANCE9-LANCEDB033-DF541-ARROW58-NO-DF53-1): lance 9 /
lancedb 0.33 / datafusion 54.1 (no DF 53) / arrow 58, always, across
AdaWorldAPI forks, usually via [patch -> upstream repository git].

Measured before acting: the only DF-53 source was deltalake 0.32.4
(^53.1.0) behind the already-non-default, already-broken delta feature;
registry check shows no DF-54 deltalake exists. Removed: delta feature,
deltalake + url optional deps, DeltaTableReader (module docs + Cargo.toml
carry dated removal notes; DataSourceFormat::Delta stays as a catalog
tag). Post-removal Cargo.lock: exactly ONE datafusion = 54.1.0, zero
deltalake entries. cargo check -p lance-graph green; fmt clean; full
suite running as the PR gate. Docker pins surveyed: root + avx512 =
Rust 1.97.1 + protobuf-compiler, no delta references — removal is
docker-safe (stale flag noted: crates/symbiont/Dockerfile rust:1.95).

Also: RP-SEAL research charter committed as
.claude/plans/erasure-seals-compaction-research-v1.md (15-researcher
program, independent pass dispatched as background workflow
wf_ca974718-1b4; adversaries strongest-tier, builders/scouts grindwork
tier); INTEGRATION_PLANS + STATUS_BOARD entries; D-LOTUS-6 BLOCKER
lifted (operator-sanctioned upstream-git source consult; exact v9.0.0
tag on disk matching the lock checksum) with the audit carrying the
dated lift note; CLAUDE.md 'BOTH MAJORS ARE REQUIRED' note superseded
in place.

Co-Authored-By: Claude <noreply@anthropic.com>

* scope pivot (operator): rustynum struck — everything ndarray; symbiont deprecated (#879/#911/#912/#913)

Recorded in the RP-SEAL plan header + the pin-ruling EPIPHANIES entry;
the workflow script was corrected in place (source map + the two cell
briefs naming rustynum); the in-flight independent pass could not be
force-stopped in this harness build, so the ruling binds consolidation
as a hard filter. Deltalake removal ratified same exchange.

Co-Authored-By: Claude <noreply@anthropic.com>

* correct the delta-removal notes: delta-rs MAIN is already DF 54 + arrow 58

Operator-pointed, verified from delta-io/delta-rs main Cargo.toml
(datafusion = 54.0.0, arrow = 58): only the crates.io releases top out at
DF 53. Restoration is available now via a git-pin on upstream + a reader
refactor to the current builder API — as its own deliberate PR if a
consumer needs Delta. The removal itself stands on the need ruling
('we don't need deltalake'), not on availability; notes in Cargo.toml,
CLAUDE.md, and the EPIPHANIES entry corrected accordingly.

Co-Authored-By: Claude <noreply@anthropic.com>

* profile.dev debug=0 — smaller/faster builds (operator ruling)

Full-debuginfo test binaries grew target/ to 17 GB and SIGBUS'd the
linker on a full disk this session; debug=0 shrinks the
lance/datafusion-stack test binaries ~an order of magnitude. Matches the
gate already running with CARGO_PROFILE_DEV_DEBUG=0 (same resolved
profile, cache reuse). line-tables-only noted as the fallback if
line-numbered backtraces are ever needed.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
AdaWorldAPI added a commit that referenced this pull request Aug 18, 2026
* ogar_codebook: sync the ConceptDomain wire-mirror -- Ontology, Blocks, and the C-band

The contract's mirror of OGAR's ConceptDomain ended at Geo (0x0F) while
OGAR carries Ontology (0x03, populated by the DisMech 0x0333 mints),
Blocks (0x17), and the C-band JavaRuntime/Analytics/BinaryLifting
(0xC0/0xC1/0xC4 -- the altitude ruling, OGAR #276+#277; 0xC0 is Panama
FFM alone, Valhalla being a property of the C0 vocabulary rather than an
addressable concept). Both sides' docs demand they update together; this
is the catch-up, found by the lance-graph-java session and verified
independently by the ruff/R2IL session at db488f5, with ownership of the
sync explicitly handed here so the ruff arc's PR3 rebases trivially.

The real finding is WHY the drift guard never fired: domains_agree +
assert_codebook_parity only walk ids that carry concept rows, so a
reserved-EMPTY domain added to one enum but not the other is invisible to
a content walk. Proven live -- the first disable-run (dropping the new
BinaryLifting pair from domains_agree) stayed GREEN. Repaired with
reserved_empty_domains_agree_across_the_mirror: one id per new domain,
the populated 0x0333, the deliberate 0xC2-0xC3 gap pinned like OGAR's own
0x10-0x16, the band edges, and the 0x0C/0xC0 digit-swap two-sided. Both
disable-runs (bridge pair dropped; contract arm dropped) now go red on
exactly that test; the contract's own domain_routes_on_high_byte
independently catches the arm removal.

Gates: lance-graph-contract 1162/1162 + doctests, clippy --all-targets
clean; lance-graph-ogar (workspace-excluded, tested via manifest-path)
64/64 incl. assert_codebook_parity green -- content parity holds, this
was domain-level drift only. The crate's 11 pre-existing clippy warnings
are measured identical with this diff stashed and left untouched.

Board: EPIPHANIES E-OGAR-CODEBOOK-MIRROR-DOMAIN-DRIFT-SYNCED-1 prepended
in the same commit, per the board-hygiene rule.

* lotus Phase 0/1: frontier audit + F-ORD-REAL pre-registered falsifier

Research charter deliverables 1-2 (no fix included, by design):

- docs/lotus/LOTUS-FRONTIER-AUDIT.md — Phase 0 archaeology across the
  write path, persistence capability, placement/comma prior art, and
  frontier visibility, every statement graded VERIFIED / INFERENCE /
  HYPOTHESIS / BLOCKER. Headline findings: content_hash folds
  arrival-minted stream_position values into batch_hash
  (persist_sink.rs:414), contradicting DetachedCycleBatch's own
  order-independence doc; the seal is O(batch bytes) x3 passes with the
  batch resident up to 3x at seal; SweepSlot's caller-supplied semantic
  order-key contract vs collect_casts' arrival mint; the lance crate
  source is absent from this sandbox (prepared-artifact capability audit
  BLOCKED). Section 6 answers the permeability question: the cycle does
  not become permeable, it becomes thin — trailing-publication pipelining
  (Regime A) needs no epistemic weakening; rung-qualified frontier
  visibility (temporal.rs EpistemicMode ladder) stratifies rather than
  reopens the retired race; texts stay linear, tiles get derived
  placement, resolved per class.

- docs/lotus/F-ORD-REAL-FALSIFIER.md — the defect mechanism in four
  verified steps + the test design (perturb the process that creates the
  key: permute cast() call order, never post-mint slots).

- cycle_driver.rs tests: f_ord_real_defect_pin_... (GREEN, two-sided —
  anti-vacuity proves the perturbation reaches the key mint; semantic
  set + image pinned arrival-independent; batch_hash pinned
  arrival-DEPENDENT; fails loudly when a fix lands) and
  f_ord_real_publication_identity_... (#[ignore]d RED falsifier — the
  desired property, red under --ignored on the real chain).

Gates: cargo test -p lance-graph-supervisor --features cycle-driver
28 passed / 1 ignored (+ suites green); RED verified red under
--ignored; fmt clean; clippy adds zero new warnings (8 pre-existing
recover_fleet lints only visible under this non-default feature).

Board: EPIPHANIES E-FORD-REAL-PUBLICATION-IDENTITY-IS-ARRIVAL-DEPENDENT-1;
STATUS_BOARD lotus-seal-fractal-commit-frontier section (D-LOTUS-1..9).

Co-Authored-By: Claude <noreply@anthropic.com>

* board: #961 arc entry + LATEST_STATE + D-LOTUS-1/2 Shipped flips

Co-Authored-By: Claude <noreply@anthropic.com>

* operator pin ruling: DF 54.1 only — remove broken delta feature; RP-SEAL charter + boards

Ruling (E-PIN-LANCE9-LANCEDB033-DF541-ARROW58-NO-DF53-1): lance 9 /
lancedb 0.33 / datafusion 54.1 (no DF 53) / arrow 58, always, across
AdaWorldAPI forks, usually via [patch -> upstream repository git].

Measured before acting: the only DF-53 source was deltalake 0.32.4
(^53.1.0) behind the already-non-default, already-broken delta feature;
registry check shows no DF-54 deltalake exists. Removed: delta feature,
deltalake + url optional deps, DeltaTableReader (module docs + Cargo.toml
carry dated removal notes; DataSourceFormat::Delta stays as a catalog
tag). Post-removal Cargo.lock: exactly ONE datafusion = 54.1.0, zero
deltalake entries. cargo check -p lance-graph green; fmt clean; full
suite running as the PR gate. Docker pins surveyed: root + avx512 =
Rust 1.97.1 + protobuf-compiler, no delta references — removal is
docker-safe (stale flag noted: crates/symbiont/Dockerfile rust:1.95).

Also: RP-SEAL research charter committed as
.claude/plans/erasure-seals-compaction-research-v1.md (15-researcher
program, independent pass dispatched as background workflow
wf_ca974718-1b4; adversaries strongest-tier, builders/scouts grindwork
tier); INTEGRATION_PLANS + STATUS_BOARD entries; D-LOTUS-6 BLOCKER
lifted (operator-sanctioned upstream-git source consult; exact v9.0.0
tag on disk matching the lock checksum) with the audit carrying the
dated lift note; CLAUDE.md 'BOTH MAJORS ARE REQUIRED' note superseded
in place.

Co-Authored-By: Claude <noreply@anthropic.com>

* scope pivot (operator): rustynum struck — everything ndarray; symbiont deprecated (#879/#911/#912/#913)

Recorded in the RP-SEAL plan header + the pin-ruling EPIPHANIES entry;
the workflow script was corrected in place (source map + the two cell
briefs naming rustynum); the in-flight independent pass could not be
force-stopped in this harness build, so the ruling binds consolidation
as a hard filter. Deltalake removal ratified same exchange.

Co-Authored-By: Claude <noreply@anthropic.com>

* correct the delta-removal notes: delta-rs MAIN is already DF 54 + arrow 58

Operator-pointed, verified from delta-io/delta-rs main Cargo.toml
(datafusion = 54.0.0, arrow = 58): only the crates.io releases top out at
DF 53. Restoration is available now via a git-pin on upstream + a reader
refactor to the current builder API — as its own deliberate PR if a
consumer needs Delta. The removal itself stands on the need ruling
('we don't need deltalake'), not on availability; notes in Cargo.toml,
CLAUDE.md, and the EPIPHANIES entry corrected accordingly.

Co-Authored-By: Claude <noreply@anthropic.com>

* profile.dev debug=0 — smaller/faster builds (operator ruling)

Full-debuginfo test binaries grew target/ to 17 GB and SIGBUS'd the
linker on a full disk this session; debug=0 shrinks the
lance/datafusion-stack test binaries ~an order of magnitude. Matches the
gate already running with CARGO_PROFILE_DEV_DEBUG=0 (same resolved
profile, cache reuse). line-tables-only noted as the fallback if
line-numbered backtraces are ever needed.

Co-Authored-By: Claude <noreply@anthropic.com>

* drift cleanup: rustynum/symbiont no-go applied to live surfaces

- lance-graph-cognitive: rustynum_accel was a name-only shim (zero
  rustynum dependency); renamed simd_accel (module + file + 11 call
  sites), rerouted through the sanctioned ndarray::simd re-export
  instead of ndarray::hpc::bitwise. Default compile green; the wip
  feature's pre-existing not-yet-compiling state has zero errors naming
  the rename.
- docs/lotus audit: symbiont::domino::morton4 candidate row struck
  (census history only).
- CLAUDE.md: symbiont removed from the binding-consumer lists via
  dated annotations.
- EPIPHANIES: cleanup recorded in the pin-ruling entry.

Audit also confirmed NO redo needed: A1's research report is clean
(0 citations), the Java/Panama arc never touched either (ndarray::simd
enforced), board history stays append-only.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
AdaWorldAPI added a commit that referenced this pull request Aug 19, 2026
… core, compaction = optional economics (#964)

* ogar_codebook: sync the ConceptDomain wire-mirror -- Ontology, Blocks, and the C-band

The contract's mirror of OGAR's ConceptDomain ended at Geo (0x0F) while
OGAR carries Ontology (0x03, populated by the DisMech 0x0333 mints),
Blocks (0x17), and the C-band JavaRuntime/Analytics/BinaryLifting
(0xC0/0xC1/0xC4 -- the altitude ruling, OGAR #276+#277; 0xC0 is Panama
FFM alone, Valhalla being a property of the C0 vocabulary rather than an
addressable concept). Both sides' docs demand they update together; this
is the catch-up, found by the lance-graph-java session and verified
independently by the ruff/R2IL session at db488f5, with ownership of the
sync explicitly handed here so the ruff arc's PR3 rebases trivially.

The real finding is WHY the drift guard never fired: domains_agree +
assert_codebook_parity only walk ids that carry concept rows, so a
reserved-EMPTY domain added to one enum but not the other is invisible to
a content walk. Proven live -- the first disable-run (dropping the new
BinaryLifting pair from domains_agree) stayed GREEN. Repaired with
reserved_empty_domains_agree_across_the_mirror: one id per new domain,
the populated 0x0333, the deliberate 0xC2-0xC3 gap pinned like OGAR's own
0x10-0x16, the band edges, and the 0x0C/0xC0 digit-swap two-sided. Both
disable-runs (bridge pair dropped; contract arm dropped) now go red on
exactly that test; the contract's own domain_routes_on_high_byte
independently catches the arm removal.

Gates: lance-graph-contract 1162/1162 + doctests, clippy --all-targets
clean; lance-graph-ogar (workspace-excluded, tested via manifest-path)
64/64 incl. assert_codebook_parity green -- content parity holds, this
was domain-level drift only. The crate's 11 pre-existing clippy warnings
are measured identical with this diff stashed and left untouched.

Board: EPIPHANIES E-OGAR-CODEBOOK-MIRROR-DOMAIN-DRIFT-SYNCED-1 prepended
in the same commit, per the board-hygiene rule.

* lotus Phase 0/1: frontier audit + F-ORD-REAL pre-registered falsifier

Research charter deliverables 1-2 (no fix included, by design):

- docs/lotus/LOTUS-FRONTIER-AUDIT.md — Phase 0 archaeology across the
  write path, persistence capability, placement/comma prior art, and
  frontier visibility, every statement graded VERIFIED / INFERENCE /
  HYPOTHESIS / BLOCKER. Headline findings: content_hash folds
  arrival-minted stream_position values into batch_hash
  (persist_sink.rs:414), contradicting DetachedCycleBatch's own
  order-independence doc; the seal is O(batch bytes) x3 passes with the
  batch resident up to 3x at seal; SweepSlot's caller-supplied semantic
  order-key contract vs collect_casts' arrival mint; the lance crate
  source is absent from this sandbox (prepared-artifact capability audit
  BLOCKED). Section 6 answers the permeability question: the cycle does
  not become permeable, it becomes thin — trailing-publication pipelining
  (Regime A) needs no epistemic weakening; rung-qualified frontier
  visibility (temporal.rs EpistemicMode ladder) stratifies rather than
  reopens the retired race; texts stay linear, tiles get derived
  placement, resolved per class.

- docs/lotus/F-ORD-REAL-FALSIFIER.md — the defect mechanism in four
  verified steps + the test design (perturb the process that creates the
  key: permute cast() call order, never post-mint slots).

- cycle_driver.rs tests: f_ord_real_defect_pin_... (GREEN, two-sided —
  anti-vacuity proves the perturbation reaches the key mint; semantic
  set + image pinned arrival-independent; batch_hash pinned
  arrival-DEPENDENT; fails loudly when a fix lands) and
  f_ord_real_publication_identity_... (#[ignore]d RED falsifier — the
  desired property, red under --ignored on the real chain).

Gates: cargo test -p lance-graph-supervisor --features cycle-driver
28 passed / 1 ignored (+ suites green); RED verified red under
--ignored; fmt clean; clippy adds zero new warnings (8 pre-existing
recover_fleet lints only visible under this non-default feature).

Board: EPIPHANIES E-FORD-REAL-PUBLICATION-IDENTITY-IS-ARRIVAL-DEPENDENT-1;
STATUS_BOARD lotus-seal-fractal-commit-frontier section (D-LOTUS-1..9).

Co-Authored-By: Claude <noreply@anthropic.com>

* board: #961 arc entry + LATEST_STATE + D-LOTUS-1/2 Shipped flips

Co-Authored-By: Claude <noreply@anthropic.com>

* operator pin ruling: DF 54.1 only — remove broken delta feature; RP-SEAL charter + boards

Ruling (E-PIN-LANCE9-LANCEDB033-DF541-ARROW58-NO-DF53-1): lance 9 /
lancedb 0.33 / datafusion 54.1 (no DF 53) / arrow 58, always, across
AdaWorldAPI forks, usually via [patch -> upstream repository git].

Measured before acting: the only DF-53 source was deltalake 0.32.4
(^53.1.0) behind the already-non-default, already-broken delta feature;
registry check shows no DF-54 deltalake exists. Removed: delta feature,
deltalake + url optional deps, DeltaTableReader (module docs + Cargo.toml
carry dated removal notes; DataSourceFormat::Delta stays as a catalog
tag). Post-removal Cargo.lock: exactly ONE datafusion = 54.1.0, zero
deltalake entries. cargo check -p lance-graph green; fmt clean; full
suite running as the PR gate. Docker pins surveyed: root + avx512 =
Rust 1.97.1 + protobuf-compiler, no delta references — removal is
docker-safe (stale flag noted: crates/symbiont/Dockerfile rust:1.95).

Also: RP-SEAL research charter committed as
.claude/plans/erasure-seals-compaction-research-v1.md (15-researcher
program, independent pass dispatched as background workflow
wf_ca974718-1b4; adversaries strongest-tier, builders/scouts grindwork
tier); INTEGRATION_PLANS + STATUS_BOARD entries; D-LOTUS-6 BLOCKER
lifted (operator-sanctioned upstream-git source consult; exact v9.0.0
tag on disk matching the lock checksum) with the audit carrying the
dated lift note; CLAUDE.md 'BOTH MAJORS ARE REQUIRED' note superseded
in place.

Co-Authored-By: Claude <noreply@anthropic.com>

* scope pivot (operator): rustynum struck — everything ndarray; symbiont deprecated (#879/#911/#912/#913)

Recorded in the RP-SEAL plan header + the pin-ruling EPIPHANIES entry;
the workflow script was corrected in place (source map + the two cell
briefs naming rustynum); the in-flight independent pass could not be
force-stopped in this harness build, so the ruling binds consolidation
as a hard filter. Deltalake removal ratified same exchange.

Co-Authored-By: Claude <noreply@anthropic.com>

* correct the delta-removal notes: delta-rs MAIN is already DF 54 + arrow 58

Operator-pointed, verified from delta-io/delta-rs main Cargo.toml
(datafusion = 54.0.0, arrow = 58): only the crates.io releases top out at
DF 53. Restoration is available now via a git-pin on upstream + a reader
refactor to the current builder API — as its own deliberate PR if a
consumer needs Delta. The removal itself stands on the need ruling
('we don't need deltalake'), not on availability; notes in Cargo.toml,
CLAUDE.md, and the EPIPHANIES entry corrected accordingly.

Co-Authored-By: Claude <noreply@anthropic.com>

* profile.dev debug=0 — smaller/faster builds (operator ruling)

Full-debuginfo test binaries grew target/ to 17 GB and SIGBUS'd the
linker on a full disk this session; debug=0 shrinks the
lance/datafusion-stack test binaries ~an order of magnitude. Matches the
gate already running with CARGO_PROFILE_DEV_DEBUG=0 (same resolved
profile, cache reuse). line-tables-only noted as the fallback if
line-numbered backtraces are ever needed.

Co-Authored-By: Claude <noreply@anthropic.com>

* drift cleanup: rustynum/symbiont no-go applied to live surfaces

- lance-graph-cognitive: rustynum_accel was a name-only shim (zero
  rustynum dependency); renamed simd_accel (module + file + 11 call
  sites), rerouted through the sanctioned ndarray::simd re-export
  instead of ndarray::hpc::bitwise. Default compile green; the wip
  feature's pre-existing not-yet-compiling state has zero errors naming
  the rename.
- docs/lotus audit: symbiont::domino::morton4 candidate row struck
  (census history only).
- CLAUDE.md: symbiont removed from the binding-consumer lists via
  dated annotations.
- EPIPHANIES: cleanup recorded in the pin-ruling entry.

Audit also confirmed NO redo needed: A1's research report is clean
(0 citations), the Java/Panama arc never touched either (ndarray::simd
enforced), board history stays append-only.

Co-Authored-By: Claude <noreply@anthropic.com>

* RP-SEAL pass 1 consolidated: evidence matrix M1-M15, tiering, Appendix H

15-researcher independent pass complete (15/15, 0 errors, no cross-talk).
Consolidation per charter §12-§13: docs/lotus/RP-SEAL-CONSOLIDATION-PASS1.md
- DELETED: phase/comma coefficient schedule (3 independent routes), the
  unconditional SFC default, 'compaction = one publication', the naive
  query+repair one-grouping hope
- Found: b+1 coalescing amplification (65x at b=64) + non-amortizing FNV
  seal CPU (E2); 11 order leaks, L2 = replay order IS physical scan order
  (D2); five defective seal paths wearing strong names (C2/C3); Lance
  9.0.0 apparatus complete and unused (5 cells concordant)
- Survived: hash + row/column P+Q 64x64 seal baseline; compaction-time
  layout-key upstream seam; two novel candidates (joint locality question
  refined by the anti-synergy; STRICT/AWARE/RETRO reader-rung tiers)
- Appendix H: 15 reports + orchestrator pre-pass under docs/lotus/rp-seal-v1/
- Scope-pivot filter PASSED (zero rustynum/symbiont-sourced findings)
- Board: EPIPHANIES entry, AGENT_LOG entry (one-writer), STATUS_BOARD +
  plan header flips

Co-Authored-By: Claude <noreply@anthropic.com>

* §0 operator STORNO: canonical replay coordinates are core; compaction = optional economics

PHYSICAL ITERATION ORDER MUST NOT DEFINE SEMANTIC REPLAY ORDER — fixed
by canonical replay coordinates/order, never by physical reordering or
compaction. Permanent temporal replay additionally requires a
retention/tombstone policy under which historical knowledge states stay
reconstructible indefinitely. Desired model: arbitrary placement +
arbitrary fragmentation + historically addressable tombstones +
canonical semantic replay order + current visibility as a projection +
historical visibility as a QueryReference projection.

Consolidation doc gains §0 with in-place ⊘-marked corrections; Tier 1
reordered (canonical coordinates, retention/tombstone, QueryReference
projection fixes); Tier 2/3 layout/compaction items reclassified as the
optional storage-economics track; F-NOCOMPACT promoted to the default
operating description. EPIPHANIES ruling entry + STATUS_BOARD + plan
header amended.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <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.

2 participants