feat(companion): add task PWA and original execution controls

This commit is contained in:
Agent Workbench Dev
2026-10-31 17:53:15 +08:00
parent dfe2e40387
commit bc67e6e0a3
57 changed files with 1212 additions and 15 deletions
+8
View File
@@ -13,3 +13,11 @@
## C–F:实施中及待验收
设备权限、独立手机界面、审批/停止、事件恢复、真实iPhone与独立发行分别记录。手机界面和浏览器模拟结果不能代替真实设备步骤;没有设备结果时不记完整交付。
## C–E本地结果
新增专项扩充到24/24通过、0跳过,包括实际Runtime命令单次执行、桌面先拒绝/手机迟到、手机停止原进程及心跳终结、等待期间更换Run拒绝、差异分页SHA、原工件损坏拒绝、活动TLS连接撤销、损坏授权登记不覆盖,以及网关开启时阻止升级和失败恢复。输入均为自有项目/凭据,真实模型0请求。[原TAP与界面证据](companion-c-e-evidence/manifest.json)。
实际Edge执行7组流程:桌面1440px显式开启/下载证书,390px配对/同一Task/Run审批、实际命令、分页差异、1项真实工程测试和报告SHA;断线/刷新只读恢复;PWA只缓存壳;768px列表和窄屏管理;桌面撤销后手机清空项目内容。7组通过且页面异常0;最终浏览器收据为[原结果](companion-c-e-evidence/final-ui/result.json)。已实际观察原审批、报告和管理页截图,修正虚拟网卡优先、waiting中文、任务全文折叠和对话框视口。原失败独立保留:检查准备分别早于命令收尾/文件审查完成,均由正确409保护拒绝,脚本明确完成原流程后复验。
浏览器验收使用自有loopback QA中继,并逐请求验证真实网关CA,没有安装根证书或绕过TLS警告;测试cookie仅在中继内存,故这些结果**不证明**iPhone Safari原生Secure cookie、系统证书信任和主屏幕PWA已完成。原生iPhone、后台/切网与实际软键盘仍待F。当前尚未发布1.16或升级正式4318。
+6
View File
@@ -11,3 +11,9 @@
原Store只保留桌面update observer;手机采用授权项目SQL分页和短轮询,不新增需跨热升级迁移的观察者。网关使用原宿主/用户/目录身份,默认关闭,升级前必须关闭独立监听;关闭手机网关不调用Runtime.stop。新的手机授权仅保留摘要和脱敏审计。TLS私钥通过原CurrentUser DPAPI保护,未读取Provider凭据。
首轮未经过bundle执行而只看源码会漏掉二维码库CommonJS依赖;实际API/热升级回归及时揭示了问题。修复发行require后又发现源码定位标记冲突,保持原管理处理器唯一标记并对旧版连续升级复验。最终54/54通过,原失败与最终日志分别保存。接下来独立手机entry、设备管理和任务详情进入C;审批/停止的真实原Runtime竞争、断线及实际iPhone分别验收。
## C–E本地回顾
任务队列/详情围绕原审批、差异、检查和报告组成,避免把桌面编辑器缩小到手机。7组实际宽窄屏流程与24项专项通过。实际原Runtime命令/进程检验证明操作归属和停止结果;浏览器截图只能证明页面结果,原生Safari证书/cookie与PWA留给真实iPhone,测试中继身份清楚记录。
两次UI检查均由产品正确409保护拒绝,原因分别是脚本过早开始检查、未审查待应用文件;补全原流程后通过。回顾发现WSL网卡默认地址会误导用户,已优先真实网卡;操作请求ID固定于一次确认,未知回执持久查询,刷新不再丢失。设备授权/日期登记损坏时明确拒绝并保留原数据,不把格式问题降级为永久授权。发行前继续全量回归和独立实机候选,正式4318保持原状。
+20
View File
@@ -0,0 +1,20 @@
> local-agent-workbench@1.15.0 build
> tsc --noEmit && vite build && node scripts/build-mobile.mjs && node scripts/build-server.mjs
vite v7.3.7 building client environment for production...
transforming...
✓ 1725 modules transformed.
rendering chunks...
computing gzip size...
dist-client/.vite/manifest.json 0.55 kB │ gzip: 0.22 kB
dist-client/index.html 0.58 kB │ gzip: 0.40 kB
dist-client/mobile.html 0.82 kB │ gzip: 0.45 kB
dist-client/assets/mobile-CPi1xsK3.css 11.10 kB │ gzip: 2.97 kB
dist-client/assets/desktop-BaQ1ZMRu.css 134.24 kB │ gzip: 25.64 kB
dist-client/assets/mobile-tKLJoem9.js 21.38 kB │ gzip: 7.64 kB
dist-client/assets/x-Cc3T3VuL.js 225.51 kB │ gzip: 70.77 kB
dist-client/assets/desktop-DmqBcePV.js 277.30 kB │ gzip: 78.12 kB
✓ built in 1.11s
Mobile shell built: 3 allowed assets; API and project data are never cached.
Server bundle built.
Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

