Files
stack/agents/researcher/work/queue-140/r3/mutants/m6-thread-send-class.patch
jason.woltjeandClaude Sonnet 5.5 dfe7df1cac researcher: row 140 round 3 packet, candidate rebased onto d8487b3af after row 136 (#1634)
No behavior of mine changed. Round 2's patch applies to d8487b3af with no
conflict; only broker.mjs and bus/README.md blobs differ, from row 136's
edits. 66 of 66 bus, harness and cli test files pass singly; 25 of 25
mutants killed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-15 19:14:15 -05:00

12 lines
879 B
Diff

--- /mnt/storage/scratch/researcher/q140r3-out/mutants-run/.bak.Hs8MKR/packages/bus/src/broker.mjs 2026-10-15 19:13:16.979776400 -0500
+++ packages/bus/src/broker.mjs 2026-10-15 19:13:18.605716002 -0500
@@ -1731,7 +1731,7 @@
// Row 120's lists hold here as on message.send: the instance must hear from the human.
this.#checkMessaging(s.business, this.#sender(s), t.instance);
string(a.body, 32768);
- if (a.class !== undefined && !['REQUEST', 'INFO', 'REACTION'].includes(a.class)) fail('invalid-class');
+ if (a.class !== undefined && !['REQUEST', 'INFO', 'REACTION', 'STAFF-REQUEST'].includes(a.class)) fail('invalid-class');
const mid = randomUUID();
this.#store.run(
'INSERT INTO messages(id,at,business,from_role,from_run,to_role,class,in_reply_to,decision,corrects,body) VALUES(?,?,?,?,?,?,?,?,?,?,?)',