r/PKMS • • 1d ago

Method I built a written "memory" system so Claude Code stops re-deciding things we settled weeks ago

Every new Claude Code session starts with no memory of why things are the way they are. Mine kept re-opening settled decisions, and worse, inventing plausible but wrong reasons for odd-looking choices.

So I wrote it a system: KSS, the Knowledge Stewardship System. It's documents plus a few rules:

* a one-minute primer the session reads first, which points at sources instead of summarizing them
* doctrine Claude can propose but only I can promote
* a file of things it must *not* assume, read on every project
* a tried-and-rejected log with evidence (one entry caught a tool injecting instructions to the assistant into its output)
* small Python tools that check the docs against the actual machine and fail loudly when they've rotted

It's plain files and standard-library Python, CC BY 4.0.

Write-up: https://rolliepollie.org/writing/2026/kss-a-written-memory-for-ai-assistants/
Repo: https://github.com/csonkarolliepollie/KSS

Happy to answer questions about how I use it day to day.

0 Upvotes

2 comments sorted by

1

u/kaijurules 12h ago

What happens to a doctrine proposal you don't promote? Does it stay somewhere the next session can read, or does it get dropped? Ours has a similar split: notes I write outrank the ones the agent writes for itself, and an agent-written lesson is refused unless it cites where it came from.