EW64 MRU promote — Hebbian hot-tier "stronger immediate edges" (D-EW64-2)#447
Conversation
…ctome (E-PLANNING-IS-WHITE-MATTER) Check (a): reframe the 64k-mailbox actor model. The mailboxes are GREY matter (compute) + PFC executive (MUL/planner); the CE64/EW64 plasticity connectome is WHITE matter, and planning lives THERE -- the Hebbian-wired path (fire together -> wire together) + prefetch + spreader, under PFC bias and head2head selection -- NOT OTP/BEAM scheduling (KanbanMove/VersionScheduler = grey-matter process coordination, not the planner). Unifies existing Hebbian findings (E-EW64-IS-PREDICTIVE-PREFETCH, plasticity_ counters, the §11.5 spreaders, high_heel W15 plasticity) under the grey/white lens. Honest: the white-matter mechanism is DESIGN (A3 witness_arc MISSING, OQ-11.1 spreader TBD). Seam = plasticity update + spread on the SoA EdgeColumn; arcuate.rs is the first explicit white-matter tract. https://claude.ai/code/session_012SorR8UbtEvYmbX8cXftj7
…ots; surreal wingman weighed (E-EW64-STRENGTH-IS-CE64-PLASTICITY)
EpisodicEdges64 (4x EdgeRef{family,local}) has no strength field — and needs
none. Strength = the co-addressed CausalEdge64 plasticity (EW64 shares CE64
low-40 bits; high_heel W15 0=frozen..3=hot); the 4 slots are an MRU hot set
(slot 0 strongest, fire->promote, age->evict to cold). Register-lazy.
The "wingman" = the existing E-SUBSTRATE-IS-THE-SCHEDULER: surreal LIVE over the
version arc fires the promote/prefetch back into the mailbox, same substrate
(cold connectome + orchestration). GATED on OQ-11.6 (surreal_container fork) but
OPTIONAL — LanceDB-LIVE is the substrate-free fallback; the hot 4-edge EW64
stays in the deterministic SoA. Unblocked next = contract-side EW64 strength/MRU
atom; surreal deferred to OQ-11.6. Feeds episodic-witness64-ce64-prefetch.md.
https://claude.ai/code/session_012SorR8UbtEvYmbX8cXftj7
…th (D-EW64-2) "Stronger immediate edges" (E-EW64-STRENGTH-IS-CE64-PLASTICITY) need no new field. EpisodicEdges64::promote(e) moves a fired edge to slot 0 (strongest / most-immediate); survivors shift down; a new edge on a full word evicts the coldest (slot 3, returned for demotion to the cold connectome); idempotent on the already-hottest edge. strongest() reads slot 0. Slot ORDER is the strength ranking — no per-edge weight stored; the co-addressed CausalEdge64 plasticity carries the Hebbian weight, recency is the slot index. This is the substrate-agnostic hot-tier mechanism the surreal-LIVE "wingman" (E-SUBSTRATE-IS-THE-SCHEDULER) will drive; that orchestration stays gated on OQ-11.6 (LanceDB-LIVE fallback exists). Zero-dep; opaque (family,local) only, no COCA. contract lib 533 green (+5); default clippy clean; episodic_edges.rs clean at pedantic+nursery. Board: STATUS_BOARD D-EW64-2 + LATEST_STATE PR-in-flight note + AGENT_LOG. https://claude.ai/code/session_012SorR8UbtEvYmbX8cXftj7
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR ships EpisodicEdges64::promote, an MRU-slot ordering method that provides edge strength semantics by ranking edges 0–3 (strongest to coldest) and evicting the coldest edge on full-word insertion. The implementation is paired with design epiphanies reframing planning as white-matter connectome behavior and delivery documentation tracking the completed work. ChangesEpisodicEdges64 MRU Promotion
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.claude/board/STATUS_BOARD.md:
- Line 13: The heading "D-EW64-2 — EpisodicEdges64 MRU promote (Hebbian hot-tier
"stronger immediate edges")" currently uses "###" which violates markdownlint
MD001; change its heading level to the correct increment (e.g., use "####"
instead of "###") so the heading nest level follows the surrounding document
structure and satisfies MD001.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: cd46b77f-707e-4069-a4d6-89765a2c181c
📒 Files selected for processing (5)
.claude/board/AGENT_LOG.md.claude/board/EPIPHANIES.md.claude/board/LATEST_STATE.md.claude/board/STATUS_BOARD.mdcrates/lance-graph-contract/src/episodic_edges.rs
…RU chain) per review Opus review verdict LAND (no P0/P1; brute-forced all 0-4-edge words). Added its two recommended P2 coverage tests: - promote_cross_family_local_collision_is_not_deduped: dedup compares family too, so cross(3,3) and intra(3) are distinct (no dedup) despite shared local. - promote_chains_mru_aging_and_appends_fresh_on_non_full: 4 fresh promotes → [4,3,2,1]; re-fire coldest → [1,4,3,2]; fresh-on-non-full appends to front. episodic_edges 16/16 green; default clippy clean. Left the pre-existing to_slot-on-invalid-EdgeRef nit out of scope (module-wide decision; valid inputs constructed via new/intra/cross are unaffected). https://claude.ai/code/session_012SorR8UbtEvYmbX8cXftj7
…447) STATUS_BOARD section heading was ### (h3) directly under the # (h1) title, skipping h2. CodeRabbit markdownlint MD001. Demote to ## (h2). Trivial. https://claude.ai/code/session_012SorR8UbtEvYmbX8cXftj7
…+ gated phases + 3 decisions Consolidates the EW64<->CE64 white-matter prefetch connectome after #447/#448 merged the hot tier (D-EW64-2/3/4). Phase A SHIPPED; B (plasticity-write co-fire) GATED, C (surreal/LanceDB-LIVE wingman) GATED on OQ-11.6, D (EpisodicWitness64 SoA column) GATED offline, E (comprehension<->arcuate ±5 wire) needs-design. Frames the three decisions that unblock further code: plasticity model (Heel scalar vs PlasticityState per-plane), RawEdge mantissa scope, and the comprehension-wire sense-candidate source. The morning handover. https://claude.ai/code/session_012SorR8UbtEvYmbX8cXftj7
What
D-EW64-2 (code):
EpisodicEdges64::{promote, strongest}inlance-graph-contract— the Hebbian hot-tier "stronger immediate edges" mechanism.promote(e) -> (Self, Option<EdgeRef>)moves a fired edge to slot 0 (strongest / most-immediate); survivors shift down; a new edge on a full word evicts the coldest (slot 3, returned for demotion to the cold connectome); idempotent on the already-hottest edge.CausalEdge64plasticity carries the Hebbian weight; recency = slot index. (E-EW64-STRENGTH-IS-CE64-PLASTICITY)strongest()reads slot 0.Findings (board, design-only):
E-PLANNING-IS-WHITE-MATTER— the 64k mailboxes are grey matter (compute) + PFC=MUL/planner; planning lives in the CE64/EW64 plasticity connectome (white matter), not in OTP/BEAM scheduling (KanbanMove/VersionScheduler= grey-matter coordination).E-EW64-STRENGTH-IS-CE64-PLASTICITY— strength = co-addressed plasticity + MRU; the surreal-LIVE "wingman" (E-SUBSTRATE-IS-THE-SCHEDULER) is the designed orchestrator, gated on OQ-11.6 (LanceDB-LIVE fallback).Firewall
Opaque
(family, local)only — no COCA; zero-dep; the agnostic substrate never sees language. This is the substrate-agnostic hot-tier mechanism the surreal wingman will call; that orchestration stays gated on OQ-11.6 (fallback exists).Tests / clippy
cargo test -p lance-graph-contract --lib→ 533 green (+5: empty, move-to-front, evict-coldest, idempotent-refire, dedup-on-full). Default clippy-D warningsclean;episodic_edges.rsclean at pedantic+nursery.Scope (deliberate)
Hot-tier mechanism only. Not included: the surreal-LIVE orchestration (OQ-11.6 gated), the cold-connectome store, pipeline wiring. Part of the
episodic-witness64-ce64-prefetch.mdseam.https://claude.ai/code/session_012SorR8UbtEvYmbX8cXftj7
Generated by Claude Code
Summary by CodeRabbit
Documentation
New Features
Tests