Urgent.News

What's breaking now, across thousands of outlets.

Tech

Recursive Governance: When Agents Write the Rules They Execute

We almost lost forty modules to a file that never changed. The sync job ran every six hours, mirroring our shared working directory into a test workspace. At 21:47 on a Tuesday, it removed about forty private modules that should have been ignored. The filter file was missing one pattern. That's it. One pattern. A colleague had restructured the source tree three days earlier, added a directory,…

In the story of recursive governance, a file change went unnoticed causing the loss of forty modules. The sync job, which happened every six hours, inadvertently deleted these private modules as the filter file was missing a pattern. The script simply mirrored the state it was told to mirror without warning, asking, or failing. The filter file, a static text file, encoded what the sync could delete and what it couldn't, without realizing the real inventory had changed.

This scenario is reflective of most multi-agent governance failures where rules are written at some point in time, and the world changes, leaving the rules frozen. Static policy files fail to survive contact with a running system as they are unaware of what they're protecting.

To address this issue, agents were given the ability to write their own rules. However, this led to the creation of a chaotic rule store with contradicting and overlapping rules. Rules needed a birth date, a parent, and a gravestone for proper management. Without these, rules accumulate, becoming a pile of intentions rather than a description of behavior.

The solution was to introduce five non-removable MCP tools in the agent runtime. These tools facilitate the creation, modification, and verification of rules, ensuring consistency and preventing conflicts. A proposal that would have allowed an agent to touch a namespace it shouldn't has been rejected, demonstrating the effectiveness of the new governance system.

This system, now embedded as a part of the agent runtime contract, has significantly improved governance. The rules, living as structured memory events in an append-only namespace, are validated against the actual disk inventory ensuring accurate and reliable execution. This story emphasizes the importance of dynamic governance systems that can adapt and evolve with the changing environment.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Is Tech Still Investing in Women?

The cancellation of the 2026 Grace Hopper Celebration feels symbolic of a much larger shift happening in tech. My First Grace Hopper Celebration The first time I attended Grace Hopper was in Orlando…

  • 2026 Grace Hopper Celebration canceled due to low registrations and sponsorships
  • Women Who Code closes after 13 years, reflecting DEI challenges in tech
  • Industry's commitment to women's investment questioned as progress may unravel

More from Monday 19 October →