Files
Agent-Workbench/docs/workers-core-first.tap

56 lines
2.4 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.
✔ worker scopes and allocated budgets reject aliases, extra permissions and aggregate overflow (637.895ms)
✔ two sequential Git workspaces freeze a new parent goal, separate owned tasks and preserve all source bytes (8247.1926ms)
✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11356.0679ms)
✔ forged worker tools cannot execute terminal or Git even when absent from the advertised tool list (8663.1033ms)
✖ a completion-only model pauses each worker without fabricated changes or checks (8897.8571ms)
✔ restart retains frozen scope and marks interrupted parent and workers unknown without sending requests (8453.4236ms)
ℹ tests 6
ℹ suites 0
ℹ pass 4
ℹ fail 2
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 46372.7737
✖ failing tests:
test at tests\workers.test.mjs:45:1
✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11356.0679ms)
AssertionError [ERR_ASSERTION]: 子任务已停止或需要处理,已完成结果保留。
+ actual - expected
+ 'paused'
- 'ready_to_collect'
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:47:10)
at async Test.run (node:internal/test_runner/test:1409:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 'paused',
expected: 'ready_to_collect',
operator: 'strictEqual',
diff: 'simple'
}
test at tests\workers.test.mjs:75:1
✖ a completion-only model pauses each worker without fabricated changes or checks (8897.8571ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ null
- 'worker_incomplete'
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:80:110)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1409:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: null,
expected: 'worker_incomplete',
operator: 'strictEqual',
diff: 'simple'
}