Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

fix(checks): a group plan step does not wait five minutes for a check-command card

leen.zhouc7d3a5aac1bf
diff --git a/packages/brain/src/runtime/checks/auto-check-run.ts b/packages/brain/src/runtime/checks/auto-check-run.ts
index 735acb3..4b765de 100644
--- a/packages/brain/src/runtime/checks/auto-check-run.ts
+++ b/packages/brain/src/runtime/checks/auto-check-run.ts
@@ -103,7 +103,10 @@ export class AutoCheckRun {
const folder = this.service.folderOf(cwd, context.runWorkplace?.boundary.primaryId === "home");
let commands = this.service.folders.get(folder.key);
if (commands === null) {
- if (!allowProposal) {
+ // Retest 2026-11-21: a group step's proposal card lands in its task thread, which nobody
+ // watches during a plan, so the step sat out the whole wait. The plan's own checks verify
+ // the step; skipping the proposal ends the same way the unanswered card did.
+ if (!allowProposal || (context.groupId && context.executionTaskId)) {
this.halted = true;
return result;
}