From 6eea549121b40ecfe98ca0f4a0f607a57d7ace85 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Fri, 12 Jun 2026 06:23:29 -0700 Subject: [PATCH] feat: eval:bg* use run-scoped logs + machine lock + watchdog Drop the shared /tmp/gstack-evals.log path (the cross-worktree collision that contaminated a live run) for gstack-detach's run-scoped default, and add the machine-wide gstack-evals lock (concurrent worktrees serialize, no API saturation) plus per-tier watchdog timeouts (60/90/120 min). Each eval:bg* prints its run-scoped log path to poll. Co-Authored-By: Claude Fable 5 --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e4bd636ed..a6ed96816 100644 --- a/package.json +++ b/package.json @@ -33,10 +33,10 @@ "skill:check": "bun run scripts/skill-check.ts", "dev:skill": "bun run scripts/dev-skill.ts", "start": "bun run browse/src/server.ts", - "eval:bg": "bin/gstack-detach /tmp/gstack-evals.log -- bun run test:evals", - "eval:bg:all": "bin/gstack-detach /tmp/gstack-evals.log -- bun run test:evals:all", - "eval:bg:gate": "bin/gstack-detach /tmp/gstack-evals.log -- bun run test:gate", - "eval:bg:periodic": "bin/gstack-detach /tmp/gstack-evals.log -- bun run test:periodic", + "eval:bg": "bin/gstack-detach --label evals --lock gstack-evals --timeout 5400 -- bun run test:evals", + "eval:bg:all": "bin/gstack-detach --label evals-all --lock gstack-evals --timeout 7200 -- bun run test:evals:all", + "eval:bg:gate": "bin/gstack-detach --label evals-gate --lock gstack-evals --timeout 3600 -- bun run test:gate", + "eval:bg:periodic": "bin/gstack-detach --label evals-periodic --lock gstack-evals --timeout 5400 -- bun run test:periodic", "eval:list": "bun run scripts/eval-list.ts", "eval:compare": "bun run scripts/eval-compare.ts", "eval:summary": "bun run scripts/eval-summary.ts",