Implement owned Profile schema and atomic authorized lifecycle

This commit is contained in:
Steffen committed 2026-10-14 11:37:12 +02:00
1 parent 523cfbf42e
commit bfe6ebf5af
24 files changed
+3056 -3

No files matched your search

+4
View File
@@ -27,3 +27,7 @@ Read authoritative approval completely. Q1–Q5 resolved; Q5 overrides Ubuntu-on
### Stage 1 checkpoint — passed
Single ASP.NET host, Contracts and Guidance projects; framework login/accounts/assignments and identical guidance content relocated. No business HTTP clients, service-key authentication or extra listeners. Original guidance suite: only host namespace changed; functional assertions unchanged, existing upstream traps still prove zero calls. Added framework login/generic failure/no-store/service-key rejection check. 10/10 cases passed; TRX `stage1-trx` records initial configuration timing failure followed by successful correction. Commit Stage 0: `cee98e7`.
### Stage 2 — Profile checkpoint
Profile facade/owned schema/immutable DTOs; account unique/non-null, durable atomic insert and locked updates. Shared request transaction uses repeatable-read for reads and read-committed for locked writes. Runtime DB role restricted to DML, no runtime migration. Module-owned versioned SQL migration (applied twice) implements schema lifecycle; EF Core retains data access. Original create/update tests copied with namespace adaptation only; relative Location regression fixed in production controller, not assertions. Added concurrent create/retry/restart/persistent-ticket and runtime DDL-denial tests. 29/29 cases passed. Remaining all-endpoint authorization and Observation schema checks proceed with Stage 3. Stage 1 commit `523cfbf`.