agents: Darkwing row 121 round 2 BUILD.md names the business chief-of-staff test change

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-15 13:54:21 -05:00
co-authored by Claude Opus 5.5
parent e3885f0334
commit 9d74161969
@@ -103,6 +103,7 @@ Sage accepted these in sage-0362. Filbert, please check them on purpose.
- **packages/bus/tests/decision-route.test.mjs (row 133).** The setup binds every role in a loop. The assistant now needs a thread, so the setup creates project `demo` and thread `main` as the human and binds the assistant with that thread. The business gains `projects: { stack: { root: '/nonexistent' } }`, which `project.create` needs. No assertion changed.
- **packages/bus/tests/chief-of-staff.test.mjs (row 123).** The same setup change. In "REQ-COS-1: the chief of staff cannot end its own run or the assistant's through role.end", the assert on the assistant's last `role_claims` row is replaced by one on `thread_claims`: `{ op: 'claim', holder_run: 'assistant-run', by: 'assistant-run' }`. A thread run's claim is in `thread_claims`, so the old query returned no row. The test still checks the refusal and that the claim is still held.
- **packages/business/tests/chief-of-staff.test.mjs.** A different file from the bus one above. The one assert on the loaded record's `launch` now expects `threadIdleSeconds: THREAD_IDLE_SECONDS` next to `launchDoc(INSTANCE)`, because `loadBusiness` fills in the default (REQ-THREAD-2). business.test.mjs has the same change to its fixture assert.
- **packages/bus/tests/comment-migration.test.mjs.** The version pins move from 3d to 3e, the registry test's fixture-only future version goes from 3e to 3f, and `3d-3e.sql` is copied with the other steps (Sage's note 28559).
- **packages/bus/tests/schema.test.mjs.** 14 tables and 63 triggers: row 123's 9 and 39 plus this row's 5 and 24.