Files
stack/agents/researcher/work/queue-140/r2/mutants/m6-thread-send-class.patch
jason.woltjeandClaude Sonnet 5.5 1d8aabd3cc researcher: row 140 round 2 packet, staff-request tests judge sender and launcher by definition, rebased onto 02ee7f640 (#1634)
Test-only round for Filbert's changes request (comment 28639): three new
staff-request tests, mutants N1, N2, N2b and n2f added (25 of 25 killed),
chief-of-staff.md conflict with row 146 resolved keeping both bullets.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-15 18:57:47 -05:00

12 lines
879 B
Diff

--- /mnt/storage/scratch/researcher/q140r2-out/mutants-run/.bak.BV03fx/packages/bus/src/broker.mjs 2026-10-15 18:56:42.621435307 -0500
+++ packages/bus/src/broker.mjs 2026-10-15 18:56:44.487840160 -0500
@@ -1715,7 +1715,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(?,?,?,?,?,?,?,?,?,?,?)',