Skip to content

Docs truth sweep from the package audit (PR C)#27

Merged
tap merged 2 commits into
mainfrom
claude/docs-truth-sweep
Jun 13, 2026
Merged

Docs truth sweep from the package audit (PR C)#27
tap merged 2 commits into
mainfrom
claude/docs-truth-sweep

Conversation

@tap

@tap tap commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Audit fix series, part C — the documentation truth sweep. With #25 (core) and #26 (infra) merged, this closes out all audit findings.

The High

  • Demo notebook summary now matches its own committed measurement: ">125 dB (measured 126.4 dB)" — it claimed ">130 dB", the only place in the repo that overstated a number. (Also fixed its "SNR in the 30s" vs the committed 29.4 dB.)

Accuracy refresh

  • Quality headline updated to post-C3 measured reality: 135/120/112 dB (was 133/118/111 — conservative but self-contradictory with the 16 kHz "within ~1 dB" claim, which is now arithmetically true). Test threshold comments refreshed to match; thresholds themselves unchanged.
  • Pico/M33 cycle claims hedged honestly: "fits with room to spare" stated cycle conclusions from instruction counts. Now phrased as budgets pending real-silicon validation, with examples/pico2_cyccnt/ and examples/pico2_dualcore/ linked from every place the claim appears (README, PERFORMANCE.md, HARDWARE_TESTING.md).
  • Stale-after-PR numbers swept: COMPARISON.md 5,206→5,043 insns/frame (9.5×→9.8×), the 8-channel ratio qualifier (2.1×, outside the quoted mono/stereo range), Hexagon landscape figure labeled kernel-only with the full-converter figure alongside, latency cell aligned to the designed 24 frames; M33 added to every "what's gated" sentence; PERFORMANCE.md hypothesis list annotated with what C1/C2/C4/C6 actually shipped; the pico2_cyccnt "19×" comment corrected to the 3.8× it describes.

DX gaps from the audit

  • README gains the hardware-examples tour (alsa_bridge / pico2_cyccnt / pico2_dualcore were previously unreachable from the front door) and a consumption/versioning statement (add_subdirectory/FetchContent only, no install rules yet, 0.1.0, pre-1.0 API caveat, srt_version() probe).
  • Comparison notebook's Python deps (samplerate, soxr) documented.
  • HARDWARE_TESTING's "code each setup needs" rewritten as exists/remains (it still described shipped examples as future work); the one genuinely missing piece (ppm-trace plot script) stated as such.
  • alsa_bridge now applies the documented unlock-threshold-vs-block-size guidance instead of contradicting it.

Verified: notebook JSON valid, all relative doc links resolve, ICOUNT regen produces no diff, affected tests + alsa_bridge build green.

https://claude.ai/code/session_01HuAFfoeD5a5Xe5aGNA16M9


Generated by Claude Code

claude added 2 commits June 12, 2026 22:50
- Demo notebook summary matched to its own committed measurement
  (>125 dB / 126.4 dB, was >130 dB) - the one place the repo overstated.
- Quality headline refreshed to post-C3 measured reality (135/120/112
  dB), resolving the README's 16 kHz within-1-dB self-contradiction;
  test threshold comments updated to match.
- Pico/M33 cycle claims hedged: instruction counts stated as budgets
  pending real-silicon CYCCNT validation, with both flashable harnesses
  linked from README, PERFORMANCE.md and HARDWARE_TESTING.md.
- Stale-after-PR numbers: COMPARISON.md 5,206->5,043 (~9.5x->~9.8x),
  8-channel ratio qualifier, Hexagon landscape figure labeled
  kernel-only, latency cell aligned to the designed 24 frames; M33
  added to every "what is gated" sentence; PERFORMANCE.md hypothesis
  list annotated with C1/C2/C4/C6 outcomes; pico2_cyccnt 19x comment
  corrected to the 3.8x it actually describes.
- HARDWARE_TESTING needs-list rewritten as exists/remains; README gains
  the hardware-examples tour and a consumption/versioning statement
  (add_subdirectory/FetchContent only, 0.1.0, pre-1.0 API caveat) plus
  the comparison notebook's Python deps.
- alsa_bridge now applies the documented unlock-threshold guidance for
  its block size (compiles clean).

Verified: notebook JSON valid; all relative doc links resolve; ICOUNT
regen no-diff; suite subset + alsa_bridge build green.

https://claude.ai/code/session_01HuAFfoeD5a5Xe5aGNA16M9
The static-musl Hexagon toolchain cannot propagate C++ exceptions:
the hardened validated() throws correctly but EXPECT_THROW never
catches and libc++abi terminates - surfaced by the first throw-test
ever to reach that CI leg (from PR #25, so main is currently red
there; this commit heals it). Validation is target-independent and
covered on every other platform. Limitation recorded in the
Known-debt ledger with the deployment implication (invalid Config is
fatal on this toolchain; validate before constructing) and the
candidate fix (-unwindlib=libunwind).

https://claude.ai/code/session_01HuAFfoeD5a5Xe5aGNA16M9
@tap tap merged commit a0467ce into main Jun 13, 2026
26 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