@@ -0,0 +1,37 @@
{
"success": true,
"passed": [
"desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust",
"390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop",
"phone UI confirms original Task/Run approval and the existing Runtime executes one command",
"original paginated diff and counted check/report display verified content from the same Task",
"disconnect and refresh recover from persistent seq without submitting a new command or Run",
"PWA service worker stores the shell and no API/project response",
"desktop revocation removes mobile project content immediately on the next read while preserving the original completed tool"
],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\desktop-certificate.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\desktop-pairing.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-task-list.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-original-approval.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-original-diff.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-original-report.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-disconnected.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\tablet-task-list.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\desktop-management-narrow.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-revoked.png"
],
"errors": [],
"viewports": [
1440,
390,
768
],
"browser": "Microsoft Edge via Playwright; owned loopback QA relay with actual CA verification",
"nativeSafariTrustCookiePWA": "pending-real-iPhone",
"osTrustChanged": false,
"certificateWarningsBypassed": false,
"realModelRequests": 0,
"taskId": "2dcd9268-70f1-4ab1-af8a-b8fd1288b10c",
"runId": "d8a42a75-3458-47a0-9666-79f397a20cd9"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

+154
View File
@@ -0,0 +1,154 @@
TAP version 13
# Subtest: pairing is short lived, single-use, generation-bound and validates exact permissions
ok 1 - pairing is short lived, single-use, generation-bound and validates exact permissions
---
duration_ms: 812.0727
type: 'test'
...
# Subtest: device transaction failure neither consumes the ticket nor leaves a credential
ok 2 - device transaction failure neither consumes the ticket nor leaves a credential
---
duration_ms: 720.9239
type: 'test'
...
# Subtest: devices have project and action boundaries; rotation, expiration, revocation and host changes reject old authority
ok 3 - devices have project and action boundaries; rotation, expiration, revocation and host changes reject old authority
---
duration_ms: 976.0319
type: 'test'
...
# Subtest: persistent registry stores hashes and a bounded audit, never raw credentials
ok 4 - persistent registry stores hashes and a bounded audit, never raw credentials
---
duration_ms: 981.4517
type: 'test'
...
# Subtest: real TLS verifies IP SAN, CA chain, encrypted restart and public fingerprint
ok 5 - real TLS verifies IP SAN, CA chain, encrypted restart and public fingerprint
---
duration_ms: 1045.3838
type: 'test'
...
# Subtest: TLS sealing failure leaves listener closed and no plaintext or successful TLS registration
ok 6 - TLS sealing failure leaves listener closed and no plaintext or successful TLS registration
---
duration_ms: 850.6399
type: 'test'
...
# Subtest: HTTP pairing is concurrent single-use; secure cookie and strict origin/host checks
ok 7 - HTTP pairing is concurrent single-use; secure cookie and strict origin/host checks
---
duration_ms: 900.8533
type: 'test'
...
# Subtest: gateway never exposes management routes, arbitrary assets or unpaired project data
ok 8 - gateway never exposes management routes, arbitrary assets or unpaired project data
---
duration_ms: 868.9467
type: 'test'
...
# Subtest: authorized project events paginate from original seq without leaking other project events or payloads
ok 9 - authorized project events paginate from original seq without leaking other project events or payloads
---
duration_ms: 1321.4981
type: 'test'
...
# Subtest: remote task projection excludes raw model history, host configuration, tool input and credentials
ok 10 - remote task projection excludes raw model history, host configuration, tool input and credentials
---
duration_ms: 686.7927
type: 'test'
...
# Subtest: permission checks apply to direct remote mutation, not only UI controls
ok 11 - permission checks apply to direct remote mutation, not only UI controls
---
duration_ms: 642.1176
type: 'test'
...
# Subtest: approval fingerprint and exact task/revision are bound; duplicate requests never execute twice
ok 12 - approval fingerprint and exact task/revision are bound; duplicate requests never execute twice
---
duration_ms: 876.5462
type: 'test'
...
# Subtest: unknown original operation is recorded and never replayed after response failure
ok 13 - unknown original operation is recorded and never replayed after response failure
---
duration_ms: 812.4198
type: 'test'
...
# Subtest: revocation and gateway closure reject old access without invoking runtime stop
ok 14 - revocation and gateway closure reject old access without invoking runtime stop
---
duration_ms: 653.0715
type: 'test'
...
# Subtest: rate limits reject pairing brute force and do not persist candidate secrets
ok 15 - rate limits reject pairing brute force and do not persist candidate secrets
---
duration_ms: 692.8977
type: 'test'
...
# Subtest: real Windows CurrentUser DPAPI persists only a sealed CA and reopens it
ok 16 - real Windows CurrentUser DPAPI persists only a sealed CA and reopens it
---
duration_ms: 2458.3847
type: 'test'
...
# Subtest: mobile approval executes the original Runtime command exactly once and rejects the later desktop decision
ok 17 - mobile approval executes the original Runtime command exactly once and rejects the later desktop decision
---
duration_ms: 2080.6441
type: 'test'
...
# Subtest: desktop rejection wins a concurrent mobile request and original command remains unexecuted
ok 18 - desktop rejection wins a concurrent mobile request and original command remains unexecuted
---
duration_ms: 1549.6235
type: 'test'
...
# Subtest: phone stop waits for the original process exit and prevents later heartbeats and command replay
ok 19 - phone stop waits for the original process exit and prevents later heartbeats and command replay
---
duration_ms: 2007.6397
type: 'test'
...
# Subtest: Run replacement during parent-stop wait is rejected rather than stopping the new Run
ok 20 - Run replacement during parent-stop wait is rejected rather than stopping the new Run
---
duration_ms: 499.7436
type: 'test'
...
# Subtest: diff pages preserve source SHA; report reads verify blobs and exclude unrelated artifact kinds
ok 21 - diff pages preserve source SHA; report reads verify blobs and exclude unrelated artifact kinds
---
duration_ms: 804.5479
type: 'test'
...
# Subtest: hot upgrade refuses an active gateway and restores closed gateway ownership on failure
ok 22 - hot upgrade refuses an active gateway and restores closed gateway ownership on failure
---
duration_ms: 602.6744
type: 'test'
...
# Subtest: damaged device permissions or expiry fail closed and never overwrite the original registry
ok 23 - damaged device permissions or expiry fail closed and never overwrite the original registry
---
duration_ms: 816.9531
type: 'test'
...
# Subtest: device revocation destroys its actual authenticated TLS connection
ok 24 - device revocation destroys its actual authenticated TLS connection
---
duration_ms: 854.0281
type: 'test'
...
1..24
# tests 24
# suites 0
# pass 24
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 24745.6476
@@ -0,0 +1,157 @@
TAP version 13
# Subtest: pairing is short lived, single-use, generation-bound and validates exact permissions
ok 1 - pairing is short lived, single-use, generation-bound and validates exact permissions
---
duration_ms: 589.0293
type: 'test'
...
# Subtest: device transaction failure neither consumes the ticket nor leaves a credential
ok 2 - device transaction failure neither consumes the ticket nor leaves a credential
---
duration_ms: 679.4563
type: 'test'
...
# Subtest: devices have project and action boundaries; rotation, expiration, revocation and host changes reject old authority
ok 3 - devices have project and action boundaries; rotation, expiration, revocation and host changes reject old authority
---
duration_ms: 742.7184
type: 'test'
...
# Subtest: persistent registry stores hashes and a bounded audit, never raw credentials
ok 4 - persistent registry stores hashes and a bounded audit, never raw credentials
---
duration_ms: 559.8063
type: 'test'
...
# Subtest: real TLS verifies IP SAN, CA chain, encrypted restart and public fingerprint
ok 5 - real TLS verifies IP SAN, CA chain, encrypted restart and public fingerprint
---
duration_ms: 971.1269
type: 'test'
...
# Subtest: TLS sealing failure leaves listener closed and no plaintext or successful TLS registration
ok 6 - TLS sealing failure leaves listener closed and no plaintext or successful TLS registration
---
duration_ms: 507.5549
type: 'test'
...
# Subtest: HTTP pairing is concurrent single-use; secure cookie and strict origin/host checks
ok 7 - HTTP pairing is concurrent single-use; secure cookie and strict origin/host checks
---
duration_ms: 753.6926
type: 'test'
...
# Subtest: gateway never exposes management routes, arbitrary assets or unpaired project data
ok 8 - gateway never exposes management routes, arbitrary assets or unpaired project data
---
duration_ms: 693.6116
type: 'test'
...
# Subtest: authorized project events paginate from original seq without leaking other project events or payloads
ok 9 - authorized project events paginate from original seq without leaking other project events or payloads
---
duration_ms: 1163.7529
type: 'test'
...
# Subtest: remote task projection excludes raw model history, host configuration, tool input and credentials
ok 10 - remote task projection excludes raw model history, host configuration, tool input and credentials
---
duration_ms: 751.1109
type: 'test'
...
# Subtest: permission checks apply to direct remote mutation, not only UI controls
ok 11 - permission checks apply to direct remote mutation, not only UI controls
---
duration_ms: 681.1806
type: 'test'
...
# Subtest: approval fingerprint and exact task/revision are bound; duplicate requests never execute twice
ok 12 - approval fingerprint and exact task/revision are bound; duplicate requests never execute twice
---
duration_ms: 813.2138
type: 'test'
...
# Subtest: unknown original operation is recorded and never replayed after response failure
ok 13 - unknown original operation is recorded and never replayed after response failure
---
duration_ms: 808.2965
type: 'test'
...
# Subtest: revocation and gateway closure reject old access without invoking runtime stop
ok 14 - revocation and gateway closure reject old access without invoking runtime stop
---
duration_ms: 724.6912
type: 'test'
...
# Subtest: rate limits reject pairing brute force and do not persist candidate secrets
ok 15 - rate limits reject pairing brute force and do not persist candidate secrets
---
duration_ms: 866.1867
type: 'test'
...
# Subtest: real Windows CurrentUser DPAPI persists only a sealed CA and reopens it
ok 16 - real Windows CurrentUser DPAPI persists only a sealed CA and reopens it
---
duration_ms: 1815.7111
type: 'test'
...
# Subtest: mobile approval executes the original Runtime command exactly once and rejects the later desktop decision
ok 17 - mobile approval executes the original Runtime command exactly once and rejects the later desktop decision
---
duration_ms: 1825.7504
type: 'test'
...
# Subtest: desktop rejection wins a concurrent mobile request and original command remains unexecuted
ok 18 - desktop rejection wins a concurrent mobile request and original command remains unexecuted
---
duration_ms: 1557.2142
type: 'test'
...
# Subtest: phone stop waits for the original process exit and prevents later heartbeats and command replay
ok 19 - phone stop waits for the original process exit and prevents later heartbeats and command replay
---
duration_ms: 2106.1923
type: 'test'
...
# Subtest: Run replacement during parent-stop wait is rejected rather than stopping the new Run
ok 20 - Run replacement during parent-stop wait is rejected rather than stopping the new Run
---
duration_ms: 620.677
type: 'test'
...
# Subtest: diff pages preserve source SHA; report reads verify blobs and exclude unrelated artifact kinds
not ok 21 - diff pages preserve source SHA; report reads verify blobs and exclude unrelated artifact kinds
---
duration_ms: 789.5575
type: 'test'
location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\companion.test.mjs:293:1'
failureType: 'testCodeFailure'
error: '记录不属于这个任务。'
code: 'ERR_TEST_FAILURE'
stack: |-
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:173:99
Array.map (<anonymous>)
file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:169:117
Array.flatMap (<anonymous>)
Store.recordsFor (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:169:23)
Store.save (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/src/server/store.mjs:363:55)
TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/companion.test.mjs:299:97)
process.processTicksAndRejections (node:internal/process/task_queues:104:5)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
# Subtest: hot upgrade refuses an active gateway and restores closed gateway ownership on failure
ok 22 - hot upgrade refuses an active gateway and restores closed gateway ownership on failure
---
duration_ms: 651.8724
type: 'test'
...
1..22
# tests 22
# suites 0
# pass 21
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 20907.3317
Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

