✔ read-only environment diagnosis identifies actual runtime, missing dependencies and sealed inputs without installing or running scripts (7100.1525ms) ✔ diagnosis rejects unsupported managers, lock integrity and credential configuration without reading config content (6029.2178ms) ✔ approved real npm ci runs only in owned worktree, skips scripts, retains logs and binds later actual tests (14111.0012ms) ✔ explicitly allowing lifecycle scripts executes sealed root script and preserves the separate preparation result (7349.738ms) ✔ stale lockfile, tampered plan/config, cross-session identities and mismatched download sources never dispatch npm (6652.3769ms) ✔ registry failure keeps original npm exit/log and performs no automatic fallback or replay (8420.1589ms) ✔ stopping a hanging dependency download records only its owned process and preserves stopped logs (8376.6724ms) ✖ restart retains unknown preparation, blocks writes and checks, and requires explicit read-only reconciliation (5736.8673ms) ✖ HTTP environment flow survives refresh, requires explicit approval and preserves task and artifact ownership (6642.2388ms) ✔ Python environment diagnosis reads declarations and runtime identity without executing project code or installing packages (796.6477ms) ✔ dependency snapshots reject external links and incomplete budgets instead of claiming environment equivalence (613.9222ms) ℹ tests 11 ℹ suites 0 ℹ pass 9 ℹ fail 2 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 71967.0566 ✖ failing tests: test at tests\environment.test.mjs:85:1 ✖ restart retains unknown preparation, blocks writes and checks, and requires explicit read-only reconciliation (5736.8673ms) ReferenceError [Error]: Cannot access 'manager' before initialization at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/environment.test.mjs:86:73) 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) test at tests\environment.test.mjs:96:1 ✖ HTTP environment flow survives refresh, requires explicit approval and preserves task and artifact ownership (6642.2388ms) Error: 接口不存在。 at Object.api (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/helpers.mjs:107:43) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/environment.test.mjs:98:15) at async Test.run (node:internal/test_runner/test:1409:7) at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { status: 404 }