Repository navigation
feat(academy): benchmark rooms render — purpose→family resolution + real rail dispatch (#431) - #2369
Merged
Merged
Conversation
…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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 paintedInterface error rendering this room.contentFamilyOf(patterns): one resolver, alias table by first path segment; unknown purposes pass through unchanged — fail-loud preserved.chatWorkspacebuilds a real bench content view for benchmark-family rooms (frame-first before the feed delivers) and routesvideo-chatto the live face.webWidgetRegistry(bench registered as a kind) instead of a hardcodedkind === 'bench'that silently blanked all other kinds — unblocks the exam-room rail widgets as data.transcript).Validation: all client suites green (207 tests + patterns 7),
typecheck:clients0 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