Runs and the Done gate
Every piece of work on a task is a run. Poe has three kinds: a build, a review and a QA run.
Where a run works
Each run gets its own git worktree and branch in the worktrees folder of Poe. A review and a QA run start from the latest commit of the build. Your own working copy is not touched. A worktree with uncommitted changes is kept. Poe never forces its removal and never deletes a branch.
Evidence
When a run ends Poe records what it can read itself:
- the commit, and the lines added and removed per file
- the test result: passed, failed and skipped
- the verdict of a review, PASS or FAIL
- changed paths that deserve a second look
- places where a key or token appears in new lines. Poe stores the file, the line and the rule that matched, never the matched text.
A build that changed nothing fails. A QA run in which no test ran fails. A review or a QA run that changed files fails too. The card names the reason.
The Done gate
A task whose build has started reaches Done only when all of this holds:
- Another agent reviewed the latest commit of the branch on a cloud model, and the review passed.
- If the project has a test command: a QA run of that same commit passed.
- No run of the task is active and no decision is pending.
- The secret scan of the reviewed lines is clean, or you approved the finish yourself.
A move to Done that fails the gate is refused with the reason. When the branch moves after a review, Poe reviews again on its own, at most twice. Only you can move a task that never had a build to Done by hand.
Approvals
A run can end with a question for you. Approve finishes the task or starts the run the question names. Send back needs a note. Both work from the PC, the phone and the terminal.
Crashes
A run whose process dies is started again once, and you get an alert. Runs left over from a stopped server are ended at the next start.