Commit dcdc1f9
committed
feat(contract): kanban×Rubicon SoA value tenant + per-tenant counters (capstone S1)
Operator-greenlit canon-additive change: make the Rubicon kanban phase a per-node
SoA value tenant rather than an envelope field — pinning SoA↔kanban in the LE blob
and subsuming the envelope-pointer plan (G1).
- ValueTenant::Kanban = 9 at value-slab [112,120) (8 B: phase|exec|reserved|cycle),
U64 descriptor @ row_offset 144; added to ValueSchema::{Cognitive,Full}.
Reserve-don't-reclaim, layout-preserving: Full 112→120 B, NODE_ROW_STRIDE 512
untouched, no ENVELOPE_LAYOUT_VERSION bump.
- KanbanTenant Copy view (phase: KanbanColumn, exec: ExecTarget, cycle: u32) +
from_bytes/to_bytes (LE) + NodeRow::{kanban, set_kanban}. set_kanban is
owner-only by convention (MailboxSoaOwner/View split); surreal reads, never
writes (Rubicon). KanbanColumn::from_u8 + ExecTarget::from_u8.
- tenant_counter module + feature `tenant-counters` (default OFF; zero-cost no-op
via compile-time dispatch when off, one relaxed atomic per tenant write when
on) — the capstone NaN-census / cascade-wiring instrument. set_kanban bumps the
Kanban counter as the first wired cascade point.
- Updated the 3 byte-budget LOCK tests to the deliberate new layout (Cognitive
58→66, Full 112→120, contiguous carve 112→120) + added Kanban to full-covers;
new field-isolation matrix test + schema-membership test.
Decisions kept (I-VSA-IDENTITIES register-laziness + AGI-glove): thinking-style
is ClassView + the Meta tenant, NOT a new 128-bit tenant (the 48+80 flat split
was rejected — duplicates Plasticity/Meta/Qualia); plan-shape stays
ClassView-derived; the MUL flow-vs-mismatch trigger is a function over
Qualia/Meta/Plasticity → GateDecision → advance phase, not a stored tenant.
Verified: contract lib 714 (default) / 715 (tenant-counters) / 720 (guid-v2-tail);
clippy -D warnings --all-targets clean all three; fmt clean; Full-carve math 120 B
ends row 152 ≤ 512; no downstream crate hardcodes the old tenant count/budget.
(cargo-machete not installed in sandbox; the only Cargo.toml change is a dep-less
feature, so nothing to flag.) Capstone S1 → green (CONJECTURE→FINDING).
Board: AGENT_LOG (cont.17), LATEST_STATE IN-PR entry, EPIPHANIES
E-KANBAN-IS-A-VALUE-TENANT-SUBSUMES-G1, plan capstone S1 green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CcpLeEC3XK8Eye53GKBVvi1 parent f327941 commit dcdc1f9
9 files changed
Lines changed: 287 additions & 10 deletions
File tree
- .claude
- board
- plans
- crates/lance-graph-contract
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
1 | 11 | | |
2 | 12 | | |
3 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
0 commit comments