From 19f10528b3aed1e08f492865820850c308697539 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 13 Nov 2026 13:44:35 +0000 Subject: 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. --- schema.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'schema.sql') 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; -- cgit 1.4.1