Files
Agent-Workbench/docs/controlled-engine-worker-first-spec-log.txt

60 lines
3.7 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.
✔ controlled installation pins the native kernel and bridge independently of the existing connection-probe identity (870.6639ms)
✔ controlled profiles disable every native project/terminal provider and native model/retry route using the actual include patch contract (0.5375ms)
✔ owned tool catalogues seal full schemas canonically and reject duplicate or malformed declarations (5.2037ms)
✔ bridge authentication, current Run, process, SDK session and browser-origin checks reject before dispatch (639.515ms)
✔ bridge duplicates, unknown tools, malformed arguments and source changes are refused before a second side effect (675.3767ms)
✔ bridge model requests bind the exact catalogue, route and output bound and preserve raw request/result identity (629.76ms)
✔ stopped and oversized bridge requests never reach a local model or tool callback (713.8051ms)
✔ native text and call IDs preserve original result pairing while unsupported content fails closed (0.8087ms)
✔ one engine child freezes real installation identity before creating tasks and rejects a changed source (6165.6107ms)
✖ owned native tools return saved results, use real approvals/checks and account each actual request once across new engine Runs (17171.0179ms)
✖ forged native scope cannot change a parent file and a final completion claim cannot replace worker proof (8831.888ms)
✔ duplicate native IDs are rejected without replaying a saved tool (8616.6411ms)
✔ native input exceeding the context budget is retained and sends no model request (7015.7346ms)
✔ stop retains a late reported model usage once and executes no tool from that output (7397.2983ms)
✔ a source change after the original model intent stops before native tools execute (7301.4165ms)
✔ missing or noncompleted turn end cannot be adopted even with an owned receipt and assistant text (0.6823ms)
✔ closed root with an original live descendant remains unknown and retains its process tree (0.3306ms)
ℹ tests 17
ℹ suites 0
ℹ pass 15
ℹ fail 2
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 66242.3459
✖ failing tests:
test at tests\engine-worker.test.mjs:41:1
✖ owned native tools return saved results, use real approvals/checks and account each actual request once across new engine Runs (17171.0179ms)
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert.ok(context.requests.some(request => request.messages.some(message => message.role === 'tool' && JSON.parse(message.content).status === 'passed')))
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/engine-worker.test.mjs:63:10)
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: false,
expected: true,
operator: '==',
diff: 'simple'
}
test at tests\engine-worker.test.mjs:68:1
✖ forged native scope cannot change a parent file and a final completion claim cannot replace worker proof (8831.888ms)
AssertionError [ERR_ASSERTION]: The "string" argument must be of type string. Received type undefined (undefined)
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/engine-worker.test.mjs:76:78)
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: undefined,
expected: /范围/,
operator: 'match',
diff: 'simple'
}