diff --git a/aidlc-docs/active-features.md b/aidlc-docs/active-features.md index f271e21..36736b6 100644 --- a/aidlc-docs/active-features.md +++ b/aidlc-docs/active-features.md @@ -3,11 +3,11 @@ | Type | Name | Status | Branch | Affected Components | Session Start | |------|------|--------|--------|---------------------|---------------| | Feature | SlpModularCms.Api Implementation (slp-modular-cms-api) | โœ… Complete | unknown | Core, Identity, Availability, Shell | 2026-06-07 | -| Feature | CMS Frontend (cms-frontend) | โœ… Complete | unknown | Frontend, Identity (Auth), Availability | 2026-06-16 | +| Feature | CMS Frontend (cms-frontend) | โœ… Complete (Build and Test en Operations gesloten 2026-11-16) | unknown | Frontend, Identity (Auth), Availability | 2026-06-16 | | Feature | Master CMS Module (master-cms-module) | โœ… Complete | unknown | Modules, Availability | 2026-06-26 | -| Feature | Tech Debt Backlog (tech-debt-backlog) | ๐Ÿ”ต Inception | unknown | Modules.Master, Frontend | 2026-07-01 | +| Feature | Tech Debt Backlog (tech-debt-backlog) | ๐Ÿ”ต Doorlopende backlog (bewust open) | unknown | Modules.Master, Frontend | 2026-07-01 | | Feature | Local Dev Master/Slave Setup (local-dev-master-slave-setup) | โœ… Complete | unknown | Modules.Master, Api, Frontend | 2026-07-02 | -| Feature | Gitea Deployment Workflow (gitea-deployment-workflow) | ๐ŸŸก Operations (wacht op CI-proef en eerste test-deploy) | feature/gitea-deployment-workflow | CI/CD, Api (hosting/config), Core, Modules, Frontend (build), Docs | 2026-07-27 | +| Feature | Gitea Deployment Workflow (gitea-deployment-workflow) | โœ… Complete (CI en test-deploys draaien; productiecontrole in de gezamenlijke checklist, 2026-11-16) | feature/gitea-deployment-workflow | CI/CD, Api (hosting/config), Core, Modules, Frontend (build), Docs | 2026-07-27 | | Feature | SlpSoftware Production API (slpsoftware-api) | โœ… Complete | feature/slpsoftware-api | Clients (new Api.SlpSoftware), Modules (new Offerings module + Tests), Core (CmsHost), CI/CD (retargeted to Api.SlpSoftware) | 2026-08-02 | | Feature | Andrea's site hosting (andreaslop-site-hosting) | โœ… Complete (gemerged naar master via PR #11, 2026-11-10; ASF-productie op IIS apart) | feature/andreaslop-site-hosting | Core (CmsHost, CSP, static content), Clients (new Api.AndreaSlopFotografie), Frontend (theme), CI/CD | 2026-11-06 | | Bug | [cms-admin-nine-points](bugs/cms-admin-nine-points/bug-fix.md) | โœ… Complete (gemerged via PR #11, 2026-11-10) | feature/andreaslop-site-hosting | Core (auth, invitations), Identity, Availability, Frontend | 2026-11-08 | @@ -16,11 +16,11 @@ | Bug | [owner-cannot-promote-requester-identity](bugs/owner-cannot-promote-requester-identity/bug-fix.md) | โœ… Complete (gemerged via PR #11, 2026-11-10) | feature/identity-email-notifications | Identity (UsersController) | 2026-11-08 | | Bug | [availability-gate-blocks-website-and-admin](bugs/availability-gate-blocks-website-and-admin/bug-fix.md) | โœ… Complete (gemerged via PR #11, 2026-11-10) | feature/identity-email-notifications | Availability (middleware) | 2026-11-09 | | Bug | [setup-page-after-failed-status-read](bugs/setup-page-after-failed-status-read/bug-fix.md) | โœ… Complete (gemerged via PR #11, 2026-11-10) | feature/identity-email-notifications | Frontend (router guard, login), Identity (Setup limiter) | 2026-11-09 | -| Feature | Contact Forms Module (contact-forms-module) | ๐ŸŸก Op test (CMS-U1 t/m U12 gebouwd en gepusht, o.a. Berichten-admin U6/U12, Offerings mobiele FAB U8, Friendly Captcha U9; contactformulier door Bryan op test geaccepteerd; niet gemerged, productie wacht op Bryans go) | feature/contact-forms-module | Modules (new Contact + Tests, Offerings category), Core (OnRejected, availability gate marker), Frontend (admin Berichten) | 2026-11-09 | -| Feature | [Offering banners (offering-banners)](features/offering-banners/overview.md) | ๐ŸŸก Op test (buiten AI-DLC gebouwd en achteraf gedocumenteerd; admin-lijst met Locatie-badge op test sinds 2026-11-15) | feature/contact-forms-module | Modules.Offerings (banner met positie top/bottom), openapi, Frontend (admin Aanbiedingen > Banner) | 2026-11-12 | -| Feature | [Offering schedule (offering-schedule)](features/offering-schedule/overview.md) | ๐ŸŸก Op test zodra CI-run 109 is uitgerold (buiten AI-DLC gebouwd en achteraf gedocumenteerd) | feature/contact-forms-module | Modules.Offerings (aan/uit en van/tot per pakket, `/offerings/all`), openapi, Frontend (admin pakketformulier en -lijst) | 2026-11-15 | -| Feature | [Website SEO (website-seo)](features/website-seo/overview.md) | ๐ŸŸก Op SLP-test (buiten AI-DLC gebouwd en achteraf gedocumenteerd; productie vraagt `Website__NoIndex=false` en `Website__PublicBaseUrl`) | feature/contact-forms-module | Core (Hosting/Website), Modules.Offerings (index-markers), Api.SlpSoftware (appsettings) | 2026-11-11 | -| Feature | [CI bouwt en test alleen het master-CMS (ci-master-pipeline)](features/ci-master-pipeline/overview.md) | ๐ŸŸก Gepusht, eerste CI-run met de nieuwe workflow volgt (buiten AI-DLC gebouwd en achteraf gedocumenteerd) | feature/contact-forms-module | CI/CD (workflow, slnf, rooktest), Core (Website:Mode), Api (alle modules), Tests (ASF-testproject opgeheven) | 2026-11-15 | -| Feature | [ASF: host injecteert in voorgerenderde pagina's (asf-host-injection)](features/asf-host-injection/plan.md) | ๐Ÿ”ต Voorstel; bouwen wacht op Bryans akkoord en op .NET 10 op het hostingpakket | feature/contact-forms-module | Core (Hosting/Website), Modules.Offerings, docs | 2026-11-15 | -| Feature | [Vertaalbestanden backend (translation-files)](../docs/translation-files.md) | ๐ŸŸก Gepusht (stappen 1-5, docs); nog niet gedeployd (buiten AI-DLC gebouwd; goedgekeurd door Bryan via SLS-Main) | feature/contact-forms-module | Core (Texts, Email, Identity, Hosting), Modules.Availability, Modules.Offerings | 2026-11-15 | +| Feature | Contact Forms Module (contact-forms-module) | โœ… Afgesloten 2026-11-16 (U1 t/m U12 gebouwd, Build and Test gesloten, Operations in de [gezamenlijke productie-checklist](../docs/release-checklist-productie.md); contactformulier door Bryan op test geaccepteerd; productie wacht op Bryans go) | feature/contact-forms-module | Modules (new Contact + Tests, Offerings category), Core (OnRejected, availability gate marker), Frontend (admin Berichten) | 2026-11-09 | +| Feature | [Offering banners (offering-banners)](features/offering-banners/overview.md) | โœ… Afgesloten 2026-11-16 (op test; buiten AI-DLC gebouwd en achteraf gedocumenteerd) | feature/contact-forms-module | Modules.Offerings (banner met positie top/bottom), openapi, Frontend (admin Aanbiedingen > Banner) | 2026-11-12 | +| Feature | [Offering schedule (offering-schedule)](features/offering-schedule/overview.md) | โœ… Afgesloten 2026-11-16 (op test; buiten AI-DLC gebouwd en achteraf gedocumenteerd) | feature/contact-forms-module | Modules.Offerings (aan/uit en van/tot per pakket, `/offerings/all`), openapi, Frontend (admin pakketformulier en -lijst) | 2026-11-15 | +| Feature | [Website SEO (website-seo)](features/website-seo/overview.md) | โœ… Afgesloten 2026-11-16 (op SLP-test; productie vraagt `Website__NoIndex=false` en `Website__PublicBaseUrl`, zie de productie-checklist) | feature/contact-forms-module | Core (Hosting/Website), Modules.Offerings (index-markers), Api.SlpSoftware (appsettings) | 2026-11-11 | +| Feature | [CI bouwt en test alleen het master-CMS (ci-master-pipeline)](features/ci-master-pipeline/overview.md) | โœ… Afgesloten 2026-11-16 (buiten AI-DLC gebouwd en achteraf gedocumenteerd) | feature/contact-forms-module | CI/CD (workflow, slnf, rooktest), Core (Website:Mode), Api (alle modules), Tests (ASF-testproject opgeheven) | 2026-11-15 | +| Feature | [ASF: host injecteert in voorgerenderde pagina's (asf-host-injection)](features/asf-host-injection/plan.md) | โœ… Gebouwd en op test (afgesloten 2026-11-16; ASF-productie op IIS is een apart, later plan) | feature/contact-forms-module | Core (Hosting/Website), Modules.Offerings, docs | 2026-11-15 | +| Feature | [Vertaalbestanden backend (translation-files)](../docs/translation-files.md) | โœ… Afgesloten 2026-11-16 (stappen 1-8, docs; buiten AI-DLC gebouwd; goedgekeurd door Bryan via SLS-Main; productie via de checklist) | feature/contact-forms-module | Core (Texts, Email, Identity, Hosting), Modules.Availability, Modules.Offerings | 2026-11-15 | | Bug | [theme-toggle-first-click](bugs/theme-toggle-first-click/bug-fix.md) | โœ… Complete (niet gecommit/gemerged; buiten AI-DLC gebouwd; oorzaak niet in een echte browser nagebootst) | feature/contact-forms-module | Frontend (useTheme, index.html) | 2026-11-15 | diff --git a/aidlc-docs/features/cms-frontend/aidlc-state.md b/aidlc-docs/features/cms-frontend/aidlc-state.md index c0dce09..321a272 100644 --- a/aidlc-docs/features/cms-frontend/aidlc-state.md +++ b/aidlc-docs/features/cms-frontend/aidlc-state.md @@ -5,7 +5,7 @@ - **Feature Slug**: cms-frontend - **Project Type**: Brownfield - **Start Date**: 2026-06-16T20:27:00Z -- **Current Stage**: CONSTRUCTION - Unit 6: Code Generation (Complete) +- **Current Stage**: CLOSED 2026-11-16 - all units built; Build and Test closed (frontend suite in CI); Operations folded into the joint production checklist - **Branch**: unknown ## Workspace State @@ -53,7 +53,7 @@ - [x] Unit 4 โ€” Dashboard โ€” COMPLETED 2026-06-22 (55/55 tests pass, build โœ…) - [x] Unit 5 โ€” User Management โ€” COMPLETED 2026-06-22 (all 21 steps done, tests written) - [x] Unit 6 โ€” Profile, Settings & CMS Placeholder โ€” COMPLETED 2026-06-22 (all 25 steps done, tests written) -- [ ] Build and Test โ€” Not Started +- [x] Build and Test โ€” Closed 2026-11-16 (frontend vitest 531/531, lint and build run in CI as `frontend-test`; the admin has been in use on the test hosts) ### ๐ŸŸก OPERATIONS PHASE -- [ ] Operations โ€” Placeholder +- [x] Operations โ€” Included in the joint production checklist (`docs/release-checklist-productie.md`) diff --git a/aidlc-docs/features/contact-forms-module/aidlc-state.md b/aidlc-docs/features/contact-forms-module/aidlc-state.md index 0a4e92d..2a71ee5 100644 --- a/aidlc-docs/features/contact-forms-module/aidlc-state.md +++ b/aidlc-docs/features/contact-forms-module/aidlc-state.md @@ -5,7 +5,7 @@ - **Feature Slug**: contact-forms-module - **Project Type**: Brownfield - **Start Date**: 2026-11-09 -- **Current Stage**: PHASE 2 - CMS-U7, U5, U6, U8 and U9 built +- **Current Stage**: CLOSED 2026-11-16 - all units built, Build and Test closed, Operations folded into the joint production checklist (`docs/release-checklist-productie.md`) - **Branch**: feature/contact-forms-module (worktree ..SlpModularCms-contact-forms, from master d9cc539; main checkout stays on feature/identity-email-notifications โ€” never switch it) ## Workspace State @@ -45,10 +45,10 @@ - [x] Application Design - EXECUTE (minimal; awaiting approval) - [x] Units Generation - EXECUTE (awaiting approval) ### ๐ŸŸข CONSTRUCTION PHASE -- [ ] Functional Design - EXECUTE (U3, U4, U5) -- [ ] NFR Requirements/Design - EXECUTE (U2, U3) -- [ ] Infrastructure Design - SKIP -- [ ] Code Generation - EXECUTE per unit (plan approval first) -- [ ] Build and Test - EXECUTE +- [x] Functional Design - done per unit where needed +- [x] NFR Requirements/Design - done where needed (U2, U3) +- [x] Infrastructure Design - SKIP +- [x] Code Generation - complete (CMS-U0 to U12, plus banners, schedule, SEO, CI, host injection and translation files, documented under their own features) +- [x] Build and Test - closed 2026-11-16: `construction/build-and-test/build-and-test-summary.md` ### ๐ŸŸก OPERATIONS PHASE -- [ ] UNDECIDED (resolve at Build and Test) +- [x] Included in the joint production checklist (`docs/release-checklist-productie.md`), not run as separate stages. The production release waits for the owner's explicit go. diff --git a/aidlc-docs/features/contact-forms-module/construction/build-and-test/build-and-test-summary.md b/aidlc-docs/features/contact-forms-module/construction/build-and-test/build-and-test-summary.md new file mode 100644 index 0000000..47509de --- /dev/null +++ b/aidlc-docs/features/contact-forms-module/construction/build-and-test/build-and-test-summary.md @@ -0,0 +1,30 @@ +# Build and Test summary โ€” contact-forms-module (and the features built on the same branch) + +- **Closed**: 2026-11-16 (on Bryan's go, relayed by SLP Software - SLS - Main) +- **Branch**: `feature/contact-forms-module` (last code commit 8ec7ddd before the closing docs) +- **Scope**: Contact module (CMS-U0..U12), offering banners, offering schedule, website SEO, CI master pipeline, ASF host injection, translation files. + +## Result + +| Suite | Tests | Result | +|---|---|---| +| SlpModularCms.Core.Tests | 797 | pass | +| SlpModularCms.Modules.Offerings.Tests | 212 | pass | +| SlpModularCms.Modules.Availability.Tests | 171 | pass | +| SlpModularCms.Modules.Identity.Tests | 145 | pass | +| SlpModularCms.Api.Tests | 35 | pass | +| SlpModularCms.Modules.Contact.Tests (incl. OpenAPI snapshot, needs MariaDB) | 349 | pass | +| SlpModularCms.Modules.Master.Tests | 61 | pass | +| Frontend (vitest) | 531 | pass | + +Also verified: the golden files for mails (42), the placeholder page and the website host injection (ASF golden files); end-to-end on the test hosts (anonymous smoke test `scripts/smoke-site.sh` on SLP-test and ASF-test, ETag/304, JSON-LD prices, sitemap address); Bryan accepted the contact form on the test host. + +## Not verified here (carried into the production checklist) + +- Live propagation of an admin change into the injected pages (needs an admin login on test-ASF). +- A real win-x64 self-contained publish (text resources verified as embedded in the assemblies only). +- Behaviour on production settings (`Website__NoIndex=false`, `Website__PublicBaseUrl`, retention). + +## Operations + +Not run as separate stages. Operations for all features on this branch is **included in the joint production checklist**: [docs/release-checklist-productie.md](../../../../../docs/release-checklist-productie.md). diff --git a/aidlc-docs/features/gitea-deployment-workflow/aidlc-state.md b/aidlc-docs/features/gitea-deployment-workflow/aidlc-state.md index 20ef335..8745495 100644 --- a/aidlc-docs/features/gitea-deployment-workflow/aidlc-state.md +++ b/aidlc-docs/features/gitea-deployment-workflow/aidlc-state.md @@ -188,7 +188,7 @@ Execution rounds (Q4 = B): **R1** = U1 + U2 ยท **R2** = U3 + U4 ยท **R3** = U5 + (DSN, Umami website IDs, alert rules, 6 monitors) โ€” not verified by execution from this session (no access to those external accounts), taken on the user's report. Artifacts: `operations/plans/monitoring-setup-plan.md`, `operations/monitoring/monitoring-instructions.md` -- [ ] Production Readiness Validation โ€” **EXECUTE** (includes the `dotnet-appsettings` compliance gate) +- [x] Production Readiness Validation โ€” Included in the joint production checklist (`docs/release-checklist-productie.md`, 2026-11-16); the real production release waits for the owner's go ## Execution Plan Summary - **Risk Level**: High โ€” three destructive-and-silent failure modes (customer website loss, Data Protection key-ring loss, automatic migration against production) diff --git a/docs/release-checklist-productie.md b/docs/release-checklist-productie.md new file mode 100644 index 0000000..ef5651e --- /dev/null +++ b/docs/release-checklist-productie.md @@ -0,0 +1,58 @@ +# Gezamenlijke productie-checklist (CMS, SlpSoftware en Andrea Slop Fotografie) + +Levend document (2026-11-16). Dit is de checklist voor het moment waarop Bryan de productie-release vrijgeeft. Operations van de features `contact-forms-module`, `offering-banners`, `offering-schedule`, `website-seo`, `ci-master-pipeline`, `asf-host-injection` en `translation-files` is **meegenomen in deze checklist**: er zijn geen aparte Operations-stappen per feature. Er wordt pas iets naar productie gezet na Bryans expliciete go; een push naar `master` deployt alleen naar de testomgevingen. + +Achtergrond per onderwerp: [deploy-en-testomgevingen.md](deploy-en-testomgevingen.md), [captcha-providers.md](captcha-providers.md), [privacy-gegevens-contactformulier.md](privacy-gegevens-contactformulier.md), [translation-files.md](translation-files.md). + +## 0. Voorwaarden + +- [ ] Bryan heeft de release vrijgegeven (per site: SLP en ASF kunnen apart). +- [ ] De commit die naar productie gaat, is eerder groen geweest op de testhost van die site (CI-run met rooktest `smoke-sls-test` / `smoke-asf-test`). +- [ ] Er is een recente databaseback-up van productie. De migraties draaien bij het opstarten van de host. + +## 1. Volgorde + +1. **CMS eerst**: PR `feature/contact-forms-module` naar `master`, na de aanpassing van de branch protection (zie 2). Een push naar `master` deployt alleen naar TEST. +2. **Daarna ASF**: de website-PR van Andrea Slop Fotografie pas na de CMS-merge, en pas nadat het testcommit **d449e76 is verwijderd** (zie 3). +3. **Productie**: pas daarna, per site, met een handmatige dispatch (`deploy_sls_production` voor SLP). Nooit als bijproduct van een merge. + +## 2. Branch protection (Gitea) + +- [ ] Verplichte checks op `master`: alleen `backend-test (pull_request)` en `frontend-test (pull_request)`. +- [ ] `publish-test (pull_request)` is verwijderd uit de verplichte checks (de job draait niet meer op pull requests). Pas dit vlak vรณรณr de merge aan, niet eerder. +- [ ] `compile-sites` is bedoeld als informatieve check en niet verplicht. + +## 3. ASF + +- [ ] Het testcommit **d449e76** (ASF-testconfiguratie) staat niet in wat naar productie gaat. +- [ ] ASF draait met `Website:Mode=PrerenderedPages` (staat in de eigen `appsettings.json`) en `Website__PublicBaseUrl` op het productieadres. +- [ ] De ASF-productiepipeline (self-contained win-x64 naar IIS) is een apart, nog niet gestart plan; zie het voorstel `iis-publish-pipeline` zodra dat bestaat. + +## 4. SLP-productie: instellingen + +| Instelling | Waarde in productie | Waarom | +|---|---|---| +| `Website__NoIndex` | `false` | Testhosts staan op `noindex`; zonder deze wijziging blijft productie voor zoekmachines dicht. Pas pas aan op het release-moment, niet eerder. | +| `Website__PublicBaseUrl` | het publieke productieadres, zonder slash achteraan | Canonical, `og:image`, sitemap, robots en `siteUrl` in de pagina-data volgen dit adres. | +| `Contact__Captcha__Enabled` | `false` | Er is nog geen captcha-aanbieder gekozen (zie captcha-providers.md). Sleutels komen anders alleen via omgevingsvariabelen. | +| `Contact__Enabled` | pas `true` als het formulier live moet | Het contactformulier staat standaard uit. | +| `Texts__DefaultLanguage` | `nl` (standaard) | De vaste teksten van de backend zijn Nederlands. | + +## 5. Contact-retentie en privacy + +- [ ] `Contact:RetentionMonths` (standaard 12) en `Contact:SpamRetentionDays` (standaard 30) kloppen met de privacyverklaring van de site. +- [ ] De opschoon-job (`ContactRetentionService`) draait na de eerste start en logt aantallen, geen inhoud. +- [ ] De privacytekst op de website komt overeen met [privacy-gegevens-contactformulier.md](privacy-gegevens-contactformulier.md) (bewaartermijnen, ontvanger, mailkopie). +- [ ] Retentie van databaseback-ups: apart besluit van Bryan; staat nog open. + +## 6. Na de release + +- [ ] Rooktest op productie: `scripts/smoke-site.sh sls-test` is bedoeld voor testhosts; voor productie handmatig `/health`, de openbare aanbiedingen, de modulelijst in `/api/v1/System/capabilities` en dat `X-Robots-Tag: noindex` er **niet** meer staat. +- [ ] **Sentry nalopen** (nieuwe issues sinds de release, het release-label, de alertregels) en UptimeRobot-monitors. +- [ ] Een testbericht via het contactformulier en de binnenkomst in de admin (Berichten) en in de mailbox van de eigenaar, daarna het testbericht verwijderen. +- [ ] Controleer in de admin dat banners en pakketten (planning aan/uit, positie) zichtbaar worden in de website. +- [ ] Rollback: zie het rollbackplan van de deploy (`aidlc-docs/features/gitea-deployment-workflow/operations/deployment/rollback-plan.md`). Een migratie wordt niet automatisch teruggedraaid. + +## 7. Niet doen zonder nieuwe go van Bryan + +Productie-deploys, variabelen voor productie zetten, `NoIndex` wijzigen, captcha aanzetten, `Contact__Enabled` op productie aanzetten.