Artifact 4234635a16241bd5df3a0d641f10b6b3db89c4e7068182106e2c9904cd5eef24:
- File
src/ctx.c
-
2026-11-10 14:49:21
— part of check-in
[6b84c8be59]
on branch speakers
— Tell the person's turns from tool output and harness text, and drop request-blob copies
Transcripts label tool results, reminders, notifications and peer messages as the user's. Turns now record user (what the person typed), assistant, tool or meta, from origin.kind, isMeta, the message parts and harness openings, and technotes carry the speaker so it syncs. The technote parser reads all four.
Records that are not user or assistant lines are skipped. api-request-blob records copy the conversation with no timestamp, and were archived as extra turns.
Once per machine, the scan corrects the existing archive from the transcripts still on disk, matched by session and timestamp since older headings carry no turn id. On the real archive: 182,840 turns now say tool or meta, 48,820 request copies are removed from 1,120 technotes, 9,926 turns remain the person's, and a rebuild reproduces the result. Each technote is read and saved in one write transaction, and the done marker is written last.
The ctx skill and the how-to describe the four speakers. (user: dmestas, size: 200310) [annotate] [blame] [check-ins using]
- 2026-11-10 15:02:28 — part of check-in [0d045e82e4] on branch trunk — Tell the person's turns from tool output and harness text, and drop request-blob copies (user: context-bot, size: 200310) [annotate] [blame] [check-ins using]
-
2026-11-10 14:49:21
— part of check-in
[6b84c8be59]
on branch speakers
— Tell the person's turns from tool output and harness text, and drop request-blob copies