diff --git a/.planning/phases/32.2-mcp-oauth-with-administrator-subjects/32.2-UAT.md b/.planning/phases/32.2-mcp-oauth-with-administrator-subjects/32.2-UAT.md index bdf99f5e..9bb3cb84 100644 --- a/.planning/phases/32.2-mcp-oauth-with-administrator-subjects/32.2-UAT.md +++ b/.planning/phases/32.2-mcp-oauth-with-administrator-subjects/32.2-UAT.md @@ -3,33 +3,33 @@ status: testing phase: 32.2-mcp-oauth-with-administrator-subjects source: [32.2-VERIFICATION.md] started: 2026-11-21T01:52:38.959Z -updated: 2026-11-21T01:52:38.959Z +updated: 2026-11-21T12:27:35.000Z --- ## Current Test number: 1 -name: Live connector check (cross-site SameSite=Strict admin cookie, D-03 / RESEARCH A2). After the production deploy, add https://grzybyfunkcjonalne.pl/mcp as a connector in Claude while signed in to /gfadmin, start the OAuth sign-in, then call a Journal tool and revoke the connection on My account. Procedure: ../sm-grzybyfunkcjonalne-app/DEPLOY.md, section 'Live connector check (deferred)'; 32.2-VALIDATION.md, Manual-Only Verifications row 1. +name: SC-5 release go-ahead. 32.2-05-release-decision.txt records hold (framework-base v0.6.6, plugin-base v0.1.7). Decide whether to run plan 05 task 5's tag-and-publish branch: framework next free v0.6 patch (v0.6.7 if still free, must contain b1b96d85), sm-oauthserver-plugin v0.1.8 requiring that tag, push the plugin, then the grzyby pointer bump as its own commit (gitlink, go.mod require, regenerated plugins.gen.go), then the two changelog posts the same day. expected: | - After the cross-site redirect from Claude, the /gfadmin/connect consent card shows the signed-in administrator, not the login screen. If it shows login, signing in must return to the same consent request. + Tags v0.6.x (must contain the review fixes up to 0ade662a, since plugin d581799 calls wristband.CheckConsentPath) and v0.1.8 on origin, plugin go.mod on the framework tag, app gitlink and go.mod on v0.1.8 with check-deploy.sh passing again, two changelog URLs recorded in 32.2-05-changelog-published.txt; task 5's automated verify passes on the tag-and-publish branch. awaiting: user response ## Tests -### 1. Live connector check (cross-site SameSite=Strict admin cookie, D-03 / RESEARCH A2). After the production deploy, add https://grzybyfunkcjonalne.pl/mcp as a connector in Claude while signed in to /gfadmin, start the OAuth sign-in, then call a Journal tool and revoke the connection on My account. Procedure: ../sm-grzybyfunkcjonalne-app/DEPLOY.md, section 'Live connector check (deferred)'; 32.2-VALIDATION.md, Manual-Only Verifications row 1. +### 1. SC-5 release go-ahead. 32.2-05-release-decision.txt records hold (framework-base v0.6.6, plugin-base v0.1.7). Decide whether to run plan 05 task 5's tag-and-publish branch: framework next free v0.6 patch (v0.6.7 if still free, must contain b1b96d85), sm-oauthserver-plugin v0.1.8 requiring that tag, push the plugin, then the grzyby pointer bump as its own commit (gitlink, go.mod require, regenerated plugins.gen.go), then the two changelog posts the same day. +expected: Tags v0.6.x (must contain the review fixes up to 0ade662a, since plugin d581799 calls wristband.CheckConsentPath) and v0.1.8 on origin, plugin go.mod on the framework tag, app gitlink and go.mod on v0.1.8 with check-deploy.sh passing again, two changelog URLs recorded in 32.2-05-changelog-published.txt; task 5's automated verify passes on the tag-and-publish branch. +result: [pending] + +### 2. Live connector check (cross-site SameSite=Strict admin cookie, D-03 / RESEARCH A2). After the production deploy, add https://grzybyfunkcjonalne.pl/mcp as a connector in Claude while signed in to /gfadmin, start the OAuth sign-in, then call a Journal tool and revoke the connection on My account. Procedure: ../sm-grzybyfunkcjonalne-app/DEPLOY.md, section 'Live connector check (deferred)'; 32.2-VALIDATION.md, Manual-Only Verifications row 1. expected: After the cross-site redirect from Claude, the /gfadmin/connect consent card shows the signed-in administrator, not the login screen. If it shows login, signing in must return to the same consent request. result: [pending] -### 2. Live connector scope behaviour (32.2-VALIDATION.md, Manual-Only Verifications row 2). In the same live run, note which scope value Claude sends to /oauth/mcp/authorize and whether the consent card offers the expected scopes. -expected: The consent card lists grantable catalog scopes (journal, journal:read and so on). If Claude asks only for offline_access, the card currently shows 'no grantable scope' with Deny only (review FW-WR-01, deferred-items.md); in that case the WR-01 fix is needed before the connector is usable. +### 3. Live connector scope behaviour (32.2-VALIDATION.md, Manual-Only Verifications row 2). In the same live run, note which scope value Claude sends to /oauth/mcp/authorize and whether the consent card offers the expected scopes. +expected: The consent card lists the scopes the administrator can grant (journal, journal:read and so on) with Stay connected. If Claude asks only for offline_access, the backend-mode DefaultScopes (token catalog) are now applied (FW-WR-01 fixed in fa7a8482), so a 'no grantable scope' card with only Deny is a regression. result: [pending] -### 3. Production resource override (review PA-WR-09). During the deploy, check that SUMMER_GOLEM15__OAUTHSERVER__MCP__RESOURCE is set in go/.env and that GET /.well-known/oauth-protected-resource/mcp .resource equals the authorization server's resource (https://grzybyfunkcjonalne.pl/mcp). -expected: Both resources are the public https URL; the committed loopback default (http://127.0.0.1:8096/mcp) is not served. -result: [pending] - -### 4. SC-5 release go-ahead. 32.2-05-release-decision.txt records hold (framework-base v0.6.6, plugin-base v0.1.7). Decide whether to run plan 05 task 5's tag-and-publish branch: framework next free v0.6 patch (v0.6.7 if still free, must contain b1b96d85), sm-oauthserver-plugin v0.1.8 requiring that tag, push the plugin, then the grzyby pointer bump as its own commit (gitlink, go.mod require, regenerated plugins.gen.go), then the two changelog posts the same day. -expected: Tags v0.6.x and v0.1.8 on origin, plugin go.mod on the framework tag, app gitlink and go.mod on v0.1.8, two changelog URLs recorded in 32.2-05-changelog-published.txt; task 5's automated verify passes on the tag-and-publish branch. +### 4. Production resource override (review PA-WR-09). During the deploy, check that SUMMER_GOLEM15__OAUTHSERVER__MCP__RESOURCE is set in go/.env and that GET /.well-known/oauth-protected-resource/mcp .resource equals the authorization server's resource (https://grzybyfunkcjonalne.pl/mcp). +expected: Both resources are the public https URL; the committed loopback default (http://127.0.0.1:8096/mcp) is not served. `scripts/check-deploy.sh --live` passes on the server; a missing override now fails boot in backend mode (PA-WR-09). result: [pending] ## Summary