diff --git a/.gitattributes b/.gitattributes index e374d1f0..aba4332a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,3 +5,5 @@ *.jpg binary *.ico binary tests/fixtures/legacy-workbench-0.1/dist-server/server.mjs binary +docs/workers-*.tap -text +docs/workers-*.log -text diff --git a/docs/workers-core-diagnosis.tap b/docs/workers-core-diagnosis.tap index 48853c62..1e15aabf 100644 --- a/docs/workers-core-diagnosis.tap +++ b/docs/workers-core-diagnosis.tap @@ -1,51 +1,51 @@ -✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11294.7189ms) -✖ a completion-only model pauses each worker without fabricated changes or checks (9093.3029ms) -ℹ tests 2 -ℹ suites 0 -ℹ pass 0 -ℹ fail 2 -ℹ cancelled 0 -ℹ skipped 0 -ℹ todo 0 -ℹ duration_ms 20508.9926 - -✖ failing tests: - -test at tests\workers.test.mjs:45:1 -✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11294.7189ms) - AssertionError [ERR_ASSERTION]: [{"status":"failed","summary":"持久执行记录不能移动到其他任务或项目。","failure":null},{"status":"failed","summary":"持久执行记录不能移动到其他任务或项目。","failure":null}] - + actual - expected - - + 'paused' - - 'ready_to_collect' - - at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:47:10) - at async Test.run (node:internal/test_runner/test:1409:7) - at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) { - generatedMessage: false, - code: 'ERR_ASSERTION', - actual: 'paused', - expected: 'ready_to_collect', - operator: 'strictEqual', - diff: 'simple' - } - -test at tests\workers.test.mjs:75:1 -✖ a completion-only model pauses each worker without fabricated changes or checks (9093.3029ms) - AssertionError [ERR_ASSERTION]: "持久执行记录不能移动到其他任务或项目。" - + actual - expected - - + null - - 'worker_incomplete' - - at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:80:110) - 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) { - generatedMessage: false, - code: 'ERR_ASSERTION', - actual: null, - expected: 'worker_incomplete', - operator: 'strictEqual', - diff: 'simple' - } +✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11294.7189ms) +✖ a completion-only model pauses each worker without fabricated changes or checks (9093.3029ms) +ℹ tests 2 +ℹ suites 0 +ℹ pass 0 +ℹ fail 2 +ℹ cancelled 0 +ℹ skipped 0 +ℹ todo 0 +ℹ duration_ms 20508.9926 + +✖ failing tests: + +test at tests\workers.test.mjs:45:1 +✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11294.7189ms) + AssertionError [ERR_ASSERTION]: [{"status":"failed","summary":"持久执行记录不能移动到其他任务或项目。","failure":null},{"status":"failed","summary":"持久执行记录不能移动到其他任务或项目。","failure":null}] + + actual - expected + + + 'paused' + - 'ready_to_collect' + + at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:47:10) + at async Test.run (node:internal/test_runner/test:1409:7) + at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) { + generatedMessage: false, + code: 'ERR_ASSERTION', + actual: 'paused', + expected: 'ready_to_collect', + operator: 'strictEqual', + diff: 'simple' + } + +test at tests\workers.test.mjs:75:1 +✖ a completion-only model pauses each worker without fabricated changes or checks (9093.3029ms) + AssertionError [ERR_ASSERTION]: "持久执行记录不能移动到其他任务或项目。" + + actual - expected + + + null + - 'worker_incomplete' + + at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:80:110) + 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) { + generatedMessage: false, + code: 'ERR_ASSERTION', + actual: null, + expected: 'worker_incomplete', + operator: 'strictEqual', + diff: 'simple' + } diff --git a/docs/workers-core-final.tap b/docs/workers-core-final.tap index 228242fe..b5efa847 100644 --- a/docs/workers-core-final.tap +++ b/docs/workers-core-final.tap @@ -1,14 +1,14 @@ -✔ worker scopes and allocated budgets reject aliases, extra permissions and aggregate overflow (587.18ms) -✔ two sequential Git workspaces freeze a new parent goal, separate owned tasks and preserve all source bytes (8633.5423ms) -✔ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (19461.1322ms) -✔ forged worker tools cannot execute terminal or Git even when absent from the advertised tool list (8691.5541ms) -✔ a completion-only model pauses each worker without fabricated changes or checks (10455.2706ms) -✔ restart retains frozen scope and marks interrupted parent and workers unknown without sending requests (8392.3437ms) -ℹ tests 6 -ℹ suites 0 -ℹ pass 6 -ℹ fail 0 -ℹ cancelled 0 -ℹ skipped 0 -ℹ todo 0 -ℹ duration_ms 56336.5639 +✔ worker scopes and allocated budgets reject aliases, extra permissions and aggregate overflow (587.18ms) +✔ two sequential Git workspaces freeze a new parent goal, separate owned tasks and preserve all source bytes (8633.5423ms) +✔ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (19461.1322ms) +✔ forged worker tools cannot execute terminal or Git even when absent from the advertised tool list (8691.5541ms) +✔ a completion-only model pauses each worker without fabricated changes or checks (10455.2706ms) +✔ restart retains frozen scope and marks interrupted parent and workers unknown without sending requests (8392.3437ms) +ℹ tests 6 +ℹ suites 0 +ℹ pass 6 +ℹ fail 0 +ℹ cancelled 0 +ℹ skipped 0 +ℹ todo 0 +ℹ duration_ms 56336.5639 diff --git a/docs/workers-core-first.tap b/docs/workers-core-first.tap index 0e8f3873..3176817f 100644 --- a/docs/workers-core-first.tap +++ b/docs/workers-core-first.tap @@ -1,55 +1,55 @@ -✔ worker scopes and allocated budgets reject aliases, extra permissions and aggregate overflow (637.895ms) -✔ two sequential Git workspaces freeze a new parent goal, separate owned tasks and preserve all source bytes (8247.1926ms) -✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11356.0679ms) -✔ forged worker tools cannot execute terminal or Git even when absent from the advertised tool list (8663.1033ms) -✖ a completion-only model pauses each worker without fabricated changes or checks (8897.8571ms) -✔ restart retains frozen scope and marks interrupted parent and workers unknown without sending requests (8453.4236ms) -ℹ tests 6 -ℹ suites 0 -ℹ pass 4 -ℹ fail 2 -ℹ cancelled 0 -ℹ skipped 0 -ℹ todo 0 -ℹ duration_ms 46372.7737 - -✖ failing tests: - -test at tests\workers.test.mjs:45:1 -✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11356.0679ms) - AssertionError [ERR_ASSERTION]: 子任务已停止或需要处理,已完成结果保留。 - + actual - expected - - + 'paused' - - 'ready_to_collect' - - at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:47:10) - at async Test.run (node:internal/test_runner/test:1409:7) - at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { - generatedMessage: false, - code: 'ERR_ASSERTION', - actual: 'paused', - expected: 'ready_to_collect', - operator: 'strictEqual', - diff: 'simple' - } - -test at tests\workers.test.mjs:75:1 -✖ a completion-only model pauses each worker without fabricated changes or checks (8897.8571ms) - AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: - + actual - expected - - + null - - 'worker_incomplete' - - at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:80:110) - 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) { - generatedMessage: true, - code: 'ERR_ASSERTION', - actual: null, - expected: 'worker_incomplete', - operator: 'strictEqual', - diff: 'simple' - } +✔ worker scopes and allocated budgets reject aliases, extra permissions and aggregate overflow (637.895ms) +✔ two sequential Git workspaces freeze a new parent goal, separate owned tasks and preserve all source bytes (8247.1926ms) +✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11356.0679ms) +✔ forged worker tools cannot execute terminal or Git even when absent from the advertised tool list (8663.1033ms) +✖ a completion-only model pauses each worker without fabricated changes or checks (8897.8571ms) +✔ restart retains frozen scope and marks interrupted parent and workers unknown without sending requests (8453.4236ms) +ℹ tests 6 +ℹ suites 0 +ℹ pass 4 +ℹ fail 2 +ℹ cancelled 0 +ℹ skipped 0 +ℹ todo 0 +ℹ duration_ms 46372.7737 + +✖ failing tests: + +test at tests\workers.test.mjs:45:1 +✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (11356.0679ms) + AssertionError [ERR_ASSERTION]: 子任务已停止或需要处理,已完成结果保留。 + + actual - expected + + + 'paused' + - 'ready_to_collect' + + at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:47:10) + at async Test.run (node:internal/test_runner/test:1409:7) + at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { + generatedMessage: false, + code: 'ERR_ASSERTION', + actual: 'paused', + expected: 'ready_to_collect', + operator: 'strictEqual', + diff: 'simple' + } + +test at tests\workers.test.mjs:75:1 +✖ a completion-only model pauses each worker without fabricated changes or checks (8897.8571ms) + AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + + actual - expected + + + null + - 'worker_incomplete' + + at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:80:110) + 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) { + generatedMessage: true, + code: 'ERR_ASSERTION', + actual: null, + expected: 'worker_incomplete', + operator: 'strictEqual', + diff: 'simple' + } diff --git a/docs/workers-core-output-diagnosis.tap b/docs/workers-core-output-diagnosis.tap index ee78152d..9dcb77de 100644 --- a/docs/workers-core-output-diagnosis.tap +++ b/docs/workers-core-output-diagnosis.tap @@ -1,30 +1,30 @@ -✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (17786.5763ms) -ℹ tests 1 -ℹ suites 0 -ℹ pass 0 -ℹ fail 1 -ℹ cancelled 0 -ℹ skipped 0 -ℹ todo 0 -ℹ duration_ms 17901.7218 - -✖ failing tests: - -test at tests\workers.test.mjs:45:1 -✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (17786.5763ms) - AssertionError [ERR_ASSERTION]: [{"status":"paused","summary":"原子任务已保存,等待审查或继续。","failure":null,"reason":"worker_incomplete","messages":["从已保存的执行记录继续,已完成的工具结果保留。","夹具声称完成,宿主仍需核验","子任务还不能交付:子成果中的批次没有完整应用结果:src/a.mjs。原目标和结果已保存。"]},{"status":"paused","summary":"原子任务已保存,等待审查或继续。","failure":null,"reason":"worker_incomplete","messages":["从已保存的执行记录继续,已完成的工具结果保留。","夹具声称完成,宿主仍需核验","子任务还不能交付:子成果中的批次没有完整应用结果:src/b.mjs。原目标和结果已保存。"]}] - + actual - expected - - + 'paused' - - 'ready_to_collect' - - at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:47:10) - at async Test.run (node:internal/test_runner/test:1409:7) - at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) { - generatedMessage: false, - code: 'ERR_ASSERTION', - actual: 'paused', - expected: 'ready_to_collect', - operator: 'strictEqual', - diff: 'simple' - } +✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (17786.5763ms) +ℹ tests 1 +ℹ suites 0 +ℹ pass 0 +ℹ fail 1 +ℹ cancelled 0 +ℹ skipped 0 +ℹ todo 0 +ℹ duration_ms 17901.7218 + +✖ failing tests: + +test at tests\workers.test.mjs:45:1 +✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (17786.5763ms) + AssertionError [ERR_ASSERTION]: [{"status":"paused","summary":"原子任务已保存,等待审查或继续。","failure":null,"reason":"worker_incomplete","messages":["从已保存的执行记录继续,已完成的工具结果保留。","夹具声称完成,宿主仍需核验","子任务还不能交付:子成果中的批次没有完整应用结果:src/a.mjs。原目标和结果已保存。"]},{"status":"paused","summary":"原子任务已保存,等待审查或继续。","failure":null,"reason":"worker_incomplete","messages":["从已保存的执行记录继续,已完成的工具结果保留。","夹具声称完成,宿主仍需核验","子任务还不能交付:子成果中的批次没有完整应用结果:src/b.mjs。原目标和结果已保存。"]}] + + actual - expected + + + 'paused' + - 'ready_to_collect' + + at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:47:10) + at async Test.run (node:internal/test_runner/test:1409:7) + at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) { + generatedMessage: false, + code: 'ERR_ASSERTION', + actual: 'paused', + expected: 'ready_to_collect', + operator: 'strictEqual', + diff: 'simple' + } diff --git a/docs/workers-core-ownership-fix.tap b/docs/workers-core-ownership-fix.tap index 84534aa2..46811006 100644 --- a/docs/workers-core-ownership-fix.tap +++ b/docs/workers-core-ownership-fix.tap @@ -1,31 +1,31 @@ -✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (17354.4449ms) -✔ a completion-only model pauses each worker without fabricated changes or checks (10289.3832ms) -ℹ tests 2 -ℹ suites 0 -ℹ pass 1 -ℹ fail 1 -ℹ cancelled 0 -ℹ skipped 0 -ℹ todo 0 -ℹ duration_ms 27758.5238 - -✖ failing tests: - -test at tests\workers.test.mjs:45:1 -✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (17354.4449ms) - AssertionError [ERR_ASSERTION]: [{"status":"paused","summary":"原子任务已保存,等待审查或继续。","failure":null},{"status":"paused","summary":"原子任务已保存,等待审查或继续。","failure":null}] - + actual - expected - - + 'paused' - - 'ready_to_collect' - - at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:47:10) - at async Test.run (node:internal/test_runner/test:1409:7) - at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) { - generatedMessage: false, - code: 'ERR_ASSERTION', - actual: 'paused', - expected: 'ready_to_collect', - operator: 'strictEqual', - diff: 'simple' - } +✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (17354.4449ms) +✔ a completion-only model pauses each worker without fabricated changes or checks (10289.3832ms) +ℹ tests 2 +ℹ suites 0 +ℹ pass 1 +ℹ fail 1 +ℹ cancelled 0 +ℹ skipped 0 +ℹ todo 0 +ℹ duration_ms 27758.5238 + +✖ failing tests: + +test at tests\workers.test.mjs:45:1 +✖ real isolated changes, approvals and npm checks produce original owned outputs, not model completion claims (17354.4449ms) + AssertionError [ERR_ASSERTION]: [{"status":"paused","summary":"原子任务已保存,等待审查或继续。","failure":null},{"status":"paused","summary":"原子任务已保存,等待审查或继续。","failure":null}] + + actual - expected + + + 'paused' + - 'ready_to_collect' + + at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/workers.test.mjs:47:10) + at async Test.run (node:internal/test_runner/test:1409:7) + at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) { + generatedMessage: false, + code: 'ERR_ASSERTION', + actual: 'paused', + expected: 'ready_to_collect', + operator: 'strictEqual', + diff: 'simple' + } diff --git a/docs/workers-core-regression.tap b/docs/workers-core-regression.tap index de61846a..9c4c4416 100644 --- a/docs/workers-core-regression.tap +++ b/docs/workers-core-regression.tap @@ -1,43 +1,43 @@ -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 -✔ sealed batches preserve bytes until review, then apply and explicitly restore BOM/CRLF/new files (2328.8361ms) -Switched to a new branch 'owner-branch' -✔ a conflict in the last file or Git branch prevents writing every file in the batch (2849.7417ms) -✔ duplicate canonical paths, ancestor collisions, links, dependencies and Windows aliases never form a batch (958.2824ms) -✔ fingerprints, changed proposals and corrupt snapshot artifacts cannot write or restore any target (2246.286ms) -✔ a failure after replacement restores only batch bytes and never retries an old application (1887.1675ms) -✔ rollback preserves owner edits, blocks other project writers, and explicit acknowledgement releases recovery (1717.7744ms) -✔ an unattempted owner-created file identical to a suggestion remains external and is never removed (1508.44ms) -✔ active batch requests are serialized and cancellation leaves a verifiable ended batch (1707.1052ms) -✔ batch application and rollback preserve unrelated Git index and worktree bytes (3473.6038ms) -✔ recovery reuses exact staged bytes but retains a conflicting temporary file for owner inspection (2697.1792ms) -✔ one Task can seal pending proposals from earlier Runs while snapshots retain each source Run (2091.2088ms) -✔ engineering inspection preserves a dirty Git baseline and treats project rules as data (2263.3827ms) -✔ real npm tests and build produce counted results, log artifacts and persistent verification (2604.4731ms) -✔ an actual failing test retains the nonzero exit code and failed count (2134.3808ms) -✔ zero tests, skipped tests and unrecognized stdout cannot become verification passes (7110.2094ms) -✔ a successful build with no selected tests does not verify the task (1903.2808ms) -✔ stale check plans and forged script names execute no project commands (1191.0967ms) -✔ applying a later proposal invalidates the prior passed engineering snapshot (2558.1788ms) -✔ stopping an actual check terminates its child process and blocks concurrent jobs (2195.3353ms) -✔ check timeout records a failure with its actual termination result (2310.8461ms) -✔ source edits during a successful check make the result stale (2999.3104ms) -✔ bounded large logs retain the test footer and readable artifact instead of inventing counts (1569.0375ms) -✔ model-selected checks require a run-bound decision and denial creates no check job (2567.6394ms) -✔ check APIs expose owned plans and jobs and preserve the authoritative results across restart (3716.4954ms) -✔ reviewed changes continue the original task without reopening a generic completed run (2246.0716ms) -✔ concurrent review-continuation API requests accept one run and retain the goal after restart (4478.3583ms) -✔ the model reads owned failure logs without running the check again (2665.5831ms) -✔ process exit at check queued preserves results and never replays commands (1334.1134ms) -✔ process exit at check result_committed preserves results and never replays commands (1732.2751ms) -✔ managed worktree preserves source index and dirty files, opens a distinct project and binds Run identity (4827.2507ms) -✔ stale review, branch/path collisions and forged ownership do not run worktree creation (3383.8726ms) -✔ workspace project verification is read-only and rejects physical Git identity changes (4400.677ms) -ℹ tests 32 -ℹ suites 0 -ℹ pass 32 -ℹ fail 0 -ℹ cancelled 0 -ℹ skipped 0 -ℹ todo 0 -ℹ duration_ms 47703.7776 +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 +✔ sealed batches preserve bytes until review, then apply and explicitly restore BOM/CRLF/new files (2328.8361ms) +Switched to a new branch 'owner-branch' +✔ a conflict in the last file or Git branch prevents writing every file in the batch (2849.7417ms) +✔ duplicate canonical paths, ancestor collisions, links, dependencies and Windows aliases never form a batch (958.2824ms) +✔ fingerprints, changed proposals and corrupt snapshot artifacts cannot write or restore any target (2246.286ms) +✔ a failure after replacement restores only batch bytes and never retries an old application (1887.1675ms) +✔ rollback preserves owner edits, blocks other project writers, and explicit acknowledgement releases recovery (1717.7744ms) +✔ an unattempted owner-created file identical to a suggestion remains external and is never removed (1508.44ms) +✔ active batch requests are serialized and cancellation leaves a verifiable ended batch (1707.1052ms) +✔ batch application and rollback preserve unrelated Git index and worktree bytes (3473.6038ms) +✔ recovery reuses exact staged bytes but retains a conflicting temporary file for owner inspection (2697.1792ms) +✔ one Task can seal pending proposals from earlier Runs while snapshots retain each source Run (2091.2088ms) +✔ engineering inspection preserves a dirty Git baseline and treats project rules as data (2263.3827ms) +✔ real npm tests and build produce counted results, log artifacts and persistent verification (2604.4731ms) +✔ an actual failing test retains the nonzero exit code and failed count (2134.3808ms) +✔ zero tests, skipped tests and unrecognized stdout cannot become verification passes (7110.2094ms) +✔ a successful build with no selected tests does not verify the task (1903.2808ms) +✔ stale check plans and forged script names execute no project commands (1191.0967ms) +✔ applying a later proposal invalidates the prior passed engineering snapshot (2558.1788ms) +✔ stopping an actual check terminates its child process and blocks concurrent jobs (2195.3353ms) +✔ check timeout records a failure with its actual termination result (2310.8461ms) +✔ source edits during a successful check make the result stale (2999.3104ms) +✔ bounded large logs retain the test footer and readable artifact instead of inventing counts (1569.0375ms) +✔ model-selected checks require a run-bound decision and denial creates no check job (2567.6394ms) +✔ check APIs expose owned plans and jobs and preserve the authoritative results across restart (3716.4954ms) +✔ reviewed changes continue the original task without reopening a generic completed run (2246.0716ms) +✔ concurrent review-continuation API requests accept one run and retain the goal after restart (4478.3583ms) +✔ the model reads owned failure logs without running the check again (2665.5831ms) +✔ process exit at check queued preserves results and never replays commands (1334.1134ms) +✔ process exit at check result_committed preserves results and never replays commands (1732.2751ms) +✔ managed worktree preserves source index and dirty files, opens a distinct project and binds Run identity (4827.2507ms) +✔ stale review, branch/path collisions and forged ownership do not run worktree creation (3383.8726ms) +✔ workspace project verification is read-only and rejects physical Git identity changes (4400.677ms) +ℹ tests 32 +ℹ suites 0 +ℹ pass 32 +ℹ fail 0 +ℹ cancelled 0 +ℹ skipped 0 +ℹ todo 0 +ℹ duration_ms 47703.7776 diff --git a/progress.md b/progress.md index 5f9c9032..ec152f22 100644 --- a/progress.md +++ b/progress.md @@ -9,6 +9,8 @@ - 父子核心与受限目录已写入;首轮6项专项4通过/2失败,原TAP保存.qa/workers-core-first.tap。工作区来源/预算范围/工具拒绝/恢复通过;实际成果和纯文字完成用例仍失败,正核对原子任务错误,不登记完成。夹具plan_checks误按plan_id读取已修正为实际所属计划id,诊断复验另存,不覆盖原失败。 - 切片一最终核心6/6和已有文件批次/检查/工作区32/32通过,独立新控制台草稿构建通过;原失败原因已核对为稳定Run归属及completed状态判断并修复。原TAP复制封存docs,不覆盖失败。HTTP/界面仍为待验草稿,父合并与停止恢复继续推进,正式1.12.1未升级。 - 一次PLAN-1.13修改使用了段落中的短句锚点导致拒绝,无写入;后续按完整段落更新。回归命令中core.test.mjs不存在,Node24按匹配的另外三文件执行32项,统计明确只对应文件批次/检查/工作区,不声称核心旧全量已验。 +- 1a847c1已提交切片一。Git暂存提示新TAP会进行CRLF规范化,补充仅针对本阶段workers原日志的-text规则并重新暂存,核对工作树无过滤blob与索引一致。一次空hunk补丁无效并拒绝,随后按实际.gitattributes末行修正;旧报告不重新规范化。 +- 首次仅git add未变化日志仍沿用旧索引,散列核对拒绝提交;改为只对六份新TAP执行git add --renormalize并核对原字节blob,全部一致,原日志文件未改写。 ## 2026-10-30 里程碑审查与1.12.1候选