From Mistake to Check: A Graph Archive for Agent Lessons
I designed the Lessons Loop as a tool for coding agents. When a developer or agent catches a mistake, one skill records how it was found and states a rule that would apply to another case. At a checkpoint, a second skill groups related entries and places each rule in the hook, test, or workflow that can apply it. A graph archive records where the rules live and when they recur, move, or reverse. In one public coding project, seven drains produced 43 archive entries. Four linked a repeated defect to an earlier rule. The method can be adapted to any agentic system by identifying where its actions can be checked. For systems serving many users, I propose scoping rules to the users they affect and testing shared changes before wider rollout.
Authors
- Adam Krysztopa
Institutions
- Warsaw University of Technology (PL)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24636738
- Primary Topic
- Software Engineering Research
- Type
- preprint