feat(desktop): attest and manage the owned Windows host lifecycle
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# 1.15 Windows桌面宿主与持久连接验收
|
||||
|
||||
2026-10-31。本阶段从e634a25/正式1.14.0接续,在feat/desktop-host-1.15开发。A–F逐项实施并保存原结果;局部通过不计完整发行。正式进程和Provider保持,隔离验证使用自有项目、数据和凭据,真实推理继续按用户原选择暂缓。
|
||||
|
||||
## A:宿主身份与单实例(通过)
|
||||
|
||||
初轮专项发现PowerShell默认stdin编码不能可靠传递中文目录,Windows秘密目录ACL设置因此失败。该原失败来自真实中文工作区,已保留;改为ASCII base64传递UTF-8目录并由固定脚本解码,同时关闭初始化进度输出。未改变凭据/目录核验守卫,待重新构建与复验。
|
||||
|
||||
目标为固定实际用户、PID创建、可执行/安装及数据目录、实例标识,串行化并发启动;窗口关闭不停止宿主,停止等待所属任务/进程。原1.14健康响应不足以证明端口归属,新协议及停止/恢复需要真实进程证据。
|
||||
|
||||
Node24构建通过;[49项相关回归](desktop-host-a-accepted.tap)全部通过,[真实隔离宿主9组](desktop-host-a-actual.json)全部通过。并发启动只创建一实例;独立CIM创建/SID观察,错误数据/安装、过期注册/实例/SID/密钥、服务索引变化、运行目录修改与伪health拒绝;原完成工具SHA在停机/重启后保持,审批中止不执行;实际HTTP请求停止后断开且原PID退出。
|
||||
|
||||
原失败保存在desktop-host-a-first-failures.txt、desktop-host-a-acl-failure.tap和原工具输出。除中文stdin编码,还发现重新设置完整权限时误要求SeSecurityPrivilege;改为只读取和修改DACL。真实主机首轮验收错误读取不存在的tools字段,改为独立只读SQLite核对原tool记录,不修改旧导出结构。最终完整源码/窗口/安装/发行留待F,不外推本切片通过。
|
||||
|
||||
Electron固定45.2.0的真实二进制为249810432字节,SHA256010ea51bfb528c8143513439aa93fb40754403daa2023f9decd4517da71706ab;安装脚本显式完成,真实窗口尚未运行。开发工具Inno7.1.1安装命令被自动审批策略阻止、无执行;已核对可直接解包的innosetup-compiler6.3.1依赖,D再开发与验收。正式health仍1.14/PID23172,没有升级或重启。
|
||||
|
||||
## B–F
|
||||
|
||||
本机加密连接正在推进;Electron窗口与IPC、安装/可回退更新、桌面三工程和独立发行尚未实施,按[执行方案](PLAN-1.15.md)验收。
|
||||
@@ -0,0 +1,13 @@
|
||||
# 1.15 切片回顾
|
||||
|
||||
2026-10-31。接续正式1.14,六切片的实现、原失败、检查、提交和待验事项随执行记录;最终状态以[1.15验收](QA-1.15.md)为准。
|
||||
|
||||
## 起点
|
||||
|
||||
复用现有Runtime/Store/Provider及受限引擎,新增桌面入口共享同一任务和原证据。现有健康端口不能单独证明宿主身份,普通窗口关闭与结束执行宿主必须分开;本机加密默认由用户显式选择,既有内存凭据不自动提取或写盘。保留原1.14发行和176份原报告/30份日志/31张PNG,不改写历史结果。
|
||||
|
||||
## A回顾
|
||||
|
||||
49相关回归及9组真实主机通过。除签名挑战,核对实际PID创建、用户SID、加载的不可变输入和数据目录;注册失败不发布半成品内存,锁和启动意图防止不明进程被重复创建。模型队列/HTTP和原生driver加入完整关闭。中文工作区及重复DACL设置的原失败证明需要真实Windows验证;所有失败保留,改为UTF-8 base64输入和仅修改Access权限后复验。原历史导出保持原结构,验收从独立SQLite读取完整原tool行。
|
||||
|
||||
本切片仅交付主机基础;Electron窗口关闭/重开需C/E真实证明。下一B把密文和注册写入同一SQLite事务,避免两份磁盘文件之间的部分提交;只加密用户新输入/明确确认导入的Key,不自动持久化原内存连接。不同用户/损坏/配置修订失配应分别显示不可加载。
|
||||
@@ -0,0 +1,304 @@
|
||||
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.1348
|
||||
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.1247
|
||||
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: 1133.2191
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 4 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2526.6054
|
||||
type: 'test'
|
||||
...
|
||||
# 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: 1.9739
|
||||
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: 818.2146
|
||||
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: 2213.6377
|
||||
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: 2266.197
|
||||
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: 3657.3963
|
||||
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: 1798.9338
|
||||
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.9978
|
||||
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: 8.2405
|
||||
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.0449
|
||||
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: 1010.8285
|
||||
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: 1003.6617
|
||||
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: 971.0757
|
||||
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: 852.3601
|
||||
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: 1178.3301
|
||||
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: 1356.0532
|
||||
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: 1132.7334
|
||||
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: 3159.0983
|
||||
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: 4730.0215
|
||||
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: 2035.7928
|
||||
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: 1053.5497
|
||||
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: 2488.7937
|
||||
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: 924.9926
|
||||
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: 896.6963
|
||||
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: 903.5305
|
||||
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: 1924.7977
|
||||
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: 2188.5101
|
||||
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: 5677.1928
|
||||
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: 1786.9452
|
||||
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: 1887.1945
|
||||
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: 1887.357
|
||||
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: 1547.6495
|
||||
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.3458
|
||||
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: 2889.131
|
||||
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: 2106.8141
|
||||
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: 4369.1298
|
||||
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: 1701.0943
|
||||
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: 897.1056
|
||||
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: 1193.7581
|
||||
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: 969.9211
|
||||
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: 1010.0131
|
||||
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: 1579.1
|
||||
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: 1174.6617
|
||||
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: 1018.0031
|
||||
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: 674.2535
|
||||
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: 511.5755
|
||||
type: 'test'
|
||||
...
|
||||
1..49
|
||||
# tests 49
|
||||
# suites 0
|
||||
# pass 49
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 38427.6009
|
||||
@@ -0,0 +1,319 @@
|
||||
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.<anonymous> (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
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"success": true,
|
||||
"root": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-a0f264b1-949f-413a-9be1-c7d29823eb40",
|
||||
"appRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-a0f264b1-949f-413a-9be1-c7d29823eb40\\app",
|
||||
"dataRoot": "D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\desktop-host-a0f264b1-949f-413a-9be1-c7d29823eb40\\data",
|
||||
"port": 63666,
|
||||
"results": [
|
||||
{
|
||||
"name": "concurrent start",
|
||||
"passed": true,
|
||||
"pid": 25140,
|
||||
"instanceId": "d454c570-16ca-429d-aecb-451767bf0ff0"
|
||||
},
|
||||
{
|
||||
"name": "independent creation and user observation",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "wrong data root and installation rejected",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "stale registration and creation rejected",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "damaged service index rejected",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "running input binding does not silently change",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "foreign health service rejected",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"name": "completed tools and approvals retained on stop and restart",
|
||||
"passed": true,
|
||||
"completedTools": 3,
|
||||
"originalEventSeq": 39,
|
||||
"restoredEventSeq": 46
|
||||
},
|
||||
{
|
||||
"name": "actual model HTTP request abort and verified process exit",
|
||||
"passed": true,
|
||||
"requests": 1,
|
||||
"disconnected": true,
|
||||
"pid": 40480
|
||||
}
|
||||
],
|
||||
"inference": "Owned local HTTP fixtures only; no existing model credential is read or persisted."
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
concurrent start: passed
|
||||
independent creation and user observation: passed
|
||||
wrong data root and installation rejected: passed
|
||||
stale registration and creation rejected: passed
|
||||
damaged service index rejected: passed
|
||||
running input binding does not silently change: passed
|
||||
foreign health service rejected: passed
|
||||
completed tools and approvals retained on stop and restart: passed
|
||||
actual model HTTP request abort and verified process exit: passed
|
||||
@@ -0,0 +1,55 @@
|
||||
Warning: truncated output (original token count: 2543)
|
||||
Total output lines: 64
|
||||
|
||||
✔ truncated or repeated model calls fail before execution; tool input validation rejects unknown capabilities (3174.8306ms)
|
||||
✔ request projection keeps exact tool pairs and complete recent user instructions while preserving disk history (2206.592ms)
|
||||
#< CLIXML
|
||||
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
|
||||
✔ a live SQLite host with the actual 1.9 artifact object upgrades, keeps its original blobs and verifies real browser PNG bytes (4610.9944ms)
|
||||
✔ failed upgrade restores the original artifact object, provider and request handler (1798.2653ms)
|
||||
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="Error">Set-Acl : �Ҳ���·����D:\Ai-project\REA逆向\Agent-Workbench\.qa\test-oEu3HK\data\.secrets������Ϊ��·�������ڡ�_x000D__x000A_</S><S S="Error">����λ�� ��:1 �ַ�: 429_x000D__x000A_</S><S S="Error">+ ... AccessRule($awbRule);Set-Acl -LiteralPath $awbPath -AclObject $awbAcl_x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error"> + CategoryInfo : ObjectNotFound: (D:\Ai-project\R...K\data\.secrets:String) [Set-Acl], ItemNotFoundExcept _x000D__x000A_</S><S S="Error"> ion_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetAclCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>
|
||||
✔ claiming the same runtime owner twice preserves its original metadata and every database row (1006.8157ms)
|
||||
✔ sessions without controlled-engine history retain their prior export shape and never expose another session record (852.2873ms)
|
||||
✔ live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows (916.7101ms)
|
||||
#< CLIXML
|
||||
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
|
||||
✔ an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects (1070.7737ms)
|
||||
✔ an installation failure restores old managers, original record maps, handlers and all existing database rows (1933.1205ms)
|
||||
✔ the owned controlled driver remains an active session and project even after outer task activity has ended (1007.0447ms)
|
||||
✔ release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory (1652.1223ms)
|
||||
<Objs Version="1.1.0.1" xml…443 tokens truncated…ailing tests:
|
||||
|
||||
test at tests\desktop-host.test.mjs:40:1
|
||||
✖ failed registration publishes no initialized memory and can complete after its actual inputs are supplied (2671.3965ms)
|
||||
Error: 无法为本机秘密目录设置当前Windows用户权限。
|
||||
at hostError (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/shared/contracts/desktop-host.mjs:5:100)
|
||||
at protectUserDirectory (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/process-identity.mjs:21:17)
|
||||
at HostAuthority.initialize (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/core/desktop/host-authority.mjs:18:5)
|
||||
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/desktop-host.test.mjs:46:13)
|
||||
at Test.runInAsyncScope (node:async_hooks:227: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) {
|
||||
code: 'HOST_DIRECTORY_UNPROTECTED',
|
||||
status: 409
|
||||
}
|
||||
|
||||
test at tests\model-center.test.mjs:124:1
|
||||
✖ compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model (2345.9189ms)
|
||||
AssertionError [ERR_ASSERTION]: Workbench launch failed: #< CLIXML
|
||||
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
|
||||
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>�������״�ʹ��ģ�顣</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="Error">Set-Acl : �Ҳ���·����D:\Ai-project\REA逆向\Agent-Workbench\.qa\test-38ejfH\data\.secrets������Ϊ��·�������ڡ�_x000D__x000A_</S><S S="Error">����λ�� ��:1 �ַ�: 429_x000D__x000A_</S><S S="Error">+ ... AccessRule($awbRule);Set-Acl -LiteralPath $awbPath -AclObject $awbAcl_x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error"> + CategoryInfo : ObjectNotFound: (D:\Ai-project\R...H\data\.secrets:String) [Set-Acl], ItemNotFoundExcept _x000D__x000A_</S><S S="Error"> ion_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetAclCommand_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>Workbench registration failed: 无法为本机秘密目录设置当前Windows用户权限。
|
||||
|
||||
at launchWorkbench (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:94:10)
|
||||
at async TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/model-center.test.mjs:125:55)
|
||||
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: '',
|
||||
expected: true,
|
||||
operator: '==',
|
||||
diff: 'simple'
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
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.1912
|
||||
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.1222
|
||||
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: 1246.7954
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
ok 4 - failed registration publishes no initialized memory and can complete after its actual inputs are supplied
|
||||
---
|
||||
duration_ms: 2518.2715
|
||||
type: 'test'
|
||||
...
|
||||
# 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: 1.348
|
||||
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: 1092.8051
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
ok 7 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
|
||||
---
|
||||
duration_ms: 1416.2692
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
ok 8 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
|
||||
---
|
||||
duration_ms: 990.0314
|
||||
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 9 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
|
||||
---
|
||||
duration_ms: 3079.9908
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
ok 10 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
|
||||
---
|
||||
duration_ms: 5018.7778
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
ok 11 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
|
||||
---
|
||||
duration_ms: 1973.4865
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
ok 12 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
|
||||
---
|
||||
duration_ms: 963.6111
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
ok 13 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
|
||||
---
|
||||
duration_ms: 2006.8513
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
ok 14 - model registry disk failures restore routing, pool profiles and credential references without partial updates
|
||||
---
|
||||
duration_ms: 566.9346
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
ok 15 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
|
||||
---
|
||||
duration_ms: 693.7432
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
ok 16 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
|
||||
---
|
||||
duration_ms: 574.4074
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
ok 17 - claiming the same runtime owner twice preserves its original metadata and every database row
|
||||
---
|
||||
duration_ms: 1095.9592
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
ok 18 - sessions without controlled-engine history retain their prior export shape and never expose another session record
|
||||
---
|
||||
duration_ms: 995.0958
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
ok 19 - live workers, controlled drivers, or MCP operations refuse an upgrade before changing handlers, managers or database rows
|
||||
---
|
||||
duration_ms: 949.7472
|
||||
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 20 - an idle upgrade loads the newly introduced engine record map, resets obsolete managers and preserves original rows, sessions and provider objects
|
||||
---
|
||||
duration_ms: 1051.4217
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
ok 21 - an installation failure restores old managers, original record maps, handlers and all existing database rows
|
||||
---
|
||||
duration_ms: 1565.5388
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
ok 22 - the owned controlled driver remains an active session and project even after outer task activity has ended
|
||||
---
|
||||
duration_ms: 1000.6998
|
||||
type: 'test'
|
||||
...
|
||||
# Subtest: release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
ok 23 - release and upgrade help or invalid arguments have no file or network setup side effects in an independent directory
|
||||
---
|
||||
duration_ms: 990.8517
|
||||
type: 'test'
|
||||
...
|
||||
1..23
|
||||
# tests 23
|
||||
# suites 0
|
||||
# pass 23
|
||||
# fail 0
|
||||
# cancelled 0
|
||||
# skipped 0
|
||||
# todo 0
|
||||
# duration_ms 17409.5834
|
||||
Reference in New Issue
Block a user