Skip to content

probe: h268-probe-wave-v1 — WH-MAG (NEUTRAL), SIG-CHECKSUM (PASS), WALK-SPECTRUM (KILL of §10(g) decorrelation half)#702

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

probe: h268-probe-wave-v1 — WH-MAG (NEUTRAL), SIG-CHECKSUM (PASS), WALK-SPECTRUM (KILL of §10(g) decorrelation half)#702
AdaWorldAPI merged 7 commits into
mainfrom
claude/x265-x266-plans-review-h9osnl

Conversation

@AdaWorldAPI

@AdaWorldAPI AdaWorldAPI commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

The h268-probe-wave: three deterministic, CPU-only probes converting conjectures from the merged H.268 arc into measured verdicts (plan: .claude/plans/h268-probe-wave-v1.md; adjudication: internal Opus review, math independently verified). No new dependencies, no unsafe; graded probes assert only structural sanity so verdicts can't red the suite.

Probes (code):

  • bgz-tensor/src/adaptive_codec.rsmod probe_wh_mag: WHT₁₆ magnitude preconditioner vs direct i4+i2 on three seeded tile classes (256 tiles/class). NEUTRAL; bare-tile leg CLOSED NOT-TRANSFERRING (B/A = 0.929 / 1.411 / 1.869): WHT₁₆ spreads outlier energy tile-wide, inflating the per-cell quantization floor; the row-level win needs the Passthrough escape + centroid residual the probe deliberately isolates away. Shipped row codec untouched. Follow-up PROBE-WH-MAG-2 named, deferred.
  • jc/src/sig_checksum.rs (behind hambly-lyons; NOT a 12th pillar) — depth-2 signature as replayable trajectory digest. PASS (replay bit-exact; tree-like excursion 0.0 < 1e-9; non-tree displacement 11.31 > 0.05) with a documented exact-identity bound: a parallel-chord interior displacement is signature-invisible at depth 2 — the digest's null space exceeds tree-like equivalence.
  • helix/src/walk_spectrum.rs (test-only) — stride-4-mod-17 parity-sign autocorrelation vs seeded LCG. KILL of the "decorrelated from the palette lattice by construction" half of §10(g) (lattice |R| max 0.875 at τ=64 vs PRNG 0.0205 = 42.7× ≫ the 3× kill bar; hand-verified C(13)=C(4)=−15 → −0.882); the "known period-17 structure" half CONFIRMED (R(17m)=1−8m/N). D-QUANTGATE / the walk's bijectivity-quantization role unaffected.

Board/docs: EPIPHANIES E-H268-PROBE-WAVE-1-RESULTS prepended; plan file created with pinned PASS/NEUTRAL/KILL bands + Results filled; INTEGRATION_PLANS prepended. Companion ndarray PR carries the matrix-doc §10(g) correction + §5 results sub-table.

Verification

  • Suites green: bgz-tensor 202; jc 64 with --features hambly-lyons and 60 without (zero-dep default intact); helix 74 lib + 4 integration + 7 doctests. rustfmt clean on touched files.
  • Adjudicator re-ran all three probes live; numbers reproduce exactly; load-bearing math (R(17m)=1−8m/N, C(13)=−15, the depth-2 null-space identity) independently verified.

🤖 Generated with Claude Code

https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki


Generated by Claude Code

Summary by CodeRabbit

  • Tests

    • Added deterministic probes evaluating tile reconstruction quality, trajectory signature replayability, and walk-spectrum behavior.
    • Added coverage for Hadamard rotation round-tripping and signature identity checks.
    • Confirmed period-17 structure in walk-spectrum analysis.
    • Documented probe results, including a depth-2 signature blind spot and invalidated anti-moiré decorrelation behavior.
  • Documentation

    • Added a versioned integration plan and recorded probe findings and follow-up references.

claude added 6 commits July 16, 2026 08:51
…M specs + board index

Probe wave converting three cheap conjectures from the merged H.268 arc
into measured verdicts (CPU-only, no new deps): PROBE-WH-MAG (bgz-tensor,
WHT16 magnitude preconditioner vs direct i4+i2), PROBE-SIG-CHECKSUM (jc,
depth-2 signature as replayable trajectory digest behind hambly-lyons),
PROBE-WALK-SPECTRUM (helix, stride-4-mod-17 autocorrelation vs PRNG at
palette-lattice periods). Pass/neutral/kill criteria pinned per probe;
INTEGRATION_PLANS prepended.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
…irect i4+i2 on tile classes

Per .claude/plans/h268-probe-wave-v1.md P1: #[cfg(test)] mod probe_wh_mag
with a WH round-trip self-check (tolerance 1e-5, following ndarray's own
wht_f32 round-trip precedent — plan said 1e-6, loosened with in-code
rationale) and the three-class ratio table (256 seeded tiles/class,
dim=16, SplitMix64, no new deps). Verdict deliberately unasserted —
adjudicated externally per plan.

