Capy opens the PR
Ask for a PR and the agent commits, pushes, and opens it with one tool. When its checkout sits on the branch the PR targets (main, master, develop, a release/* branch, or whatever base you configured), it mints a fresh capy/ branch at publish time, named from the PR title, and pushes there. Your main branch never carries agent work, even when the agent was editing a checkout of it directly.
What wakes the thread after opening
Once the PR exists, the thread will automatically wake up to certain events:- CI result: A failing check wakes the thread; it reads the failing job, fixes, re-pushes, and the rerun’s result comes back the same way. Passing checks arrive as one consolidated result once they all finish.
- Automatic Capy reviews: If auto-review is enabled for the repository, pushes get review rounds and the verdict lands in the thread that owns the PR; see PR reviews.
- Human feedback: Review comments and PR comments from people wake the thread; it triages the feedback and replies. Bot comments are ignored by default; your org’s feedback settings can allowlist specific bots.
- The merge: Merging wakes the thread so it can wrap up, and a thread you marked ready for review settles to idle on its own when a merge lands and no PR anywhere in its task tree is still open. Only a merge triggers the move to idle; a PR closed without merging doesn’t settle the thread by itself, but it doesn’t block a later merge from settling it either.