DRF-02: the interrupted-close exemption cannot hold for a blocked phase #211

Closed
opened 2026-08-18 10:23:53 +00:00 by john · 1 comment
Owner

Requirement DRF-02, seeded at the v3.5.3 close.

The interrupted-close exemption in /cad-audit is derivePhases(...).every(complete), but milestone.md sanctions closing a milestone with rolled-over work, and a UAT holding a terminal blocked item can never derive complete (planning-files.mjs:1097).

So drift fires in exactly the state audit.md declares exempt, and the remedy it offers is one verify.md says is impossible: blocked is terminal and nothing returns an item to the walk from it.

Two fixtures exist from the v3.5.2 diff review (planning.mjs:1007).

Fix direction: the exemption tests whether a phase is ANSWERABLE, not whether it is Complete.

Requirement DRF-02, seeded at the v3.5.3 close. The interrupted-close exemption in `/cad-audit` is `derivePhases(...).every(complete)`, but `milestone.md` sanctions closing a milestone with rolled-over work, and a UAT holding a terminal `blocked` item can never derive complete (`planning-files.mjs:1097`). So `drift` fires in exactly the state `audit.md` declares exempt, and the remedy it offers is one `verify.md` says is impossible: `blocked` is terminal and nothing returns an item to the walk from it. Two fixtures exist from the v3.5.2 diff review (`planning.mjs:1007`). **Fix direction:** the exemption tests whether a phase is ANSWERABLE, not whether it is Complete.
john added this to the v3.5.4 milestone 2026-08-18 10:23:53 +00:00
Author
Owner

Fixed in v3.5.4 as DRF-02, merged in #217 and tagged v3.5.4. The fix carries a check watched failing against the unpatched tree first.

Fixed in v3.5.4 as DRF-02, merged in #217 and tagged v3.5.4. The fix carries a check watched failing against the unpatched tree first.
john closed this issue 2026-08-18 19:29:06 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: crenshawdev/cadence-archived#211
No description provided.