fix: prevent ESCALATE → new task loop (only create tasks on human messages)

This commit is contained in:
Eyejoker
2026-03-31 04:58:26 +09:00
parent 2753849343
commit 636c54702a
3 changed files with 220 additions and 149 deletions

View File

@@ -174,6 +174,7 @@ describe('paired execution context', () => {
chatJid: 'dc:test',
runId: 'run-1',
roomRoleContext: ownerContext,
hasHumanMessage: true,
});
expect(db.upsertPairedProject).toHaveBeenCalled();