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]>
88 lines
3.6 KiB
Plaintext
88 lines
3.6 KiB
Plaintext
✔ the role file loads and resolves through loadBusiness (3.899432ms)
|
||
✖ the shipped file is exactly decision 104's list (1.304607ms)
|
||
✖ the resolved record matches decision 104, so a widened file fails (1.20563ms)
|
||
✔ message.send is within role and every other action is gated (0.943252ms)
|
||
✔ a business grant of a gated action through limits does not widen the role (0.924543ms)
|
||
✔ a launch block whose by is the chief-of-staff instance is refused (1.227585ms)
|
||
✔ the instance takes no credential references and no tracker (1.605778ms)
|
||
ℹ tests 7
|
||
ℹ suites 0
|
||
ℹ pass 5
|
||
ℹ fail 2
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 62.820095
|
||
|
||
✖ failing tests:
|
||
|
||
test at packages/business/tests/chief-of-staff.test.mjs:65:1
|
||
✖ the shipped file is exactly decision 104's list (1.304607ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
... Skipped lines
|
||
|
||
{
|
||
authority: {
|
||
crossRole: [],
|
||
withinRole: [
|
||
'message.send'
|
||
...
|
||
'read',
|
||
+ 'write',
|
||
'grep',
|
||
'find',
|
||
'ls'
|
||
]
|
||
}
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/src/mosaic-stack/.claude/worktrees/agent-a1044a9b545fa3a36/packages/business/tests/chief-of-staff.test.mjs:69: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 startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: { roleVersion: 2, name: 'chief-of-staff', contract: 'chief-of-staff.md', tools: [ 'read', 'write', 'grep', 'find', 'ls' ], network: 'api-only', authority: { withinRole: [Array], crossRole: [] }, credentials: [] },
|
||
expected: { roleVersion: 2, name: 'chief-of-staff', contract: 'chief-of-staff.md', tools: [ 'read', 'grep', 'find', 'ls' ], network: 'api-only', authority: { withinRole: [Array], crossRole: [] }, credentials: [] },
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at packages/business/tests/chief-of-staff.test.mjs:77:1
|
||
✖ the resolved record matches decision 104, so a widened file fails (1.20563ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
... Skipped lines
|
||
|
||
{
|
||
authority: {
|
||
crossRole: [],
|
||
withinRole: [
|
||
'message.send'
|
||
...
|
||
'read',
|
||
+ 'write',
|
||
'grep',
|
||
'find',
|
||
'ls'
|
||
]
|
||
}
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/src/mosaic-stack/.claude/worktrees/agent-a1044a9b545fa3a36/packages/business/tests/chief-of-staff.test.mjs:79: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: { tools: [ 'read', 'write', 'grep', 'find', 'ls' ], network: 'api-only', authority: { withinRole: [Array], crossRole: [] } },
|
||
expected: { tools: [ 'read', 'grep', 'find', 'ls' ], network: 'api-only', authority: { withinRole: [Array], crossRole: [] } },
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|