Haiku subagent build under decision 129. Candidate manifest f72730de names roles/chief-of-staff.json and .md, the business README and packages/business/tests/chief-of-staff.test.mjs. Gate and mutants ran in Sage's slot. Co-Authored-By: Claude Opus 5.5 <[email protected]>
46 lines
1.8 KiB
Plaintext
46 lines
1.8 KiB
Plaintext
✔ the role file loads and resolves through loadBusiness (4.25175ms)
|
||
✔ the shipped file is exactly decision 104's list (0.541146ms)
|
||
✔ the resolved record matches decision 104, so a widened file fails (1.411464ms)
|
||
✔ message.send is within role and every other action is gated (1.024557ms)
|
||
✖ a business grant of a gated action through limits does not widen the role (1.819517ms)
|
||
✔ a launch block whose by is the chief-of-staff instance is refused (1.314522ms)
|
||
✔ the instance takes no credential references and no tracker (1.735865ms)
|
||
ℹ tests 7
|
||
ℹ suites 0
|
||
ℹ pass 6
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 67.477903
|
||
|
||
✖ failing tests:
|
||
|
||
test at packages/business/tests/chief-of-staff.test.mjs:97:1
|
||
✖ a business grant of a gated action through limits does not widen the role (1.819517ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
{
|
||
crossRole: [],
|
||
withinRole: [
|
||
'message.send',
|
||
+ 'task.create'
|
||
]
|
||
}
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/src/mosaic-stack/.claude/worktrees/agent-a1044a9b545fa3a36/packages/business/tests/chief-of-staff.test.mjs:105:10)
|
||
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: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: { withinRole: [ 'message.send', 'task.create' ], crossRole: [] },
|
||
expected: { withinRole: [ 'message.send' ], crossRole: [] },
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|