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]>
12 lines
829 B
Diff
12 lines
829 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:47.742883696 -0500
|
|
@@ -1390,7 +1390,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');
|