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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

From Mistake to Check: A Graph Archive for Agent Lessons

Adam Krysztopa
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
preprint

From Mistake to Check: A Graph Archive for Agent Lessons

Adam Krysztopa
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Warsaw University of Technology (PL)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon