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): plan steps are recognised by their group task id when skipping the check card

leen.zhoua27468d4b249
diff --git a/packages/brain/src/runtime/checks/auto-check-run.ts b/packages/brain/src/runtime/checks/auto-check-run.ts
index 4b765de..fa6ed85 100644
--- a/packages/brain/src/runtime/checks/auto-check-run.ts
+++ b/packages/brain/src/runtime/checks/auto-check-run.ts
@@ -104,9 +104,10 @@ export class AutoCheckRun {
let commands = this.service.folders.get(folder.key);
if (commands === null) {
// 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
+ // watches during a plan, so the step sat out the whole wait. Plan dispatch carries the group
+ // task id (`taskId`), not `executionTaskId` (see taskSession in chat-run.ts). 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)) {
+ if (!allowProposal || (context.groupId && (context.taskId || context.executionTaskId))) {
this.halted = true;
return result;
}