Files
Agent-Workbench/docs/companion-c-e-evidence/first-runtime-fixture-failure.tap
T
2026-10-31 17:53:15 +08:00

158 lines
6.5 KiB
Plaintext

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