Done: a person signed in with their everyday account who opens an admin-only route gets a refusal in two plain sentences (what it is, which account opens it) and a link to sign in as admin; the API and MCP refuse with the same words; a test per door. Choosing otherwise on purpose stays possible and is named. Suggested: mason.
Risks: Telling strangers an admin route exists: answer a stranger the usual 404.
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: a person signed in with their everyday account who opens an admin-only route gets a refusal in two plain sentences (what it is, which account opens it) and a link to sign in as admin; the API and MCP refuse with the same words; a test per door. Choosing otherwise on purpose stays possible and is named. Suggested: mason.
Risks: Telling strangers an admin route exists: answer a stranger the usual 404.
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/admin_gate.ts, src/web/pages/everyday.ts, test/admin-everyday-refusal.test.ts