You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2026. It is now read-only.
Start a standalone pi session in a repository where Overstory has previously spawned an
agent.
Ensure the agent role in the generated .pi/extensions/overstory-guard.ts is set to a
read-only role (e.g., coordinator).
Attempt to run a write tool (edit, write) or a restricted bash command (echo >, mv).
Expected behavior
The guard should only apply to agents running inside an Overstory-managed worktree (e.g., .overstory/worktrees/...). Standalone sessions in the repository root should remain unblocked.
Actual behavior
The guard intercepts all tool_call events for the pi agent because it is placed in the
project-wide .pi/extensions/ directory, causing persistent "coordinator agents cannot modify
files" errors in standalone sessions.
Steps to reproduce
agent.
read-only role (e.g., coordinator).
Expected behavior
The guard should only apply to agents running inside an Overstory-managed worktree (e.g.,
.overstory/worktrees/...). Standalone sessions in the repository root should remain unblocked.Actual behavior
The guard intercepts all tool_call events for the pi agent because it is placed in the
project-wide
.pi/extensions/directory, causing persistent "coordinator agents cannot modifyfiles" errors in standalone sessions.
overstory version
0.9.1
Bun version
1.3.10
Operating system
Linux (CachyOS/Arch, Kernel 6.19.7)