Repository navigation
Subagent options for spawn, so it covers what a separate subagent extension used to do.
- Roles.
scout,implementer,reviewerandelderpresets set the model, thinking level and tools. You can override them withrolesin the profile config. memory: false. The subagent starts without the memory view, which is useful for reviewers that should judge the code on its own.tools: "readonly". Only read, grep, find, ls and bash are available, plus the OptChat tools. Bash runs inside a write-denying sandbox (sandbox-execon macOS,bwrapon Linux). If no sandbox is available, bash is left out. Network access is still allowed.isolation: "worktree". The subagent works in its own git worktree onoptchat/<id>. Its work is committed when it finishes, and the branch is kept only if it has commits. The worktree is left alone if HEAD is detached or a rebase or merge is in progress.
Install: pi install git:github.com/biowaffeln/pi-optchat@v0.11.0