Should "Always Approve" in Skyportal expire?

I'm Henrique, one of the makers of Skyportal, an open source AI agent for infrastructure. By default, every command that changes something on your servers waits for a person to say yes. We're reworking how those approvals work, and there's one part we haven't decided.

The approval card has an "Always Approve This Command" button. It saves the base command to that server's permit list, so "mkdir -p /tmp" is saved as "mkdir" and "git log -n5" as "git log". After that, commands that start with it run on that server without a prompt. A few sensitive ones, like reading Kubernetes secrets, still ask. Entries never expire, and the list doesn't record who added them or when. You can see and remove them per server in the agent settings.

That's handy for commands you run all day. But a prefix someone okayed during one incident can still run months later. Expiring entries has a cost too: people get asked again for things they approved on purpose, and too many prompts is how people end up clicking yes without reading.

If an agent or a script runs commands on your servers, would you want these entries to expire, show when each one was last used, or live in a file you review like code? And which command would you never put on that list?

4 views

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.