You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split plan: #703
PR: #1927
Content source of record: tag pr1066-source = 46d1d218701f0ce2d675b1b315489bacb6b0f77d (easonLiangWorldedtech/Zoo-Code).
Unit contract
Task.saveClineMessages() reports the message-write stage independently of the metadata / task-history stage, and Task.finalizePartialToolAsk() closes an open partial tool ask by type + text.
Why this unit exists on its own
Single provider group (Task persistence) + single gate scope. Planned as two units (U1 stage semantics, U2 finalize) and merged because the stage-semantics tests call finalizePartialToolAsk() — the test blocks cannot be split without orphaning them (test-block atomicity).
src/core/task/Task.ts +75/-5 — byte-identical to source
src/core/task/__tests__/Task.spec.ts +400/-0 — byte-identical to source
src/core/assistant-message/__tests__/presentAssistantMessage-custom-tool.spec.ts +1/-0 — allowNew: one mock line, no source change
budget: 481 a+d / 3 files — SOFT-OVERSHOOT (rationale: single provider group + single gate scope; under the 1000 hard cap)
mutation gate: 41 changed executable lines (extension package) — under the 500 cap; valid mutants for the whole PR are 116 / 400, so no directive was added by this unit.
Verification (must pass by once, binary)
zdt split verify --contract U12.json --worktree <wt> --head cf5abe64d6e8 — PASS (every changed file is a content subset of the source of record, or an explicitly sanctioned allowNew file).
Activity
[-][split-1066] U12 - task save-stage semantics + finalize open partial tool ask[/-][+][split-1066] U12(1+2) - task save-stage semantics + finalize open partial tool ask[/+]