Repository navigation
Conversation
…s live fixes for the month The telemetry transport hands back the collector's x-genclass-observe header; the client caps the runtime at observe (only ever lowering the mode), remembers it for the app's key until the UTC month ends so the next page starts there, and lifts it on a reply without the header. One console line says why. Adds about 0.3 KB to /auto, past its first-load limit: raising the limit needs the owner's OK (test/bundle.test.ts). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed by 0.3 KB (owner OK 2026-11-12); CONTRACT §17, AGENTS rule 8 exception, TELEMETRY, READMEs, CHANGELOG, RESULTS Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GenClass runtime review2 findings in this pull request's tests at
Reply The race report, test by testRace report2 signatures in 2 tests, 2 reproducible (flagged in 2 or more seeds of the same test) · 19 files read · mode observe
[chromium] search.spec.ts > search > buggy page: results of the last query2 seeds (1, 2) · 1 signature · chaos: latency 0–600 ms, reorder Witnesses (facts measured without the model)
search.spec.ts > search > buggy page: results of the last query5 seeds (1, 2, 3, 4, 5) · 1 signature · chaos: latency 0–600 ms, reorder Witnesses (facts measured without the model)
3 tests with nothing flagged
Lines under "Witnesses (facts measured without the model)" are happens-before facts the runtime measured in the page without the model, one per signature (witness kind, operation): overwrote-newer, a response wrote a field over what a newer request or the user had written since the request started; identical-in-flight, two identical requests in flight together from separate user actions. They carry no confidence: a fact is listed when it happened. Reproducible: seen in 2 or more seeds of the same test. Whether a fact is a bug is for you to decide (some overwrites are intended; many are repaired a moment later). genclass-dev[bot] read 19 race files from the artifacts |
Owner requests, 2026-11-12: usage limits on errors fixed live, then GenClass strictly observes (plans per project, #224, deployed); and "Yes, raise it" for the first-load budget.
What it does
src/telemetry/transport.ts: the fetch transport hands back the collector'sx-genclass-observereply header ({ observe }, null when absent).src/telemetry/client.tsplanReply: the header caps the runtime at observe and is remembered per app inlocalStorage["genclass:observe"]("<token> <end of the UTC month ms>"), so the next page starts capped; a reply without it lifts the cap and clears the key. A reply the page cannot read (beacon, custom transport) changes nothing.src/runtime.tscapToObserve: one more cap insessionMode(effectiveMode = min(mode, sample, breaker, plan, route)); one console warning. It only ever lowers the mode.Rules
First load
Growth over main at e4f2eaa (Node 22.23,
test/first-load-size.mjs):/auto108.939 → 109.239 KB (0.300 KB), the main entry 100.672 → 100.964 KB (0.292 KB).test/bundle.test.tslimits raised by 0.3 KB each (109.3 / 101.0 KB), owner OK 2026-11-12; RESULTS.md §14 row added.Tests
Runtime: typecheck clean, build, 1273 passed / 14 skipped (model parity) with
--exclude test/browser/** --exclude test/review-perf.test.ts; two new tests intest/telemetry.test.ts. No review test edited.Not in this PR: a runtime release (version bump and the
v*tag) and a genclass CLI release that installs it; both wait for the owner.🤖 Generated with Claude Code