✔ controlled installation pins the native kernel and bridge independently of the existing connection-probe identity (793.257ms) ✔ controlled profiles disable every native project/terminal provider and native model/retry route using the actual include patch contract (0.5603ms) ✔ owned tool catalogues seal full schemas canonically and reject duplicate or malformed declarations (5.9635ms) ✔ bridge authentication, current Run, process, SDK session and browser-origin checks reject before dispatch (618.3009ms) ✔ bridge duplicates, unknown tools, malformed arguments and source changes are refused before a second side effect (565.9574ms) ✔ bridge model requests bind the exact catalogue, route and output bound and preserve raw request/result identity (673.695ms) ✔ stopped and oversized bridge requests never reach a local model or tool callback (794.3909ms) ✔ controlled engine HTTP freezes one child, pages original owned input/report, rejects foreign reads and prevents changed-source reuse (11058.2427ms) ✔ native text and call IDs preserve original result pairing while unsupported content fails closed (0.7758ms) ✔ one engine child freezes real installation identity before creating tasks and rejects a changed source (5802.5702ms) ✔ owned native tools return saved results, use real approvals/checks and account each actual request once across new engine Runs (17894.2852ms) ✔ forged native scope cannot change a parent file and a final completion claim cannot replace worker proof (8916.7968ms) ✔ duplicate native IDs are rejected without replaying a saved tool (8503.6329ms) ✔ native input exceeding the context budget is retained and sends no model request (7072.0545ms) ✔ stop retains a late reported model usage once and executes no tool from that output (7324.6488ms) ✔ a source change after the original model intent stops before native tools execute (7295.5058ms) ✔ an engine source change while approval is pending invalidates the old permission before any check starts (9894.5032ms) ✔ missing or noncompleted turn end cannot be adopted even with an owned receipt and assistant text (0.578ms) ✔ closed root with an original live descendant remains unknown and retains its process tree (0.258ms) ✔ host recovery reserves original pending attempts exactly once and explicit review preserves unknown outcomes (11070.9882ms) ✔ corrupted model reservation cannot reduce recovered budget or permit a new engine request (8900.6863ms) ✔ two Purge source versions lock nine original inputs without executing JavaScript or postinstall and remain disabled by default (543.8912ms) ✔ incomplete, unsupported, relative and oversized sources cannot enable the experiment (627.6106ms) ✔ invalid source fingerprints and invented privilege or retry fields fail before any parent Task is created (1774.5132ms) ✔ source edits between detection and plan are rejected without creating a parent Task (1517.2805ms) ✔ source edits after sealing cannot launch a child and do not reset its cumulative budget (5874.9873ms) ✔ literal experiment text is sealed into the parent, worker and each new Run while actual host approvals and saved results remain required (18109.2202ms) ✔ source changes after a model response stop before any native tool is accepted, retaining the actual usage once (7376.2092ms) ✔ source changes while approval is pending invalidate the old permission before an engineering check starts (9991.9956ms) ✔ altered text, interpolation, section order and policy flags cannot reuse a sealed experiment (1524.9531ms) ✔ a missing or duplicated experimental section in the actual input is rejected before any model dispatch (14210.3009ms) ✖ experimental prompt overhead still participates in the original complete-input budget guard (6442.7283ms) ✔ source detection HTTP remains local-authenticated and read-only with no configured model requests (1580.9611ms) ℹ tests 33 ℹ suites 0 ℹ pass 32 ℹ fail 1 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 177200.7418 ✖ failing tests: test at tests\purge-strategy.test.mjs:119:1 ✖ experimental prompt overhead still participates in the original complete-input budget guard (6442.7283ms) TypeError [Error]: Cannot read properties of undefined (reading 'requests') at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/purge-strategy.test.mjs:122:68) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1409:7) at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)