AIDLC-documentatie U2 (NFR, infrastructuur, code generation)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -293,3 +293,115 @@
|
||||
**Context**: Construction, U1 complete.
|
||||
|
||||
---
|
||||
|
||||
## U2 go received
|
||||
|
||||
**Timestamp**: 2026-11-06T14:20:00Z
|
||||
|
||||
**Input (CMS & API)**: "U1 hand-back accepted. Go for U2." Notes: run Api.Tests where MariaDB exists and report in handback-u2; observe forwarded headers/HTTP 1.0 on the first test deploy; measure file lookup on the Pi if cheap; U2 Infrastructure Design must end with the complete manual-steps list (both web-delivery variants) and I must tell them when complete. Boundaries unchanged: test only, no production, no push until Bryan asks.
|
||||
|
||||
**Context**: Construction, starting U2 andreaslop-client.
|
||||
|
||||
---
|
||||
|
||||
## U2 NFR Requirements - questions issued
|
||||
|
||||
**Timestamp**: 2026-11-06T14:50:00Z
|
||||
|
||||
**AI Response**: "U2 Functional Design skipped per execution plan. Created andreaslop-client-nfr-requirements-plan.md (5 questions: deploy trigger, pipeline structure, setup rate limiting, setup token on test, theme contrast). Waiting for Bryan."
|
||||
|
||||
**Context**: Construction, U2 NFR Requirements.
|
||||
|
||||
---
|
||||
|
||||
## U2 NFR Requirements - answers received and artifacts generated
|
||||
|
||||
**Timestamp**: 2026-11-06T15:10:00Z
|
||||
|
||||
**User Response**: Relayed by CMS and API: Q1 Zelfde als nu (auto test deploy on push to master plus manual box; must skip cleanly while Andrea is not set up), Q2 = A, Q3 = A, Q4 = A, Q5 = B (brand colours exactly, no contrast check; Bryan explicit choice, overrides brief hint).
|
||||
|
||||
**AI Response**: Generated nfr-requirements.md (skip-clean via variable ANDREA_TEST_DEPLOY_ENABLED, trade-off recorded) and tech-stack-decisions.md. Awaiting approval.
|
||||
|
||||
**Context**: Construction, U2 NFR Requirements.
|
||||
|
||||
---
|
||||
|
||||
## U2 NFR Requirements - approved
|
||||
|
||||
**Timestamp**: 2026-11-06T15:30:00Z
|
||||
|
||||
**User Response**: "ga verder"
|
||||
|
||||
**Status**: Approved. NFR Design artifacts generated without questions (category evaluation in the plan); awaiting approval.
|
||||
|
||||
**Context**: Construction, U2.
|
||||
|
||||
---
|
||||
|
||||
## U2 decision: proxy-aware rate limiting (option B)
|
||||
|
||||
**Timestamp**: 2026-11-06T16:00:00Z
|
||||
|
||||
**User Response**: "Ik wil het meteen goed opzetten. Als dat betekent dat de bestaande pipelines of omgevingen ook moeten worden aangepast is dat goed. Dus dan optie B, want dat is de meest volledige toch?"
|
||||
|
||||
**AI Response**: Added NFR-SEC-09..13, P11, P12, T10 to the U2 NFR documents. Shared Core change (touches Api, Api.SlpSoftware, Api.Slave) is opt-in via ForwardedHeaders:KnownProxies; limiters become per-client. Existing environments need the env var and proxy-Pi headers as manual steps. Awaiting approval of the updated NFR design.
|
||||
|
||||
**Context**: Construction, U2 NFR Design.
|
||||
|
||||
---
|
||||
|
||||
## U2 NFR Design - approved; Infrastructure Design questions issued
|
||||
|
||||
**Timestamp**: 2026-11-06T16:30:00Z
|
||||
|
||||
**User Response**: "Akkoord, ga verder"
|
||||
|
||||
**AI Response**: Created andreaslop-client-infrastructure-design-plan.md (3 questions: web delivery variant, first-deploy/health check sequence, Sentry). Waiting for Bryan.
|
||||
|
||||
**Context**: Construction, U2 Infrastructure Design.
|
||||
|
||||
---
|
||||
|
||||
## U2 Infrastructure Design - answers received (relayed)
|
||||
|
||||
**Timestamp**: 2026-11-06T17:00:00Z
|
||||
|
||||
**User Response**: Relayed by CMS and API: Q1 = A (symlink to /mnt/storage1/www/html/andreaslop-test), Q2 = A (switch proxy-Pi route first, then first deploy; downtime accepted; explicit order incl. nginx fallback revert), Q3 = B (reuse the website Sentry project/DSN).
|
||||
|
||||
**AI Response**: Checked Sentry: admin reports through the same-origin /sentry-tunnel (connect-src self suffices); tunnel target derives from the backend DSN. Generating infrastructure artifacts and the ordered manual-steps list.
|
||||
|
||||
---
|
||||
|
||||
## U2 Infrastructure Design - artifacts generated
|
||||
|
||||
**Timestamp**: 2026-11-06T17:20:00Z
|
||||
|
||||
**AI Response**: Generated infrastructure-design.md, deployment-architecture.md and manual-steps-for-bryan.md (18 ordered steps in phases A prepare, B cut over, C verify, plus rollback and optional existing-host steps). Awaiting approval; then CMS and API is told the list is final.
|
||||
|
||||
**Context**: Construction, U2 Infrastructure Design.
|
||||
|
||||
---
|
||||
|
||||
## U2 Infrastructure Design - naming convention applied
|
||||
**Timestamp**: 2026-11-07
|
||||
**User Input (relayed by "CMS & API")**: Company is "Andrea Slop Fotografie"; new names use AndreaSlopFotografie/ASF/Asf, never "Andrea"/"AndreaSlop" alone. Clarified: Sentry Q3=B is the ASF website's own Sentry project; Umami only in the website CSP.
|
||||
**AI Response**: Renamed in all U2/inception docs: ANDREA_TEST_* -> ASF_TEST_*, VITE_SENTRY_DSN_ANDREA -> VITE_SENTRY_DSN_ASF, jobs publish/deploy-asf-test, theme folder themes/asf (VITE_THEME=asf). Convention and Sentry/Umami clarification recorded in infrastructure-design.md. Earlier audit entries keep their historical wording (append-only). Awaiting approval.
|
||||
|
||||
## U2 Infrastructure Design - approval
|
||||
**Timestamp**: 2026-11-07
|
||||
**User Input**: "Akkoord, ga verder"
|
||||
**AI Response**: Infrastructure Design approved; manual-steps list FINAL. Peer notified. Code Generation plan written (`andreaslop-client-code-generation-plan.md`), awaiting approval.
|
||||
|
||||
## U2 Infrastructure Design - correction (proxy block)
|
||||
**Timestamp**: 2026-11-07
|
||||
**Input (peer "CMS & API")**: The live proxy-Pi block for test.andreaslop.nl already sets Host, X-Forwarded-For, X-Forwarded-Proto, X-Real-IP; only proxy_pass changes (http://192.168.1.103 -> :5200). Generator in website repo updated in U3.
|
||||
**AI Response**: manual-steps step 11 reworded (verify headers, change target only); earlier statement was wrong.
|
||||
|
||||
## U2 Code Generation - plan approval
|
||||
**Timestamp**: 2026-11-07
|
||||
**User Input**: "Approve plan"
|
||||
**AI Response**: Plan approved; starting Part A (Core forwarded headers + per-client limiters).
|
||||
|
||||
## U2 Code Generation - complete
|
||||
**Timestamp**: 2026-11-07
|
||||
**AI Response**: Parts A-F implemented (see construction/andreaslop-client/code/code-summary.md). Core 351, Identity 57, Availability 82, Master 57, Offerings 57, ASF host config 5, frontend 293 tests green; ESLint/tsc clean; Api.Tests and ASF host pipeline tests need MariaDB (not available locally, run in CI). U1 defect found by the property test (unencoded 301 Location) fixed with regression tests. No push, no deploy. Awaiting approval.
|
||||
|
||||
Reference in New Issue
Block a user