|
| 1 | +# Sprint 01 Backlog (2 Weeks) |
| 2 | + |
| 3 | +## Goal |
| 4 | +Deliver a usable shot-level asset hub with provider-ready orchestration for AI short-drama production. |
| 5 | + |
| 6 | +## Scope |
| 7 | +- Shot state machine and storage. |
| 8 | +- Unified generation task queue baseline. |
| 9 | +- Runway/Kling adapter skeleton. |
| 10 | +- Script Desk + Video Desk first usable UI. |
| 11 | + |
| 12 | +## Work Items |
| 13 | + |
| 14 | +### BE-001 Shot Domain Model |
| 15 | +- Owner: Backend |
| 16 | +- Priority: P0 |
| 17 | +- Description: Create shot entity, shot status transitions, and validation rules. |
| 18 | +- Acceptance: |
| 19 | + - Shot statuses: `draft`, `ready`, `generating`, `generated`, `selected`, `edited`, `published`. |
| 20 | + - Invalid transitions are rejected with clear errors. |
| 21 | + |
| 22 | +### BE-002 Asset Candidate Model |
| 23 | +- Owner: Backend |
| 24 | +- Priority: P0 |
| 25 | +- Description: Support multi-candidate videos per shot and one selected candidate. |
| 26 | +- Acceptance: |
| 27 | + - A shot can bind multiple candidates from different providers. |
| 28 | + - Exactly one candidate can be selected. |
| 29 | + |
| 30 | +### BE-003 Task Queue Baseline |
| 31 | +- Owner: Backend |
| 32 | +- Priority: P0 |
| 33 | +- Description: Unified task records for generation requests. |
| 34 | +- Acceptance: |
| 35 | + - Task lifecycle: `queued`, `running`, `succeeded`, `failed`, `cancelled`. |
| 36 | + - Retry count and error code are persisted. |
| 37 | + |
| 38 | +### BE-004 Provider Adapter Interface |
| 39 | +- Owner: Backend |
| 40 | +- Priority: P0 |
| 41 | +- Description: Introduce adapter interface for `runway` and `kling`. |
| 42 | +- Acceptance: |
| 43 | + - Shared input/output contract implemented. |
| 44 | + - Provider-specific raw response stored for debug. |
| 45 | + |
| 46 | +### API-001 Core Endpoints |
| 47 | +- Owner: Backend |
| 48 | +- Priority: P0 |
| 49 | +- Description: Implement first batch of endpoints. |
| 50 | +- Acceptance: |
| 51 | + - `POST /projects/:id/shots/import` |
| 52 | + - `GET /projects/:id/shots` |
| 53 | + - `POST /shots/:id/generate` |
| 54 | + - `POST /shots/:id/select` |
| 55 | + |
| 56 | +### FE-001 Script Desk (MVP) |
| 57 | +- Owner: Frontend |
| 58 | +- Priority: P0 |
| 59 | +- Description: Build shot list page with filters and batch actions. |
| 60 | +- Acceptance: |
| 61 | + - Filter by status/provider. |
| 62 | + - Batch generate and batch retry actions. |
| 63 | + |
| 64 | +### FE-002 Video Desk (MVP) |
| 65 | +- Owner: Frontend |
| 66 | +- Priority: P0 |
| 67 | +- Description: Candidate comparison and selection UI. |
| 68 | +- Acceptance: |
| 69 | + - Preview candidates per shot. |
| 70 | + - One-click select candidate as primary. |
| 71 | + |
| 72 | +### QA-001 Flow Validation |
| 73 | +- Owner: QA |
| 74 | +- Priority: P0 |
| 75 | +- Description: Validate end-to-end shot workflow with mock providers. |
| 76 | +- Acceptance: |
| 77 | + - 20-shot run without status corruption. |
| 78 | + - Failed tasks can retry successfully. |
| 79 | + |
| 80 | +### PM-001 Acceptance Checklist |
| 81 | +- Owner: Product |
| 82 | +- Priority: P1 |
| 83 | +- Description: Freeze sprint acceptance checklist and demo script. |
| 84 | +- Acceptance: |
| 85 | + - Checklist approved before sprint review. |
| 86 | + |
| 87 | +## Out of Scope |
| 88 | +- Full CapCut export package generation. |
| 89 | +- Advanced quality scoring model. |
| 90 | +- Multi-tenant RBAC finalization. |
0 commit comments