Extends completeSprintAction's $transaction with PBI status cascade: - Pre-transaction: identify PBIs touched by this close (via stories.pbi_id), fetch each with all its stories - Skip PBIs already DONE; skip PBIs with 0 stories - Mark PBI DONE only when every story (post-decision) is DONE — stories outside the sprint are evaluated against their current DB status - Promote-only: never demotes a PBI that becomes "incomplete" again Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| active-product.ts | ||
| api-tokens.ts | ||
| auth.ts | ||
| pairing.ts | ||
| pbis.ts | ||
| products.ts | ||
| profile.ts | ||
| questions.ts | ||
| sprints.ts | ||
| stories.ts | ||
| tasks.ts | ||
| todos.ts | ||