TAP version 13 # warning: in the working copy of 'README.md', LF will be replaced by CRLF the next time Git touches it # warning: in the working copy of 'src/two.mjs', LF will be replaced by CRLF the next time Git touches it # Subtest: sealed batches preserve bytes until review, then apply and explicitly restore BOM/CRLF/new files ok 1 - sealed batches preserve bytes until review, then apply and explicitly restore BOM/CRLF/new files --- duration_ms: 2415.5287 type: 'test' ... # Switched to a new branch 'owner-branch' # Subtest: a conflict in the last file or Git branch prevents writing every file in the batch ok 2 - a conflict in the last file or Git branch prevents writing every file in the batch --- duration_ms: 2607.0837 type: 'test' ... # Subtest: duplicate canonical paths, ancestor collisions, links, dependencies and Windows aliases never form a batch ok 3 - duplicate canonical paths, ancestor collisions, links, dependencies and Windows aliases never form a batch --- duration_ms: 1115.5078 type: 'test' ... # Subtest: fingerprints, changed proposals and corrupt snapshot artifacts cannot write or restore any target ok 4 - fingerprints, changed proposals and corrupt snapshot artifacts cannot write or restore any target --- duration_ms: 2016.1182 type: 'test' ... # Subtest: a failure after replacement restores only batch bytes and never retries an old application ok 5 - a failure after replacement restores only batch bytes and never retries an old application --- duration_ms: 1669.7178 type: 'test' ... # Subtest: rollback preserves owner edits, blocks other project writers, and explicit acknowledgement releases recovery ok 6 - rollback preserves owner edits, blocks other project writers, and explicit acknowledgement releases recovery --- duration_ms: 2116.784 type: 'test' ... # Subtest: an unattempted owner-created file identical to a suggestion remains external and is never removed ok 7 - an unattempted owner-created file identical to a suggestion remains external and is never removed --- duration_ms: 1636.1192 type: 'test' ... # Subtest: active batch requests are serialized and cancellation leaves a verifiable ended batch ok 8 - active batch requests are serialized and cancellation leaves a verifiable ended batch --- duration_ms: 1777.0761 type: 'test' ... # Subtest: batch application and rollback preserve unrelated Git index and worktree bytes ok 9 - batch application and rollback preserve unrelated Git index and worktree bytes --- duration_ms: 3189.6226 type: 'test' ... # Subtest: recovery reuses exact staged bytes but retains a conflicting temporary file for owner inspection ok 10 - recovery reuses exact staged bytes but retains a conflicting temporary file for owner inspection --- duration_ms: 2630.6958 type: 'test' ... # Subtest: one Task can seal pending proposals from earlier Runs while snapshots retain each source Run ok 11 - one Task can seal pending proposals from earlier Runs while snapshots retain each source Run --- duration_ms: 1951.2531 type: 'test' ... # Subtest: engineering inspection preserves a dirty Git baseline and treats project rules as data ok 12 - engineering inspection preserves a dirty Git baseline and treats project rules as data --- duration_ms: 2460.1328 type: 'test' ... # Subtest: real npm tests and build produce counted results, log artifacts and persistent verification ok 13 - real npm tests and build produce counted results, log artifacts and persistent verification --- duration_ms: 2208.5491 type: 'test' ... # Subtest: an actual failing test retains the nonzero exit code and failed count ok 14 - an actual failing test retains the nonzero exit code and failed count --- duration_ms: 2240.4434 type: 'test' ... # Subtest: zero tests, skipped tests and unrecognized stdout cannot become verification passes ok 15 - zero tests, skipped tests and unrecognized stdout cannot become verification passes --- duration_ms: 7405.1584 type: 'test' ... # Subtest: a successful build with no selected tests does not verify the task ok 16 - a successful build with no selected tests does not verify the task --- duration_ms: 1766.4653 type: 'test' ... # Subtest: stale check plans and forged script names execute no project commands ok 17 - stale check plans and forged script names execute no project commands --- duration_ms: 1193.6821 type: 'test' ... # Subtest: applying a later proposal invalidates the prior passed engineering snapshot ok 18 - applying a later proposal invalidates the prior passed engineering snapshot --- duration_ms: 2544.6772 type: 'test' ... # Subtest: stopping an actual check terminates its child process and blocks concurrent jobs ok 19 - stopping an actual check terminates its child process and blocks concurrent jobs --- duration_ms: 2081.289 type: 'test' ... # Subtest: check timeout records a failure with its actual termination result ok 20 - check timeout records a failure with its actual termination result --- duration_ms: 2345.912 type: 'test' ... # Subtest: source edits during a successful check make the result stale ok 21 - source edits during a successful check make the result stale --- duration_ms: 3124.6105 type: 'test' ... # Subtest: bounded large logs retain the test footer and readable artifact instead of inventing counts ok 22 - bounded large logs retain the test footer and readable artifact instead of inventing counts --- duration_ms: 1548.0254 type: 'test' ... # Subtest: model-selected checks require a run-bound decision and denial creates no check job ok 23 - model-selected checks require a run-bound decision and denial creates no check job --- duration_ms: 2346.602 type: 'test' ... # Subtest: check APIs expose owned plans and jobs and preserve the authoritative results across restart ok 24 - check APIs expose owned plans and jobs and preserve the authoritative results across restart --- duration_ms: 3288.2461 type: 'test' ... # Subtest: reviewed changes continue the original task without reopening a generic completed run ok 25 - reviewed changes continue the original task without reopening a generic completed run --- duration_ms: 3300.4038 type: 'test' ... # Subtest: concurrent review-continuation API requests accept one run and retain the goal after restart ok 26 - concurrent review-continuation API requests accept one run and retain the goal after restart --- duration_ms: 5515.8201 type: 'test' ... # Subtest: the model reads owned failure logs without running the check again ok 27 - the model reads owned failure logs without running the check again --- duration_ms: 3389.6731 type: 'test' ... # Subtest: process exit at check queued preserves results and never replays commands ok 28 - process exit at check queued preserves results and never replays commands --- duration_ms: 1606.8239 type: 'test' ... # Subtest: process exit at check result_committed preserves results and never replays commands ok 29 - process exit at check result_committed preserves results and never replays commands --- duration_ms: 1919.5495 type: 'test' ... # Subtest: HTTP worker identities require a current sealed plan, reject overrides and close unused plans without touching source ok 30 - HTTP worker identities require a current sealed plan, reject overrides and close unused plans without touching source --- duration_ms: 12131.7969 type: 'test' ... # Subtest: HTTP unknown recovery only accepts the original evidence SHA and preserves changed source for explicit retention ok 31 - HTTP unknown recovery only accepts the original evidence SHA and preserves changed source for explicit retention --- duration_ms: 17180.3888 type: 'test' ... # Subtest: verified isolated outputs form a new parent batch, rerun real checks and commit only reviewed source ok 32 - verified isolated outputs form a new parent batch, rerun real checks and commit only reviewed source --- duration_ms: 39727.8177 type: 'test' ... # Subtest: overlapping worker paths are explicit conflicts even if each independent task checks successfully ok 33 - overlapping worker paths are explicit conflicts even if each independent task checks successfully --- duration_ms: 25406.1033 type: 'test' ... # Subtest: source edits after isolated work preserve the owner file and invalidate collection without proposing a merge ok 34 - source edits after isolated work preserve the owner file and invalidate collection without proposing a merge --- duration_ms: 24004.5637 type: 'test' ... # Subtest: changed child bytes after parent preview block the entire batch before any parent write ok 35 - changed child bytes after parent preview block the entire batch before any parent write --- duration_ms: 35339.0053 type: 'test' ... # Subtest: corrupt original check logs cannot become collected outputs or a parent review ok 36 - corrupt original check logs cannot become collected outputs or a parent review --- duration_ms: 24565.954 type: 'test' ... # Subtest: stopping a parent accounts late responses and executes none of their proposed tools ok 37 - stopping a parent accounts late responses and executes none of their proposed tools --- duration_ms: 12038.2961 type: 'test' ... # Subtest: unreported interrupted requests reserve estimated usage and the total deadline cannot reset on resume ok 38 - unreported interrupted requests reserve estimated usage and the total deadline cannot reset on resume --- duration_ms: 12112.6327 type: 'test' ... # Subtest: a response exceeding the cumulative token allocation stops before registering or executing its tools ok 39 - a response exceeding the cumulative token allocation stops before registering or executing its tools --- duration_ms: 11129.352 type: 'test' ... # Subtest: cumulative tool allocation rejects the entire returned batch before any tool side effect ok 40 - cumulative tool allocation rejects the entire returned batch before any tool side effect --- duration_ms: 11113.242 type: 'test' ... # Subtest: single response 16 tool ceiling rejects the entire returned batch before any tool side effect ok 41 - single response 16 tool ceiling rejects the entire returned batch before any tool side effect --- duration_ms: 11409.1335 type: 'test' ... # Subtest: consumed request steps remain consumed across explicit worker resumes ok 42 - consumed request steps remain consumed across explicit worker resumes --- duration_ms: 12498.5045 type: 'test' ... # Subtest: a saved completed response with missing usage is conservatively accounted exactly once during recovery ok 43 - a saved completed response with missing usage is conservatively accounted exactly once during recovery --- duration_ms: 9664.4461 type: 'test' ... # Subtest: an unexecuted second workspace plan resumes its original identity without recreating the first checkout ok 44 - an unexecuted second workspace plan resumes its original identity without recreating the first checkout --- duration_ms: 10761.2218 type: 'test' ... # Subtest: a verified interrupted parent proposal resumes sealing without duplicating or replacing its original change ok 45 - a verified interrupted parent proposal resumes sealing without duplicating or replacing its original change --- duration_ms: 39057.3641 type: 'test' ... # Subtest: recovery attaches a sealed parent batch saved before its group reference without creating another batch ok 46 - recovery attaches a sealed parent batch saved before its group reference without creating another batch --- duration_ms: 32270.65 type: 'test' ... # Subtest: explicitly retaining an unexecuted parent merge cancels its batch and frees the next parent goal ok 47 - explicitly retaining an unexecuted parent merge cancels its batch and frees the next parent goal --- duration_ms: 37970.6885 type: 'test' ... # Subtest: unknown collaboration blocks ordinary proposals but permits only original batch recovery and rollback ok 48 - unknown collaboration blocks ordinary proposals but permits only original batch recovery and rollback --- duration_ms: 40257.3541 type: 'test' ... # Subtest: after a restart the batch application lazily reinstates the worker result guard before any parent write ok 49 - after a restart the batch application lazily reinstates the worker result guard before any parent write --- duration_ms: 34417.7522 type: 'test' ... # Subtest: unknown original tool inputs must match before acknowledgement, and reviewed checkpoint IDs preserve the unknown fact ok 50 - unknown original tool inputs must match before acknowledgement, and reviewed checkpoint IDs preserve the unknown fact --- duration_ms: 12009.7832 type: 'test' ... # Subtest: a parent stop observes and waits for a manually approved child check and its real descendant process ok 51 - a parent stop observes and waits for a manually approved child check and its real descendant process --- duration_ms: 10596.0455 type: 'test' ... # Subtest: a real host crash preserves unknown checks, refuses a still living owned PID and never replays a model or tool not ok 52 - a real host crash preserves unknown checks, refuses a still living owned PID and never replays a model or tool --- duration_ms: 17110.0072 type: 'test' location: 'D:\\Ai-project\\REA逆向\\Agent-Workbench\\tests\\workers-recovery.test.mjs:212:1' failureType: 'testCodeFailure' error: '原检查子进程PID仍存活:32864;不能按历史PID自动终止或解除核对。' code: 'ERR_ASSERTION' name: 'AssertionError' expected: true operator: '==' stack: |- evidence (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers-recovery.test.mjs:31:10) process.processTicksAndRejections (node:internal/process/task_queues:104:5) async TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers-recovery.test.mjs:237:3) async Test.run (node:internal/test_runner/test:1409:7) async Test.processPendingSubtests (node:internal/test_runner/test:974:7) ... # Subtest: a persisted child initialization resumes the original control run after a failure before its worker record ok 53 - a persisted child initialization resumes the original control run after a failure before its worker record --- duration_ms: 10800.6159 type: 'test' ... # Subtest: failed request intent persistence never dispatches a worker request or changes source ok 54 - failed request intent persistence never dispatches a worker request or changes source --- duration_ms: 9824.9886 type: 'test' ... # Subtest: failed usage persistence rolls back the uncommitted usage and conservatively reserves one unknown request without tools ok 55 - failed usage persistence rolls back the uncommitted usage and conservatively reserves one unknown request without tools --- duration_ms: 9797.1499 type: 'test' ... # Subtest: a child file change after observation prevents acknowledgement even when the tool inputs did not change ok 56 - a child file change after observation prevents acknowledgement even when the tool inputs did not change --- duration_ms: 9323.7521 type: 'test' ... # Subtest: worker scopes and allocated budgets reject aliases, extra permissions and aggregate overflow ok 57 - worker scopes and allocated budgets reject aliases, extra permissions and aggregate overflow --- duration_ms: 594.0688 type: 'test' ... # Subtest: two sequential Git workspaces freeze a new parent goal, separate owned tasks and preserve all source bytes ok 58 - two sequential Git workspaces freeze a new parent goal, separate owned tasks and preserve all source bytes --- duration_ms: 10238.914 type: 'test' ... # Subtest: real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims ok 59 - real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims --- duration_ms: 28457.4712 type: 'test' ... # Subtest: forged worker tools cannot execute terminal or Git even when absent from the advertised tool list ok 60 - forged worker tools cannot execute terminal or Git even when absent from the advertised tool list --- duration_ms: 11412.5893 type: 'test' ... # Subtest: a completion-only model pauses each worker without fabricated changes or checks ok 61 - a completion-only model pauses each worker without fabricated changes or checks --- duration_ms: 13517.5117 type: 'test' ... # Subtest: restart retains frozen scope and marks interrupted parent and workers unknown without sending requests ok 62 - restart retains frozen scope and marks interrupted parent and workers unknown without sending requests --- duration_ms: 11910.9256 type: 'test' ... # Subtest: managed worktree preserves source index and dirty files, opens a distinct project and binds Run identity ok 63 - managed worktree preserves source index and dirty files, opens a distinct project and binds Run identity --- duration_ms: 5296.7531 type: 'test' ... # Subtest: stale review, branch/path collisions and forged ownership do not run worktree creation ok 64 - stale review, branch/path collisions and forged ownership do not run worktree creation --- duration_ms: 3337.6751 type: 'test' ... # Subtest: workspace project verification is read-only and rejects physical Git identity changes ok 65 - workspace project verification is read-only and rejects physical Git identity changes --- duration_ms: 4760.2293 type: 'test' ... 1..65 # tests 65 # suites 0 # pass 64 # fail 1 # cancelled 0 # skipped 0 # todo 0 # duration_ms 406954.7052