Measured (informational): gradient+spike B/A=0.9290, heavy-tailed
B/A=1.4113, uniform-noise B/A=1.8689. Crate suite 202 passed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
…vs LCG at lattice periods

Per .claude/plans/h268-probe-wave-v1.md P3: test-only module, N=4096,
plain circular autocorrelation, seeded LCG baseline, no new deps.

Measured (informational, adjudicated externally): period-17 harmonics
|R| = 0.998/0.996/0.994 (exact wraparound formula R(17m)=1-8m/N,
hand-derived and confirmed); palette-lattice periods walk max |R| =
0.875 (tau=64) vs LCG lattice max 0.0205 — 42.7x, far past the plan's
3x KILL threshold. Derivation note recorded in-module: gcd(17,tau)=1
does NOT imply low autocorrelation for an exactly-periodic parity
waveform — the period-17 pattern has strong sidelobes at every lag's
phase class. The "known period-17 structure" half measures true; the
"decorrelated from the lattice by construction" half measures false
for the raw residue-parity sign mapping.

Full helix suite green (74 lib + 4 integration + 7 doctests).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
…ctory digest

Per .claude/plans/h268-probe-wave-v1.md P2: new sig_checksum module
behind the hambly-lyons feature (probe, NOT a 12th pillar; prove()
registry untouched). Thresholds taken verbatim from hambly_lyons.rs
(FORWARD_TOLERANCE=1e-9, CONVERSE_THRESHOLD=0.05).

Results (informational, adjudicated externally): replay_identity =
exact bit-equality; tree_like_edit_invisible = 0.0 distance;
non_tree_edit_caught = 11.3137 (level-2 signed area is the signal;
level-1 delta = 0). Math finding recorded in-module: at DEPTH=2 a
displacement PARALLEL to the neighbor chord is exactly
signature-invisible (bilinearity identity) — the depth-2 digest's null
space exceeds tree-like equivalence; the probe scans for a
non-degenerate index and uses the perpendicular offset.

jc suite green with feature (64) and without (60, zero-dep default).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
…cts adjudicated

WH-MAG NEUTRAL (bare-tile leg CLOSED not-transferring; PROBE-WH-MAG-2
named, deferred); SIG-CHECKSUM PASS with the depth-2 parallel-chord
blind-spot bound; WALK-SPECTRUM KILL of the §10(g) "decorrelated by
construction" half (period-17 structure half confirmed; D-QUANTGATE
unaffected). Adjudicator independently verified R(17m)=1-8m/N,
C(13)=-15 -> R(64) ~ -0.875, and the depth-2 null-space identity.

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

cursor Bot commented Jul 16, 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_124bd658-1a32-4669-a448-bbc16dd26e2d)

@coderabbitai

coderabbitai Bot commented Jul 16, 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: 47 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: 9bcd88c9-06f7-4502-a73b-153bb4750934

📥 Commits

Reviewing files that changed from the base of the PR and between 7fcaf6e and b387f80.

📒 Files selected for processing (5)
  • .claude/board/EPIPHANIES.md
  • .claude/plans/h268-probe-wave-v1.md
  • crates/bgz-tensor/src/adaptive_codec.rs
  • crates/helix/src/walk_spectrum.rs
  • crates/jc/src/sig_checksum.rs
📝 Walkthrough

Walkthrough

This PR adds three deterministic, CPU-only Rust probes: Hadamard-wrapped tile reconstruction, depth-2 signature checksums, and stride-4 mod-17 walk autocorrelation. Planning and board documents record their measured NEUTRAL, PASS, and KILL outcomes.

Changes

H.268 Probe Wave

