Skip to content

feat(benchmark): shipped recipe declares targeting params + dispatch threads real targeting (#433 dispatch slice) - #2307

Merged
joelteply merged 1 commit into
canaryfrom
feat/433-benchmark-recipe-params
Aug 15, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/433-benchmark-recipe-params

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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").
  • Dispatch (commands/benchmark.rs) stops passing an empty map: the run room's 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, renderer, or grader reads what this run targets from the same pipe as everything else (BENCHMARKS-ARE-ADAPTERS law).

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 unset budget riding 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,accelerate clean
  • targeted cargo test --lib (activity + experience + benchmark): 102 passed
  • no ts-rs changes (data + call-site only)

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…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
@joelteply
joelteply merged commit c9f2a74 into canary Aug 15, 2026
5 checks passed
@joelteply
joelteply deleted the feat/433-benchmark-recipe-params branch August 15, 2026 00:01
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