Files
jason.woltjeandClaude Sonnet 5.5 d10a1a4677 researcher: row 140 packet, the pm asks the chief of staff for staff and the chief launches within limits (#1634)
Candidate on dda7e31b0: staff.request verb (pm only, STAFF-REQUEST class no other writer can produce),
request_staff pm tool and prompt line, pm and chief-of-staff contract text, 7 bus tests, tools and bundle
tests, one launcher end-to-end test. 21/21 mutants killed; node suites and all ten scripts/test-*.sh green.
Packet only; the candidate itself is row140.patch and is not applied to the tree. Nothing pushed.

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

12 lines
815 B
Diff

--- /mnt/storage/scratch/researcher/q140-mut/.bak.YpUJeA/packages/bus/src/broker.mjs 2026-10-15 17:58:50.557250060 -0500
+++ packages/bus/src/broker.mjs 2026-10-15 17:58:54.528782907 -0500
@@ -1385,7 +1385,7 @@
{ decision: withinRole ? null : (a.decision ?? null), target: chief ?? null },
// Not task_ref: an action event with that key must be filed under the task, and this one is
// filed under the chief of staff it was sent to.
- { operation: 'staff.request', staff_for: a.task_ref, roles: a.roles },
+ { operation: 'staff.request', staff_for: null, roles: a.roles },
);
if (b.roles[s.role]?.definition !== STAFF_FROM) fail('staff-request-refused');
if (!chief || b.roles[chief]?.definition !== STAFF_TO) fail('no-chief-of-staff');