diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-13 13:44:35 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-13 13:44:35 +0000 |
| commit | 19f10528b3aed1e08f492865820850c308697539 (patch) | |
| tree | c266279b87be2f0d3a402b69240e57244bd7e5d7 /schema.sql | |
| parent | 36000f876225aabd5740cbb0c7045ad0e89de3a2 (diff) | |
| download | ai-memory-19f10528b3aed1e08f492865820850c308697539.tar.gz | |
gists: a one-line claim per entry, shown by default
`list`, `why` and `search` were truncating bodies at 96 characters, which
keeps whatever happens to come first -- usually the least informative clause
of the entry ("Only the range or every chromosome?...").
reasoning.gist (schema v4) holds the claim on one line, written at record
time via --gist. Listings show it; --full adds the body beneath. Existing
entries are backfilled from their first sentence, which is a floor, not an
equivalent: it says what the entry is about. Recording without --gist still
works and says so on stderr.
Diffstat (limited to 'schema.sql')
| -rw-r--r-- | schema.sql | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/schema.sql b/schema.sql index ecdbe1d..0f19c35 100644 --- a/schema.sql +++ b/schema.sql @@ -42,6 +42,9 @@ create table if not exists reasoning ( basis text, -- A correction points at the entry it replaces instead of editing it. supersedes integer references reasoning(id), + -- One line: the claim itself, written when the context is in hand. Listings + -- show this by default; the body is the long form. + gist text, body text not null, unique (session_id, step, kind) ); @@ -72,4 +75,4 @@ create trigger if not exists reasoning_after_update after update on reasoning be insert into reasoning_fts (rowid, body) values (new.id, new.body); end; -pragma user_version = 3; +pragma user_version = 4; |
