Files
stack/agents/researcher/work/queue-142/mutants/m5-timeout-message.patch
jason.woltjeandClaude Sonnet 5.5 df5bbfb82a researcher: row 142 round 1 packet, mosaic talk prints only the reply to its own message (#1636)
Candidate on 8e2c5c2d0: 4 files, tree 91503e62b8.
6 of 6 mutants killed, 3 controls pass, cli suite and every scripts/test-*.sh green.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-15 17:44:23 -05:00

12 lines
860 B
Diff

--- /mnt/storage/src/mosaic-stack/agents/researcher/work/queue-142/mutants/.bak.JCMHo4/packages/cli/src/cli.mjs 2026-10-15 17:39:06.993302741 -0500
+++ packages/cli/src/cli.mjs 2026-10-15 17:39:22.240757824 -0500
@@ -251,7 +251,7 @@
if (m.in_reply_to === sent?.id) answered = true;
}
if (!follow && answered) return;
- if (!follow && Date.now() >= deadline) throw new CliError(`no reply from ${to} within ${wait} s; it may still come, and mosaic inbox shows it`, 1);
+ if (!follow && Date.now() >= deadline) throw new CliError(`no reply from ${to} within ${wait} s; it may still come, and the next mosaic talk shows it`, 1);
if (controller.signal.aborted) break;
await new Promise(resolve => {
const wake = () => { clearTimeout(timer); controller.signal.removeEventListener("abort", wake); resolve(); };