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
718 B
Diff
12 lines
718 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:46.798871072 -0500
|
|
@@ -1373,7 +1373,7 @@
|
|
// is the only way to write one.
|
|
case 'staff.request': {
|
|
keys(a, ['task_ref', 'roles', 'note', 'decision'], ['task_ref', 'roles']);
|
|
- if (!taskRef(a.task_ref) || !Array.isArray(a.roles) || a.roles.length < 1 || a.roles.length > STAFF_ROLES)
|
|
+ if (!Array.isArray(a.roles) || a.roles.length < 1 || a.roles.length > STAFF_ROLES)
|
|
fail('invalid-request');
|
|
for (const r of a.roles) {
|
|
keys(r, ['role', 'count'], ['role', 'count']);
|