2.0 KiB
2.0 KiB
Unit of Work Requirement Map: cms-api-foundation
User Stories were skipped (one persona; see the execution plan). This map assigns each requirement to its unit(s) instead. "Primary" owns the work; "also" contributes or verifies.
| Requirement | Summary | Primary unit | Also |
|---|---|---|---|
| FR-1 | Client project Api.AndreaSlopFotografie |
U2 | |
| FR-2 | Module set = referenced module projects | U2 | |
| FR-3 | Existing hosts unchanged | U1 | U2 (SlpSoftware still builds and deploys) |
| FR-4 | Per-site theme file, selected at build | U2 | |
| FR-5 | Admin built per client in CI | U2 | |
| FR-6 | Andrea's theme matches the site | U2 | |
| FR-7 | Default admin language per site | U2 | |
| FR-8 | Prerendered-site serving mode | U1 | |
| FR-9 | SPA fallback remains available | U1 | |
| FR-10 | CSP for / per client, no drift |
U1 (policy) | U2 (configuration), U3 (drift check) |
| FR-11 | Authentication unchanged, setup flow safe | U2 | |
| FR-12 | Site build delivered to wwwroot/web/ |
U3 | U2 (target host) |
| FR-13 | Web CI adapted, static test site retired after proof | U3 | |
| FR-14 | Proof on test | U3 | Build and Test (phase level) |
| FR-15 | Collaboration with the CMS session | Process (this session) | all units |
| NFR-1 | Security Baseline | all units | U2 (setup flow, logging), U1 (headers, path input) |
| NFR-2 | No security regression | U1 | U3 (exact CSP check) |
| NFR-3 | Performance (compression, caching, Lighthouse) | U1 | U3 (Lighthouse comparison) |
| NFR-4 | Compatibility with existing hosts | U1 | |
| NFR-5 | Deployability on the Pi, atomic switch | U2 | U3 |
| NFR-6 | Testing incl. partial PBT | U1 | U2 |
| NFR-7 | Per-site differences only in client and theme | U2 | U1 |
| NFR-8 | Documentation | U1 | U2 |
Validation
- Every FR (1 to 15) and NFR (1 to 8) is assigned to a unit or to the process.
- Every component C1 to C8 belongs to exactly one unit: C2, C3, C4 to U1; C1, C5, C6 to U2; C7, C8 to U3. C9 (hand-off) is the process component.
- No unit depends on a later unit.