Commit Graph

4 Commits

Author SHA1 Message Date
Drew Ritter
602ba17888 fix(e2e): gate tmux ownership on creation success
Make the copyable recipe independent of ambient set -e behavior. A failed tmux new-session now reports the failure and exits while session_owned is still false; only a successful creation reaches the ownership assignment.

A real collision reproduced the prior snippet killing its sentinel after marking a failed creation as owned. The guarded version preserved the exact sentinel identity, and three refined fresh-agent runs again preserved IDs 17, 18, and 19 while cleaning only their fallback sessions.
2026-08-06 15:04:25 -07:00
Drew Ritter
b994fedcca fix(e2e): scope tmux cleanup to owned sessions
Replace deterministic shared tmux names and preemptive deletion with a readable run-unique name, an ownership bit set only after successful creation, and cleanup guarded by that ownership. A collision now fails closed: the runner chooses another unique name or reports failure and never reclassifies the existing session as stale.\n\nwriting-skills pressure evidence used three fresh subjects per arm with real sentinel sessions. RED was 0/3: every subject followed the old recipe by killing the pre-existing session, recreating the same name, and cleaning it again. GREEN was 3/3: every subject preserved the original session identity, created a distinct owned session, captured READY, and removed only the owned session. The controller independently verified original IDs $9, $10, and $11 before removing the disposable sentinels.
2026-08-06 14:57:57 -07:00
Jesse Vincent
caed843a72 fix(skills): restore interleaved sleeps in TUI form-fill recipe 2026-07-19 15:16:55 -07:00
Jesse Vincent
cb7b11ab2a feat(skills): add e2e browser and CLI/TUI driving recipes 2026-07-19 15:16:55 -07:00