docs(plan): v1.6 — M2M early slice pulled forward into Phase 1.5 (M1.5) #58

Merged
amiryahaya merged 1 commit from docs/m2m-early-slice into main 2026-11-05 14:02:13 +01:00
Owner

Business driver: clients run all-in-one applications and won't switch — the integration point must land early, not after the client-platform phases.

Change

  • New Phase 1.5 (1.5 wk, immediately after Phase 1): tasks 8.1–8.3 — Zitadel service accounts (JIT ServiceAccount provisioning routed through the task-1.4 UserProvisioningService), API keys (hashed, sdid_ prefix, grace rotation), scope model + /api/m2m/* routes wired into the task-1.10 authz matrix. Task IDs keep their Phase 8 numbers for SRS/tracker traceability.
  • Phase 8 → "M2M Completion & SDK" (2 wk): only 8.4–8.7 (platform-encryption mode, webhooks, .NET headless SDK, NuGet/docs). The SDK stays at M7 deliberately — it must pass the golden vectors that the file/crypto phases (3, 7) produce.
  • Milestone M1.5 — 'M2M early slice live' at wk 7: partners can authenticate with a machine principal and complete scoped metadata journeys right after the backend foundation. M7 unchanged (wk 17).
  • Traceability matrix, tracker map (epic #40 split M1.5/M7), and README updated. Totals unchanged (~32 wk solo).

Exit criteria (Phase 1.5)

An integrator authenticates as a service account or API key and completes a scoped metadata journey (list/create folders, read activity) with per-principal rate limits, machine-actor audit rows, and 403 insufficient_scope on out-of-scope calls. File journeys wait for M7.

Business driver: clients run all-in-one applications and won't switch — the integration point must land early, not after the client-platform phases. ## Change - **New Phase 1.5** (1.5 wk, immediately after Phase 1): tasks **8.1–8.3** — Zitadel service accounts (JIT `ServiceAccount` provisioning routed through the task-1.4 `UserProvisioningService`), API keys (hashed, `sdid_` prefix, grace rotation), scope model + `/api/m2m/*` routes wired into the task-1.10 authz matrix. Task IDs keep their Phase 8 numbers for SRS/tracker traceability. - **Phase 8 → "M2M Completion & SDK"** (2 wk): only 8.4–8.7 (platform-encryption mode, webhooks, .NET headless SDK, NuGet/docs). The SDK stays at M7 deliberately — it must pass the golden vectors that the file/crypto phases (3, 7) produce. - **Milestone M1.5 — 'M2M early slice live' at wk 7**: partners can authenticate with a machine principal and complete scoped metadata journeys right after the backend foundation. M7 unchanged (wk 17). - Traceability matrix, tracker map (epic #40 split M1.5/M7), and README updated. Totals unchanged (~32 wk solo). ## Exit criteria (Phase 1.5) An integrator authenticates as a service account or API key and completes a scoped metadata journey (list/create folders, read activity) with per-principal rate limits, machine-actor audit rows, and 403 `insufficient_scope` on out-of-scope calls. File journeys wait for M7.
Business driver: clients run all-in-one applications and are hard to
move onto a new one — the platform must provide the integration point
early, not after the client-platform phases.

- new Phase 1.5 (1.5 wk, after Phase 1): tasks 8.1–8.3 (Zitadel service
  accounts routed through the task-1.4 UserProvisioningService, API
  keys, scope model + /api/m2m/* wired into the 1.10 authz matrix) —
  task IDs kept to preserve SRS/tracker traceability
- Phase 8 retitled 'M2M Completion & SDK' (2 wk): 8.4–8.7 only
  (platform-encryption mode, webhooks, .NET headless SDK + NuGet/docs)
- milestone M1.5 'M2M early slice live' at wk 7; M7 unchanged at wk 17
- traceability + tracker map (epic #40 split M1.5/M7) + README updated
- totals unchanged (~32 wk solo; 1.5 + 2 = the original 3.5 wk)
Sign in to join this conversation.
No description provided.