fix(#4383): require phase before planned-phase writes (#4534)

* fix(#4383): require phase before planned-phase writes

* chore: add changeset for #4534

---------

Co-authored-by: Tom Boucher <trekkie@nomorestars.com>
This commit is contained in:
Michel Moreira
2026-09-09 00:38:23 -03:00
committed by GitHub
parent c9d3e66631
commit 6c5e11049b
3 changed files with 48 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 4534
---
**`state planned-phase` now requires a present `--phase` before writing** — missing, empty, and flag-shaped values exit non-zero with STATE.md byte-identical, while phase zero remains valid. (#4383)