feat: auto-notify user on paired task completion with @mention

- done →  작업 완료
- escalated → ⚠️ 자동 해결 불가
- arbiter_escalated → ⚠️ 중재자: 사람 개입 필요
- stopped → no notification (user initiated)
This commit is contained in:
Eyejoker
2026-03-31 04:29:24 +09:00
parent 60408cc1fa
commit 7085711a7f
2 changed files with 29 additions and 1 deletions

View File

@@ -48,7 +48,11 @@ vi.mock('./platform-prompts.js', () => ({
vi.mock('./db.js', () => ({
createServiceHandoff: vi.fn(),
getAllTasks: vi.fn(() => []),
getLastHumanMessageSender: vi.fn(() => null),
getLatestOpenPairedTaskForChat: vi.fn(() => undefined),
getLatestTurnNumber: vi.fn(() => 0),
getPairedTaskById: vi.fn(() => undefined),
insertPairedTurnOutput: vi.fn(),
}));
vi.mock('./service-routing.js', () => ({