<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://rolliepollie.org/feed.xml" rel="self" type="application/atom+xml" /><link href="https://rolliepollie.org/" rel="alternate" type="text/html" /><updated>2026-12-01T21:26:25+00:00</updated><id>https://rolliepollie.org/feed.xml</id><title type="html">RolliePollie</title><subtitle>Chris Csonka&apos;s workshop: tools and writing on doing real work with AI assistants, carefully.</subtitle><author><name>Chris Csonka</name></author><entry><title type="html">My AI assistant kept forgetting why. So I wrote it a constitution.</title><link href="https://rolliepollie.org/writing/2026/kss-a-written-memory-for-ai-assistants/" rel="alternate" type="text/html" title="My AI assistant kept forgetting why. So I wrote it a constitution." /><published>2026-12-01T00:00:00+00:00</published><updated>2026-12-01T00:00:00+00:00</updated><id>https://rolliepollie.org/writing/2026/kss-a-written-memory-for-ai-assistants</id><content type="html" xml:base="https://rolliepollie.org/writing/2026/kss-a-written-memory-for-ai-assistants/"><![CDATA[<p>An AI assistant with real access to a machine is astonishingly capable. It can
read the code, run the tools, fix the thing, and write it up. Then the session
ends, and the next one starts with no memory of any of it.</p>

<p>That gap costs more than it looks like it should. The assistant does not just
forget <em>what</em> was done. It forgets <em>why</em>. So it re-derives things it already
worked out. It re-opens decisions that were settled weeks ago. And worst of
all, when it finds something odd, it invents a plausible reason for it, and
the plausible reason is wrong, because the real one was decided for a better
reason that nobody wrote down.</p>

<p>I ran into this over and over while building a lot of projects with an AI
assistant as my working partner. <strong>KSS, the Knowledge Stewardship System</strong>, is
what I built to stop it. It is now public:
<a href="https://github.com/csonkarolliepollie/KSS">github.com/csonkarolliepollie/KSS</a>.</p>

<h2 id="what-kss-is">What KSS is</h2>

<p>KSS is a written system, not a service. It is a set of documents with fixed
jobs, a few rules about who may write what, and a handful of small Python
tools that fail loudly when the documents stop matching reality.</p>

<p>It splits knowledge into three layers:</p>

<table>
  <thead>
    <tr>
      <th>Layer</th>
      <th>Answers</th>
      <th>Who writes it</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><strong>Doctrine</strong></td>
      <td>What a thing <em>is</em>, and the rules</td>
      <td>The assistant proposes, the owner promotes</td>
    </tr>
    <tr>
      <td><strong>State</strong></td>
      <td>Where a project <em>stands</em> right now</td>
      <td>The assistant may append directly</td>
    </tr>
    <tr>
      <td><strong>Handoff</strong></td>
      <td>Context passed between sessions</td>
      <td>Never canon</td>
    </tr>
  </tbody>
</table>

<p>The one line that settles most arguments: <strong>state is substrate, doctrine is
governance.</strong> A document that says what a component <em>is</em> should never grow a
“Next steps” list. The moment it does, it has turned into state, and it will
rot.</p>

<h2 id="the-parts-that-do-the-work">The parts that do the work</h2>

<p><strong>A primer that routes instead of summarizing.</strong> A fresh session reads
<code class="language-plaintext highlighter-rouge">PRIMER.md</code> first. It takes under a minute, and every line points at the file
that owns the answer instead of restating it. Copies drift from their source,
and nothing catches prose that disagrees with other prose. So the primer
refuses to copy.</p>

<p><strong>Propose-only doctrine.</strong> The assistant can draft changes to the rules, but
they go into a <code class="language-plaintext highlighter-rouge">proposals/</code> folder. Only the owner promotes them. This sounds
like friction. In practice it is the thing that keeps an assistant’s
confident guess from quietly becoming policy.</p>

<p><strong>Negative knowledge gets its own file.</strong> <code class="language-plaintext highlighter-rouge">CONSTRAINTS.md</code> records what must
<em>not</em> be assumed: approaches that were rejected, limits on what a tool really
does. It is read for every project, whatever the project depends on, because
the classic failure is a limit discovered while building one thing and never
found while building the next. It has a line budget so it can afford to be
read every time.</p>

