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]>
12 lines
718 B
Diff
12 lines
718 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:20.891745093 -0500
|
|
@@ -1389,7 +1389,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']);
|