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]>
12 lines
704 B
Diff
12 lines
704 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:53.733773229 -0500
|
|
@@ -1368,7 +1368,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']);
|