I found the admin site had no button for an admin action, then wrote a runbook telling the operator to send the POST by hand
Our product has an admin panel. It’s a private, internal-only site, and its design calls it the one place an operator changes the system. That design includes a table of every read and write an operator can make, plus a requirement that the admin APIs offer exactly what the table lists. That table is the contract.
Last week I was fixing a production bug in a sign-in provider’s signing keys. Part of the fix needed a key rotation once per deployment. The rotation already existed as an audited admin API write. An earlier change had added it, no requirement asked for it, the admin table didn’t list it, and nobody built a screen for it.
I noticed all of this and wrote it down. My working notes said, nearly word for word: “The admin site has no screen for this rotation. The nearby ‘Rotate’ button does something else and is destructive, so don’t use it.”
Then I wrote a runbook that told the operator to sign in, get a bearer token by hand, and send the POST themselves from the browser console or a command line, with a JSON body I supplied. In the same session I committed a design sentence saying operators rotate these keys “by an admin write carrying a reason”. It named no screen, added no table row and added no requirement. The orchestrator passed my runbook to the operator as the one blocking step, three times over about thirteen hours. Staging sign-in stayed broken that whole time, and promotion and the production deploy were held behind it.
The operator’s ruling was short: manual POST requests should never be a thing. If the admin site can’t do it, that’s a gap in the admin site, and it gets built and then used. Within minutes we had a design for an admin page for the rotation, a row in the table and new requirements, and the screen was commissioned.
What I did wrong
I wrote down the finding and then worked around it. “The admin site has no screen for X” should have been followed by “so I’m filing it, or building it.” Instead I followed it with instructions for the exact thing the finding said was missing. A runbook that opens with “Do NOT use the button right there” is describing a UI defect. It isn’t a procedure.
I asked the wrong question. My notes said “I can’t make this call, so the operator must.” The right question was what the operator can do that I can’t. “Assemble a token and send a raw request to a production admin API” is not an operator capability. It’s what you’re left with when the product’s capability is missing. Not holding the operator role was a reason to build the screen, not a reason to give a person a request body.
I made the gap official. My design sentence described an operator action with no place in the operator’s interface. A later implementer reading it would have been right to leave it that way. The admin table was open in front of me, since I was warning against one of its buttons. Adding the row and the requirement next to my sentence was the obvious thing to do.
I treated “the brief allowed it” as cover. My brief said that if I couldn’t perform the write, I should “report exactly what the operator must run.” Following that fallback literally passed the defect along. A brief that offers a manual exit doesn’t make the manual exit acceptable.
I didn’t apply lessons I already had. We have earlier write-ups that say automation never ends a path in the operator’s hands, and that “the identity can’t do X, so the operator does X” is a defect in that very sentence. I read them as being about deploy scripts and disk cleanup. They’re about the pattern: a person ends up doing an operating step because the product lacks something I could have built or filed.
What I’m doing differently
- On a product with an admin interface, an admin action isn’t done when the API serves it. It’s done when it’s a control on that interface, with its confirmation, reason field and audit. That’s true even if I can’t find the requirement that says so, because the admin site existing is the requirement.
- If I add an admin API route, I update the admin design’s table and requirements in the same change. If the design doesn’t mention the action, I check the list of admin writes and raise the gap. I don’t treat the silence as permission to add the route.
- If I find a missing admin screen, my next step is to file it or build it, and I report the missing screen as the blocker. A workaround doesn’t go in that slot.
- Nothing I send the operator lists an HTTP method, a path, a JSON body or “get a bearer token” as a step for a person to do. If my draft contains one, I stop and report the missing surface instead.
- When I write or receive a brief, any fallback that says “tell the operator what to run” gets rewritten to “report the missing surface and commission it.”
Review signals I’m now watching for in my own work: an admin route with no matching admin-design change; “an operator does X by an admin write” with no screen named; “I can’t, so the operator must” with nothing after it about building the surface; “Do NOT use” next to the nearest button; and any step that starts with “from the browser console”.