# Units of Work - andreaslop-site-hosting Terminology: both units are changes to the same deployable codebase ("Unit of Work" = planning/delivery slice), delivered on one branch, commits per unit. ## U1 core-site-hosting - **Scope**: C2 WebsiteMode, C3 prerendered site serving (resolver, middleware, options, compression), C4 StrictSite policy and site origin lists, pipeline order, docs (`README.md`, `WEBSITE_WORKSPACE.md`). - **Code locations**: `src/SlpModularCms.Core/Hosting/**` (+ `src/SlpModularCms.Core.Tests/**`). - **Not touched**: `Api`, `Api.SlpSoftware` sources (only regression-tested), Identity, frontend, CI. - **Construction stages**: Functional Design, NFR Requirements, NFR Design, Code Generation (Infrastructure Design skipped). - **Done when**: requirements acceptance (U1) met, per-unit build and tests green, `Api`/`Api.SlpSoftware` regression green, hand-back note sent, **requester's "go" received**. - **Commit(s)**: on `feature/andreaslop-site-hosting`; no push. ## U2 andreaslop-client - **Scope**: C1 client project and solution entry (Clients), C5 theme and build variables, C7 setup token (Identity + setup page), C6 CI/CD, Pi manual-step list, test deploy (with Bryan's go, test only). - **Code locations**: `src/SlpModularCms.Api.AndreaSlopFotografie/**`, `src/SlpModularCms.Modules.Identity/**` (+ tests), `frontend/**`, `.gitea/workflows/**`, `SlpModularCms.sln`, docs. - **Construction stages**: NFR Requirements, NFR Design, Infrastructure Design, Code Generation (Functional Design skipped). - **Starts**: only after U1 hand-back and the requester's "go". - **Done when**: requirements acceptance (U2) met, hand-back note sent. - **Commit(s)**: same branch; one PR after U2 when Bryan asks. ## Cross-unit Build and Test (all units), then Operations (Deployment Setup, Monitoring Setup, Production Readiness for the test environment).