Workstreams & Dependencies
v1 Workstreams
These are the numbered work packages required to ship v1. Dependencies and build sequencing shown below.
Workstream Overview
| WS | Title | Description | Est. Effort | Owner | Status |
|---|---|---|---|---|---|
| WS-1 | Project Setup & Infrastructure | Git repo, CI/CD, database schema, deployment pipeline, dev environment | 1-2 weeks | TBD | NOT STARTED |
| WS-2 | Authentication & User Management | Login flow, role-based access (auditor/manager), user database schema | 1 week | TBD | NOT STARTED |
| WS-3 | QMS Checklist Definition & Storage | Define v1 QMS compliance checklist, store in database, create management API | 2-3 weeks | Chin (input), Build Team (implement) | BLOCKED (needs Chin input) |
| WS-4 | Artifact Upload & Storage | File upload API, document storage (S3 or local), metadata management | 2 weeks | TBD | NOT STARTED |
| WS-5 | Validation Engine | Document parsing, checklist validation logic, finding generation | 3-4 weeks | TBD | NOT STARTED |
| WS-6 | Dashboard UI (Auditor) | Project list, audit detail view, findings review interface | 3 weeks | TBD | NOT STARTED |
| WS-7 | Approval Workflow UI (Manager) | Approval dashboard, audit summary, sign-off forms | 2 weeks | TBD | NOT STARTED |
| WS-8 | Reporting & Export | Compliance report generation, PDF/CSV export, audit trail logging | 2 weeks | TBD | NOT STARTED |
| WS-9 | Testing & QA | Unit tests, integration tests, UAT with compliance team | 2-3 weeks | TBD | NOT STARTED |
| WS-10 | Deployment & Launch | Production environment setup, data migration, go-live support | 1 week | TBD | NOT STARTED |
Dependency Map
FOUNDATIONS (No dependencies, can start immediately) ├─ WS-1: Project Setup & Infrastructure ├─ WS-2: Authentication & User Management ├─ WS-3: QMS Checklist Definition (blocked on Chin input) └─ WS-4: Artifact Upload & Storage DEPENDENT ON FOUNDATIONS ├─ WS-5: Validation Engine │ ├─ Depends on: WS-3 (checklist), WS-4 (artifacts) │ └─ Enables: WS-6, WS-7, WS-8 ├─ WS-6: Dashboard UI (Auditor) │ ├─ Depends on: WS-1 (infra), WS-2 (auth), WS-5 (validation engine) │ └─ Can run parallel with WS-7 └─ WS-7: Approval Workflow UI (Manager) ├─ Depends on: WS-1 (infra), WS-2 (auth), WS-5 (validation engine) └─ Can run parallel with WS-6 DEPENDENT ON UI & ENGINE ├─ WS-8: Reporting & Export │ ├─ Depends on: WS-5 (engine), WS-6, WS-7 (UIs) │ └─ Enables: WS-9 (UAT) ├─ WS-9: Testing & QA │ ├─ Depends on: WS-6, WS-7, WS-8 │ └─ Enables: WS-10 └─ WS-10: Deployment & Launch └─ Depends on: WS-9 (passed QA)
Build Sequencing (Foundation vs. Dependent)
| Phase | Duration | Workstreams | Parallelizable | Gate |
|---|---|---|---|---|
| Phase 1: Foundation | 2-3 weeks | WS-1, WS-2, WS-3*, WS-4 | WS-1, WS-2, WS-4 can run parallel; WS-3 blocked on Chin input | All foundational systems stable (infra, auth, checklist, storage) |
| Phase 2: Core Engine & UI | 4-5 weeks | WS-5, WS-6, WS-7 | WS-6 and WS-7 can run parallel; both depend on WS-5 progress | Validation engine working, both UIs rendering findings correctly |
| Phase 3: Reporting & QA | 3-4 weeks | WS-8, WS-9 | WS-8 and WS-9 sequential (reports tested in QA) | All feature tests passing, UAT complete |
| Phase 4: Launch | 1 week | WS-10 | N/A | Go-live readiness |
Critical Path
Longest dependency chain (all nodes on critical path must complete for go-live):
WS-1 (Setup) ↓ WS-3 (Checklist) [BLOCKED ON CHIN INPUT] ↓ WS-5 (Validation Engine) ↓ WS-6 + WS-7 (UI, parallel) ↓ WS-8 (Reporting) ↓ WS-9 (QA) ↓ WS-10 (Launch) CRITICAL BLOCKER: Chin must provide QMS checklist definition to unblock WS-3. ESTIMATED DURATION: 10-13 weeks (if all tasks execute as estimated, WS-3 unblocked on week 1).
Risk Mitigation - Build Sequencing
- Risk: WS-3 (QMS checklist) blocked indefinitely waiting for Chin input
- Mitigation: Create a mock/placeholder checklist in WS-3 so WS-5 (validation engine) can proceed with example rules. Real checklist swapped in once Chin provides it.
- Risk: WS-5 (validation engine) proves technically harder than estimated
- Mitigation: Start early, do spike on document parsing & checklist logic before committing full effort.
- Risk: UI complexity (WS-6, WS-7) underestimated
- Mitigation: Build interactive wireframes first, validate with Compliance Team before full implementation.