Mislukte mails door een configuratieprobleem (auth_failed, rejected_sender, tls_failed, not_configured) worden als Error gelogd zodat Sentry een alert stuurt; timeouts en ontvangerproblemen blijven Warning. Documentatie: uitrol per host met de hand in shared/env, rollback, monitoringplan, checklist; ASF-productie op IIS als open punt voor een latere feature. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
61 lines
3.8 KiB
Markdown
61 lines
3.8 KiB
Markdown
# AI-DLC State Tracking
|
|
|
|
## Project Information
|
|
- **Feature Name**: E-mail notifications for identity (invitation, new activation link, password reset)
|
|
- **Feature Slug**: identity-email-notifications
|
|
- **Project Type**: Brownfield
|
|
- **Start Date**: 2026-11-08
|
|
- **Current Stage**: CONSTRUCTION - U1 and U2 code generated and tested; requirements and design approved by Bryan (relayed), D1 and D2 decided
|
|
- **Branch**: feature/identity-email-notifications (branched from feature/andreaslop-site-hosting at e9feb37; own branch, not merged anywhere)
|
|
- **Request Type**: Feature (Bryan chose real e-mail over a workaround button; relayed by session "CMS & API")
|
|
|
|
## Workspace State
|
|
- **Existing Code**: Yes
|
|
- **Reverse Engineering Needed**: No - reuse aidlc-docs/_shared/reverse-engineering/
|
|
- **Workspace Root**: K:\Development\Projects\SlpModularCms
|
|
|
|
## Code Location Rules
|
|
- **Application Code**: Workspace root (NEVER in aidlc-docs/)
|
|
- **Feature Documentation**: aidlc-docs/features/identity-email-notifications/ only
|
|
|
|
## Language Configuration
|
|
- **Documentation Language**: English
|
|
- **Conversation Language**: User Language (Dutch)
|
|
- **Note**: Inherited from the other features in this workspace.
|
|
|
|
## External Requester (hand-off)
|
|
- **Session**: "CMS & API", relays Bryan's decisions. Questions for Bryan go through that session. No implementation before the answers are in.
|
|
- **Reference implementation (read-only)**: K:\Development\Projects\SimpleDeckApp (MailKit/MimeKit `SmtpEmailSender`, `IEmailSender.SendAsync(to, subject, htmlBody, ct)`, `EmailOptions` section "Email").
|
|
|
|
## Extension Configuration
|
|
| Extension | Enabled | Decided At |
|
|
|---|---|---|
|
|
| Security Baseline | Yes (Q15 A) | Requirements Analysis |
|
|
| Property-Based Testing | Yes - partial PBT-02,03,07,08,09 (Q16 B) | Requirements Analysis |
|
|
|
|
## Operations Configuration
|
|
- **Include Operations Phase**: Yes (Q17 A)
|
|
- **Decided At**: Requirements Analysis
|
|
|
|
## Stage Progress
|
|
### INCEPTION
|
|
- [x] Workspace Detection - Complete
|
|
- [x] Requirements Analysis - P1-P5 decided by Bryan (relayed); requirements.md updated
|
|
- [~] User Stories - skipped (see execution plan)
|
|
- [x] Workflow Planning - approved (relayed)
|
|
- [x] Application Design - approved (relayed); D1 picker in invite dialog, D2 stamp in access token (U3)
|
|
- [x] Units Generation - U1 mail-foundation, U2 identity-mail-flows, U3 password-reset
|
|
|
|
### CONSTRUCTION
|
|
- [x] U1 mail-foundation - Infrastructure Design (construction/mail-foundation/infrastructure-design/infrastructure-design.md), Code Generation done, build and tests green (see code-summary.md); hand-back pending
|
|
- [x] U2 identity-mail-flows - Code Generation done, build and tests green (see construction/identity-mail-flows/code/code-summary.md); includes D1 and D2; hand-back pending
|
|
- [x] U3 password-reset - Code Generation done, build and tests green (see construction/password-reset/code/code-summary.md); hand-back pending (D2, the security stamp in the access token, was built in U2)
|
|
- [~] Build and Test - summary written (construction/build-and-test/build-and-test-summary.md); manual real test mail on ASF test pending
|
|
- [ ] Operations (deployment, monitoring, production readiness incl. SPF/DKIM alignment checklist)
|
|
- Hand-back written (handback.md); Operations questions issued (operations/plans/operations-questions.md), nothing executed until answered
|
|
### OPERATIONS
|
|
- [x] Deployment Setup - approved answers Q1 A, Q2 A (ASF production separate, IIS), Q3 A, Q7 A; operations/deployment/*
|
|
- [x] Monitoring Setup - Q4 B (config-related mail failures at Error), Q5 A; log-level change built and tested; operations/monitoring/*
|
|
- [x] Production Readiness - checklist written; verdict: not yet (real test mails, Sentry rule, Bryan's approval); operations/production-readiness-checklist.md
|
|
- Open for a later feature: ASF production on IIS (hosting assumptions listed in operations/deployment/deployment-plan.md)
|