69 lines
5.0 KiB
Plaintext
69 lines
5.0 KiB
Plaintext
✔ input that fits the engine window but exceeds remaining credit diagnoses the credit limit (0.4841ms)
|
||
✔ window overflow and historical pauses retain distinct and honest diagnoses (0.0826ms)
|
||
✔ batch APIs enforce ownership and review fingerprints, apply once, and persist the completed batch across restart (10477.3994ms)
|
||
✔ delivery reports bind actual batch identity and reject corrupted snapshot evidence without changing project files (7468.871ms)
|
||
✖ a compatible model can seal proposals through the real HTTP loop while application stays behind user review (11227.3288ms)
|
||
✖ a sealed batch at the step limit hands off and continues the same Task into actual checks without replaying saved tools (33311.8808ms)
|
||
✔ applied batches cannot turn cancellation, other budgets, restart or unknown commands into a review continuation (3676.7642ms)
|
||
warning: in the working copy of 'README.md', LF will be replaced by CRLF the next time Git touches it
|
||
warning: in the working copy of 'src/two.mjs', LF will be replaced by CRLF the next time Git touches it
|
||
✔ sealed batches preserve bytes until review, then apply and explicitly restore BOM/CRLF/new files (5577.3002ms)
|
||
Switched to a new branch 'owner-branch'
|
||
✔ a conflict in the last file or Git branch prevents writing every file in the batch (4923.5528ms)
|
||
✔ duplicate canonical paths, ancestor collisions, links, dependencies and Windows aliases never form a batch (2688.2753ms)
|
||
✔ fingerprints, changed proposals and corrupt snapshot artifacts cannot write or restore any target (4060.515ms)
|
||
✔ a failure after replacement restores only batch bytes and never retries an old application (3174.7804ms)
|
||
✔ rollback preserves owner edits, blocks other project writers, and explicit acknowledgement releases recovery (2638.6914ms)
|
||
✔ an unattempted owner-created file identical to a suggestion remains external and is never removed (2533.6339ms)
|
||
✔ active batch requests are serialized and cancellation leaves a verifiable ended batch (2071.9668ms)
|
||
✔ batch application and rollback preserve unrelated Git index and worktree bytes (4692.8647ms)
|
||
✔ recovery reuses exact staged bytes but retains a conflicting temporary file for owner inspection (3178.6308ms)
|
||
✔ one Task can seal pending proposals from earlier Runs while snapshots retain each source Run (2714.9003ms)
|
||
✔ a stop from the event loop interrupts immediate model replies before later tools (4451.7161ms)
|
||
✔ a stop after the first tool preserves a complete interrupted multi-call protocol group (3357.7394ms)
|
||
✔ the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands (10108.7927ms)
|
||
✔ denial prevents command execution and produces a paired denied result (3149.9767ms)
|
||
✔ stopping during approval interrupts pending calls without executing or replaying them (2196.6602ms)
|
||
✔ stopping a running fixture command terminates its own process tree and retains uncertain state (2976.6ms)
|
||
✔ command output decodes split UTF-8 and excludes the workbench key from child environment (1243.4248ms)
|
||
✔ model-list testing uses a tentative key without changing the saved connection and redacts service errors (7.3075ms)
|
||
✔ truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities (3860.5172ms)
|
||
✔ request projection keeps exact tool pairs and complete recent user instructions while preserving disk history (2350.0765ms)
|
||
ℹ tests 28
|
||
ℹ suites 0
|
||
ℹ pass 26
|
||
ℹ fail 2
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 66415.5375
|
||
|
||
✖ failing tests:
|
||
|
||
test at tests\change-set-api.test.mjs:46:1
|
||
✖ a compatible model can seal proposals through the real HTTP loop while application stays behind user review (11227.3288ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
||
|
||
3 !== 2
|
||
|
||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/change-set-api.test.mjs:70:10)
|
||
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: 3,
|
||
expected: 2,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at tests\change-set-api.test.mjs:75:1
|
||
✖ a sealed batch at the step limit hands off and continues the same Task into actual checks without replaying saved tools (33311.8808ms)
|
||
Error: Timed out waiting for test state.
|
||
at until (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:39:38)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/change-set-api.test.mjs:99:3)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|