X_PLAN_STATUS_INVALID
Means
a docs/plans/**/status.yml does not parse, or its status or a slice's status is not not_started \| in_progress \| blocked \| complete \| superseded
Typical cause
done or finished written by hand, a missing field, broken YAML
Fix
edit the named status.yml to a template value, then bun run plan-status --json