Sequence Diagrams¶
Mermaid sequence diagrams per feature. Every feature with a PRD has one (docs/sequence/sequence-<feature>.md, slug = PRD slug), written from templates/artifacts/sequence.template.md by /spec or /swarm-plan before the plan, and kept in sync with the code (update the diagram in the same commit when a flow changes).
Older platform flows (login, MFA, streaming, video job, deployment) are PlantUML images in Architecture → Sequence Diagrams.
| Feature | Diagrams | PRD |
|---|---|---|
| Admin Bulk Actions | sequence-admin-bulk-actions | PRD |
| Admin Video Import | sequence-admin-video-import | PRD |
| Bookmark / Library Collections | sequence-bookmark-feature | PRD |
| Collection-Only Videos | sequence-collection-only-videos | PRD |
| Contributor Autopilot Permissions | sequence-contributor-autopilot-permissions | PRD |
| Frontend Dependency Upgrade | sequence-frontend-deps-upgrade | PRD |
| HLS Streaming | sequence-hls-streaming | PRD |
| Hot Video Priority | sequence-hot-video-priority | PRD |
| i18n (Vietnamese + English) | sequence-i18n | PRD |
| In-App Report | sequence-in-app-report | PRD |
| Password Login | sequence-password-login | PRD |
| React Migration (SPA runtime) | sequence-react-migration | PRD |
| Spring Boot 4.1 Upgrade | sequence-spring-boot-4-upgrade | PRD |
| User Notifications | sequence-user-notifications | PRD |
| User Settings | sequence-user-settings | PRD |
| Video Suggestions | sequence-video-suggestions | PRD |
| Watch History (v2) | sequence-watch-history-v2 | PRD |
The superseded Watch History PRDs (baseline, Opus) have no diagrams; see v2.