Files
jason.woltjeandClaude Sonnet 5.5 d10a1a4677 researcher: row 140 packet, the pm asks the chief of staff for staff and the chief launches within limits (#1634)
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]>
2026-10-15 18:05:45 -05:00

36 lines
1.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
✔ REQ-COS-1: the pm asks the chief of staff for roles and counts; the chief receives a STAFF-REQUEST and answers it (22.165572ms)
✔ REQ-COS-1: only the pm can send a staff request; every other session is refused and the chief of staff hears nothing (22.794927ms)
✔ REQ-COS-1: a pm without message.send is refused like any other gated action (10.348677ms)
✔ REQ-COS-1: the request goes to the business launcher, and only when that is a chief of staff (26.026564ms)
✔ REQ-ASSIST-2: the role definitions' messaging lists hold for a staff request, sender and recipient (37.815926ms)
✖ a staff request names a task, 1 to 10 distinct roles and counts of 1 to 20; nothing else is accepted (19.479802ms)
✔ REQ-COS-1: a staff request grants nothing: the pm still can't launch and the chief of staff launches as before (13.813816ms)
ℹ tests 7
ℹ suites 0
ℹ pass 6
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 209.102287
✖ failing tests:
test at packages/bus/tests/staff-request.test.mjs:146:1
✖ a staff request names a task, 1 to 10 distinct roles and counts of 1 to 20; nothing else is accepted (19.479802ms)
AssertionError [ERR_ASSERTION]: Missing expected exception: {"task_ref":"vikunja:1/2","roles":[{"role":"coder","count":1.5}]}
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q140b/packages/bus/tests/staff-request.test.mjs:170:34)
at Test.runInAsyncScope (node:async_hooks:226:14)
at Test.run (node:internal/test_runner/test:1402:25)
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
at Test.postRun (node:internal/test_runner/test:1542:19)
at Test.run (node:internal/test_runner/test:1467:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: /invalid-request/,
operator: 'throws',
diff: 'simple'
}