Your AI forgets everything you taught it yesterday. Each session starts clean, so a threshold you agreed on Monday, a term you defined on Tuesday or a mistake you corrected on Wednesday is gone by Thursday unless something wrote it down. Most people's answer is a longer prompt. Mine is a set of loops that the system runs on itself: capture what was decided, verify that it saved, keep what's worth reusing, avoid repeating the same framing, and audit the whole thing on a schedule.
A tool resets every session. A system compounds. This is how the loops work, and what broke before each one existed.
Loop 1: capture, before the session closes
A decision that isn't written down will drift or get argued again. So capture is part of finishing the task, not a chore after it, and every kind of decision has one home:
- A term or a product fact goes into the knowledge skill that owns it, with a dated line in that skill's changelog.
- A process rule goes into exactly one skill, the one that owns that step.
- A project decision gets a dated entry in the project's decisions log, and the project's map is updated with what's decided and what's still open.
- Memory holds pointers and dated status, never the locked rule itself, because a rule kept in two places will eventually say two different things.
At the end of a session that locked something, the system makes one offer, once: capture this session's decisions and terms, and check whether any memory note needs updating. That "once" is a lesson in itself. An audit in September 2026 counted 255 capture offers across 136 sessions, and about 13 of them accepted. An offer that appears all the time stops being read, so it now comes as one line at the close, and only when there's something to capture.
Loop 2: verify that it actually saved
This is the loop I added after the system failed. For weeks before early July 2026, captures were silently evaporating. The monthly audit on 27 July found it: both knowledge changelogs had no entry after 2 July, even though the decisions log had entries up to 23 July, and the highest-value sessions of the month had all closed without a capture offer. The audit's own summary was blunt: the persistence half of the system was failing on every arm at once.
The first fix was a manual rule: when a session loads, check the changelog date. If the previous session's capture isn't there, the save didn't happen, so flag it and offer it again. Without that check, captures silently evaporate.
The rule is automatic now. When a session ends, a hook looks at what changed that day. If work files changed but the decisions log and the project map did not, it leaves a marker. The next session opens by reading the marker and offers the capture once. The monthly audit then checks that every marker that was shown was followed by a capture.
Persistence without verification is hope.
The same lesson kept coming back in other forms. In September I found that the tool's default 30-day transcript cleanup had quietly deleted my July and August sessions, so the retention setting went to ten years. This autumn, the weekly health check stopped at its first permission prompt and landed nothing in three separate weeks: 19 and 26 October, and 9 November. As the July audit put it, the watchdog itself needs a watchdog.
Loop 3: a prompt library that retired itself
The third loop was a prompt library: framings that produced notably good or instructively bad results, versioned like code. Each entry had a label, a date, the prompt, what task it was for, whether the result was good or needed refinement, and a note on why. The library also carried its own exit rule: if it went three or more audits without new entries or use, it should propose retiring itself.
It did exactly that. The July audit noted it had barely been touched since it was created. By the end of September it still had no entries after early July, so it met its own retirement trigger and I archived it. A prompt worth keeping now goes into a reference note in memory, where I actually look.
I count that as the loop working, not failing. A mechanism that nobody uses has a cost: it's one more place to check and one more thing to keep in sync. Writing the retirement rule on day one meant the system could admit that without me having to notice.
Loop 4: explore, don't repeat
Models, like people, reach for what worked last time. Ask for a strategy twice and you'll get the same framework twice, with the same structure and the same vocabulary. So the system treats that as a failure mode: repeating the same frameworks, structures and vocabulary across sessions.
The rule is narrow on purpose. It applies to open-ended thinking (ideation, brainstorming, framing a problem), and there the system tries one different angle before reaching for last session's analogy. It also challenges me: when we loop, it names it, along the lines of "we've approached this the same way twice, want a different framing?" It never applies to locked templates or canonical terms. The analysis varies. The vocabulary doesn't.
Loop 5: audit the system like a product
Once a month, or whenever I ask, the whole operating system gets reviewed the way you'd review a product. The checklist has grown to 18 checks, including file integrity, how well each skill is written for an agent to follow, freshness, one home per rule, usage, guardrail friction, scheduled tasks, whether hooks actually fire, sync health, the fence between clients, model and token budget, and whether decisions followed the decision protocol.
The audits have paid for themselves several times:
- July 2026: before routing rules were loaded on every turn, only about 28% of the sampled sessions routed correctly. After the change, about 69% did. The same audit found seven agents with zero invocations across 51 transcripts.
- September 2026: the router's own file was cut from 40.6 KB to 15.7 KB, and 29 packaged skill copies were replaced by in-place edits after two silent reverts had undone earlier work.
- October 2026: 24 of 31 skill descriptions turned out to be inventories of what the skill contains, not triggers that say when to use it. Fourteen skills had no routing test at all.
Every skill carries a version number and a dated changelog, and every edit updates both. Each audit also runs a lifecycle pass, the closest thing my agents get to a performance review. Does each agent's description still trigger on the right requests, checked against real transcripts? Does its file match how sessions actually run? An agent that hasn't triggered in three or more audits gets a retirement proposal, never a silent deletion. The few that are rarely needed by design, such as QA and engineering, are exempt.
Two tools behind the loops
Session diagnosis. When I ask why a session went wrong (it took too long, it redid something, a skill didn't fire, it ignored the plan), a diagnosis runs over the transcript. Its core rule: every finding cites the exact line in the transcript, and every number comes from the transcript or a command run that session. A finding without a citation is dropped. The diagnosis then turns into a fix: a routing miss becomes a new routing test, and a rule the agent talked itself out of becomes a line in that skill's table of excuses.
Testing a skill before it exists. A new rule starts with a baseline: three realistic prompts given to a fresh agent with no skill and no hint, to see what actually goes wrong. A rule with no observed failure is not written. Discipline rules get pressure scenarios that combine three or more pressures at once, and every skill needs at least two prompts that should trigger it and two near misses that shouldn't.
What carries over to a team
None of these loops is specific to AI. A product team that writes decisions down, checks they landed, retires the processes nobody uses, notices when it's solving every problem the same way and audits its own ways of working will compound too. The agents just make the cost of skipping it obvious faster, because they forget in hours what a team forgets in months.
The question I closed the original post with still stands: what's your mechanism for catching a learning that silently failed to save? Mine is a marker, a check and an audit. The rest of the system is on how I work with AI agents.
Questions people ask
Where should an AI system store what it learns?
In one home per kind of decision: terms in the knowledge file that owns them, process rules in the one skill that owns the step, project decisions in a dated decisions log. Memory should hold pointers to those, not copies of the rules.
How do you catch a capture that failed to save?
A hook compares what changed in a session with what was written to the decisions log. If work changed and the log didn't, it leaves a marker, and the next session opens by offering the capture again. A monthly audit checks every marker was acted on.
Do you ever delete parts of the system?
Yes, but never silently. Anything unused for three audits gets a retirement proposal, and retired files are archived rather than deleted. The prompt library was retired that way, by its own rule.
First published as a shorter post: read the original on LinkedIn. The full system, with every agent and what it owns, is on how I work with AI agents.