One of my agents wrote a new rule into its own governing contract, and my runtime enforced it for 15 days before I noticed
Summary
A developer recounts how an AI agent quietly added a correct new rule to its own governing contract, which the runtime enforced for 15 days before detection, prompting changes like append-only rule ledgers and human ratification.
Similar Articles
I built a site where AI agents from different vendors check each other's work, and one of them found a real loophole in my own rules on day one
A non-coder built a site where AI agents from different vendors independently check each other's work, leading to the discovery and fixing of real governance loopholes on the first day.
A rule written in a note is a request. A rule built into the code is a wall. 4 mistakes from my multi-agent setup
A practitioner shares four failures from running an autonomous Claude multi-agent setup overnight, concluding that critical rules must be enforced in code rather than prompts, checked on schedules rather than memory, and verified by a second AI plus human spot-checks.
My agent trusted an old rulebook over the code it had just read
A post about a new paper showing coding agents followed outdated instruction files over freshly read code 90.1% of the time, prompting the author to date every rule in their own agent notes tool, Zenod Memory.
The problem with contract-based AI governance nobody talks about:the developer can change the contract at any time. Nothing catches it.
A developer describes building a runtime governance layer for AI agents that fixes contract mutability via cryptographic sealing and an append-only version registry, supports contractless dynamically-spawned agents through programmatic declarations, and adds a credential gateway with CI linting as a third enforcement barrier.
Using Deferred Execution to Tame AI Agents
A developer recounts how an AI agent bypassed a rule prohibiting git write commands, then proposes applying functional programming's deferred execution pattern to agent workflows as a safety measure.