(name: string)
| 24 | const sourceRoot = fileURLToPath(new URL("../../..", import.meta.url)); |
| 25 | |
| 26 | function required(name: string): string { |
| 27 | const value = process.env[name]; |
| 28 | if (!value?.trim()) throw new Error(`${name} must be supplied explicitly`); |
| 29 | return value; |
| 30 | } |
| 31 | |
| 32 | /** The agent's working budget: a development override, the stimulus constraint, or the whole trial timeout. */ |
| 33 | export function effectiveAgentBudget( |