Skip to content

feat(academy): benchmark rooms render — purpose→family resolution + real rail dispatch (#431) - #2369

Merged
joelteply merged 2 commits into
canaryfrom
feat/academy-room-render
Aug 22, 2026
Merged

joelteply merged 2 commits into
canaryfrom
feat/academy-room-render

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

First slice of "finish the academy widgets and positronic activities" (Joel, 2026-08-22), from the full gap inventory:

The defect: every dispatched benchmark round's room was unrenderable — recipes publish hierarchical purposes (benchmark/hard-rs), the content registry keys render families (bench), nothing resolved between them. 3 of 4 shipped recipes painted Interface error rendering this room.

  • contentFamilyOf (patterns): one resolver, alias table by first path segment; unknown purposes pass through unchanged — fail-loud preserved.
  • chatWorkspace builds a real bench content view for benchmark-family rooms (frame-first before the feed delivers) and routes video-chat to the live face.
  • The right rail's context widgets now dispatch through webWidgetRegistry (bench registered as a kind) instead of a hardcoded kind === 'bench' that silently blanked all other kinds — unblocks the exam-room rail widgets as data.
  • Boy-scout: pre-existing non-null assertion; pre-existing tui typecheck red (fixture lacked now-required transcript).

Validation: all client suites green (207 tests + patterns 7), typecheck:clients 0 errors, lint net-zero vs canary (68 pre-existing both sides).

Next slices (separate PRs): round lifecycle onto BenchViewState (real scoreboard region), foundry source spawn, region-driven placement.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…he rail's real dispatch table (#431)

Every room the benchmark dispatcher spawned painted 'Interface error
rendering this room': recipes bind hierarchical purposes (benchmark/hard-rs)
while the content registry keys families (bench), and nothing resolved
between them — 3 of 4 shipped recipes were unrenderable in the browser.

- contentFamilyOf (patterns): the ONE resolver, first-segment alias table
  (benchmark/* → bench, video-chat → live, profile → persona); unknown
  purposes pass through UNCHANGED so the registry stays the fail-loud
  authority. Long-term this collapses into recipe-manifest data.
- chatWorkspace: a benchmark-family room now renders the bench board
  (frame-first before the feed, same contract as arena/serving); video-chat
  rooms reach the live face.
- Right rail: context widgets dispatch through webWidgetRegistry ('bench'
  registered) instead of a hardcoded kind check that silently blanked every
  other widget — the seam that let the exam room's rail widgets be data.
- Boy-scout: pre-existing non-null assertion in the context block; tui spec
  fixture missing the now-required transcript field (pre-existing red).

Specs: family resolution pinned per shipped recipe; bench-room dispatch +
fail-loud passthrough pinned in chat-view (rides CI). All client suites
green, typecheck 0, lint net-zero (68 pre-existing before and after).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply enabled auto-merge (squash) August 22, 2026 20:48
…renders the tracker's truth, and citizens read the same board (#371)

BenchViewState gains rounds: the round tracker's own in-flight snapshots
(reboot-durable, sorted), folded by the emitter beside the run rows. Before
this the client COUNTED run rows to fake a 'round scoreboard' and the round
lifecycle was command-poll only — invisible to every widget and every mind.

- BenchRoundRow on the wire (serde default: pre-rounds wires fold to the
  honest empty), lossless snapshot→row fold in the emitter, store-on-change
  comparison includes rounds.
- renderBench: round rows (suite · stage · settled/dispatched · settle bar ·
  citizen/detached driver tag) render even on an empty-runs board — a
  freshly staged round showing 'nothing here' is launch-and-pray blindness.
- Positronic parity: ViewStateRagSource<BenchViewState> units() now leads
  with round lines, so a citizen's perception carries the SAME scoreboard
  the human screen renders (the acceptance test of
  BENCHMARKS-ARE-ADAPTERS).
- BenchRoundRow declared in the SDK's vendored set + barrels; BenchRoundVM
  in patterns; fold in benchProjections (adapt, never recompute).

Validation: cargo check + targeted tests green (both crates), all client
suites green (208), typecheck 0, vendor:views:check in sync.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@github-actions github-actions Bot added size: L and removed size: M labels Aug 22, 2026
@joelteply
joelteply merged commit 8b704ca into canary Aug 22, 2026
5 checks passed
@joelteply
joelteply deleted the feat/academy-room-render branch August 22, 2026 21:07
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