Architecture governance
MMCA.Store: Architecture Remediation Backlog
Derived from ArchitectureScorecard.md: Maturity 96.8% (306/316) / Implementation 83.2% (657/790), evidence as of 2026-11-23 at MMCA.Common.* v1.315.0 (lockstep, HEAD c0237af6, clean tree). Items are ranked on both scorecard axes, one band per axis. The maturity band holds categories scoring maturity < 4, ranked by priority = (4 − maturity) × weight. The implementation band holds categories scoring implementation <= 8**, ranked by **implPriority = max(0, 9 − implementation) × weight**; the scheduling target is **9, not 10**, because a 10 is recognition earned at re-score time rather than scheduled work, and ranking against 10 would put nearly every strong category in the band and drown the real gaps. Ties break by weight descending, then category number. A category leaves each band independently and reaches the protect list only at **maturity 4 AND implementation >= 9; the indices keep their × 4 and × 10 denominators, and the 9-target governs scheduling only.
Facts re-verified 2026-11-24 against MMCA.Common v1.318.0 (Store HEAD 7875dfd8); scores, indices and bands are unchanged from the evidence date above and move only at the next re-score.
The scorecard is the source of truth for scores, ../MMCA.Common/FACTS.md for framework-wide facts, and the workspace-internal Docs/Architecture/ArchitectureRemediation.md (not published) for the cross-repo [C→A] roll-up. Tactical deferrals are recorded here as TD sub-items under their category (the single-ledger model). Status: [ ] open, [~] under way, [x] resolved.
Open work at a glance
Two items carry scheduled work, and both need a human. The #25 Route Contract test shipped in Store #304 (MMCA.Common 1.317.0), so #25 waits only on the next re-score. Every other band row either has a recorded cap under Deliberate and accepted or a lever not yet identified, which the next re-score names.
| Priority | # | Category | M / I | Band | Next action |
|---|---|---|---|---|---|
| 6 | #11 | Security | M4 / I7 | Implementation | Open (user-side): rotate or remove the identity accounts seeded before the Seeding:IncludeSampleUsers gate |
| 3 | #21 | Accessibility (a11y) | M3 / I8 | Maturity + Implementation | Open (needs a human): record a dated manual NVDA/VoiceOver pass in the screen-reader runbook |
| 2 | #25 | Navigation & Information Arch | M3 / I8 | Maturity + Implementation | Lever shipped Store #304 (MMCA.Common 1.317.0); re-score pending |
Open items
- #11 Security, M4 / I7: rotate or remove the identity seed accounts created before the environment gate. Kept open because a weak-password admin account in production would be a live defect, and the check is a single query. The framework leaves the choice to the app:
IdentityModuleDbSeederBaseseeds every account it is given (itsShouldSeedswitch was removed in MMCA.Common 1.300.0,CHANGELOG.md:392), under a security notice saying the seed credentials are deliberately weak plaintext values and that deployed environments must disable seeding (IdentityModuleDbSeederBase.cs:45-47). Store gates the seeder in itsIModuleSeederonSeeding:IncludeSampleUsers, default false (IdentityModuleSeeder.cs:28-30; the AppHost opts in atAppHost/Program.cs:190-191, the integration fixture atIdentityIntegrationTestFixture.cs:66,74,infra/main.bicepsets nothing,IdentityModuleSeederTestspins it), the same shape as ADC (MMCA.ADC.Identity.API/IdentityModuleSeeder.cs:29-31). The seeded set is an admin account plus a customer account with weak plaintext passwords, one of them a real personal address (MMCA.Store.Identity.Infrastructure/.../IdentityModuleDbSeeder.cs:22-24,36-37), and the per-accountEmailExistsAsyncprobe (:44-51) skips an account that already exists. Next: check the deployed Store Identity database for accounts seeded by builds that predate the gate (Store PR #124) and rotate or remove them (user-side; not provable from the repo). - [~] #21 Accessibility, M3 / I8: record a dated manual screen-reader pass. The axe + Playwright suite gates the deploy (
e2e-gate, chromium,workflow_callintoe2e.yml, indeploy.yml'sneeds; UI-scoped and skippable, an accepted trade-off under Deliberate and accepted) with 32 axe scans over the public, shopper, and Catalog/Sales/Identity admin surfaces (AccessibilityTests.cs, dark-palette home scan at:518) plus the cart-drawer keyboard test (CartDrawerKeyboardTests.cs:21, on the sharedKeyboardOperabilityTestsBase), which earns Implementation 8. The rubric pairs axe-in-CI with a recorded manual screen-reader pass: thestore-ACCESSIBILITY-SCREENREADER-PASS.mdrunbook (Websitedocs-src/guides/) exists, but its results log holds only the placeholder row (:70, header:68-69). Next: a dated NVDA/VoiceOver pass against the running Aspire app (needs a human; cannot be done headless). - #25 Navigation & Information Arch, M3 / I8: enforce the documented route contract. Shipped Store #304 (MMCA.Common 1.317.0 bases) (
Tests/Architecture/MMCA.Store.Architecture.Tests/Api/NavigationContractTests.cs:21,NavItemGuardContractTests.cs:18); the score moves at the next re-score.NavigationContractTestsreads the Route Contract table instore-NavigationFlow.md(:246-286) from source across every head, the MAUI head's/settings/deviceincluded, and fails on a route or guard the table does not match;NavItemGuardContractTestsholds every module's nav item to the guard of the page it opens, which covers the Catalog and Sales menus beside Identity. CI fetches the published doc intoSTORE_NAVIGATION_DOC(deploy.yml:350-360) and the tests run in the architecture tier ofMMCA.Store.CI.slnf(:53).
Implementation band
22 categories, 54 gap points, the largest of the three repos. Levers are cited only where this ledger or the scorecard records one; an unnamed lever is named at the next re-score, never invented here. Ties break by priority desc, then weight desc, then category asc. The remaining scheduled work is the #11 seed-account check and the #21 screen-reader pass; every other row is held by a recorded cap (Deliberate and accepted) or carries a lever not yet identified.
| implPriority | # | Category | w | Impl | Recorded lever |
|---|---|---|---|---|---|
| 6 | #11 | Security | 3 | 7 | switch on the staged identity and key-auth flags in the order at infra/SQL-MANAGED-IDENTITY.md:231-242 (per-app identities, Entra Redis and Service Bus with keys off, Entra-only SQL; parameters at infra/main.bicep:26-44, read at deploy.yml:1418-1429,1559-1625; only USE_MANAGED_IDENTITY_SQL is set). Red flags that stay after the flip: insecure internal ingress (infra/main.bicep:2003,2211,2344) and no threat model. The Manage-rights SAS red flag is gone since Store #305: the three per-app rules carry Send and Listen only (:1485-1513, rationale :1479-1484). Seed-account rotation is operational (Open items) |
| 3 | #1 | SOLID Principles | 3 | 8 | the accepted constructor ceilings cap it: one controller at 8 dependencies, the rubric's 8+ red flag (ShoppingCartsController.cs:53; controller ceiling 8 at ConstructorDependencyCountTests.cs:54), with AuthenticationService at the service ceiling of 6 (AuthenticationService.cs:26-32, ConstructorDependencyCountTests.cs:36), recorded under Deliberate and accepted; lowering a ceiling means splitting the class that holds it |
| 3 | #7 | Microservices Readiness | 3 | 8 | the accepted lockstep deploy caps it: one azure/arm-deploy of the whole main.bicep (deploy.yml:1661-1666), all five images on one IMAGE_SHA (:1393), whole-fleet rollback (:1830-1885, app list :1709), recorded under Deliberate and accepted; no lever scheduled |
| 3 | #10 | Messaging & Integration Architecture | 3 | 8 | not yet identified, named at the next re-score (the broker dead-letter alert, runbook and [EventName] rule are in place, infra/main.bicep:563, infra/OPERATIONS.md:182, EventConventionTests.cs:3; the real-broker round-trips for CustomerErased/ProductInfoChanged and a ProductVariantChanged ordering declaration are closed under Deliberate and accepted); #10 is also in the maturity band |
| 3 | #18 | UI Architecture & Components | 3 | 8 | not yet identified (held at 8: OrderDetail.razor.cs sits at exactly the 400-line cap, so its next added line forces a split, then ProductDetail.razor.cs at 397 and CatalogProductDetail.razor.cs at 393, and the cap is a size proxy; the cap stays at 400, see Deliberate and accepted) |
| 3 | #19 | State Management & Data Flow | 3 | 8 | not yet identified (held at 8: no client-side staleness or invalidation strategy, ShoppingCartService.cs:18, with the IUiReadCache opt-in withdrawn) |
| 3 | #21 | Accessibility (a11y) | 3 | 8 | not yet identified (the dated SR pass is the maturity half; #21 is also in the maturity band) |
| 3 | #28 | Front-End Testing & Quality | 3 | 8 | not yet identified (held at 8: no markup or visual-regression tier) |
| 2 | #5 | Vertical Slice Architecture | 2 | 8 | the layered-by-project hybrid, a deliberate design choice capping impl at 8 |
| 2 | #6 | CQRS & Event-Driven | 2 | 8 | not yet identified (held at 8: the ProductVariantChanged Added path is transactional, AddVariantCommand.cs:25 is ITransactional and the publish is a durable InternalCommands row in the same transaction, AddVariantHandler.cs:79-82,92-98, but a refused schedule is logged at Error and not retried, :99-100) |
| 2 | #12 | Performance & Scalability | 2 | 8 | not yet identified (the monthly k6 run plus load-freshness is the accepted posture, see Deliberate and accepted) |
| 2 | #15 | Best Practices & Code Quality | 2 | 8 | not yet identified (the MAUI head is in neither solution filter, MMCA.Store.CI.slnf:24-25; its analyzer build is a weekly detection with no per-PR leg, maui-audit.yml:207, Sunday cron :37; the scheduled run passes) |
| 2 | #17 | DevOps & Deployment | 2 | 8 | not yet identified (rollback reporting is in place, deploy.yml:1868,1876; the Bicep what-if and probe-only rollback are closed under Deliberate and accepted; the prod-only environment, :1366, and SQL public access, infra/main.bicep:1100, are accepted) |
| 2 | #20 | Design System & UI Consistency | 2 | 8 | not yet identified (the StoreHome palette tokenization is closed under Deliberate and accepted; Catalog.UI/Pages/Home/StoreHome.razor.css holds no hex colour and no !important, and its one literal colour is an rgba shadow at :227) |
| 2 | #22 | Responsive & Cross-Browser | 2 | 8 | not yet identified (the phone-viewport E2E is in place, PhoneViewportTests.cs:36; the density toggle, ListPageShell.razor.cs:112, and touch-target CSS, ProductList.razor:38, are closed under Deliberate and accepted) |
| 2 | #23 | Front-End Performance | 2 | 8 | not yet identified |
| 2 | #24 | Forms, Validation & UX Safety | 2 | 8 | the accepted cap: client validation is DataAnnotations-level with per-field parity, and full FluentValidation parity on the client is not pursued (Deliberate and accepted); no lever scheduled |
| 2 | #25 | Navigation & Information Arch | 2 | 8 | not yet identified on implementation (breadcrumb and 404 wayfinding are not fitness-tested; detail routes are typed {Id:int}, ProductDetail.razor:1, and the Roles item names its Admin role, IdentityUIModule.cs:28); the Route Contract test, the maturity lever, shipped in Store #304 (re-score pending); #25 is also in the maturity band |
| 2 | #30 | Compliance, Privacy & Governance | 2 | 8 | not yet identified, named at the next re-score (consent capture is the candidate: a lawful basis per [Pii] member is recorded in MMCA.Store/PRIVACY.md:121-125, section 12, and checked by Tests/Architecture/MMCA.Store.Architecture.Tests/Privacy/PiiInventoryTests.cs:13, but no consent capture exists in Source; the data-subject-rights surface has a UI, the Profile "Your data" card with export and self-service delete, MMCA.Store/Source/Modules/Identity/MMCA.Store.Identity.UI/Pages/Users/Profile/YourDataCard.razor, mounted at Profile.razor:127) |
| 2 | #31 | Cost Efficiency / FinOps | 2 | 8 | not yet identified (held at 8: the surge guard is read-only, cost-guard.yml:7, the recorded posture under Deliberate and accepted, and the budget is whole-RG with no tag filter, infra/main.bicep:1054; per-service service tags exist on every container app, :1980, :2188, :2321, :2501, :2630) |
| 2 | #33 | Developer Experience & Inner Loop | 2 | 8 | not yet identified (the Service Bus emulator tier gates through recency rather than per PR; see Deliberate and accepted) |
| 1 | #27 | Internationalization (i18n) | 1 | 8 | not yet identified (pluralization and the Spanish accents are in place, ProductReviewsPanel.resx:9-10, SpanishAccentTests.cs:8; held at 8: layout tolerance is proven on three public pages only, PseudoLocalizationTests.cs:41, with no RTL locale) |
Maturity band
4 categories, 10 gap points. Ties break by priority desc, then weight desc, then category asc.
| priority | # | Category | w | Mat | Recorded lever |
|---|---|---|---|---|---|
| 3 | #10 | Messaging & Integration Architecture | 3 | 3 | not yet identified, named at the next re-score. The broker dead-letter procedure is in place (alert infra/main.bicep:563, runbook infra/OPERATIONS.md:182, [EventName] required by EventConventionTests.cs:3); the real broker round-trip reaches the deploy only through the cross-service-freshness recency check (deploy.yml:1056), the shape ADC's section 10 is held at M3 on, and #33's Service Bus emulator entry under Deliberate and accepted records that recency gating |
| 3 | #21 | Accessibility (a11y) | 3 | 3 | a dated manual NVDA/VoiceOver pass in store-ACCESSIBILITY-SCREENREADER-PASS.md (needs a human; the results log holds only the placeholder row at :70, header :68-69) |
| 2 | #12 | Performance & Scalability | 2 | 3 | the accepted cap: no latency check runs on the merge path, and the monthly k6 run plus load-freshness is the recorded posture (Deliberate and accepted); load-freshness is a step of the freshness job (deploy.yml:1037, 35-day window :1046), the skip_freshness_gates break-glass skips it (input at :32), the gate keys on the latest SUCCESSFUL k6 run so a threshold failure blocks nothing, and deploy.needs at :1332 contains no perf job; no lever scheduled |
| 2 | #25 | Navigation & Information Arch | 2 | 3 | Lever shipped Store #304 (MMCA.Common 1.317.0); re-score pending: NavigationContractTests.cs:21 reads the Route Contract in store-NavigationFlow.md (:246-286) and fails on drift from the @page routes and guards, and NavItemGuardContractTests.cs:18 holds every module's menu items (Catalog and Sales included) to their page guards; see Open items |
Deliberate and accepted
- Closed as over-engineering. Each was weighed against one developer and about 67 peak users; none has a defect behind it that an existing gate misses, so each would add permanent machinery for a score point. Do not re-propose without new evidence (a named re-open trigger, an incident, or an explicit ask).
- #10 real-broker round-trips for
CustomerErased/ProductInfoChangedand an ordering declaration forProductVariantChanged: the contract snapshot and the required[EventName]rule cover the wire-name failure; the ordering race is theoretical at this load. - #17 Bicep what-if before
arm-deploy, and probe-only rollback: what-if needs Azure credentials in pull-request workflows,arm-deployalready fails on bad Bicep, and ADR-080 keeps skip-live. - #20 StoreHome palette tokenization: cosmetic; the dark-palette axe scan passes and the brand token is already guarded.
- #22 density toggle and coarse-pointer touch-target CSS: no shopper need; the phone-viewport E2E now guards the shopper pages.
- #28 port of ADC's
ComponentsSnapshotTests: brittle on every MudBlazor bump. - #6
AddVariantHandlerreturning a failure on a refused schedule: the lever is wrong. The handler reports success on purpose, because a retry with a null SKU would create a duplicate variant. - Rows with no recorded lever (#18, #19, #23, #30, #31, #33): #18 is under the cap, which forces a split when due (the shared field blocks are in place, see Resolved); #19's client cache was withdrawn after staleness failures; #23's product-image derivatives are a storage redesign while the browse CWV budgets pass; #30's consent capture has no processing that needs consent (no marketing mail); #31 and #33 are recorded postures below.
- TD product-image derivatives (#12, #23): closed with #23 above. Re-open: a browse-page Web Vitals budget failure.
- #10 real-broker round-trips for
- Consolidating the services onto one host: declined (owner decision, 2026-10-24). Collapsing Store's distributed topology into a single host was considered and declined; the per-module services behind the Gateway stay, for the extraction rationale recorded in ADR-008. ADC records the same decision as TD-15 (adc-RemediationBacklog.md, under Deliberate and accepted). Do not re-propose without new evidence.
- §16 AI-Native Application Architecture is N/A (rubric v2, ADR-110): no product feature calls a language model, so its weight 2 leaves both denominators until one does.
- #5 layered-by-project hybrid. Cross-cutting concerns live in the pipeline and module projects keep a layered split; a deliberate design choice that caps §5 at Implementation 8, not a maturity deduction.
- Chromium-only deploy E2E gate (#22, #21): accepted CI-cost trade-off. The deploy-gating
e2e-gateruns a single engine (job atdeploy.yml:979,browsers: '["chromium"]'at:992); firefox and webkit run on the advisory schedule, one alternating engine per week (thebrowsermatrix expression ate2e.yml:149-152, crons:51-52, schedule-scopedcontinue-on-errorat:159). Thecross-browser-freshnessstep bounds each engine's blind window at 10 days as a harddeploycondition (deploy.yml:1087,:1332,:1362). Revisit if a webkit-only or firefox-only defect reaches production, which is the risk being priced. The UI-scoping of the gate is the separate entry below. - UI-scoped
e2e-gate(#21, #22, #28): accepted Actions-minute trade-off, next to the chromium-only entry. Thee2e-gatejob runs only whenneeds.changes.outputs.ui == 'true'(deploy.yml:989, job at:979, chromium-only input at:992), and thedeployjob accepts it assuccessORskipped(:1365, withe2e-gatein the deployneedslist at:1332). On a backend-only merge the 32 WCAG 2.1 AA axe scans (Tests/E2E/MMCA.Store.E2E.Tests/Workflows/AccessibilityTests.cs) and the Playwright workflow suite do not run. Backend tests precede every code deploy: the requiredbuild-and-testcheck runs theMMCA.Store.CI.slnfunit + architecture + bUnit tier (deploy.yml:280, test run at:375), branch protection enforces admins with strict up-to-date required checks, so the merged tree is the PR-tested tree, and the post-deploy smoke gate probes Catalog and Sales through the gateway. Revisit if a UI defect reaches production through a backend-only merge. - TD · #22: the
cross-browser-freshnessgate proves recency, not this tree, and is break-glass skippable. The gate proves a green firefox and webkit leg within 10 days (deploy.yml:1103), not that this exact tree passes on those engines, and theskip_freshness_gatesworkflow_dispatchinput (declared atdeploy.yml:32-39) that also skips #12'sload-freshnessskips it with a justification. The webkit failure that made the caveat live (scheduled run 44476444492 on 2026-11-19, the guest order-link test) was fixed in Store #301, and the manual run 45279047296 on 2026-11-23 passed all three engines, so the gate again rests on a fresh webkit success. Accepted as priced on the ADC precedent, whose row carries the identical caveat. Blocker: none; a per-change three-engine gate is the Actions-minute cost the chromium-only entry prices. Resolution path: none scheduled, revisit if a single-engine defect reaches production or the break-glass is used outside an incident. Effort: S (denying the skip is oneif:change). - #33 Service Bus emulator tier gates through recency.
Tests/Integration/MMCA.Store.ServiceBusEmulator.IntegrationTestsruns MMCA.Common's native Azure Service Bus transport (ServiceBusEmulatorFixtureBase) against the official Service Bus emulator (pinned 2.0.1,ServiceBusEmulatorFixtureBase.cs:64in Common) with the realProductVariantChangedcontract, andcross-service-freshnessrequires both it and the RabbitMQ tier to have succeeded in the same nightly run (thecross-service-freshnessstep of thefreshnessjob,deploy.yml:1056, same-run check:1071-1074,freshnessin deployneedsat:1332). This recency gating is also what holds #10 at Maturity 3. The tier needs Docker, so it stays out of both solution filters and reaches the deploy chain through the recency check rather than per PR. Mirrors ADC's TD-17; ADR-066 records the gated end state in both consumers. - TD · Product-image derivatives (#12, #23): closed. Images are full-size DB blobs streamed as-is and rendered as card thumbnails with no
srcset/dimensions, so a 12-card browse grid can pull 12 full-size assets. Fixing it is a storage-design decision, not a local change; closed as over-engineering (above). - Single-region deployment: accepted in
infra/DISASTER-RECOVERY.md(real load does not justify multi-region cost). - All per-service DBs on one physical SQL server: logical isolation is complete; the shared server is a cost choice (minor §7/§8).
- #7 lockstep deploy: per-service image parameters are not adopted. The deploy is one
azure/arm-deployof the wholemain.bicep(deploy.yml:1661-1666) with all five images on oneIMAGE_SHA(:1393) and a whole-fleet rollback (:1828-1886). Splitting the image parameters per service would add permanent complexity to the deploy and rollback logic for a five-app, one-developer fleet, so the lockstep deploy is accepted and caps section 7 at Implementation 8. The build half stays per-image incremental (per-image dirty flags in thechangesjob re-tag unchanged images instead of rebuilding them). - #11 per-app identities ship opt-in. Per-app identities, Entra-only SQL and Entra auth for Redis and Service Bus with keys off ship as parameters that default off (
infra/main.bicep:26-44), wired from repository variables (deploy.yml:1418-1429,1559-1625), with per-database users that get nodb_owner(infra/SQL-MANAGED-IDENTITY.md:202-216); until they are switched on (the #11 lever), one shared identity isdb_ownerin all three databases (:81-84). The Service Bus topology half of this entry is moot since Store #305 (MMCA.Common 1.318.0): every queue, topic and subscription is declared in Bicep (infra/main.bicep:1342-1363, entities at:1410-1454), each app runs withMessageBus__ProvisionTopology=false, the three per-app SAS rules carry Send and Listen only (:1485-1513, rationale:1479-1484), andTests/Services/MMCA.Store.Services.Tests/Messaging/BrokerTopologyBicepTests.cspins the declared tables to the hosts' consumers and contracts, so SAS Manage is no longer a red flag on the section 11 row. - #12 in-band k6 on every deploy, and a shopper script that writes to production: not adopted. Either would load production on every deploy at a peak of about 67 users. The monthly
load-test.ymlrun (:21, dispatch at:12) plus the 35-dayload-freshnessdeploy gate (deploy.yml:1037, window:1046) is the accepted posture, with the Web Vitals budgets asserted per deploy in the chromiume2e-gate; section 12 stays at Maturity 3 on it. - #18 code-behind cap lowered to 300: not adopted. Lowering the cap would force about a dozen extractions at once; the cap stays at 400 (
UIArchitectureConventionTests.cs:9), and only the files at or near 400 are candidates for extraction (OrderDetail.razor.cssits at exactly 400). - #31 scheduled revert of surge drift: not adopted.
cost-guardstays read-only (cost-guard.yml:7, manual reset printed at:118), because a scheduled revert would act on production unwatched (schedule detection, never action). The guard still blocks the deploy on drift (cost-guardjob atdeploy.yml:950) and runs on the Monday cron (cost-guard.yml:21); it caps section 31 at Implementation 8, the same basis as ADC's. - SQL public network access (no VNet): the documented acceptance behind the §17 cap, the same caveat ADC carries.
- ADR-042 device capability abstraction: largely adopted;
ExternalLinklatent. The core extension point is converged (Store wires browser + MAUI capabilities viaUseMauiDeviceCapabilities/AddBrowserDeviceCapabilities,MauiProgram.cs:76,UI.Web.Client/Program.cs:47, and renders the sharedOfflineBannerthrough Common'sMainLayout), and since Store #245 the MAUI head registers its ownMauiUIModulewithDeepLinkListener,BiometricGateandNativeThemeSyncas layout components (Source/Hosts/UI/MMCA.Store.UI/MauiUIModule.cs:38) plus the/settings/devicepage; the Profile "Your data" card consumesIExternalLinkService(YourDataCard.razor.cs:52). What stays latent: no Store page uses theExternalLinkcomponent and none declares app actions. No Store product page carries an external anchor, so the WebView dead-end risk is latent, not a live defect. AdoptExternalLinkon any Store product page that grows an external anchor. The framework side is complete in Common (18 capability contracts + theMMCA.Common.UI.Mauipackage), so this is consumer-side only, not[C→A]. - ADR-043 adoption (mobile deep links / app association / native OAuth callback): largely adopted since Store #245. The deep-link leg is adopted. Android declares a verified App Links filter and the
casaboutiquecustom scheme (Platforms/Android/MainActivity.cs:33-44), iOS declares the custom scheme (Platforms/iOS/Info.plist:29-41) and routes Universal Links throughAppDelegate, and the UI.Web host serves both association documents through Common'sMapAppAssociationEndpoints(UI.Web/Program.cs:107-114). Two pieces stay unset: the iOS associated-domains entitlement and Apple app id (AppleAppIdis a placeholder atUI.Web/Program.cs:112), and the native OAuth callback, which Store has no external sign-in to need (noMauiExternalAuthBrokeruse in Source). - ADR-044 adoption (native push, third notification channel): deferred. Store has no user-notification pipeline (no ADR-024 inbox, no SignalR channel), so adoption means adopting the whole notification stack first: a product decision, not remediation. Schedule only if Store wants user notifications.
- #14 dedicated rate-limit fixtures: skipped. The WAFs neutralize the limiter and a tight-limit variant is low value for the volume; revisit only if abuse is observed.
- #11 login throttle shared by Blazor Server circuits. The per-IP anti-spray throttle inherited from Common's
AuthControllerBasecounts every Server-circuit user against the UI host's IP (a 30/min window), because Blazor Server issues the login call server-side. Watch the 429 rate; tune with theRateLimiting:AuthIpPermitLimitsetting on the Identity service (default 30,RateLimitingSettings.cs:35in Common), which the shared service host binds throughAddCommonRateLimiting(configuration)(ServiceHostBuilderExtensions.cs:110). - #1 constructor ceilings (services 6, controllers 8, handlers 7). Set in
ConstructorDependencyCountTests.cs:36,54,72:AuthenticationServiceholds the service ceiling at 6 (AuthenticationService.cs:26-32), and one controller sits at 8 (ShoppingCartsController.cs:53);ReviewsController(:57) andProductVariantsController(:39) now take 6 each, though the test's doc comment (:38-41) still names all three. The controller ceiling sits at the rubric's 8+ dependency red flag by recorded choice, which caps §1 at Implementation 8 the way the layered hybrid caps §5. - #11 threat model: not maintained, by decision. No threat-model document is kept for Store, matching the Common backlog; §11 is scored on its other red flags, and a re-score does not add a threat-model item.
- [closed] #23 catalog trade-offs. Moot since Store #236: price sorts order by the lowest effective price (
StorefrontProductsSpecification.cs:104-109), and search matches the name or the description (:73). - #24 server-only and inline rules: SKU uniqueness stays server-only (it needs the DB); the Profile-form password fields stay inline by design, in both consumers.
- #24 full FluentValidation parity on the client: not adopted. All four create forms (
CategoryCreate,ProductCreate,CustomerCreate,InventoryItemCreate) source their field rules from a DataAnnotations form model through Common'sModelValidationbridge, and the existing per-field parity is kept: email format (mirroringCustomerEmailRules' algorithm) on CustomerCreate and CustomerDetail, and NewPassword min-length/128-cap plus confirm-match on the Profile change-password form (localized en + es keys). Full parity would duplicate the server rule set, so it caps section 24 at Implementation 8. - [closed] #19 silent cart initialization. Moot since Store #190:
CartStateService.InitializeAsyncisRefreshAsync(CartStateService.cs:90-91), which raisesOnChangeonce the load completes (:264-282, contract atICartStateService.cs:59-61), so initialization notifies;CartStateServiceTests.cs:135pins the single notification. OrderDetailwithout[Authorize]: a recorded deliberate choice from the E2E gap review.- S-Store-identity-13 guest private-link rotation: accepted risk (owner decision, 2026-12-04). Asking for a new private link, by order number and the email the order was placed with (
GuestOrdersController.cs:196), replaces the guest order's access token and emails the new link (SendGuestOrderLinkInternalCommandHandler.cs:14), so the old link stops working at once. That is kept on purpose: a leaked link can always be killed. The cost is a nuisance: anyone who knows an order number and its email can force a re-send that retires the link in the owner's mail. It is bounded by the per-recipient guest mail cap, 3 per recipient per hour by default (CheckoutRedirectSettings.cs:53, checked atGuestCheckoutThrottle.cs:59); the link request consumes that budget before it schedules anything, and a request over the budget leaves the token as it is (RequestGuestOrderLinkHandler.cs:47). Do not re-propose without new evidence (an abuse report or a complaint).
Resolved
| # | Category | M / I | Evidence |
|---|---|---|---|
| #1 | Controllers split by sub-resource | M4 / I8 | ReviewModerationController.cs:48, ReviewEligibilityController.cs:27, ProductAttributesController.cs:42, OrderFulfillmentController.cs:39: same routes, verbs, authorization, cache, idempotency and If-Match attributes |
| #2 | Design Patterns | M4 / I9 | Factory→Result, state machine, saga, specification (Order.cs:328, transitions :743-835, Orders/Saga/OrderCancelledSagaHandler.cs) |
| #3 | Clean Architecture | M4 / I9 | StoreArchitectureMap.cs:14-43 + LayerDependencyTests/DomainPurityTests; DecoratorPipelineOrderTests and HandlerResultConventionTests in the arch tier |
| #4 | Domain-Driven Design | M4 / I9 | Order.cs (Money :141, OrderInvariants, OrderIdentifierType) |
| #7 | Database-per-service | M4 / I8 | Store_Catalog/Store_Sales/Store_Identity, each with its own outbox (infra/main.bicep:1259-1265); the legacy MMCAStore DB is archived to a bacpac and absent from IaC (:1243-1250) |
| #8 | Data Architecture | M4 / I9 | Atomic conditional-UPDATE decrement (InventoryAllocationService.cs:74-77), CHECK backstop (InventoryItemConfiguration.cs:57-59), single-transaction checkout write phase (CheckOutHandler.cs:106), stale-version round trips answering 412 / 428 in Catalog and Sales (StaleRowVersionConflictTests.cs:19,34, OrderTransitionConcurrencyTests.cs:24,46), raw-IQueryable ban with an EMPTY allowlist (RawQueryableConventionTests.cs:14 in MMCA.Store.CI.slnf:53); protect by keeping the decrement atomic and the CHECK in place |
| #8 | Expand/contract migration guard | M4 / I9 | Step in the required build-and-test job (deploy.yml:471-523, fail-closed at :497-502, job at :280), policy at CONTRIBUTING.md:56 |
| #9 | API & Contract Design | M4 / I9 | v2 ServiceInfoController (ServiceInfoController.cs:19) + seven contract-guard files in the required integration-tests check; ProtoContractTests.cs:9 |
| #11 | Customers gRPC edge requires a user or service token | M4 / I7 | .RequireAuthorization(ServiceTokenDefaults.InternalCallerPolicy) at Identity.Service/Program.cs:149 (scheme :85), Sales AddServiceTokenClient at Sales.Service/Program.cs:147, Key Vault secret Grpc--ServiceToken--SigningKey at infra/main.bicep:1882, deploy fail-fast on a missing GRPC_SERVICE_TOKEN_SIGNING_KEY (deploy.yml:1488-1490), pinned by CustomersGrpcAuthorizationTests.cs:40 |
| #11 | Seed-account environment gate (code) | M4 / I8 | IdentityModuleSeeder.cs:28-30 on Seeding:IncludeSampleUsers (default false), pinned by IdentityModuleSeederTests |
| #11 | UI host hardening taken from Common | M4 / I8 | Common's AddMmcaBlazorWebHost and UseMmcaBlazorWebPipeline (UI.Web/Program.cs:30,92); host-wiring facts in UiHostHardeningTests.cs:21-22 on Common's UiHostHardeningTestsBase (rate limiter and BoundedCircuitHandler); /hubs exempt by declaration (Common MMCA.Common.UI.Web/Hardening/UiRateLimitingExtensions.cs:80); ADR-088 |
| #11 | Stripe signing secret kept off stderr | M4 / I7 | The secret goes only to the secret store; the Critical log names the endpoint id (StripeWebhookRegistrationService.cs:249) |
| #11 | Password-spray throttle | M4 / I8 | Common's per-IP throttle on the inherited AuthControllerBase.LoginAsync/RegisterAsync |
| #12 | Batched bulk-inventory existence check | M3 / I8 | One GetExistingIdsAsync round trip (Sales.Application/Inventory/UseCases/BulkSet/BulkSetInventoryHandler.cs:37-40, rationale :32-36); GetUnitPricesAsync is not reusable because it drops variants whose Price is null |
| #12 | Output cache shared across replicas | M3 / I8 | Catalog sets UseRedisOutputCaching = true on its service host (Catalog.Service/Program.cs:53), so Common's host calls AddRedisOutputCaching (MMCA.Common.ServiceHost/ServiceHostBuilderExtensions.cs:91-93), which registers the Redis output-cache store (MMCA.Common.Aspire/Caching/RedisCachingExtensions.cs:103, :111), so tag eviction reaches every replica (ADR-040 amendment) |
| #12 | Order hot predicates indexed | M3 / I8 | Filtered (Status, LastModifiedOn, CreatedOn) index for the reconciliation sweep; (CustomerId, CreatedOn) for the order grids |
| #12 | Admin order search | M3 / I8 | OrderList sends an equality match on the int Id when the input parses (no unsupported CONTAINS) |
| #12 | Warm-up tasks | M3 / I8 | Closes the finding that warm-up primed keys the storefront never requests and called [Authorize] endpoints unauthenticated |
| #12 | Customer enrichment | M3 / I8 | GetByIdsAsync issues one request via the Id IN (...) operator |
| #12 | Cart variant lookup | M3 / I8 | GetVariantCartInfoHandler projects rather than loading whole Product aggregates |
| #12 | Post-checkout Stripe polling | M3 / I8 | Banded 2s/3s/4s/6s back-off; Stripe is not called before attempt 5 |
| #12 | Load and CWV coverage | M3 / I8 | catalog-read-load.js exercises the real storefront key plus two cache-miss shapes, hit/miss thresholds split by tag; product detail has a CWV budget |
| #12 | Projected order-line count | M3 / I8 | Order.LineCount (Order.cs:206, maintained at :427), OrderConfiguration.cs:133, OrderDTO.cs:93, 20260831011924_AddOrderLineCount.cs; the grid's Items column now shows the sibling Order.UnitCount (Order.cs:219, set at :428; OrderList.razor:135, rationale :131) |
| #13 | Observability & Operability | M4 / I9 | ObservabilityConventionTests.cs:7,13 pairs every sloAlertSpecs key with an infra/OPERATIONS.md section; workbook main.bicep:1033 |
| #14 | Testability & Test Strategy | M4 / I9 | Self-filtered line floor 51.6 (deploy.yml:387-416) and Application-layer branch floor 72.8 with a 3-assembly vacuity guard (:418-450, Store #168 af66b959); real-SQL integration tier (money paths, GDPR, refresh rotation, contract guards, [Idempotent] replay) on SqlServerIntegrationTestFixtureBase; cross-service-freshness recency gate |
| #15 | Global NoWarn rationale |
M4 / I8 | Every global code documented (Directory.Build.props:54-68), RMG020 scoped to .Application (:105-113), test-tier group centralized (:95-102, :115-135) |
| #15 | Audit suppressions current | M4 / I8 | NuGetAudit / NuGetAuditMode=all at Directory.Build.props:80-81, the accept-an-advisory procedure at :74-79; no advisory is suppressed today (no NuGetAuditSuppress item, and no ImageSharp package is referenced); MAUI vulnerability audit weekly (maui-audit.yml:37, :118) |
| #15 | Checkout decomposition | M4 / I8 | CheckOutHandler.HandleAsync is 68 lines (CheckOutHandler.cs:53-120); reads in CheckOutPreflight.cs:33, deadline arming in CheckOutDeadlineScheduler.cs:31; 7 constructor dependencies |
| #15, #17, #34 | Readiness probes for the h2c services | M4 / - | Catalog and Identity expose an Http1 probe listener on HealthProbe:Port 8081 with the three-probe httpGet form |
| #18 | Create and detail forms share one field block | M4 / I8 | CategoryFormFields, ProductFormFields and CustomerFormFields over one abstract *FormModel each, rendered by the create page and the detail page's inline editor, each with a bUnit test (Store #215) |
| #18 | UI architecture gate | M4 / I8 | UIArchitectureConventionTests.cs:9 (400-line code-behind, 120-line @code caps); OrderSummaryPanel, OrderLinesPanel, ProductVariantsPanel extracted |
| #19 | State management gate | M4 / I8 | StateManagementConventionTests.cs:10; Sales.UI/DependencyInjection.cs:38 (TryAddScoped) |
| #19 | Drawer state through the notify path | M4 / I8 | ICartStateService.cs:57, :118-124; CartStateService.cs:83, :377-395; CartDrawer.razor:5 |
| #19 | Superseded-load guard | M4 / I8 | All seven detail pages on Common's DetailPageBase load guard (BeginLoad/CompleteLoad, DetailPageBase.cs:34,48) incl. CategoryDetail.razor.cs:81, CustomerDetail.razor.cs:83, InventoryItemDetail.razor.cs:67, plus UserDetail.razor.cs:80,89 |
| #19 | Cart service on the framework base | M4 / I8 | CartStateService on AuthenticatedServiceBase (Store #166/#167) |
| #20 | Inline-style sweep | M4 / I8 | Zero Style=/CellStyle= in razor; global classes in store.css and Common's MMCA.Common.UI/wwwroot/app.css (.grid-cell-actions at :452; MudBlazor-rendered markup carries no isolation scope); pinned by CategoryListTests.cs:145 |
| #20 | Brand-color token guard | M4 / I8 | BrandColorTokenTests.cs:10 (commit 5fbd003); the shared home CSS (Catalog.UI/Pages/Home/StoreHome.razor.css, embedded at MMCA.Store.Architecture.Tests.csproj:10) on var(--mmca-primary) |
| #21 | Axe breadth | M3 / I8 | 32 scans (AccessibilityTests.cs:35-545) in the deploy-gating chromium e2e-gate |
| #21 | Cart-drawer keyboard gate | M3 / I8 | CartDrawerKeyboardTests.cs:21 on the shared KeyboardOperabilityTestsBase: skip link and focus indicators on home and catalog, drawer open/trap/Escape contract |
| #22 | Cross-browser freshness gate | M4 / I8 | cross-browser-freshness step (deploy.yml:1087, window :1103) of the freshness job in deploy.needs (:1332), required at :1362 |
| #23 | Front-End Performance | M4 / I8 | Server-paged CatalogBrowse (GetPagedAsync + bounded MobileInfiniteScrollList), batch variant lookup (CartStateService.cs:455-469), hard CWV budgets (WebVitalsTests.cs:73,105,124, asserted by Common WebVitalsCollector.cs:137) |
| #24 | Forms gate and model-sourced rules | M4 / I8 | FormsConventionTests (MinimumCreateForms=4); DataAnnotations models through ModelValidation on all four create forms |
| #25 | Route authorization | M3 / I8 | *RouteAuthorizationTests in MMCA.Store.CI.slnf:40,46,52, governing all 19 Admin-gated pages (IdentityRouteAuthorizationTests.cs:26-32 lists the /users pair) |
| #25 | Notification-pages framework gate | M3 / I8 | Common NotificationPageGate.cs:26 hides the pages whenever no notification UI module is registered, in every head |
| #26 | Front-End Security | M4 / I9 | ServerTokenStorageService.cs:9-12, BlazorCspPolicyProvider.cs:102-104 (script-src, style-src, img-src), :110 (frame-ancestors 'none'); the same-origin data-call proxy lever is Common-owned and recorded once as TD-08 |
| #10 | Broker error-queue alert and runbook | M3 / I8 | Now the broker dead-letter alert (infra/main.bicep:563; the MassTransit error queues retired with the native transport, Store #301), runbook infra/OPERATIONS.md:182, five consumer flows in the outbox runbook (:171, Store #213); [EventName] required by Contracts/EventConventionTests.cs:3 |
| #15 | MAUI head compiled weekly | M4 / I8 | .github/workflows/maui-audit.yml:207 (Release, analyzers, TWAE; Sunday cron :37; Store #213); detection only, the scheduled run passes |
| #17 | Rollback reports what it did | M4 / I8 | Per-app outcome and counted summary at deploy.yml:1868,1876, comment at :1836-1840 (Store #213) |
| #22 | Phone-viewport E2E | M4 / I8 | Tests/E2E/MMCA.Store.E2E.Tests/Workflows/PhoneViewportTests.cs:36 (390x844, no horizontal overflow at :85-88) in the chromium e2e-gate (Store #213) |
| #23 | Pinned EFIGS ICU shard | M4 / I8 | MMCA.Store.UI.Web.Client.csproj:17 (BlazorIcuDataFileName; Store #213) |
| #25 | Roles item matches its page guard | M3 / I8 | IdentityUIModule.cs gates Roles on RoleNames.Admin, pinned by IdentityUIModuleTests.cs (Store #213) |
| #27 | Plurals and Spanish accents | M4 / I8 | ProductReviewsPanel.resx:9-10 (.One/.Other), (s) keys retired in en and es (Store #213) |
| #27 | Culture-aware money formatting | M4 / I8 | Common's MMCA.Common.UI/Extensions/MoneyExtensions.cs:54,90 (CurrentCulture), currency symbol at :71-76, pin at Directory.Packages.props:50 (MMCA.Common.UI 1.318.0) |
| #27 | Literal sweep and pseudo-localization | M4 / I8 | LocalizedTextConventionTests.cs:14, TranslationCompletenessTests.cs:13, PseudoLocalizationTests.cs:41 |
| #28 | Front-End Testing & Quality | M4 / I8 | E2E + axe deploy gate; bUnit 364 facts across 47 files |
| #29 | Resilience & Business Continuity | M4 / I9 | dr-freshness step of the freshness job in deploy.needs (deploy.yml:1019, :1332), weekly dr-drill.yml:33, GracefulShutdownTests.cs |
| #29 | DR drill targets the live databases | M4 / I9 | ISO-week rotation across Store_Catalog/Store_Sales/Store_Identity (MMCAStore by dispatch only), 60-min timeout, skip_freshness_gates break-glass with mandatory justification on the four freshness gates (dr, load, cross-service, cross-browser; deploy.yml:29-39); each live DB dispatch-drilled PASS (3.6 / 2.1 / 1.3 min) |
| #30 | Personal-data inventory with lawful basis | M4 / I8 | PRIVACY.md:121-125 (section 12: purpose, lawful basis and retention per [Pii] member), checked by Privacy/PiiInventoryTests.cs:13 in the architecture tier |
| #31 | Cost-guard deploy gate | M4 / I8 | cost-guard job in deploy.needs (deploy.yml:950,1332,1361); the SQL check accepts only Basic or Standard S0, so a scaled-up Standard objective reads as drift (cost-guard.yml:71-77, applied at :111, Store #168 af66b959) |
| #31 | Alert receivers | M4 / I8 | alertEmailAddress is a required parameter and deploy.yml fails fast naming a missing ALERT_EMAIL |
| #32 | Dependency & Supply-Chain | M4 / I9 | --locked-mode restores (deploy.yml:308,634,771), gating suppress-aware audit, SBOM hard gate (43d733f) |
| #33 | Service Bus emulator tier authoritative | M4 / I8 | No continue-on-error on servicebus-emulator-smoke (cross-service-tests.yml:146, do-not-re-add note :138); both-jobs check deploy.yml:1071-1074, break-glass :1076-1077 |
| #33 | README | M4 / I8 | Getting-started path |
| #34 | Architecture Governance & Docs | M4 / I9 | 76 fitness-test classes under Tests/Architecture/MMCA.Store.Architecture.Tests/ (78 .cs files with the map and GlobalUsings.cs), including Governance/SubstitutabilityTests.cs:14, Privacy/PiiInventoryTests.cs:13 and the two Api/ navigation contract gates (Store #304); framework-wide fitness figures at MMCA.Common/FACTS.md:97; the single per-repo ledger |
| - | Framework adoption E2/E4/E7/E8 | - | PaymentReconciliationService on PeriodicBackgroundService, the shared SQL readiness check, the observability and graceful-shutdown test bases |
| S-1 | Stripe network errors in the Result pattern | - | StripePaymentService handles HttpRequestException in both resilience predicates and maps it to Payment.Stripe.SessionCreationFailed / Payment.Stripe.SessionRetrievalFailed |
| S-2 | Zero-decimal currency guard | - | Two-decimal allow-list (USD, EUR; extend together with Currency.All), Payment.Stripe.UnsupportedCurrency, AwayFromZero rounding |
| S-3 | BuyNow drawer half-failure parity | - | CheckoutAndPayAsync returns CheckoutOutcome(StripeUri, OrderId) and persists the orphan-recovery token on failure; CartDrawer navigates to /orders/{id} |
| S-4 | Case-insensitive Admin check in GDPR handlers | - | DeleteUserHandler/ExportUserDataHandler use UserRole.IsAdmin |
| - | Checkout and upload hygiene | - | "Buy now" reuses the cart checkout flow (idempotency key included); one Stripe failure-mapping helper; image uploads checked by content; Sales handlers on the injected clock (Store #166/#167) |
| - | UI and test consolidation | - | StoreHome once in Catalog.UI; inventory restore keeps its Result; catalog sort and category E2E tests assert real results; OrderDetailTestBase; fakes from MMCA.Common.Testing; LatestLoadGuard on nine pages (eight detail pages through Common's DetailPageBase.LoadGuard, plus CatalogBrowse.razor.cs:105); read-repository and clock fitness rules (Store #166/#167) |