[object Object]

← back to Cli Printing Press

docs: prevent concurrent worktree build collisions

f6f635990c63e589cbde3b7510ea98bc7cda716f · 2026-03-27 13:25:58 -0700 · Trevin Chow

Agents in parallel worktrees were all building to /tmp/printing-press-review,
stomping on each other. Added explicit CLAUDE.md guidance to always use
relative paths for build output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit f6f635990c63e589cbde3b7510ea98bc7cda716f
Author: Trevin Chow <trevin@trevinchow.com>
Date:   Fri Mar 27 13:25:58 2026 -0700

    docs: prevent concurrent worktree build collisions
    
    Agents in parallel worktrees were all building to /tmp/printing-press-review,
    stomping on each other. Added explicit CLAUDE.md guidance to always use
    relative paths for build output.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---
 CLAUDE.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CLAUDE.md b/CLAUDE.md
index 266f6479..0ff67fb7 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -7,6 +7,8 @@ go build -o ./printing-press ./cmd/printing-press
 go test ./...
 ```
 
+**IMPORTANT: Always use relative paths for build output.** Never build to `/tmp` or any shared absolute path. Multiple worktrees run concurrently and will stomp on each other. Use `./printing-press` exactly as shown above.
+
 ## Project Structure
 
 - `cmd/printing-press/` - CLI entry point

← 633eefc3 feat(cli): add Example fields to all Cobra commands  ·  back to Cli Printing Press  ·  docs: split CLAUDE.md into AGENTS.md for Codex compatibility df0474e8 →