Skip to content

deepnsm: tri-fidelity edge block + nibble ±8 anaphora + CausalEdge V3-96 facet#762

Merged
AdaWorldAPI merged 3 commits into
mainfrom
claude/x265-x266-plans-review-h9osnl
Jul 19, 2026
Merged

deepnsm: tri-fidelity edge block + nibble ±8 anaphora + CausalEdge V3-96 facet#762
AdaWorldAPI merged 3 commits into
mainfrom
claude/x265-x266-plans-review-h9osnl

Conversation

@AdaWorldAPI

@AdaWorldAPI AdaWorldAPI commented Jul 19, 2026

Copy link
Copy Markdown
Owner

The operator's three linked edge/CausalEdge directives, each a self-contained DeepNSM example on committed data. Additive: three examples + three EPIPHANIES, no core change. std-only, zero-dep, deterministic, clippy/fmt-clean.

1. tri-fidelity EDGE construction (E-TRI-FIDELITY-EDGE-CONSTRUCTION-1)

The route→verify cascade that answered NN queries now builds the graph: each 512-byte node's canon EdgeBlock (12 in-family + 4 out-of-family) is filled by MORTON-route → L2-verify. In-family edges 3.4× tighter than random; seed the{be, a, and, of, to, in}; 2-hop walk coherent; all 16 slots filled. Self-search became self-construction.

2. nibble ±8 anaphora edge (E-NIBBLE-ANAPHORA-EDGE-1)

A pronoun node carries a signed 4-bit offset (−8..+7) to its antecedent; the SPO spine then fills the role slot with the antecedent's centroid. he→man (−5), it→book (−4), they→girls (−3, plural), that→car (−1, relative head); he liked it(man, like, book). Pleonastic it rained detected by predicate (not window) → unresolved. TEKAMOLO already exists and is not rebuilt.

3. CausalEdge V3-96 facet (E-CAUSALEDGE-V3-96-FACET-1)

The staged/additive CausalEdge64 → V3-96 successor, reference layout. Premise re-grounded: the 24-bit SPO was already deduped out of CausalEdge64, and SPO already lives as the 6×256² CAM-PQ facet — so the V3-96 edge references SPO (via its Lokal target node) and never re-encodes it. The 96-bit payload is carved on the TEKAMOLO axis (KA verb/inference · TE temporal · LO target-ref · MO NARS-truth) + the anaphora nibble + plasticity + reserved. KILL-gated: LE round-trip, field isolation, anaphora sign-extend, no-duplication (edge payload ≠ target SPO code).

The real causal_edge-crate adoption is a separate multi-crate PR gated by v3-envelope-auditor + a field-isolation matrix test — this example is the reference spec it implements.

Changes

  • crates/deepnsm/examples/tri_fidelity_edges.rs
  • crates/deepnsm/examples/spo_anaphora_nibble.rs
  • crates/deepnsm/examples/causal_edge_v3_facet.rs
  • .claude/board/EPIPHANIES.md — prepends the three entries.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added examples demonstrating compact causal-edge encoding, field access, and serialization.
    • Added anaphora resolution for nearby pronouns, including agreement checks and pleonastic “it” detection.
    • Added a tri-fidelity neighbor graph using hierarchical routing and exact distance verification.
  • Tests
    • Added validation gates for encoding round trips, field isolation, anaphora offsets, edge completeness, and neighbor quality.
  • Documentation
    • Expanded design notes covering staged edge migration, anaphora handling, and canonical edge-block construction.

…nstruction

The route->verify cascade that answered 'nearest to a query' now FILLS each
512-byte node's canonical EdgeBlock: MORTON address net routes candidates,
exact L2 verifies, survivors land as 12 in-family + 4 out-of-family row-index
bytes. Measured (256 words): in-family edges 3.4x tighter than random
(40.5 vs 138.8), seed 'the' -> {be,a,and,of,to,in}, 2-hop walk coherent
(114.7 < 138.8), all 16 slots filled. The graph reasons about itself across
nodes, not just within a query.

Recon banked for the next rungs: the real CausalEdge64 (causal_edge crate,
consumed by cognitive-shader-driver MailboxSoA) has NO 24-bit SPO field --
its bits are block/proj/verb/row/l1/freq/conf; the staged/additive V3-96
successor needs the SPO-duplicate premise re-grounded + a v3 le-contract
facet plan. TEKAMOLO already exists (grammar/tekamolo.rs); the new piece is
the nibble ±8 anaphora edge.

std-only, zero-dep, deterministic, clippy/fmt-clean. Records
E-TRI-FIDELITY-EDGE-CONSTRUCTION-1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
@cursor

