Files
Agent-Workbench/docs/model-protocols-f-release-evidence/041-protocol-b-specialists.tap
T
2026-11-01 00:19:52 +08:00

75 lines
4.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
✔ schema1 connections remain readable without inventing observed capabilities or migrating original state (1014.0062ms)
✔ protocol, unsupported capabilities and stream choice persist; client claims cannot forge verified evidence (1089.2405ms)
✔ ability evidence belongs to exact connection and credential revision; unknown and unsupported reject required routing (0.2615ms)
✔ invalid declarations and inconsistent stream settings reject before registry, revision and credentials mutate (1048.5511ms)
✔ model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart (1438.3081ms)
✔ config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts (1155.2807ms)
✔ real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity (3464.8728ms)
✔ pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests (5365.1931ms)
✔ 401 blocks the credential revision; updating the key restores availability without leaking error echoes (1980.7633ms)
✔ queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request (1169.7538ms)
✔ compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model (2214.3522ms)
✔ model registry disk failures restore routing, pool profiles and credential references without partial updates (642.3498ms)
✔ model selection and saved configuration commit together and failures preserve the original mode and endpoint (647.6397ms)
✔ configuration imports roll back the entire batch and retain one usable preview after validation or commit failure (634.1912ms)
✖ Responses executes one original tool through Runtime, carries encrypted Items, reports raw usage and seals exact wire bytes (1933.8954ms)
✖ mixed-protocol pool keeps both actual variants and changes route on 429 without re-executing completed tools (2566.2122ms)
▶ Responses incomplete, failed, missing call identity and unsupported hosted outputs never dispatch a tool
✔ Reject {"id":"resp_owned","status":"incomplete","output":[{"type":"function_call","id":"fc_partial","call_i (1908.0118ms)
✔ Reject {"id":"resp_owned","status":"failed","output":[{"type":"function_call","id":"fc_failed","call_id":"f (1995.5451ms)
✔ Reject {"id":"resp_owned","status":"completed","output":[{"type":"function_call","id":"fc_bad","call_id":"" (2060.8771ms)
✔ Reject {"id":"resp_owned","status":"completed","output":[{"type":"computer_call","id":"not-supported"}],"us (1965.412ms)
✔ Responses incomplete, failed, missing call identity and unsupported hosted outputs never dispatch a tool (7930.9742ms)
✔ wire adapter preserves tool IDs but never passes Responses-private Items to Chat or another endpoint (0.159ms)
✔ connection JSON import accepts explicit Responses protocol and continues to reject unknown protocols without reading client sessions (653.3064ms)
ℹ tests 23
ℹ suites 0
ℹ pass 21
ℹ fail 2
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 18836.6552
✖ failing tests:
test at tests\model-protocols.test.mjs:20:1
✖ Responses executes one original tool through Runtime, carries encrypted Items, reports raw usage and seals exact wire bytes (1933.8954ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'failed'
- 'completed'
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/model-protocols.test.mjs:27:10)
at async Test.run (node:internal/test_runner/test:1409:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'failed',
expected: 'completed',
operator: 'strictEqual',
diff: 'simple'
}
test at tests\model-protocols.test.mjs:44:1
✖ mixed-protocol pool keeps both actual variants and changes route on 429 without re-executing completed tools (2566.2122ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'failed'
- 'completed'
at TestContext.<anonymous> (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/model-protocols.test.mjs:51:10)
at runNextTicks (node:internal/process/task_queues:65:5)
at process.processTimers (node:internal/timers:615:9)
at async Test.run (node:internal/test_runner/test:1409:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'failed',
expected: 'completed',
operator: 'strictEqual',
diff: 'simple'
}