Skip to content

Commit 7062258

Browse files
committed
chore(board): append AGENT_LOG entry for content Hamming cascade wire
Records the hamming-content-cascade PR result: dispatch() now surfaces content-match hits on semantically similar text rows. https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
1 parent 2cf36ad commit 7062258

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.claude/board/AGENT_LOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,3 +265,29 @@ newest-first.** A `BlackboardEntry` by any other transport.
265265
**Commit:** `816a7c0`
266266
**Tests:** 12 pass
267267
**Outcome:** Shipped `lance-graph-archetype` crate scaffold: Component + Processor traits, World meta-state with tick/fork/at_tick stubs, CommandBroker FIFO queue, ArchetypeError. PR #254 merged.
268+
269+
## 2026-04-24T17:20 — Content Hamming cascade wire (opus, claude/hamming-content-cascade)
270+
271+
**D-ids:** Content-plane similarity pre-pass in ShaderDriver::run()
272+
**Commit:** `2cf36ad`
273+
**Tests:** 45 pass (43 lib + 2 e2e, 3 new: content_hamming_finds_similar_rows / _skips_dissimilar / _respects_style_threshold)
274+
**Outcome:** The glove is flying. Before: dispatch() on 3 encoded rows returned `hit_count:0, confidence:0.0, admit_ignorance:true` across every style — the PaletteSemiring cascade probed a synthetic Base17 table unrelated to the encoded text, and the content plane was only read for the cycle_fp XOR fold, never compared. After: content-plane Hamming pre-pass runs BEFORE the palette cascade. For each pair in `passed_rows`, popcount XOR of `content_row(i)` vs `content_row(j)`; if `resonance = 1 - Hamming/16384 >= style.resonance_threshold`, emit `ShaderHit{predicates:0x01}`. Guard: N² sweep skipped when `passed_rows.len() > 256`.
275+
276+
**Live verification (encode 3 rows, dispatch 0..3):**
277+
- "Palantir develops surveillance systems" (row 0)
278+
- "Palantir Gotham is a surveillance platform" (row 1)
279+
- "Israel deploys military AI" (row 2)
280+
281+
| Style | Threshold | hit_count | top-1 row pair | resonance | confidence |
282+
|--------------------|-----------|-----------|----------------|-----------|------------|
283+
| Analytical (1) | 0.85 | 0 ||| 0.0 (admit_ignorance) |
284+
| Creative (4) | 0.35 | 6 | row 0 ↔ row 1 | 0.598 | 0.598 |
285+
| Peripheral (9) | 0.20 | 6 | row 0 ↔ row 1 | 0.598 | 0.598 |
286+
287+
The strongest signal (rows 0↔1, both Palantir) correctly ranks first. Rows 0↔2 (Palantir vs Israel AI) lands lowest at 0.496. Analytical's 0.85 threshold rejects all pairs — style semantics preserved.
288+
289+
**Key insight:** The Jirak 454-Hamming threshold calibrated in the 2026-04-24 EPIPHANY was for UNTILED DeepNSM encodes at density ≈ 0.016. The live encode path 32×-tiles 512-bit VSA → 16K content plane, pushing density to ≈ 0.48 and expected-random Hamming to ≈ 8000. Using an absolute bit threshold would have required per-density calibration; using `resonance >= style.resonance_threshold` is density-agnostic and reuses the existing style semantics. Style config IS the content-similarity threshold.
290+
291+
**Remaining gap:** palette cascade hits (synthetic Base17) still exist and can flood top-k when their resonance exceeds content-match resonance; see driver.rs:180 `hits.truncate(8)`. The test `content_hamming_respects_style_threshold` uses empty planes to isolate the content cascade; in production with meaningful planes, content hits will intermix with palette hits via the shared resonance sort. Option: promote content hits with a small resonance bonus if future tuning shows palette drowning content too aggressively.
292+
293+
Cross-ref: EPIPHANIES 2026-04-24 "Jirak noise floor" + "dispatch wiring audit", I-NOISE-FLOOR-JIRAK iron rule, driver.rs:93-156.

0 commit comments

Comments
 (0)