diff options
| author | Pjotr <wrk@bosa.lan> | 2026-11-12 14:57:26 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-11-12 14:57:26 +0000 |
| commit | 9f11abe6e1d0e961124c6c8073ec48f3927f5c61 (patch) | |
| tree | a10e486d82a56ab61dbbbe1cdcef6a39544573a0 /schema.sql | |
| parent | 051faf04d59bf45fde128df9d3c4b88c24f289f3 (diff) | |
| download | ai-memory-9f11abe6e1d0e961124c6c8073ec48f3927f5c61.tar.gz | |
docs: the store is how a cleared session recovers
A session's context is finite and the conversation that produced a piece of work is gone when it ends. Say that out loud in the skill doc, because it changes what recording is for: not bookkeeping, but the next session's only entry point. New section 'Session continuity', with the measured numbers from the GEMMA/ravanan work in genenetwork4: finding the runbook costs 16 ms through SQLite FTS (~100 ms through the topic index, 1.3 s to build the index), and re-running what the entry says cost ~20 s of machine time (container up -> endpoint verified). Four rules follow from that: record RUNBOOK entries with the commands, not just the conclusions; name the session after the concept you want to find it by; record the gotchas (three of the four requirements in that session were wrong at first); and point at the long-form docs instead of copying them. Also states two limits plainly: the store is per repository, so a fact spanning repos needs recording in each (or one shared index with a repo: filter), and it is local gitignored SQLite -- it survives a cleared session, not a lost machine, so anything that must outlive the box belongs in commits and docs too. Session protocol gains step 6: write for a reader who has none of this conversation.
Diffstat (limited to 'schema.sql')
0 files changed, 0 insertions, 0 deletions
