Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
546b17a
Core vertical slice: docs/abi.md contract, native/lgj-abi, Java facade
AdaWorldAPI Aug 17, 2026
a1e65cc
Merge main (bootstrap commit) into dev branch to establish shared his…
AdaWorldAPI Aug 17, 2026
bdd40b2
Valhalla lab: three-truths method, causal isolation, 3 real reproducers
AdaWorldAPI Aug 17, 2026
317ee83
Merge main (squash of PR #1) to fix history divergence for PR #2
AdaWorldAPI Aug 17, 2026
ea4753c
Merge main (squash of PR #2) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
4ab0da8
Vector API bench: real JMH, cross-checked; the crossing does not alwa…
AdaWorldAPI Aug 17, 2026
96eccff
Merge main (squash of PR #3) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
cd7782b
Phase I synthesis docs + fusion-sweep 256-row re-run + board hygiene
AdaWorldAPI Aug 17, 2026
ddeaecb
Merge main (squash of PR #4) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
e4463cb
Board: PR #4 arc entry (post-merge)
AdaWorldAPI Aug 17, 2026
e8b6dc2
SoA row store: 512B rows, 32 facet lanes, ABI minor 2 (W1+W2)
AdaWorldAPI Aug 17, 2026
aff72f3
Merge main (squash of PR #5) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
8fceaca
Board: PR #5 arc entry (post-merge)
AdaWorldAPI Aug 17, 2026
91e22f3
Knowledge: assess the archived layout-bridge discussion; name W6
AdaWorldAPI Aug 17, 2026
6927961
Plans: OGAR Machine (exploratory) + lance-graph-hydrate dependency note
AdaWorldAPI Aug 17, 2026
7e218ed
Merge main (squash of PR #6) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
9cc85ad
Board: PR #6 arc entry (post-merge)
AdaWorldAPI Aug 17, 2026
f3bbab7
Waves calcified: dispatch maps for every plan; Ghidra plan from real …
AdaWorldAPI Aug 17, 2026
dac0f0b
Merge main (squash of PR #7) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
57a7e48
Board: PR #7 arc entry (post-merge)
AdaWorldAPI Aug 17, 2026
83b8994
Plan: lance-graph #958 merged (was open at last check)
AdaWorldAPI Aug 17, 2026
572f865
Java RowStore facade: W3 shipped (185/185, one bug found+fixed)
AdaWorldAPI Aug 17, 2026
b138382
Merge main (squash of PR #8) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
bc6f91a
Board: PR #8 arc entry (post-merge)
AdaWorldAPI Aug 17, 2026
619b3de
Plan: r2sleigh recorded as third lift path + decompiler candidate
AdaWorldAPI Aug 17, 2026
84e73ca
Bench Component F: the boundary re-asked on the real row-store layout…
AdaWorldAPI Aug 17, 2026
897fd92
Merge main (squash of PR #9) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
201a626
Board: PR #9 arc entry (post-merge)
AdaWorldAPI Aug 17, 2026
ed4fb7c
Parity: the third independent read path (ROW_LAYOUT segment reads)
AdaWorldAPI Aug 17, 2026
6c4afe4
Merge main (squash of PR #10) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
9717cda
Board: PR #10 arc entry (post-merge)
AdaWorldAPI Aug 17, 2026
8eecb3b
Consumer example: World/Trades — the zero-object fluent domain API (W5a)
AdaWorldAPI Aug 17, 2026
74e5b6b
Merge main (squash of PR #11) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
9088dc9
Board: PR #11 arc entry (post-merge)
AdaWorldAPI Aug 17, 2026
f7974da
Consumer example: Bricks — mask-first authorization, fail-closed, agg…
AdaWorldAPI Aug 17, 2026
ce6fba4
Merge main (squash of PR #12) to keep dev branch history aligned
AdaWorldAPI Aug 17, 2026
239edf0
Board: PR #12 arc entry (post-merge)
AdaWorldAPI Aug 17, 2026
9ee044f
Board: record the C-band ruling — the classid domain byte carries ALT…
AdaWorldAPI Aug 18, 2026
e736d6a
Board: reconcile Ghidra G1/G2 -- superseded by ruff_r2il, not built
AdaWorldAPI Aug 18, 2026
f68335b
Board: ruff #96 is a different arm; read the real staging guide + ran S1
AdaWorldAPI Aug 18, 2026
df35426
Board: R2IL handshake outcomes + the Valhalla-premise storno (operato…
AdaWorldAPI Aug 18, 2026
8806899
rowstore: generate_with_edges -- the graph-consumer wave's real, meas…
AdaWorldAPI Aug 18, 2026
f03a9ce
Merge main (squash of PR #13) to keep dev branch history aligned
AdaWorldAPI Aug 18, 2026
ae02be5
lgj-abi: edge-bearing row store ABI addition (lgj_rowstore_open_with_…
AdaWorldAPI Aug 18, 2026
c8af78b
Merge remote-tracking branch 'origin/main' into claude/lance-graph-ja…
AdaWorldAPI Aug 18, 2026
05a6780
Board: PR #14 arc entry (edge-bearing row store ABI addition)
AdaWorldAPI Aug 18, 2026
99c356c
Merge remote-tracking branch 'origin/main' into claude/lance-graph-ja…
AdaWorldAPI Aug 18, 2026
75aac22
RowStore: public per-row payload accessors (classidAt/payloadLow64At/…
AdaWorldAPI Aug 18, 2026
7549022
Merge remote-tracking branch 'origin/main' into claude/lance-graph-ja…
AdaWorldAPI Aug 18, 2026
e6b0152
Board: PR #16 arc entry (RowStore public per-row payload accessors)
AdaWorldAPI Aug 18, 2026
815b0a6
Merge remote-tracking branch 'origin/main' into claude/lance-graph-ja…
AdaWorldAPI Aug 18, 2026
04d0ee7
Wave: graph consumer -- record the D1 mask-write finding before G1/G2…
AdaWorldAPI Aug 18, 2026
2118c5f
consumers/graph: traversal facade + falsifiers (Graph/Edge, GraphHopT…
AdaWorldAPI Aug 18, 2026
54ce2fe
Merge remote-tracking branch 'origin/main' into claude/lance-graph-ja…
AdaWorldAPI Aug 18, 2026
3beb87f
Board: PR #18 arc entry (consumers/graph traversal facade + falsifiers)
AdaWorldAPI Aug 18, 2026
ff841e8
Merge remote-tracking branch 'origin/main' into claude/lance-graph-ja…
AdaWorldAPI Aug 18, 2026
8d36aa1
D-LGJ-W8 A3 freeze: ratified correction spec v3 + root CLAUDE.md + bo…
AdaWorldAPI Aug 18, 2026
b24c79e
Merge remote-tracking branch 'origin/main' into claude/lance-graph-ja…
AdaWorldAPI Aug 18, 2026
636c9ef
Board: PR #20 arc entry (D-LGJ-W8 A3 freeze — spec v3 + root CLAUDE.m…
AdaWorldAPI Aug 18, 2026
8750345
Merge remote-tracking branch 'origin/main' into claude/lance-graph-ja…
AdaWorldAPI Aug 18, 2026
52cbc02
D-LGJ-W8 PR-W8a: contract dep + FixtureClassView + lgj_mask_andnot + …
AdaWorldAPI Aug 18, 2026
39ac9d4
Board: regrade ISS-LGJ-CLASSID-WIDTH-PIN — the u32/u16 split is ratif…
AdaWorldAPI Aug 18, 2026
a279fca
W8b: mask-native Java facade + Graph migration (measured, pinned, dis…
AdaWorldAPI Aug 18, 2026
e31752c
Merge main (squash of PR #22) — board files resolved as dev superset
AdaWorldAPI Aug 18, 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
20 changes: 20 additions & 0 deletions .claude/board/ISSUES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@ question (named in MedCare-rs commitment #10 and spec NG8) — surfaced
here, deliberately NOT resolved here. Closes when upstream unifies the
width or rules the split permanent.

**REGRADED 2026-08-18 (operator correction, verified at file:line): the
SPLIT is ratified design, not drift.** `rbac::ClassId = u32` targets the
FULL composed classid — rbac.rs:98-103's own doc: "the NodeGuid classid
(its canon half is the codebook id; compose via render_classid)" — i.e.
`domain::appid`, both halves, so an authorization can target one app's
class instead of blocking a whole domain (and a domain-wide policy stays
expressible by matching the canon half). `class_view::ClassId = u16` is
a DIFFERENT KIND, not a narrower address: "Per-row class discriminator —
the Cognitive-RISC class_id/shape_id... OD-CLASSID-WIDTH ratified...
reuses the width of MailboxSoaView::class_id" (class_view.rs:48-54) — a
compact per-row shape-family discriminator, width-matched to the SoA
accessor. What REMAINS open here is only the u16 shape-space capacity
ceiling for relation minting (MedCare #10's "8 of 280 ids over the
ceiling") — not the existence of two widths. Follow-up for the
provider-slot wave: `class_view_provider::class_id_for`'s doc should say
a real provider keys ClassView by the shape discriminator (or the render
half via render_classid decomposition), never by bounds-truncating the
full u32 — the fixture ignores the value, so behavior is unaffected
today.

## ISS-LGJ-FANOUT-UNREVIEWED (2026-08-17) — PARTIALLY RESOLVED

**Resolution for the core (Rust ABI + Java facade), same day:** all three
Expand Down
28 changes: 28 additions & 0 deletions .claude/board/LATEST_STATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
## 2026-08-18 — PR-W8b (FACADE + GRAPH MIGRATION) — the mask-native correction reaches the Java surface

### Current surface changes (java/ + consumers/graph)

- NEW public: `WideFieldMask` (record; `allFacets()`/`ofFacets(int...)`
validated/`ofMatchBits(int)` zero-extending; `EMPTY`), `RowStore.hop(int,
WideFieldMask, Mask)` + `hop(int, Mask)`, `RowStore.importRows(long...)`
(the ONE named import exception), `Mask.minus(Mask)`,
`Mask.materializeRows()` (the ONE named materialiser), `Status
UNSUPPORTED_DECODE_MODE(−14)`. `Graph` migrated: native `Mask` frontier,
`from(Mask)` new, `minus(long...)` REMOVED, `rows()` renamed
`materializeRows()`, real `close()`. Zero FFM types in any public
signature (ApiSurfaceTest inside the green AllTests run).
- Crossing constants MEASURED-THEN-PINNED (ABI 0.4, release .so, JDK
26.0.2): hop = 2 (createMask + lgj_hop), importRows = 2 (createMask +
describeMask; per-row word writes in-process — 3-vs-29-row cost
identical), count = 1, minus = 2, materialize-first = 1. Two predictions
were wrong in exactly the direction the worker's own brief flagged; three
stale "one native crossing" javadoc claims corrected at the source
(maskOfFacetClass / hop / importRows).
- Gates: `.so` rebuilt FIRST (the root-level copy was STALE from 11:54 —
the eager-clinit trap, caught before any suite ran); `javac -Xlint:all`
0 new warnings; AllTests 245 + GraphHopTest 66 + TradesParity 12 +
TradesAllocation 3 + BricksAuth 62 = 388 checks; reflective-allowlist
disable-run red-then-green (injected `long[] rows()` fired exactly G1/G8).
- Docs: wave-consumer-graph.md + consumer-graph-traversal-v1.md carry
dated supersession notes (spec §3.7); original text preserved.

## 2026-08-18 — D-LGJ-W8 SUBSTRATE landed: ABI minor 4 (lgj_mask_andnot + lgj_hop), contract dep live, 21 symbols

PR-N (ndarray #280) then PR-W8a, per the spec's merge order. The lgj-abi
Expand Down
2 changes: 1 addition & 1 deletion .claude/board/STATUS_BOARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ the policy guard, created at the A3 freeze.

| D-id | Deliverable | Status |
|---|---|---|
| D-LGJ-W8 | Mask-native navigation correction + 64K-compute architecture inheritance. Gate ladder: AUDIT → SPEC → COUNCIL → FREEZE → SUBSTRATE (ndarray PR-N + lgj-abi PR-W8a) → FACADE (PR-W8b) → GRAPH MIGRATION → FALSIFIERS → POLICY | **AUDIT ✓** → **SPEC ✓** → **COUNCIL ✓** (v3 ratified) → **FREEZE ✓** (PR #20, squash `c479f76`) → **SUBSTRATE ✓ 2026-08-18** — PR-N (ndarray #280, `3f3504f`: mask_andnot family + `ndarray::simd` re-export + blackboard W1a-deviation entry; 51/51, vector-path disable-run red-then-green) + PR-W8a (this commit: contract dep `default-features=false`, `FixtureClassView` + provider seam fns + `class_id_for` width pin, `lgj_mask_andnot` with the 5-branch non-commutative aliasing tree, `lgj_hop` with snapshot-then-write + composition kernel + bounds-before-cast, minor 4, status −14, abi.md §13; **110/110**, clippy `-D warnings` + fmt clean, `nm -D` **21/21** symbols, disable-runs **G6(a)-(e) ALL red-then-green** incl. the aliasing DEADLOCK proven by timeout under a bypassed dedup branch, G11 import fence honored: contract imports = class_view/canonical_node/ontology only) → FACADE/MIGRATION (PR-W8b) in flight |
| D-LGJ-W8 | Mask-native navigation correction + 64K-compute architecture inheritance. Gate ladder: AUDIT → SPEC → COUNCIL → FREEZE → SUBSTRATE (ndarray PR-N + lgj-abi PR-W8a) → FACADE (PR-W8b) → GRAPH MIGRATION → FALSIFIERS → POLICY | **AUDIT ✓** → **SPEC ✓** → **COUNCIL ✓** (v3 ratified) → **FREEZE ✓** (PR #20, squash `c479f76`) → **SUBSTRATE ✓ 2026-08-18** — PR-N (ndarray #280, `3f3504f`: mask_andnot family + `ndarray::simd` re-export + blackboard W1a-deviation entry; 51/51, vector-path disable-run red-then-green) + PR-W8a (this commit: contract dep `default-features=false`, `FixtureClassView` + provider seam fns + `class_id_for` width pin, `lgj_mask_andnot` with the 5-branch non-commutative aliasing tree, `lgj_hop` with snapshot-then-write + composition kernel + bounds-before-cast, minor 4, status −14, abi.md §13; **110/110**, clippy `-D warnings` + fmt clean, `nm -D` **21/21** symbols, disable-runs **G6(a)-(e) ALL red-then-green** incl. the aliasing DEADLOCK proven by timeout under a bypassed dedup branch, G11 import fence honored: contract imports = class_view/canonical_node/ontology only) → **FACADE + GRAPH MIGRATION ✓ 2026-08-18 (PR-W8b, this commit)** — Java facade: `WideFieldMask` (record, `allFacets`/`ofFacets` validated/`ofMatchBits` zero-extending), `RowStore.hop` ×2 overloads + `importRows` (the ONE named import), `Mask.minus`/`materializeRows`, `Status` −14, `Downcalls` 20 handles/21 symbols + `requireMinor(4)`, `Engine.LaneWindow.setU64` (first write accessor, importRows-only); Graph migration: native `Mask` frontier (zero `long[]`/Collection fields), `from(Mask)`, `minus(long...)` REMOVED, `rows()`→`materializeRows()`, real `close()`; GraphHopTest rewritten (reflective 3-way allowlist over Graph+Edge, the vacuous literal-true assert DELETED, G9 flagship seed=133→hop→240 with zero row-ids outside the oracle, G3 allocation 384-byte floor FLAT 10-vs-500 rows). Gates central: `.so` rebuilt FIRST (stale root copy caught+refreshed), `javac -Xlint:all` 7 pre-existing warnings/0 new, **AllTests 245 ✓ + GraphHopTest 66 ✓ + TradesParity 12 ✓ + TradesAllocation 3 ✓ + BricksAuth 62 ✓ = 388 checks**; crossings MEASURED-THEN-PINNED: hop **2** (create+hop; prediction 1 wrong exactly as the brief's own reasoning anticipated), importRows **2** (create+describe; word writes in-process, 3-vs-29-row cost identical), count 1 / minus 2 / materialize-first 1 as predicted — 3 stale "one native crossing" javadoc claims corrected at the source; allowlist disable-run red-then-green (injected `long[] rows()` fired exactly G1/G8, restore green); wave/plan supersession notes appended per spec §3.7. Remaining rungs: FALSIFIERS (spec §12 F-* pre-registrations beyond what GraphHopTest carries) → POLICY |



Expand Down
9 changes: 8 additions & 1 deletion .claude/plans/consumer-graph-traversal-v1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# consumer-graph-traversal-v1 — traversal as facet addressing, no middleware

> **Status: PLANNED** (2026-08-17). W5 consumer example #3, from the
> **Status: SHIPPED 2026-08-18 (as-dispatched), then CORRECTED same day** —
> the wave landed (see `wave-consumer-graph.md`), and its `long[]`-frontier
> surface was subsequently demoted by the D-LGJ-W8 mask-native correction
> (PR-W8b: `Mask` frontier, `lgj_hop`, `materializeRows()`, `importRows`).
> This plan is the historical dispatch record; the governing spec is
> `mask-native-navigation-correction-v1.md`. (Header previously said
> PLANNED — pre-existing staleness, corrected per spec §3.7.)
> Originally: **PLANNED** (2026-08-17). W5 consumer example #3, from the
> operator's "Java Graph Stack (Heute) vs Project Panama + lance-graph
> (richtig gemacht)" poster. Gated on `lgj-soa-substrate-v1.md` W3.

Expand Down
14 changes: 14 additions & 0 deletions .claude/waves/wave-consumer-graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
> file's design rulings below are kept as the historical record of how
> the dispatch was scoped, not restated in the DONE note.

> **⊘ SUPERSEDED IN PART — D-LGJ-W8 mask-native correction (2026-08-18).**
> The implementation this DONE note describes (a `long[]`/`TreeSet` frontier
> inside `Graph`, `rows()`, chained `minus(long...)`) was demoted by the
> operator's CORRECTION WAVE and replaced in PR-W8b: `Graph` now carries a
> native `Mask` frontier, `hop` executes as Mask × ClassView/WideFieldMask →
> Mask (`lgj_hop`, ABI minor 4), `minus(long...)` is REMOVED, `rows()` is
> renamed `materializeRows()`, and `from(long...)` delegates to the named
> import exception `RowStore.importRows`. The D1 ruling below ("start D1a,
> promote to D1b only if measured") is partially reversed — D1b ships as the
> required path per the correction spec §3.8. Everything below is the
> historical record of the original dispatch, preserved append-only. See
> `.claude/plans/mask-native-navigation-correction-v1.md` + `STATUS_BOARD.md`
> D-LGJ-W8.

> Executes `consumer-graph-traversal-v1.md`. Gates: W3 merged (DONE) AND
> the hop-decode capability question resolved (Decision D1 below — ruled
> D1a) AND the edge-bearing generator STOP condition resolved (DONE,
Expand Down
30 changes: 20 additions & 10 deletions consumers/graph/src/main/java/com/adaworldapi/graph/Edge.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,29 @@
* natively (docs/abi.md §12, {@link RowStore#openWithEdges}) is a fixture-generator convention: a
* sparse, gated subset of facets whose classid equals a chosen constant carry a real target row in
* their payload (recognizable because {@link RowStore#payloadHi32At} reads exactly {@code 0} for
* those facets) instead of uniform noise. That is deliberately weaker than a real graph edge in a
* lance-graph deployment, where an edge's predicate is resolved through a real {@code ClassView} /
* ontology binding (see the lance-graph {@code CLAUDE.md} "CANON — Minimal SoA node" section and its
* {@code EdgeCodecFlavor} discussion) — a classid there names a *concept*, minted and resolved
* through the shared vocabulary, not merely "the value the fixture generator happened to gate on."
* those facets) instead of uniform noise.
*
* <p>Since the mask-native migration (docs/abi.md §13, {@code lgj_hop}), that decode convention is
* no longer merely a comment about what the fixture happens to do — it is the LAW a real {@code
* lance_graph_contract::class_view::ClassView} implementation states, consulted natively on every
* hop: {@code native/lgj-abi}'s {@code FixtureClassView} answers "which facets participate" and
* "how to decode this classid's payload" for the deterministic 32-facet domain this class's fixture
* lives in. That is a genuine {@code ClassView} provider — the same trait a real ontology/cache
* provider would implement — deliberately late-bound (see the lance-graph {@code CLAUDE.md}
* "CANON — Minimal SoA node" section and its {@code EdgeCodecFlavor} discussion, and this repo's
* own root {@code CLAUDE.md} on late-bound providers): only its ANSWERS are fixture-local, not the
* LAW itself. A classid here still does not name a concept minted anywhere — that half of the
* honesty caveat stands — but "resolved through the shared vocabulary" is no longer aspirational
* prose; it is what {@code RowStore.hop(...)} actually consults, natively, on every call.
*
* <p>{@link #KNOWS} names classid {@code 0} for exactly that reason: it is the constant this
* example's own pinned regression fixture ({@code RowStore.openWithEdges(2000, 0xF00D_CAFEL, 0, 0x0L,
* 25)}) already uses, not a concept minted anywhere. A future integration against a real
* ClassView-backed store replaces this single constant with real, ontology-resolved predicate
* classids — the point where this class's honesty caveat above stops applying — without changing
* {@link Graph}'s shape at all: {@link Graph#hop(int)} already takes the classid as a plain
* argument, so it does not care whether the caller supplies {@link #KNOWS} or a minted concept id.
* 25)}) already uses, not a concept minted anywhere. A future integration against a real,
* non-fixture ontology/cache {@code ClassView} provider replaces only {@code FixtureClassView}'s
* ANSWERS — the point where this class's remaining honesty caveat stops applying — without changing
* {@link Graph} or {@code RowStore.hop(...)}'s shape at all: the classid travels as a plain
* {@code int} argument either way, so it does not care whether the caller supplies {@link #KNOWS}
* or a minted concept id.
*/
public final class Edge {

Expand Down
Loading