Repository navigation
Closed
Labels
Description
This was generated by AI during a grill-with-docs session.
Parent
What to build
Enclose Custom runner Trials in one multi-provider sandbox with Trials-only provider API keys, Harness web-search wrappers, and Grader panel family integration (#1468 Q1.4, Q2.3, Q2.4; ADR 0028, ADR 0032).
- Declared Harnesses and direct-SDK providers: extend the Custom runner manifest with
harnesses(pinned by real binary path and--versionduring Arm preparation, plus<provider>/<model>or alias entries when OpenCode or Kimi is listed so provider hosts are known before the first Trial) and direct-SDKproviders(anthropic,openai,xai,meta,google,fireworks-ai,baseten,kimi). - Trials-only
[providers]keys in Credentials: add a[providers]section to Credentials holding direct-SDK API keys reserved for Trials. When any declared Harness login or declared[providers]key is missing on the host, record the Trial as a Void Trial (session_unavailable). - Single Trial-wide
bwrapsandbox andHTTPS_PROXY: enclose the Custom runner and every child process it spawns inside onebwrapsandbox within the Trial'ssystemd-runmemory scope (preservingTHIRDSHIFT_TRIAL_NO_SANDBOXas the test/emergency escape). Populate freshHOMEwith only the frozen mapped files, logins for declaredharnesses(acquiring the Grok serialization lock whengrokis declared, and building a multi-provider OpenCode configuration withwebfetch/websearchdenied whenopencodeis declared), and[providers]keys for declaredproviders. Run one allowlistingHTTPS_PROXYpermitting only the union of declared Harnesses' and providers' API hosts while blocking GitHub, general web hosts, and unbound host paths. PATHwrappers disabling provider-hosted web search: place thin executable wrappers ahead of pinned Harness binaries onPATHinside the sandbox so invoking a declared Harness prepends its Trial no-web-search switch without altering stdin, stdout, stderr, or exit codes.- Grader panel Arm families: union the provider families of every declared Harness and direct-SDK provider on a Custom-runner Arm into the Grader panel's Arm families so same-family panel seats withhold votes while another family is available and stand-in family breadth is checked before Trials start.
Acceptance criteria
-
prepare-armspins declaredharnessesby real path and--versionand validates declaredprovidersand OpenCode/Kimi provider host mappings. - Inside the Trial sandbox, only declared Harness logins and declared
[providers]Credentials keys are present; ambient host environment variables, undeclared logins/keys, unbound host paths, and undeclared network hosts are unreachable, and a missing login or[providers]key produces asession_unavailableVoid Trial. - Invoking a declared Harness binary by name inside a Custom runner automatically receives its no-web-search CLI switch while preserving stdin, stdout, stderr, and exit code.
- A Grader panel seat from a family declared in a Custom runner's
harnessesorprovidersis treated as an Arm family under the Bar'sarm_family_ruleand stand-in family check.
Activity
JacobStephens2 commentedon Nov 14, 2026
Closed by #2205, merged into issue-1468 by a thirdshift Ticket run with Self-merge.