Artifact a5da810d9ee48bcebd184143b882922274e2139b347182fd6374f62328fbce2d:
- File
fuzz/seed/stats/body
— part of check-in
[a4373d90f3]
at
2026-11-10 07:30:42
on branch stats
— 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. (user: dmestas, size: 87) [annotate] [blame] [check-ins using] [more...]
Bash {"command":"cd /x && ctx search a; python3 - <<'PY'\nctx turn 1\nPY\nctx turn 2"}