Layer / File(s) Summary
Probe scope and adjudication
.claude/board/*, .claude/plans/h268-probe-wave-v1.md
Defines the probe wave, deterministic execution rules, targeted test locations, and recorded verdicts.
Hadamard magnitude probe
crates/bgz-tensor/src/adaptive_codec.rs
Adds deterministic tile generators, direct and Hadamard reconstruction paths, round-trip validation, and per-class MSE ratio reporting.
Truncated signature checksum probe
crates/jc/src/lib.rs, crates/jc/src/sig_checksum.rs
Adds a feature-gated probe for replay identity, tree-like excursions, and permanent interior-point displacement detection.
Stride-4 walk spectrum probe
crates/helix/src/lib.rs, crates/helix/src/walk_spectrum.rs
Adds deterministic walk and LCG sequences, circular autocorrelation measurement, period-17 checks, and spectrum reporting.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

  • AdaWorldAPI/lance-graph#485: Adds related crates/helix probe coverage for stride-4-over-17 walk regeneration and permutation behavior.

Suggested reviewers: claude

Poem

I hopped through three probes beneath moonlight,
WH tiles, signatures, and walks in flight.
One stayed neutral, one passed bright,
One found a claim that wasn’t right.
Findings tucked neatly—what a byte-sized delight!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately names the new h268 probe wave and its three probe outcomes, matching the PR’s main changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 8

🧹 Nitpick comments (1)
.claude/plans/h268-probe-wave-v1.md (1)

24-25: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Record the deterministic generator parameters.

The plan requires fixed seeds but does not specify the actual seeds, walk start value, or LCG parameters. Add those constants—or reference their exact definitions—so the reported measurements can be independently reproduced from the plan.

Also applies to: 58-62, 84-86

🤖 Prompt for 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.

In @.claude/plans/h268-probe-wave-v1.md around lines 24 - 25, Update the
deterministic synthetic tile-field sections and their corresponding measurement
sections to record or reference the exact generator constants: per-class seeds,
walk start value, multiplier, increment, and any output transformation. Ensure
the plan’s ≥256-tile generation procedure is independently reproducible without
relying on unspecified defaults.
🤖 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/EPIPHANIES.md:
- Line 7: Update the probe references in EPIPHANIES.md to use
repository-root-relative paths by adding the crates/ prefix to
bgz-tensor/src/adaptive_codec.rs, jc/src/sig_checksum.rs, and
helix/src/walk_spectrum.rs. Preserve the referenced module and probe names
unchanged.

In @.claude/plans/h268-probe-wave-v1.md:
- Around line 9-12: Remove model identifiers from the documented workflow: in
.claude/plans/h268-probe-wave-v1.md lines 9-12, replace “Sonnet” and “Opus” with
neutral role names; in .claude/board/EPIPHANIES.md lines 1-3, replace
“Opus-adjudicated”; and in .claude/board/INTEGRATION_PLANS.md lines 12-13,
replace “Sonnet drafters + Opus adjudication,” preserving the stated
responsibilities.
- Around line 35-39: Update the PASS/NEUTRAL/KILL classification in the probe
plan to define mixed P1 outcomes explicitly: classify as PASS when any eligible
class has B/A < 0.9, KILL only when all classes have B/A > 1.1, and NEUTRAL for
every remaining combination. State the precedence clearly and preserve the
existing class-based thresholds.

In `@crates/bgz-tensor/src/adaptive_codec.rs`:
- Around line 502-518: Update gen_heavy_tailed so its 2–3 outlier assignments
always target distinct cell indices; track already selected indices or otherwise
resample collisions while preserving the existing outlier count and value
generation.
- Around line 634-659: The sanity validation around the ratios collection
currently permits NaN results, allowing unusable probes to pass. Update the
ratio assertion in the test’s structural validation loop to require each ratio
to be finite, while preserving the existing length check and diagnostic context
identifying the tile class.

In `@crates/helix/src/walk_spectrum.rs`:
- Around line 4-11: The walk-spectrum analysis and its palette-lattice
conclusion must not use a single seeded LCG sample as a principled noise floor
or significance threshold. Update the relevant measurement/reporting logic
around the spectrum calculation to derive and report the prescribed Jirak 2016
weak-dependence rate, or remove all noise-floor, threshold, and significance
claims and label the LCG result descriptive only.
- Around line 64-82: Update walk_residue to use the canonical CurveRuler by
constructing it with CurveRuler::from_place(start) and returning index(k as u32)
instead of reimplementing the stride/modulus calculation. Preserve walk_signs’
existing parity-based behavior and remove the now-unnecessary local arithmetic.

In `@crates/jc/src/sig_checksum.rs`:
- Around line 311-334: Add an explicit assertion after computing level1_delta in
the non_tree_edit_caught probe that it remains approximately zero, using an
appropriate floating-point tolerance. Keep the existing total-distance
assertion, and make the new failure message identify an unexpected level-1
change so the probe verifies discrimination comes from level 2.

---

Nitpick comments:
In @.claude/plans/h268-probe-wave-v1.md:
- Around line 24-25: Update the deterministic synthetic tile-field sections and
their corresponding measurement sections to record or reference the exact
generator constants: per-class seeds, walk start value, multiplier, increment,
and any output transformation. Ensure the plan’s ≥256-tile generation procedure
is independently reproducible without relying on unspecified defaults.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 577dbe99-780b-417d-9a16-8414825e8d29

📥 Commits

Reviewing files that changed from the base of the PR and between e3e51dc and 7fcaf6e.

📒 Files selected for processing (8)
  • .claude/board/EPIPHANIES.md
  • .claude/board/INTEGRATION_PLANS.md
  • .claude/plans/h268-probe-wave-v1.md
  • crates/bgz-tensor/src/adaptive_codec.rs
  • crates/helix/src/lib.rs
  • crates/helix/src/walk_spectrum.rs
  • crates/jc/src/lib.rs
  • crates/jc/src/sig_checksum.rs

Comment thread .claude/board/EPIPHANIES.md Outdated
Comment on lines +9 to +12
> Execution model per operator directive: Sonnet drafters (grindwork,
> edit-only + targeted own-crate `cargo test`), Opus filigree reviewer
> (adjudication vs pass/kill), main thread = spec, central gates,
> commits, PR, autonomous resolve + merge after clean CI/reviews.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Remove model identifiers from all wave documentation.

The shared documentation contract prohibits model identifiers in file content, but all three new entries embed them:

  • .claude/plans/h268-probe-wave-v1.md#L9-L12: replace “Sonnet” and “Opus” with neutral role names.
  • .claude/board/EPIPHANIES.md#L1-L3: replace “Opus-adjudicated”.
  • .claude/board/INTEGRATION_PLANS.md#L12-L13: replace “Sonnet drafters + Opus adjudication”.
📍 Affects 3 files
  • .claude/plans/h268-probe-wave-v1.md#L9-L12 (this comment)
  • .claude/board/EPIPHANIES.md#L1-L3
  • .claude/board/INTEGRATION_PLANS.md#L12-L13
🤖 Prompt for 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.

In @.claude/plans/h268-probe-wave-v1.md around lines 9 - 12, Remove model
identifiers from the documented workflow: in .claude/plans/h268-probe-wave-v1.md
lines 9-12, replace “Sonnet” and “Opus” with neutral role names; in
.claude/board/EPIPHANIES.md lines 1-3, replace “Opus-adjudicated”; and in
.claude/board/INTEGRATION_PLANS.md lines 12-13, replace “Sonnet drafters + Opus
adjudication,” preserving the stated responsibilities.

Comment thread .claude/plans/h268-probe-wave-v1.md Outdated
Comment thread crates/bgz-tensor/src/adaptive_codec.rs
Comment thread crates/bgz-tensor/src/adaptive_codec.rs
Comment thread crates/helix/src/walk_spectrum.rs Outdated
Comment thread crates/helix/src/walk_spectrum.rs Outdated
Comment thread crates/jc/src/sig_checksum.rs
…gate, canonical CurveRuler, level-1 assert, band precedence, descriptive LCG note

Six of eight CodeRabbit findings on the probe wave applied (one is a
false positive, one a nitpick folded in):

- gen_heavy_tailed now resamples outlier-index collisions (2-3 DISTINCT
  cells guaranteed); only the heavy-tailed ratio moved: B/A 1.4113 ->
  1.3169; verdict unchanged (NEUTRAL, bare-tile leg not-transferring).
  Reported numbers updated in the plan Results + EPIPHANIES entry.
- probe ratio sanity now REJECTS non-finite values (NaN acceptance
  removed; invalid MSE also asserted at source).
- walk_spectrum consumes the canonical CurveRuler::from_place().index()
  instead of reimplementing the stride arithmetic (consume-the-canon
  rule); measured table bit-identical.
- walk_spectrum module doc relabels the LCG baseline DESCRIPTIVE ONLY —
  the verdict rests on the closed-form C(tau mod 17) structure, no
  significance claim made; future significance phrasing must use Jirak
  2016 rates per I-NOISE-FLOOR-JIRAK. Plan carries the same scope note.
- sig_checksum now ASSERTS level1_delta < FORWARD_TOLERANCE so the
  level-2-discrimination conclusion is verified, not just printed.
- plan P1 verdict bands rewritten with explicit precedence (PASS if any
  of (a)/(b) < 0.9; else KILL if ALL > 1.1; else NEUTRAL incl. mixed) —
  the original bands left mixed outcomes uncategorized.
- plan gains a reproducibility note pinning where every generator
  constant lives (the probe code is normative).
- EPIPHANIES probe paths now repo-root-relative (crates/ prefix).

Skipped with reason: the "remove Sonnet/Opus model identifiers" finding
— lance-graph has no such rule (its own CLAUDE.md Model Policy uses the
tier names); the no-model-identifier rule elsewhere in the workspace
covers the assistant's model ID, which appears nowhere.

All suites green after fixes: bgz-tensor 202, jc 64 (+60 featureless),
helix 74+4+7. rustfmt clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3RyLEbuNSHxxB3NTTrGki
@AdaWorldAPI AdaWorldAPI merged commit 6d4acf2 into main Jul 16, 2026
7 checks passed
AdaWorldAPI pushed a commit that referenced this pull request Jul 16, 2026
AdaWorldAPI added a commit that referenced this pull request Jul 16, 2026
…w-h9osnl

docs(board): post-merge hygiene for #702 — PR_ARC entry + LATEST_STATE v5
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