Skip to content

Commit cbbaf0b

Browse files
committed
docs: PROBE-SPRITE-REPLAY spec (x265 I/P/B grammar over HHTL sprites + helix motion) + two standing corrections
New plan x265-sprite-replay-probe-v1.md (operator-directed, crawl-first scope): moving object = HHTL-anchored Gaussian-splat sprite with a helix direction code as the motion primitive, mapped onto the x265 GOP grammar — I = splat set at anchor; P = ONE helix code per sprite (object-level motion replacing per-block MV search, x265's dominant encode cost); B = parametric interpolation along the helical path. Explicitly NOT H.268 and NOT x265 bit-parity; CPU/wasm carries bit-exactness (sprite states from helix codes, pinned math), wgpu is render-grade per C5/C9. The minimal wgpu harness doubles as PROBE-GPU-LUT's missing harness. §5 probe-queue row added with pass/ KILL bands (KILL = helix object-motion collapses into a dense per-splat MV field). Standing corrections folded (flagged in the prior round): - §10(i) honesty amendment: the 192B/3-cache-line tile claim is fully honest only under the analytic Fisher-z canon (materialized 256^2 u16 = 128KB, L2-resident not L1D); analytic drops table residency to 8B and rail reads become |delta-i8| arithmetic. - PROBE-WH-MAG-2 deferral-condition amendment: the Skip/Merge/Delta/ Escape mode grammar already IS the per-tile escape tier (analog of classify_rows_by_lfd Passthrough; shader analog = FailureTicket); WH-MAG-2 = WH under the mode grammar. Blackboard entry appended. Knowledge-doc suite green (117/117). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
1 parent c4d20e1 commit cbbaf0b

3 files changed

Lines changed: 134 additions & 0 deletions

File tree

.claude/blackboard.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,3 +806,24 @@ default is x86-64-v3 (avx2) so ndarray_simd activates on avx512 builds only.
806806
E-H268-PROBE-WAVE-1-RESULTS + plan h268-probe-wave-v1.md Results.
807807
Probes: bgz-tensor probe_wh_mag / jc sig_checksum / helix
808808
walk_spectrum (all suites green).
809+
810+
## 2026-07-16 (5) — sprite amortization spec'd + two standing corrections
811+
812+
- **PROBE-SPRITE-REPLAY spec'd** (plan `x265-sprite-replay-probe-v1.md`,
813+
§5 row added): moving object = HHTL-anchored splat sprite + helix
814+
motion code, mapped onto the x265 I/P/B grammar (I = splat set at
815+
anchor; P = one helix code per sprite, replacing per-block MV search;
816+
B = parametric interpolation along the helical path). Scope guards:
817+
NOT H.268, NOT x265 bit-parity — GOP-grammar replay on our primitives;
818+
CPU/wasm carries the bit-exactness claims, wgpu is render-grade (C9).
819+
Amortizations: motion search → address arithmetic in the Morton
820+
cascade; the minimal wgpu harness doubles as PROBE-GPU-LUT's missing
821+
harness. KILL: helix object-motion collapsing back into a dense MV
822+
field.
823+
- **§10(i) honesty amendment**: the 3-cache-line tile claim holds only
824+
under the analytic Fisher-z canon (materialized 256² u16 = 128KB =
825+
L2-resident); analytic drops table residency to 8B and makes rail
826+
reads |Δi8| arithmetic (four tiles/lane per AVX-512 register).
827+
- **PROBE-WH-MAG-2 deferral weakened**: the Skip/Merge/Delta/Escape
828+
mode grammar already IS the per-tile escape tier; WH-MAG-2 = WH under
829+
the mode grammar, not a wait for new machinery.

.claude/knowledge/pr-x12-h268-morton-wgpu-synergies.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ any float-path GPU bit-exactness claim.
114114
| WHP-1..4 (+GPU arm) | two-algebra pyramid parity | per OGAR canon | magnitude side stays CPU |
115115
| Plan E bench | bits/Gaussian on Mip-NeRF 360 | ≤4 bits | R-10 re-derived; web-streaming claim withdrawn |
116116
| a2ui N2 | wgpu `webgl` feature + texture upload, wasm32-tested | render parity headless vs browser | GPU raster tier deferred; CPU raster only |
117+
| PROBE-SPRITE-REPLAY | x265 I/P/B grammar over HHTL-anchored splat sprites with helix motion codes (plan `x265-sprite-replay-probe-v1.md`; NOT H.268, NOT x265 bit-parity) | replay determinism CPU==wasm on sprite states; B-frame bidirectional consistency; helix quantization bound reported | object-level helix motion collapses back into a dense per-splat MV field — the sprite amortization dies as stated |
117118

