The 600s timeout was a misguided workaround for serena MCP init. The actual
root cause is an opencode bug: zero stdout during its git check-ignore
indexing phase. Removing copyToWorktree since pnpm install in onSandboxReady
already handles node_modules via the mounted pnpm store.
export const AGENT_CRITIC_MODEL = 'github-copilot/gpt-5.4'
-export const AGENT_IDLE_TIMEOUT_S = 600
+export const AGENT_IDLE_TIMEOUT_S = 300
export const AGENT_ITERATION_BUDGET = 50
try {
await using sandbox = await sandcastle.createSandbox({
branch: spec.branch,
- copyToWorktree: ['node_modules'],
hooks: {
sandbox: { onSandboxReady: [{ command: 'pnpm install && pnpm run build' }] },
},