Files
jason.woltjeandClaude Sonnet 5.5 1d8aabd3cc researcher: row 140 round 2 packet, staff-request tests judge sender and launcher by definition, rebased onto 02ee7f640 (#1634)
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]>
2026-10-15 18:57:47 -05:00

12 lines
704 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:45.501853724 -0500
@@ -1378,7 +1378,7 @@
for (const r of a.roles) {
keys(r, ['role', 'count'], ['role', 'count']);
identifier(r.role);
- if (!Number.isInteger(r.count) || r.count < 1 || r.count > STAFF_COUNT) fail('invalid-request');
+ if (r.count < 1 || r.count > STAFF_COUNT) fail('invalid-request');
}
if (new Set(a.roles.map((r) => r.role)).size !== a.roles.length) fail('invalid-request');
if (a.note !== undefined) string(a.note, 16384);