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
dbx spec sync: idempotent (always deletes+recopies test files)
dbx spec patch apply: NOT idempotent (git apply -R fails if already applied)
dbx spec sync --apply-patches: idempotent (sync resets first, then patches apply)
Changes:
- _apply_patches(): add dry-run check (git apply -R --check) before applying;
if it fails, emit a clear error pointing to --apply-patches instead of
a raw 'patch does not apply' git failure
- spec status verify section: when stale specs have patches, recommend
'--apply-patches' as the idempotent one-shot command with a note explaining
why it's always safe to re-run
- Patch annotation legend updated: 'use --apply-patches to sync + patch in one shot'
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments