Skip to content

Log two more task worktree misses and ask for plain Bash calls in a task worktree - #13

Merged
tom2drum merged 1 commit into
mainfrom
phase-1-log-heredoc-playwright
Nov 20, 2026
Merged

tom2drum merged 1 commit into
mainfrom
phase-1-log-heredoc-playwright

Conversation

@tom2drum

Copy link
Copy Markdown
Collaborator

The second day of the first product task run from home (blockscout/frontend#3882, phase 1) logged two more misses. This records them in phase-1-log.md and answers one of them in AGENTS.md.

  • In a task worktree every Bash call stays plain. The line added in Log the first product task's misses and add two rules for working in a task worktree #12 named only a loop, a script or a heredoc that contains git. The harness then refused a command with no git: three heredocs chained in one call. The refusal is Claude Code's worktree isolation check. Its docs say it cannot be turned off and do not list the command shapes it refuses, so the line now states what to do instead of what is refused: one command per call, no loop, script or heredoc, and files written with the Write and Edit tools.
  • The Playwright MCP refused a screenshot path in the session scratchpad. It writes only inside the workspace it was started in. Fixed in the child by Tell the implement-ticket skill where to save Playwright MCP screenshots frontend#3915: implement-ticket Step 4 names .playwright-mcp/ as the place. A shared in-repo folder for agent files was considered and dropped: the scratchpad already serves five skills, and the Playwright MCP is the only writer that cannot reach it.

Both rows, and the earlier row on the refused git commands, now say the miss is not specific to home.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@tom2drum
tom2drum merged commit fa0059c into main Nov 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant