TAP version 13 # Subtest: host challenge proof rejects a stale challenge, changed identity and changed signature ok 1 - host challenge proof rejects a stale challenge, changed identity and changed signature --- duration_ms: 1.2329 type: 'test' ... # Subtest: stop confirmation binds the original instance, creation and loaded runtime ok 2 - stop confirmation binds the original instance, creation and loaded runtime --- duration_ms: 0.1251 type: 'test' ... # Subtest: state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON ok 3 - state paths reject escaping, linked ancestors, ambiguous hardlinks and damaged JSON --- duration_ms: 1235.5945 type: 'test' ... # Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied not ok 4 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied --- duration_ms: 2624.3439 type: 'test' location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\desktop-host.test.mjs:40:1' failureType: 'testCodeFailure' error: '无法为本机秘密目录设置当前Windows用户权限。' code: 'HOST_DIRECTORY_UNPROTECTED' stack: |- hostError (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/shared/contracts/desktop-host.mjs:5:100) protectUserDirectory (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/process-identity.mjs:21:17) HostAuthority.initialize (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-authority.mjs:18:5) TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/desktop-host.test.mjs:46:13) Test.runInAsyncScope (node:async_hooks:227:14) Test.run (node:internal/test_runner/test:1402:25) Test.processPendingSubtests (node:internal/test_runner/test:974:18) Test.postRun (node:internal/test_runner/test:1542:19) Test.run (node:internal/test_runner/test:1467:12) async Test.processPendingSubtests (node:internal/test_runner/test:974:7) ... # Subtest: host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered ok 5 - host shutdown cancels an un-signalled HTTP model request and refuses later requests until recovered --- duration_ms: 2.5545 type: 'test' ... # Subtest: host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts ok 6 - host shutdown cancels model-pool acquisition and releases queue ownership without inventing attempts --- duration_ms: 1009.2534 type: 'test' ... # Subtest: a question about the previous workbench error receives local error context and current change states ok 7 - a question about the previous workbench error receives local error context and current change states --- duration_ms: 2355.5938 type: 'test' ... # Subtest: a transient model failure after an approved command retries only the model request ok 8 - a transient model failure after an approved command retries only the model request --- duration_ms: 2540.0191 type: 'test' ... # Subtest: exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay ok 9 - exhausted model retries preserve tool results, and explicit resume adds no new user turn or replay --- duration_ms: 3629.734 type: 'test' ... # Subtest: stopping during model backoff cancels further requests and clears the running request state ok 10 - stopping during model backoff cancels further requests and clears the running request state --- duration_ms: 1609.2816 type: 'test' ... # Subtest: HTTP authentication errors are classified, redacted and never automatically retried ok 11 - HTTP authentication errors are classified, redacted and never automatically retried --- duration_ms: 21.1158 type: 'test' ... # Subtest: temporary HTTP service errors retry and recover with recorded attempt counts ok 12 - temporary HTTP service errors retry and recover with recorded attempt counts --- duration_ms: 6.9441 type: 'test' ... # Subtest: invalid and oversized protocol responses fail once with a useful response-format diagnosis ok 13 - invalid and oversized protocol responses fail once with a useful response-format diagnosis --- duration_ms: 4.0345 type: 'test' ... # Subtest: HTTP rate limits expose their source and obey the service retry interval before recovery ok 14 - HTTP rate limits expose their source and obey the service retry interval before recovery --- duration_ms: 1022.397 type: 'test' ... # Subtest: Windows commands preserve Chinese through a PowerShell pipeline into Node ok 15 - Windows commands preserve Chinese through a PowerShell pipeline into Node --- duration_ms: 1069.2031 type: 'test' ... # Subtest: Windows shell syntax errors stay readable and native command exit codes are retained ok 16 - Windows shell syntax errors stay readable and native command exit codes are retained --- duration_ms: 1045.5572 type: 'test' ... # Subtest: review and completed states do not turn a generic continue click into a new model request ok 17 - review and completed states do not turn a generic continue click into a new model request --- duration_ms: 920.9875 type: 'test' ... # Subtest: old session data receives a truthful historical connection diagnosis without rewriting history ok 18 - old session data receives a truthful historical connection diagnosis without rewriting history --- duration_ms: 919.6361 type: 'test' ... # Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart ok 19 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart --- duration_ms: 1320.4966 type: 'test' ... # Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts ok 20 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts --- duration_ms: 1097.0453 type: 'test' ... # Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity ok 21 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity --- duration_ms: 3015.9964 type: 'test' ... # Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests ok 22 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests --- duration_ms: 4841.3906 type: 'test' ... # Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes ok 23 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes --- duration_ms: 2150.3254 type: 'test' ... # Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request ok 24 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request --- duration_ms: 1305.1053 type: 'test' ... # Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model ok 25 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model --- duration_ms: 2560.933 type: 'test' ... # Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates ok 26 - model registry disk failures restore routing, pool profiles and credential references without partial updates --- duration_ms: 959.2805 type: 'test' ... # Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint ok 27 - model selection and saved configuration commit together and failures preserve the original mode and endpoint --- duration_ms: 976.065 type: 'test' ... # Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure ok 28 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure --- duration_ms: 833.4502 type: 'test' ... # Subtest: a stop from the event loop interrupts immediate model replies before later tools ok 29 - a stop from the event loop interrupts immediate model replies before later tools --- duration_ms: 2200.8626 type: 'test' ... # Subtest: a stop after the first tool preserves a complete interrupted multi-call protocol group ok 30 - a stop after the first tool preserves a complete interrupted multi-call protocol group --- duration_ms: 2434.7655 type: 'test' ... # Subtest: the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands ok 31 - the compatible HTTP loop preserves call IDs, validates errors and waits before executing commands --- duration_ms: 5449.6749 type: 'test' ... # Subtest: denial prevents command execution and produces a paired denied result ok 32 - denial prevents command execution and produces a paired denied result --- duration_ms: 1648.3382 type: 'test' ... # Subtest: stopping during approval interrupts pending calls without executing or replaying them ok 33 - stopping during approval interrupts pending calls without executing or replaying them --- duration_ms: 1643.657 type: 'test' ... # Subtest: stopping a running fixture command terminates its own process tree and retains uncertain state ok 34 - stopping a running fixture command terminates its own process tree and retains uncertain state --- duration_ms: 2162.5898 type: 'test' ... # Subtest: command output decodes split UTF-8 and excludes the workbench key from child environment ok 35 - command output decodes split UTF-8 and excludes the workbench key from child environment --- duration_ms: 1329.7417 type: 'test' ... # Subtest: model-list testing uses a tentative key without changing the saved connection and redacts service errors ok 36 - model-list testing uses a tentative key without changing the saved connection and redacts service errors --- duration_ms: 6.2866 type: 'test' ... # Subtest: truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities ok 37 - truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities --- duration_ms: 3618.0824 type: 'test' ... # Subtest: request projection keeps exact tool pairs and complete recent user instructions while preserving disk history ok 38 - request projection keeps exact tool pairs and complete recent user instructions while preserving disk history --- duration_ms: 1269.4481 type: 'test' ... # Subtest: a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes ok 39 - a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes --- duration_ms: 4653.6582 type: 'test' ... # Subtest: failed upgrade restores the original artifact object, provider and request handler ok 40 - failed upgrade restores the original artifact object, provider and request handler --- duration_ms: 2039.9906 type: 'test' ... # Subtest: claiming the same runtime owner twice preserves its original metadata and every database row ok 41 - claiming the same runtime owner twice preserves its original metadata and every database row --- duration_ms: 1004.9648 type: 'test' ... # Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record ok 42 - sessions without controlled-engine history retain their prior export shape and never expose another session record --- duration_ms: 994.6092 type: 'test' ... # Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows ok 43 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows --- duration_ms: 897.7159 type: 'test' ... # Subtest: an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects ok 44 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects --- duration_ms: 1065.9033 type: 'test' ... # Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows ok 45 - an installation failure restores old managers, original record maps, handlers and all existing database rows --- duration_ms: 1815.9839 type: 'test' ... # Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended ok 46 - the owned controlled driver remains an active session and project even after outer task activity has ended --- duration_ms: 1021.041 type: 'test' ... # Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory ok 47 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory --- duration_ms: 1169.9017 type: 'test' ... # Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects ok 48 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects --- duration_ms: 982.3635 type: 'test' ... # Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails ok 49 - hot upgrade refuses active probes and restores retained model methods if installation fails --- duration_ms: 938.8454 type: 'test' ... 1..49 # tests 49 # suites 0 # pass 48 # fail 1 # cancelled 0 # skipped 0 # todo 0 # duration_ms 39180.5899