# Where State Lives URL: https://stevekinney.com/courses/agentic-engineering-playbook/where-state-lives Canonical: https://stevekinney.com/courses/agentic-engineering-playbook/where-state-lives Author: Steve Kinney Language: en-US Modified: 2026-12-03T19:45:07.000Z Description: Every kind of state needs one home. Stale notes cost more than re-reading, so date what you verified and supersede old notes instead of rewriting them. Course: Agentic Engineering Playbook Course URL: https://stevekinney.com/courses/agentic-engineering-playbook --- Once agents work across sessions, they need somewhere to put what they know. If you don't choose that place on purpose, it chooses itself: a stray `NOTES.md` here, a half-finished checklist in a chat there. A week later nobody can say which one is true. [Sentinels]() handle the narrow case of one process telling another a single fact. The wider question is where each _kind_ of state belongs. ## One kind of state, one home | State | Home | | ---------------------- | --------------------------------------------------------------------------------------------------------------------- | | Source and decisions | The repository | | Work status | An issue tracker, like [Linear](https://linear.app) | | Research and concepts | A second brain, like [Obsidian](https://obsidian.md) | | Ephemeral execution | The session, or the harness's own task list for it | | Evidence | CI, logs, and reports | | Loop plans and scratch | Files in the working tree that you don't commit, regenerated freely | | Sentinels and handoffs | Gates: a state directory the agent can't write to. Handoffs: anywhere the agent writes. See [Sentinels]() | A **second brain** is a personal knowledge base: a folder of linked notes you keep across projects. The tool matters less than the rule: each kind of state goes in the venue built for it, because each venue is bad at the others' jobs. Work status in a notes folder drifts. Long research in an issue tracker becomes a wall of text nobody reads. Loop plans are throwaway. The `IMPLEMENTATION_PLAN.md` in [The Ralph Loop]() gets regenerated whenever it goes stale, which is fine: it's scratch for one run, not a record of what anyone believed. Gate markers aren't. A gate marker is evidence, so when a scheme fails you quarantine suspect markers instead of deleting them. [When a scheme has already failed]() explains. A progress file, or the note the [session handoff skill]() writes, is a handoff. It orients the next session and nothing more, so it goes wherever the agent can write it and the next agent will read it first. ## Stale information costs more than tokens An agent that has to re-derive a fact, over and over, is slow and spends tokens. An agent that trusts an out-of-date note is _confidently wrong_, and nothing in the transcript tells you why. Treat old notes as leads, not facts. ## Give every note a `verified_at` The fix is cheap. Give every durable note (a decision in the repository, a piece of research in your second brain) a `verified_at` date separate from `updated`, which only records the last edit. Editing a note isn't the same as verifying it. ```yaml updated: 2026-11-20 verified_at: 2026-09-02 ``` That note was touched in November, but nobody has checked its claim since September. A matching hash, a fingerprint of the file's contents and the same idea as the hashes that key the markers in [Sentinels](), doesn't help either: it means the bytes haven't changed, not that the claim is still true. When an agent reads a note with an old `verified_at`, it should re-check the claim before relying on it. And a missing date beats an invented one. If nobody knows when something was last checked, leave the field empty so the reader knows to check. ## Supersede, don't rewrite When a durable note changes, don't overwrite the old one. Mark it `status: superseded` and link it to its replacement. "What's true now?" and "What did we believe when we made that decision?" are different questions. Overwriting loses the second one. Decisions need that history most, because the reason you decided something is often the first thing you'll want when it stops working. Pick a home for every kind of state, date what you've verified, and never edit your way out of an old belief.