Skip to content
context Check-in [f430dde4b9]
Login

Check-in [f430dde4b9]

Overview
Comment:Add ctx stats; ctx remote writes a missing local copy; usage knows every command
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f430dde4b99210d157a9eb43de9220bf101708bd430213cf29b63bf560fc6935
User & Date: context-bot on 2026-11-10 07:43:04.331
Other Links: manifest | tags
Context
2026-11-10
15:02
Tell the person's turns from tool output and harness text, and drop request-blob copies check-in: 0d045e82e4 user: context-bot tags: trunk
14:49
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. closed check-in: 6b84c8be59 user: dmestas tags: speakers

07:43
Add ctx stats; ctx remote writes a missing local copy; usage knows every command check-in: f430dde4b9 user: context-bot tags: trunk
07:30
Add ctx stats; ctx remote writes a missing local copy; usage knows every command

ctx stats shows, per week and per project, session days and how often agents really used ctx: searches, searches with no matches, ctx turn reads and skill loads. It counts commands that ran, not mentions in arguments or heredocs, through a ctx_calls(body, sub) SQL function that ctx sql can use too, and runs in seconds on a 500,000-turn archive. A new fuzz target covers the command scanner.

ctx remote NAME FILE, given a local file that does not exist, writes a copy of the repository there, readable only by its owner, so sharing no longer needs a manual fsl_export. An existing file is never overwritten.

eval/skill_eval.py usage now reads the command list from ctx's own usage text, so wiki, source, project and the other newer commands are no longer counted as unknown. closed check-in: a4373d90f3 user: dmestas tags: stats

06:28
Rewrite the README and add a how-to guide; --as-of serves undated sources check-in: dc66ca307b user: context-bot tags: trunk
Changes