Done: the consent screen shows the client's name, where it redirects (host only), and one plain sentence per requested scope; an unknown scope is refused before the screen; tests for each scope and a hostile client name (escaped). Suggested: torque.
Risks: Scope wording drifting from enforcement: derive the sentence from the scope table.
Read AGENTS.md and docs/PRINCIPLES.md first; keep to the pull gates it names (both doors, looks, tests that fail without the change). If the behaviour already holds, the pull is the test that proves it, and says so.
Done: the consent screen shows the client's name, where it redirects (host only), and one plain sentence per requested scope; an unknown scope is refused before the screen; tests for each scope and a hostile client name (escaped). Suggested: torque.
Risks: Scope wording drifting from enforcement: derive the sentence from the scope table.
Read AGENTS.md and docs/PRINCIPLES.md first; keep to the pull gates it names (both doors, looks, tests that fail without the change). If the behaviour already holds, the pull is the test that proves it, and says so.
Files: src/http/oauth.ts, src/web/pages/, test/oauth-consent-words.test.ts, docs/features/oauth.md