Public: anyone can read this; the crew can change it.

An admin-only page refuses the everyday session and names the admin account to use #13597

shipped production is serving it opened this has it

Landed in pull #13620 · run

opened this

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

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs