Skip to content

lance-graph-dt64: the ClassId-addressed bind store (D-DT64-6 Amendment A) - #1862

Merged
AdaWorldAPI merged 11 commits into
mainfrom
ccr-45a41fb4-0j3i0l
Oct 30, 2026
Merged

AdaWorldAPI merged 11 commits into
mainfrom
ccr-45a41fb4-0j3i0l

Conversation

@AdaWorldAPI

@AdaWorldAPI AdaWorldAPI commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

What

crates/lance-graph-dt64: the DT bind store, as production code.

  • Workspace member; its only dependency is the zero-dep lance-graph-contract.
  • Stores bindings and their version log, never business data.
  • Evaluates nothing.

It closes the four D-DRDT §4 gaps:

  1. Method identity: MethodId + SigRev. The source name (MethodSig::name, ActionDef::predicate) is carried but is never the identity.
  2. K3, conjunctive WHEN:
    • Guard { expr: set_algebra::SetExpr, logic: Logic } is the description Quack's WHERE evaluates (D-DT64-6 §3).
    • Guard::witness is its normal form, using normalize_kleene for K3.
  3. Effect order: effects: Vec<Effect> (field position + AlgebraRef, the D4 polyfill reference).
  4. One lookup: resolve(view, classid, schema_rev) borrows the fields from the ClassView and takes the methods from the store. resolve_at looks up by DR position and route version.

D5:

  • A classid's behaviour is immutable: register is idempotent for an identical binding and refuses any other.
  • An override is register_derived plus a re-route.
  • Only routing is versioned: an append-only log, queried with routed_at(version, position).

D-DRDT §5:

  • admit(MethodRef) refuses a dropped, added or mismatched guard, and a stale signature revision.
  • resolve refuses another schema revision, and a ClassView whose field basis has moved.
  • UNKNOWN is never an empty answer.

Also on this branch (earlier commits):

  • D-DT64-6 Amendment A: the DR facts a binding applies, the tract-harvest-probe reference path, and measured gates.
  • The Morton aligned-square test.
  • The mask-risc dose.rs test.
  • The retired D-LITHO note, folded into D-DT64-6.

Tests

  • cargo test -p lance-graph-dt64: 11 pass.
  • clippy --all-targets -D warnings and fmt are clean.
  • The first DR Claude/setup adaworld repos 4k pex #4 falsifier passes: two methods with equal read and write sets and different effect order are both kept and stay distinct, and a dropped guard refuses.
  • Disable runs: removing any one of the eight guards leaves exactly one test red (recorded in plan A.5).

Not done

  • OGAR CapabilityAuthority wiring (D6).
  • Persistence (EXO-55).
  • A DR Claude/setup adaworld repos 4k pex #4 router that carries MethodRef.
  • §6 Q1, the immutable unit. The crate implements the D5 wording: the classid is the immutable unit.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY

… apply

The rescope in #1860 removed the dimension content. That overcorrected: the
DTO layer owns no dimension but must know DR's to apply the law. Plan §4 is
now a cited table of DR facts (D-DRF-1 geometry and lease, Morton8x8,
caller-declared axis semantics, presence bit, frozen sealed map, Boolean
semiring, Keep vs ScatterOr, map/value lifetimes, thought plane) with what
the DTO layer does with each. Gates G2 (law, not rotation) and G3 (Morton
tile, beyond the pinned 4x4) are restored. Docs only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5d562107-2e68-464e-a721-21a945518e7a
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…-LITHO G3)

Extends the 4x4 prefix test to j = 0..=8: a 64-row mask word is one
aligned 8x8 square and a 256-row block one 16x16 square, all cells
distinct. Disable run: starting the runs one code late turns it red.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
K=6 Boolean rod planes over a 4,096-row focus develop to the per-position
count sum under a selection: Σ_k 2^k · Count(R ∧ plane_k), at densities
0, 3, 50, 97, 100 %. A second test proves every rod is load-bearing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
Maps the lithography vocabulary onto tract-harvest-probe (source inventory,
DR#3 tile with dep = do o read_by, versioned registry of immutable
classids, K3 WHEN, cold fold, Numeric annotation, Frame alignment, run)
with the ORT-checked tests that prove each row. G1 and G5 are discharged
for ONNX by those tests; G1 stays open for XLOG.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
The plan becomes a reading aid mapped onto existing seams (D-DT64-Q0,
Quack Binder, Frame/Focus/Scope, MethodSignature + bind_dr64,
tract-harvest-probe). Withdraws 'first consumer of the bind store'
(D-NFR-0 S5: MISSING) and the rods-as-missing-semiring claim (Bag is
S8's documented refusal).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
D-DT64-6 D4 and D-DRDT §1 decide DT is the existing ClassId-addressed
DTO binding store. D-NFR-0 S5 MISSING is Quack's. XLOG #1864 consumes
the DT bind store; withdraws 'no bind store yet'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
Moves the DR facts a DT binding applies, the ONNX bind-store path
through tract-harvest-probe and the measured gates (Morton tile, count
as Boolean planes, XLOG #1864 fixture) into D-DT64-6 as Amendment A.
The D-LITHO file becomes a pointer; its board rows point at the
amendment. Photolithography was a metaphor, not a production name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
@AdaWorldAPI AdaWorldAPI changed the title D-LITHO: DR's dimensions as facts the DTO layer must know (docs) Fold D-LITHO into the bind store plan (D-DT64-6 Amendment A) + Morton and count-plane tests Oct 30, 2026
@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review October 30, 2026 15:33
@AdaWorldAPI
AdaWorldAPI merged commit abe0b7a into main Oct 30, 2026
26 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T15:34:39.666792Z 4707683 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AdaWorldAPI AdaWorldAPI changed the title Fold D-LITHO into the bind store plan (D-DT64-6 Amendment A) + Morton and count-plane tests lance-graph-dt64: the ClassId-addressed bind store (D-DT64-6 Amendment A) Oct 30, 2026
AdaWorldAPI pushed a commit that referenced this pull request Oct 30, 2026
#1862 merged at head 4707683, before the lance-graph-dt64 commits were
pushed. PR_ARC_INVENTORY and LATEST_STATE record what landed and that
the crate follows. Entries index regenerated after the rebase.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
AdaWorldAPI pushed a commit that referenced this pull request Oct 30, 2026
…1862)

The 'Rustfmt lance-graph-contract' step failed on every main push since
c04ffe9 (#1862) and skipped every format step after it. All 26
format steps now pass locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMPh2Seh2WLccCksAdY
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