src/bmm-skills/4-implementation/bmad-quick-dev/sync-sprint-status.md
Shared sub-step for updating sprint-status.yaml during quick-dev. Called from any route (plan-code-review, one-shot, future routes) with a {target_status} parameter.
Skip this entire file (return to caller) if ANY of:
{story_key} is unset{sprint_status} does not exist on disk{sprint_status} file.development_status entry matching {story_key}. If not found, warn the user once ("{story_key} not found in sprint-status; skipping sprint sync") and return to caller.development_status[{story_key}] is already at {target_status} or a later state (review is later than in-progress; done is later than both), return to caller — no write needed. Never regress a story's status.development_status[{story_key}] to {target_status}.{target_status} = in-progress). Derive the parent epic key as epic-{N} from the leading numeric segment of {story_key} (e.g., 3-2-digest-delivery → epic-3). If that entry exists and is backlog, set it to in-progress. Leave it alone otherwise. Skip this sub-step entirely when {target_status} is not in-progress.last_updated to the current date.