118119
**Run this wave — h268-probe-wave-v1 (2026-07-16, reviewer-adjudicated;
119120
probes live in lance-graph `bgz-tensor`/`jc`/`helix`):**
@@ -393,6 +394,16 @@ bytes actually stored are magnitudes. Same object, two consumers.
393394
by ruling; the C1 arena-tree corrective (§3 row 1: the shipped `ctu.rs`
394395
is a pointer arena, not Morton-flat) applies to the **codec CTU**, not
395396
to the L4 substrate — the two do not contradict each other.
397+
**Honesty amendment (2026-07-16, post Fisher-z canon):** the
398+
3-cache-line claim is fully honest only under the **analytic**
399+
cosine-replacement (E-FISHERZ-CANONICAL-COSINE-REPLACEMENT-1) — a
400+
materialized 256² u16 distance table is 128 KB (L2-resident on typical
401+
parts, NOT L1D), so under the materialized flavour every rail read was
402+
silently L2-bound and the working set was never really 3 lines. The
403+
analytic codec drops table residency to the 8-byte `FamilyGamma`,
404+
making the per-tile claim true as stated; similarity reads become
405+
arithmetic-shaped |Δi8| (64 lanes/AVX-512 register = four tiles' worth
406+
of one lane per register).
396407

397408
**The four-role loop:** **φ PLACES → walk QUANTIZES → γ CORRECTS → F
398409
DECIDES.** λ-RDO (rate-distortion optimization, the codec's tile-local
@@ -440,6 +451,13 @@ fourth-mode/anchor discussion (§8):
440451
row-level win does not transfer to per-tile granularity, and the
441452
shipped row codec is untouched. Follow-up PROBE-WH-MAG-2 (WH + escape
442453
tier + centroid residual) deferred to a per-tile-codec consumer.
454+
**Deferral-condition amendment (2026-07-16):** the codec's 2-bit mode
455+
grammar (Skip/Merge/Delta/**Escape**, `mode.rs`) already IS a per-tile
456+
escape tier — the tile-granular analog of `classify_rows_by_lfd`'s
457+
Passthrough (and the shader-side analog is F-dispatch's
458+
FailureTicket). PROBE-WH-MAG-2's natural home is therefore WH
459+
re-evaluated UNDER the mode grammar (heavy-tailed tiles routed to
460+
Escape before the cascade), not a wait for new machinery.
443461
- **[S] Signature as the replayable-trajectory checksum.** The x264
444462
contrast in §7 asked for a replayable, checksummable stream; the
445463
Hambly–Lyons signature is the canonical path digest with a uniqueness
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# PROBE-SPRITE-REPLAY v1 — x265 I/P/B grammar over HHTL sprites with helix motion
2+
3+
> Date: 2026-07-16. Status: SPEC'D (operator-directed; execution wave is
4+
> the next plateau after TD-BGZ-TENSOR-PRE-LANE-REVIEW lands).
5+
> Scope guard, operator's words: the initial test is NOT reaching for the
6+
> stars (H.268) — it is **a simple replay of x265's GOP grammar** using
7+
> our own primitives, on our own hardware tiers.
8+
9+
## The thesis (the new amortization)
10+
11+
**A moving object = an HHTL-addressed spatial sprite** — a Gaussian-splat
12+
set anchored at an HHTL address — **with a helix direction code as its
13+
motion primitive**, mapping directly onto x265's basic frame operations:
14+
15+
| x265 op | Sprite equivalent | Primitive |
16+
|---|---|---|
17+
| **I-frame** | the sprite's full splat set at its anchor address | splat3d EWA set + HHTL anchor (HEEL\|HIP\|TWIG) |
18+
| **P-frame** | ONE helix motion code per sprite (object-level), replacing the per-block MV field | helix `ResidueEdge` (24-bit hemisphere) or `Signed360` (48-bit signed full-sphere) |
19+
| **B-frame** | parametric interpolation along the helical path between two anchors | evaluate the sprite at t ∈ (0,1); bidirectional weights |
20+
21+
The amortization stack:
22+
- **Motion search dies.** x265's dominant encoder cost (per-block MV
23+
search) becomes address arithmetic: the sprite's anchor moves; its
24+
splats ride along. The nested stacked-inverse-pyramid 4×4 ergonomics
25+
re-rasterize the sprite footprint through the Morton cascade at
26+
whatever LOD the certificate demands (depth_cascade actions).
27+
- **One substrate, both consumers** (per E-H268-REPLAYABLE-TILE-1): the
28+
same tile cascade serves codec rasterization and shader dispatch.
29+
- **The wgpu harness is shared.** The minimal render harness this probe
30+
needs is exactly the harness PROBE-GPU-LUT has been gated on — build
31+
once, both probes consume it.
32+
- **Fisher-z canon applies** (E-FISHERZ-CANONICAL-COSINE-REPLACEMENT-1):
33+
similarity/direction-adjacent reads carry as normalized i8; helix runs
34+
the 2z rung of the same analytic family (`batch_fisher_z` exists).
35+
36+
## Scope guards (graded, non-negotiable)
37+
38+
- **NOT H.268.** No scene-codec claims, no beyond-VVC claims.
39+
- **NOT bitstream/byte parity with x265.** "Replay of x265" = replaying
40+
the **I/P/B operational grammar** with our motion primitive; x265
41+
itself is at most an optional external reference point (bitrate/PSNR
42+
context on the rasterized sequence), never a parity gate.
43+
- **GPU is render-grade only** (C5/C9 discipline): the bit-exactness
44+
claims live on the CPU/wasm integer/pinned-math path (sprite STATES:
45+
helix codes → positions); raster output compares to tolerance, GPU
46+
raster is a visual tier.
47+
- All claims [S/H] until the probe runs; this plan is the spec, not a
48+
result.
49+
50+
## Test spec (minimal, deterministic)
51+
52+
1. **Scene:** N=8 sprites × K=64 Gaussians each (seeded), moving on
53+
ground-truth helical paths (the helix codes ARE the ground truth —
54+
encode direction as `ResidueEdge` AND `Signed360`, measure both
55+
widths' quantization error).
56+
2. **Encode:** GOP = I B B P B B P … (classic pattern): I = splat dump +
57+
anchors; P = per-sprite helix delta codes; B = no stored motion —
58+
derived by parametric interpolation between surrounding anchors.
59+
3. **Decode tiers:** (a) CPU native (ndarray `splat3d` EWA rasterizer);
60+
(b) wasm (same code — the shipped parity-CI pattern); (c) wgpu quad/
61+
splat raster (a2ui-paint tier; N2 gate applies).
62+
4. **Pass criteria:**
63+
- **Replay determinism:** decoded sprite states (positions from helix
64+
codes, pinned unfused math) bit-identical CPU native vs wasm.
65+
- **B-consistency:** a B frame decoded forward-from-I and
66+
backward-from-P agrees with the parametric midpoint to a stated
67+
tolerance (the bidirectional check).
68+
- **Motion fidelity:** helix-coded direction reproduces ground-truth
69+
paths within the register's quantization bound (report 24-bit vs
70+
48-bit error curves).
71+
- **KILL:** if object-level helix motion cannot express the test
72+
paths without per-splat residual fields (i.e. the "one code per
73+
sprite" claim collapses back into a dense MV field), the sprite
74+
amortization dies as stated and the finding is the honest record.
75+
5. **Optional context (not a gate):** run actual x265 over the CPU
76+
raster PNG sequence; report bits/frame + PSNR as an external anchor.
77+
78+
## Standing corrections folded from the probe wave (same doc pass)
79+
80+
- §10(i) cache-honesty: the 192 B/3-cache-line tile claim is fully
81+
honest only under the analytic Fisher-z canon (a materialized 256² u16
82+
table is 128 KB — L2-resident, not L1D); the analytic path drops table
83+
residency to 8 B.
84+
- PROBE-WH-MAG-2's deferral condition is weaker than recorded: the
85+
codec's 2-bit mode grammar (Skip/Merge/Delta/**Escape**) already IS
86+
the per-tile escape tier the probe lacked; re-running WH under the
87+
mode grammar is the natural PROBE-WH-MAG-2 home.
88+
89+
## Execution model
90+
91+
Same wave pattern: drafters (grindwork: scene generator, GOP encoder,
92+
CPU/wasm decode, harness), filigree adjudication vs the pass/KILL bands,
93+
central gates, PR, autonomous merge (standing authority). The wgpu tier
94+
may land as a second commit gated on the shared harness; if it slips,
95+
the CPU/wasm probe stands alone.

0 commit comments

Comments
 (0)