<p><strong>A tried-and-rejected log, with receipts.</strong> Every tool that was actually
tested and turned down gets an entry: what was tested, why it lost, and what
would change the verdict. One entry records a code-indexing tool whose output
contained an instruction addressed to the assistant itself, telling it to
recite a “tokens saved” number to the user. That is marketing copy injected
into tool output. The lesson went into the log so it would not have to be
learned twice: whatever a tool returns lands in the assistant’s context, and
some authors write to the assistant instead of to you.</p>

<p><strong>Corrections the owner can edit.</strong> When I correct how the assistant works,
that correction goes into <code class="language-plaintext highlighter-rouge">WORKING.md</code>, a plain file I can read, argue with,
and delete. Mistakes that cost real time go into <code class="language-plaintext highlighter-rouge">LESSONS.md</code>. A correction
that lives only in a commit message or in one assistant’s private memory is
one the owner cannot see or change.</p>

<h2 id="the-tools-catching-rot-before-it-bites">The tools: catching rot before it bites</h2>

<p>Documents lie the moment the machine changes underneath them. KSS ships two
checks that look from opposite directions:</p>

<ul>
  <li><strong><code class="language-plaintext highlighter-rouge">check_drift.py</code></strong> reads the claims doctrine <em>makes</em> (paths, ports,
services, repositories, links) and verifies each one against the live
machine. Exit code 1 means a claim has rotted.</li>
  <li><strong><code class="language-plaintext highlighter-rouge">check_pulse.py</code></strong> catches what nobody made a claim about: a service
enabled but not running, a container stuck in a restart loop. It exists
because of a container that crash-looped for two weeks without anyone
noticing. Drift checking could not have caught that, because no document
had said it should be running.</li>
</ul>

<p>There is also <code class="language-plaintext highlighter-rouge">session_orient.py</code>, which gives a new session its briefing, and
<code class="language-plaintext highlighter-rouge">new_project.py</code>, which lays down the same six standard files for every new
project. Every file it writes says it is a stub, because a scaffold that
produces confident prose nobody wrote is worse than an empty file.</p>

<p>All of it is plain Python 3.11 with only the standard library.</p>

<h2 id="how-to-use-it">How to use it</h2>

<ol>
  <li>Clone the repository.</li>
  <li>Fill in <code class="language-plaintext highlighter-rouge">kss.toml</code> with your machine’s facts: where projects live, which
git server holds them. Empty settings are fine; a tool with nothing
configured says so and skips that step.</li>
  <li>Add a row to <code class="language-plaintext highlighter-rouge">kss/REGISTRY.md</code> for each project.</li>
  <li>Point your assistant at <code class="language-plaintext highlighter-rouge">kss/PRIMER.md</code> at the start of every session.
With Claude Code, that is one line in a project’s <code class="language-plaintext highlighter-rouge">CLAUDE.md</code>.</li>
  <li>Run <code class="language-plaintext highlighter-rouge">tools/check_drift.py</code> after any change to the docs or to what is
deployed.</li>
</ol>

<p>Then let it grow. Most of the files described in <code class="language-plaintext highlighter-rouge">FILES.md</code> do not ship; they
start the first time your setup needs them. What one machine learned means
nothing on another, so KSS ships the shape, not my history.</p>

<h2 id="what-i-learned-building-it">What I learned building it</h2>

<ul>
  <li><strong>Write the reason next to the rule.</strong> A rule without its reason gets
“improved” away by the first confident reader, human or not.</li>
  <li><strong>Make the assistant propose, not decide.</strong> It is better at drafting than at
knowing which draft should win.</li>
  <li><strong>Check documents against the machine automatically.</strong> Nobody, human or AI,
reliably notices that a sentence written in July stopped being true in
October.</li>
  <li><strong>Keep the record of what failed.</strong> Tried-and-rejected is the cheapest
document in the system and saves the most time.</li>
</ul>

<p>KSS was built with Claude as the assistant it was written for, and it is
licensed CC BY 4.0: use it, adapt it, and tell me what breaks.</p>

<p><em>Chris Csonka, <a href="https://rolliepollie.org">RolliePollie</a>.
<a href="https://github.com/csonkarolliepollie/KSS">KSS on GitHub</a>.</em></p>]]></content><author><name>Chris Csonka</name></author><summary type="html"><![CDATA[KSS, the Knowledge Stewardship System: what it is, why it exists, and how to use it on your own projects.]]></summary></entry></feed>