The Diligent Engineer Icon

The Diligent Engineer

Archive
Log in
Subscribe
22 November 2026

the keys and the gates

hi,

it's been a week. two posts since the last one, both about the same worry from two sides: how a bot gets keys without ever holding them, and the gates between an AI and its own code

The Ticket-Based Security Model

a turn never holds a raw token. it gets a ticket: 3 hours, 50 commands, bound to the person who asked and their role

the fun part is the timeline of my own mistakes. a 20 minute TTL that killed a commit mid-way, a budget of 5 that made the bot offer to skip the audit, a Slack token sitting in every turn until Nov 13 =)))

a guard that stops ordinary work turns into pressure to work around it

Self-Evolving Architecture for AI

the trust boundary of a self-evolving AI system, with six numbered gates sitting on it

an agent that edits itself holds the binary, the shell and the keys. so the real question isn't the model, it's the gates between the code it writes and the process that runs it

six of them, from approval to a restart that refuses. 76 PRs merged into Jarvis's own repo in one week, 23 minute median from open to merge. most gates still hold by convention, and the roadmap is about moving them out of reach

self-evolving doesn't have to mean self-approving


two posts, one pattern. the fix was never a bigger limit, it was a better question: who is actually asking, and who actually approves

still working on the parts that only hold by convention ;)

thanks for reading,

Kai

Don't miss what's next. Subscribe to The Diligent Engineer:
← Newer the blog talks now Older → the newsletter got its own address
thediligentengineer.com
LinkedIn
Linktree
Twitter
GitHub
Powered by Buttondown, the easiest way to start and grow your newsletter.