cursor Bot commented Jul 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_b29cb7da-9da9-49da-b531-173b3ff0c8ac)

@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@AdaWorldAPI, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 94307bc8-34e3-4eee-a28e-c8d881abfdba

📥 Commits

Reviewing files that changed from the base of the PR and between d628bc7 and 0a4fea0.

📒 Files selected for processing (4)
  • .claude/board/EPIPHANIES.md
  • crates/deepnsm/examples/causal_edge_v3_facet.rs
  • crates/deepnsm/examples/spo_anaphora_nibble.rs
  • crates/deepnsm/examples/tri_fidelity_edges.rs
📝 Walkthrough

Walkthrough

Changes

Edge representation and construction examples

Layer / File(s) Summary
CausalEdgeV3 facet encoding
.claude/board/EPIPHANIES.md, crates/deepnsm/examples/causal_edge_v3_facet.rs
Defines and validates a 16-byte causal-edge facet with packed fields, LE round-tripping, signed anaphora nibble handling, and no-SPO-duplication checks.
Anaphora nibble resolution
.claude/board/EPIPHANIES.md, crates/deepnsm/examples/spo_anaphora_nibble.rs
Resolves pronouns to nearby agreeing antecedents, leaves pleonastic “it” unresolved, rewrites SPO role slots, and checks signed offsets.
Tri-fidelity EdgeBlock construction
.claude/board/EPIPHANIES.md, crates/deepnsm/examples/tri_fidelity_edges.rs
Preprocesses vectors, builds hierarchical basin codes and 512-byte nodes, fills 12 in-family and 4 out-of-family edges, and runs coherence and completeness gates.

Estimated code review effort: 4 (Complex) | ~45 minutes

Poem

A rabbit packs fields in a nibble-tight row,
While nearby words find the names that they know.
Twelve hops stay close, four wander wide,
Morton leads; exact checks decide.
Three fresh edge tales now happily grow!


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.

…aph edge

A pronoun node carries a signed 4-bit offset (-8..+7) to its antecedent
within the +-8 window; the SPO spine then fills the role slot with the
antecedent's lemRank centroid (pronoun dissolved). Measured: he->man (-5),
it->book (-4), they->girls (-3, plural), that->car (-1, relative head);
'he liked it' -> (man,like,book). Pleonastic 'it rained' is detected by its
predicate (weather verb), not the window, and left unresolved -- recency
alone cannot tell referential from pleonastic 'it'.

TEKAMOLO already exists (grammar/tekamolo.rs) and is NOT rebuilt; the nibble
anaphora edge was the genuinely-missing piece. Same signed-offset-as-edge
shape as the Morton motion codes, here over token positions. std-only,
zero-dep, deterministic, clippy/fmt-clean. Records E-NIBBLE-ANAPHORA-EDGE-1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
@AdaWorldAPI AdaWorldAPI changed the title deepnsm: tri-fidelity EDGE construction — self-search becomes self-construction deepnsm: tri-fidelity EDGE construction + nibble ±8 anaphora edge Jul 19, 2026
…t duplicated

The staged/additive CausalEdge64->V3-96 successor. Premise re-grounded: the
24-bit SPO was already deduped out of CausalEdge64 (no SPO in its bits), and
SPO already lives as the 6x256^2 CAM-PQ facet -- so the V3-96 edge REFERENCES
SPO via its Lokal target node and never re-encodes it.

96-bit payload carved on the TEKAMOLO axis: KA verb/inference (byte 0), TE
temporal i8 (byte 1), LO u16 target ref (bytes 2..4, SPO reads from its
CAM-PQ), MO NARS truth (bytes 4..6), anaphora nibble i8 (byte 6), plasticity
(byte 7), reserved (8..12). vs CausalEdge64: keeps verb+truth+target, drops
proj/l1 (CAM-PQ owns distance), adds temporal+nibble+plasticity.

KILL-gated: LE round-trip, field isolation (each setter touches only its
bytes), anaphora sign-extend + None sentinel, no-duplication (edge payload !=
target SPO code). Real causal_edge-crate adoption is a separate multi-crate
PR gated by v3-envelope-auditor; this is the reference spec. std-only,
zero-dep, clippy/fmt-clean. Records E-CAUSALEDGE-V3-96-FACET-1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review July 19, 2026 14:46
@AdaWorldAPI AdaWorldAPI changed the title deepnsm: tri-fidelity EDGE construction + nibble ±8 anaphora edge deepnsm: tri-fidelity edge block + nibble ±8 anaphora + CausalEdge V3-96 facet Jul 19, 2026
@AdaWorldAPI
AdaWorldAPI merged commit 916d542 into main Jul 19, 2026
4 of 5 checks passed
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