Implements Plan A of the planning-sessions feature: schema, repository layer, and auto-parent-completion hook. Prerequisite for Plans B (Worker MCP + Launcher) and C (UI), which poll for the migration file on main before starting.
What this ships
Three new TaskStatus values: Planning, Planned, Draft
Four new columns on tasks (ParentTaskId, PlanningSessionId, PlanningSessionToken, PlanningFinalizedAt) plus self-ref FK with DeleteBehavior.Restrict
Auto-parent-completion wiring in TaskRunner after all three MarkDone/MarkFailed call-sites
Regression tests: queue skips Planning/Planned/Draft; parent delete with children is restricted
PRAGMA foreign_keys=ON made explicit in the DbContext
Verification
151 tests pass (16 new)
All four projects build cleanly
Migration: 20260423154708_AddPlanningSupport.cs
See spec: docs/superpowers/specs/2026-04-23-planning-sessions-design.md
See plan: docs/superpowers/plans/2026-04-23-planning-sessions-plan-a-foundation.md
Implements Plan A of the planning-sessions feature: schema, repository layer, and auto-parent-completion hook. Prerequisite for Plans B (Worker MCP + Launcher) and C (UI), which poll for the migration file on main before starting.
## What this ships
- Three new TaskStatus values: Planning, Planned, Draft
- Four new columns on tasks (ParentTaskId, PlanningSessionId, PlanningSessionToken, PlanningFinalizedAt) plus self-ref FK with DeleteBehavior.Restrict
- Seven new repository methods: GetChildren, CreateChild, SetPlanningStarted, UpdatePlanningSessionId, FindByPlanningToken, FinalizePlanning, DiscardPlanning, TryCompleteParent
- Auto-parent-completion wiring in TaskRunner after all three MarkDone/MarkFailed call-sites
- Regression tests: queue skips Planning/Planned/Draft; parent delete with children is restricted
- PRAGMA foreign_keys=ON made explicit in the DbContext
## Verification
- 151 tests pass (16 new)
- All four projects build cleanly
- Migration: 20260423154708_AddPlanningSupport.cs
See spec: docs/superpowers/specs/2026-04-23-planning-sessions-design.md
See plan: docs/superpowers/plans/2026-04-23-planning-sessions-plan-a-foundation.md
claude
added 16 commits 2026-04-23 16:31:27 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implements Plan A of the planning-sessions feature: schema, repository layer, and auto-parent-completion hook. Prerequisite for Plans B (Worker MCP + Launcher) and C (UI), which poll for the migration file on main before starting.
What this ships
Verification
See spec: docs/superpowers/specs/2026-04-23-planning-sessions-design.md
See plan: docs/superpowers/plans/2026-04-23-planning-sessions-plan-a-foundation.md