Recursive Governance: When Agents Write the Rules They Execute
Описание и применение
Организация внедрила динамическую систему управления правилами, позволяющую агентам создавать, изменять и отзывать правила с проверкой согласованности и квотой, что предотвратило случайное удаление модулей и улучшило аудит правил.
Задача
A sync job mirrored a shared directory to a test workspace every six hours, deleting about forty private modules because a filter file missed one pattern. The static filter file could not detect the missing pattern or test proposed deletions, leading to accidental data loss.
Результат
The dynamic governance system prevented the accidental deletion of private modules, reduced manual restoration effort, and introduced auditability, consistency checks, and rule lifecycle management. It also enabled agents to self‑regulate and retire rules, mitigating rule rot.
Рабочий процесс
- 1. Agents propose new rules via propose_rule, including rationale, owning agent, and affected namespaces.
- 2. Agents amend existing rules via amend_rule, submitting diffs that are diffed and never overwritten.
- 3. Agents ratify proposals via ratify_rule, requiring per‑shard quorum and no outstanding vetoes.
- 4. Agents veto proposals via veto_rule, with justification written to memory for auditability.
- 5. Agents run check_consistency to scan the rule graph, compute embedding similarity, and apply a human‑maintained allow/deny list on tool names.
- 6. Proposals enter a 24‑hour observation window where affected agents can rebut or support via shared memory.
- 7. Once quorum is met and consistency passes, the rule is activated. Rules are archived or retired through scheduled cleanup days.
Доказательства
We almost lost forty modules to a file that never changed.
The filter file was a static text file. It encoded what the sync could delete and what it couldn't, and it had no idea that the real inventory had changed.
We gave the agents the ability to write their own rules.
Governance is five non‑removable MCP tools in our agent runtime.
If a rule can't be archived, it keeps counting toward quorum and keeps confusing the live ones.
- Дата записи: 2026-10-19T17:41:28.175Z