@@ -0,0 +1,21 @@
{
"success": false,
"error": "任务或检查正在执行,请等待结束后再准备检查。",
"stack": "Error: 任务或检查正在执行,请等待结束后再准备检查。\n at Object.api (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:107:43)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-companion-ui.mjs:88:3",
"passed": [
"desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust",
"390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop",
"phone UI confirms original Task/Run approval and the existing Runtime executes one command"
],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\desktop-certificate.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\desktop-pairing.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\mobile-task-list.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\mobile-original-approval.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\mobile-original-diff.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\failure-mobile.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\failure-desktop.png"
],
"errors": [],
"realModelRequests": 0
}
+186
View File
@@ -0,0 +1,186 @@
{
"schema": 1,
"description": "Unmodified fixture evidence; browser relay is not native iPhone acceptance",
"entries": [
{
"source": ".qa/companion-c-d-e-final.tap",
"file": "docs\\companion-c-e-evidence\\final.tap",
"bytes": 6119,
"sha256": "ecf0b9c3e47a75e5fb76666fcff7dc28d646e376da079cbc3ca6afbcfeb6fc96"
},
{
"source": ".qa/companion-d-e-first.tap",
"file": "docs\\companion-c-e-evidence\\first-runtime-fixture-failure.tap",
"bytes": 6671,
"sha256": "fae0e90d7af7234c6a215d38bd596235149b744f49e6c260568eb25e76470787"
},
{
"source": ".qa/companion-c-reviewed-build.txt",
"file": "docs\\companion-c-e-evidence\\build.txt",
"bytes": 978,
"sha256": "456f8e920a36e88cc6a5f903c2a1fb064fa6a9227f5183575940152c46be789f"
},
{
"source": ".qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\desktop-certificate.png",
"file": "docs\\companion-c-e-evidence\\first-ui-failure\\desktop-certificate.png",
"bytes": 173988,
"sha256": "0b88931267a413a6b527f376e3db3cc7fd773c2d3dd2eef3621beb21609730ad"
},
{
"source": ".qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\desktop-pairing.png",
"file": "docs\\companion-c-e-evidence\\first-ui-failure\\desktop-pairing.png",
"bytes": 175404,
"sha256": "a9732a3c0fde03ef0bb6980cb8e1d00eb3c18a660ecf7987bd12898f40c67495"
},
{
"source": ".qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\failure-desktop.png",
"file": "docs\\companion-c-e-evidence\\first-ui-failure\\failure-desktop.png",
"bytes": 163674,
"sha256": "850ebcaa3a6c483736156e9a431287f8028ea43cfecdacdd00f9183d630e98d5"
},
{
"source": ".qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\failure-mobile.png",
"file": "docs\\companion-c-e-evidence\\first-ui-failure\\failure-mobile.png",
"bytes": 53060,
"sha256": "98f6b31368d53b1157a864f83037e9aaab7a8adfcfe70a848b89b4a00db9a471"
},
{
"source": ".qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\mobile-original-approval.png",
"file": "docs\\companion-c-e-evidence\\first-ui-failure\\mobile-original-approval.png",
"bytes": 90248,
"sha256": "6bb1ab73e275c1ddb3d05b8a00d88593372dd8d4226491b5d542db85ed1330ff"
},
{
"source": ".qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\mobile-original-diff.png",
"file": "docs\\companion-c-e-evidence\\first-ui-failure\\mobile-original-diff.png",
"bytes": 26339,
"sha256": "edd84832429832c774ab8699b633821169de0eb6115f8d15c88241baa71311c9"
},
{
"source": ".qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\mobile-task-list.png",
"file": "docs\\companion-c-e-evidence\\first-ui-failure\\mobile-task-list.png",
"bytes": 22258,
"sha256": "c038006b1131e2ac454ea07320af31bba51f3e6a30a1bbd0f79d7cf98069a8bd"
},
{
"source": ".qa\\companion-ui-5c128b2b-1d2f-4673-8fdb-3d02a754cb50\\result.json",
"file": "docs\\companion-c-e-evidence\\first-ui-failure\\result.json",
"bytes": 1799,
"sha256": "9fc01d1c6e890bca0810136af8b346afabe04cccd45d19175ec49181aca2c3db"
},
{
"source": ".qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\desktop-certificate.png",
"file": "docs\\companion-c-e-evidence\\second-ui-failure\\desktop-certificate.png",
"bytes": 173789,
"sha256": "226b62575b4f1f75fa0cd9ecbf9e01d6add702ebcb653523ecc0438da615b234"
},
{
"source": ".qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\desktop-pairing.png",
"file": "docs\\companion-c-e-evidence\\second-ui-failure\\desktop-pairing.png",
"bytes": 175151,
"sha256": "e46a65ea07cd507271e70270a83cfe85a1944a88bffc0274ff62d56e6fbf2ef1"
},
{
"source": ".qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\failure-desktop.png",
"file": "docs\\companion-c-e-evidence\\second-ui-failure\\failure-desktop.png",
"bytes": 163494,
"sha256": "3fca216b3e1cde8327d0dbc30f21f117650f5f5be51c56b3c0fb77add12114f8"
},
{
"source": ".qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\failure-mobile.png",
"file": "docs\\companion-c-e-evidence\\second-ui-failure\\failure-mobile.png",
"bytes": 49654,
"sha256": "6d44f74586b8cb55b748cd954368e140f938ecc480bd4aace3c6bd719e1fda66"
},
{
"source": ".qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\mobile-original-approval.png",
"file": "docs\\companion-c-e-evidence\\second-ui-failure\\mobile-original-approval.png",
"bytes": 90309,
"sha256": "d92225c3c98bf2fe56912db65e32d1225cb18ed5dd78a4fed2774bde27ef34db"
},
{
"source": ".qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\mobile-original-diff.png",
"file": "docs\\companion-c-e-evidence\\second-ui-failure\\mobile-original-diff.png",
"bytes": 22874,
"sha256": "87477ba8ff21d11882236e86f4fe014f804955a1dd54588b5408824f340fe447"
},
{
"source": ".qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\mobile-task-list.png",
"file": "docs\\companion-c-e-evidence\\second-ui-failure\\mobile-task-list.png",
"bytes": 22275,
"sha256": "fb0088858cf13985b4957401cf66b0c443393dde026dbb1826b848a5171f8999"
},
{
"source": ".qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\result.json",
"file": "docs\\companion-c-e-evidence\\second-ui-failure\\result.json",
"bytes": 1812,
"sha256": "35f7a3031cf21fbd331dd98ab79f6641349c5c10bdf81153c40e5dbcf73733cf"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\desktop-certificate.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\desktop-certificate.png",
"bytes": 174062,
"sha256": "37964d7720a0646c56cd4904cf432b37887bccc2cb26a35328ac854b0c9998a6"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\desktop-management-narrow.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\desktop-management-narrow.png",
"bytes": 60084,
"sha256": "d2b44197ecea1ee8faf63bedc81c60eba44a1210aae871f5e75f58d2bedc4f2d"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\desktop-pairing.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\desktop-pairing.png",
"bytes": 175465,
"sha256": "7d0ada471408019900d51e7a3c3d60f82a55e03ef2126b0c3bdc3cabfabc6dc3"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-disconnected.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\mobile-disconnected.png",
"bytes": 58068,
"sha256": "f85175ebae4b9cb379db29fbd74abad8f8785f3eb0125e02216d6ce2af749b55"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-original-approval.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\mobile-original-approval.png",
"bytes": 86546,
"sha256": "2e98bce96186fb8730c7fc109bcc15dd745c056c541c1c5c2b4cd38871cc50bd"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-original-diff.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\mobile-original-diff.png",
"bytes": 19793,
"sha256": "45c16847826895264565826375041205bf79c897241b857b578f7dc30e35e833"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-original-report.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\mobile-original-report.png",
"bytes": 29422,
"sha256": "ff06860dcaee104921ffac1e3bd7644a36d08d0598f97567e31e8c8090a4bb48"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-revoked.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\mobile-revoked.png",
"bytes": 36012,
"sha256": "289e7d8ccdba182d5b1dd541935c1e75d1922ff18d89b3edc8f678038c2b77e4"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\mobile-task-list.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\mobile-task-list.png",
"bytes": 22202,
"sha256": "d1fcf3cb24ebb5cfabf79a23bf6817dd3e3df627bb1e9c16eaca47dd91da7ca7"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\result.json",
"file": "docs\\companion-c-e-evidence\\final-ui\\result.json",
"bytes": 2504,
"sha256": "696166e34dc02faac22b942375abc5534c6d3395066884e011f1a4636c386e36"
},
{
"source": ".qa\\companion-ui-729c8012-e765-4d85-b988-dd9f8e19e1b8\\tablet-task-list.png",
"file": "docs\\companion-c-e-evidence\\final-ui\\tablet-task-list.png",
"bytes": 25003,
"sha256": "ff9a4f8ef3b39bc360be068b81210c8ae67e457d481bbe7e82663cfdaf2acc8c"
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

@@ -0,0 +1,21 @@
{
"success": false,
"error": "先应用或撤回本任务的待审查改动,再检查实际工程。",
"stack": "Error: 先应用或撤回本任务的待审查改动,再检查实际工程。\n at Object.api (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:107:43)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/scripts/verify-companion-ui.mjs:89:64",
"passed": [
"desktop explicitly enables HTTPS and downloads the actual public CA without changing OS trust",
"390px real gateway pairing clears fragment, displays scoped task list and registers the same device in desktop",
"phone UI confirms original Task/Run approval and the existing Runtime executes one command"
],
"screenshots": [
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\desktop-certificate.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\desktop-pairing.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\mobile-task-list.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\mobile-original-approval.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\mobile-original-diff.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\failure-mobile.png",
"D:\\Ai-project\\REA逆向\\Agent-Workbench\\.qa\\companion-ui-74084878-28df-45f6-8f42-25ab09a68ee0\\failure-desktop.png"
],
"errors": [],
"realModelRequests": 0
}