Repository navigation
feat(benchmark): shipped recipe declares targeting params + dispatch threads real targeting (#433 dispatch slice) - #2307
Merged
Conversation
…tch threads the run's REAL targeting onto the binding (#433 dispatch slice) The last #433 slice. The shipped benchmark/hard-rs recipe now declares the catalog's targeting set as param DATA — suite ("hard-rs", its namesake), instances ([]), team ([]), budget ("4h") — and benchmark dispatch stops passing an empty map: the binding now carries suite = the resolved spec's name, instances = the caller's explicit selection (omitted when none, so the declared default rides), team = the resolved roster names. budget stays at the declared default until a caller-facing knob exists. Every run room is now SELF-DESCRIBING through the wall binding: a citizen, a renderer, or a grader reads WHAT this run targets from the same pipe as everything else — no side-channel run files (BENCHMARKS-ARE-ADAPTERS law). Test pins the seam neither side's unit tests could see alone: the shipped recipe declares all four catalog params AND dispatch's exact map shape (string/array/array) type-checks against the decls, with unset budget riding its default onto the binding. 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.
What
The last #433 slice — closes the gap #2306 left open ("threading the run's REAL targeting through dispatch is the remaining slice").
benchmark.json(shipped recipe) declares the catalog's targeting set as param data:suite(default"hard-rs", the recipe's namesake),instances([]= suite order),team([]= whole live roster),budget("4h").commands/benchmark.rs) stops passing an empty map: the run room's binding now carriessuite= the resolved spec's name,instances= the caller's explicit selection (omitted when none so the declared default rides),team= the resolved roster names.budgetstays at the declared default until a caller-facing knob exists.Test
One test pinning the cross-file seam neither side's unit tests could see alone: the shipped recipe declares all four catalog params, and dispatch's exact map shape (
string/array/array) type-checks against the decls — with unsetbudgetriding its default onto the binding. If a decl's default ever changed JSON type, every run-room spawn would refuse at the #2306 type gate; this test says why before it ships.Validation
cargo check -p continuum-core --features metal,acceleratecleancargo test --lib(activity + experience + benchmark): 102 passed🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo