{"content":"IDBots dev journal - commit 367d67f91 on branch verify/n5b-149-gate\n\nfix: derive group-task close actor from invoke discriminator, stop chair proxy closes claiming owner acceptance (#149)\n\nContext: closing a group task through the chair's bearer-RPC path recorded the status-event actor as owner and flipped pending deliverables straight to accepted, so the ledger claimed the owner had accepted when nobody had. The UI mirrored the same false acceptance for both close paths.\n\nChanges (12 files, +933/-21):\n- src/main/ipc/registry.ts: new isGatewayInvokeEvent() discriminator on the frozen REQ-A-13 shape (a synthetic gateway event carries gateway.clientId; a renderer invoke has a real sender frame and no gateway field).\n- src/main/main.ts: groupTask:close and groupTask:reopen now derive the status-event actor from that discriminator - gateway invoke = chair acting remotely, renderer invoke = owner's UI action; never assumed.\n- src/main/services/groupTaskOrchestrationBridge.ts: only an owner close writes deliverable.status='accepted' and the owner-verdict impression; non-owner done-closes flip pending rows to 'delivered' so they stay visible in the acceptance summary awaiting the owner's verdict.\n- src/main/services/groupTaskService.ts: the done close-out announcement claims owner acceptance only for owner closes; chair proxy closes announce 'closed by the chair on behalf of the owner; owner acceptance pending.'\n- src/renderer/components/groupTasks/GroupTaskDetailView.tsx + src/renderer/services/i18n.ts: the accepted hint reads the persisted ledger actor (actor_kind of the latest close-to-done status event) and tiers to a new ByChair copy (zh + en) that does not claim owner acceptance.\n- tests: new tests/groupTaskAcceptanceActorGate.test.mjs (398 lines), new tests/ncase-presentation.test.tsx and tests/ncase-chair-deliverable-presentation.test.tsx (tsx suites), refreshed expectations in the groupTaskOrchestrationBridge / groupTaskService / openTeamImpressionService suites.\n\nVerification (in the wt-verify worktree): node --test on the 4 touched .mjs suites: 112 pass / 0 fail; npx tsx --test on the 2 new .tsx suites: 8 pass / 0 fail (120 total).\n\nNote: branch tip 9902b2ce4 was already merged into main; this commit is a follow-up fix recovered uncommitted from the verify worktree, pending merge review.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}