Skip to content

fix(capacity): PagerCaptureEvent raw-feed tolerance — perf-only C++ lines decode (#276) - #2065

Merged
joelteply merged 1 commit into
canaryfrom
feat/pager-capture-raw-feed-tolerance
Aug 1, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/pager-capture-raw-feed-tolerance

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Follow-up to #2064, driven by BigMama's live check of the contract against her C++ emitter: perf field names match exactly (zero rename drift), but the raw GGML_MOE_CAPTURE_FILE feed carries only the perf fields — quality/reward/bandit state exist once the Rust controller runs. Strict decode would reject every real capture slice.

serde(default) on the 8 derived/decision fields + a test decoding an actual perf-only line shape (the exact fields her fitted-K3 feed emits) asserting zeroed decision state. Full-frame field-name pinning unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…ines decode with defaulted decision state (#276)

Verified against BigMama's live fitted-K3 emitter: the 7 perf field
names match the contract exactly (zero rename drift), but the RAW
GGML_MOE_CAPTURE_FILE feed carries only those perf fields — quality,
reward, and the bandit decision state exist once the Rust controller
runs. Without defaults the parity reader rejects every real capture
slice she sends.

serde(default) on the 8 derived/decision fields; new test decodes an
actual perf-only line shape and asserts zeroed decision state. The
strict field-name pinning on full frames is unchanged.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit c488742 into canary Aug 1, 2026
4 checks passed
@joelteply
joelteply deleted the feat/pager-capture-raw-feed-tolerance branch August 1, 2026 04:21
joelteply added a commit that referenced this pull request Aug 1, 2026
…ixture (#2066)

Three verbatim lines from her fitted-K3 warm-decode run (2026-08-01):
cold token 0 (20GB fetched, full 8037 resident) and warm tokens 4/26
(the 4416 working set, 0.33 tok/s). One test pins every live-feed quirk
at once: integer literals in f32 fields ("fetch_mb_s":2458), her two
extra counters (experts/misses via forward tolerance), and absent
decision state (serde defaults). If it breaks, the feed and the reader
have diverged — fix the contract, not the fixture.

Also syncs the generated TS doc comment that lagged #2065.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant