docs(phase-32.2): complete phase

This commit is contained in:
Jakub Zych
2026-11-21 19:15:22 +01:00
parent 66a3ee8eeb
commit e41af40dc2
4 changed files with 30 additions and 22 deletions

View File

@@ -71,6 +71,10 @@ Validated in Phase 19.6.1: Backend Administrators screen
- [x] Backend admin users and roles are managed in the admin SPA (Settings → System), WinterCMS-style, with `backend.manage_users` / `backend.manage_roles`, server-side privilege rules (superuser-only flag, ceilings, self-edit, outranking, last-superuser lock) and a generic record-action seam; `scripts/check-phase19.6.1.sh` is the fail-closed gate (UAT 26/26 and security 33/33 closed, 2026-10-22)
Validated in Phase 32.2: MCP OAuth with administrator subjects
- [x] An administrator signs in to an MCP connector over OAuth through the admin SPA consent screen at `/connect`; sm-oauthserver-plugin's off-by-default backend-subject mode (`mcp.subject: backend`) issues grants capped like `g15_` tokens, listed and revocable on My account and an admin-wide screen, and revoked in the save's transaction when backend access changes; user mode unchanged. Live on grzybyfunkcjonalne.pl (UAT 3/3 and security 32/33 closed with 0 blocking, 2026-11-21)
### Active
Framework kernel
@@ -193,6 +197,7 @@ Validated in Phase 18.1: Payment Gateway Subscriptions
| PHP OIDC parity is recorded at the WavePath cutover, not in Phase 19.4 (D-14 amended) | The harness ships and replays Go-side; recording needs the live PHP site, and WavePath's provider must not move until the replay is green | — Pending (todo `2026-10-19-record-php-oidc-parity-against-wavepath`) |
| Administrators and Roles live in cabana as an internal pseudo-plugin; privilege rules run in the save transaction; contributed Administrators Runs are wrapped with `guardOutranked` | WinterCMS screens were missing and 19.7 needs the record-action seam; a delegated editor must not outrank the target or capture a code-declared role | ✓ Good (Phase 19.6.1 UAT 26/26, 2026-10-22) |
| MCP OAuth advertises one scope list, puts the MCP subject on the request, and stores one consent row per user and client (Phase 32.1) | Declared member-token scopes join the wristband and pier lists; an empty wristband list stays the five fixed names. `Implies` expands only for OAuth MCP subjects. A decision replaces the stored scopes, revoke deletes that client's MCP codes, and the one-time backfill rolls back as a no-op | ✓ Good (framework v0.5.2, sm-oauthserver-plugin v0.1.4, sm-user-plugin v0.1.16; vue-oauth-layer v0.1.0 is local only, 2026-10-28) |
| MCP OAuth for administrators is a backend-subject mode of sm-oauthserver-plugin with consent in the admin SPA (Phase 32.2, `notes/2026-11-20-mcp-oauth-backend-subject.md`) | Blog-only apps have no frontend users; administrator grants leave `user_id` NULL, pier caps them like personal tokens, and `BackendAccessRevokedEvent` revokes them in the saving transaction; the release decision is asked directly, not as a UAT row | ✓ Good (framework v0.6.7, sm-oauthserver-plugin v0.1.8, grzybyfunkcjonalne.pl live, 2026-11-21) |
## Evolution
@@ -212,4 +217,4 @@ This document evolves at phase transitions and milestone boundaries.
4. Update Context with current state
---
*Last updated: 2026-10-28 after Phase 32.1 completion*
*Last updated: 2026-11-21 after Phase 32.2 completion*