Files
jason.woltjeandClaude Sonnet 5.5 dfe7df1cac researcher: row 140 round 3 packet, candidate rebased onto d8487b3af after row 136 (#1634)
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]>
2026-10-15 19:14:15 -05:00

12 lines
704 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:19.579728397 -0500
@@ -1394,7 +1394,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);