Skip to content
context Timeline
Login

Timeline

50 descendants and 50 ancestors of b7a37a8a9f7f8a38

2026-11-17
00:17
Sort possibly empty lists through one guarded helper closed check-in: c658b3bf71 user: dmestas tags: page
00:06
The status test no longer depends on the hour it runs at check-in: 19da4405f3 user: dmestas tags: page
2026-11-16
23:58
Do not sort an empty list of projects when the archive holds none check-in: f38b2ddd73 user: dmestas tags: page
23:43
Add ctx page and ctx page apply: one page of what waits on a decision, and a checked way to act on the choices; each document conflict gets its own id check-in: f00392adbf user: dmestas tags: page
23:07
Dismiss a document conflict with a reason; exclude or forget a whole project by name check-in: 614fd3f571 user: context-bot tags: trunk
22:57
Dismiss a document conflict with a reason; exclude or forget a whole project by name closed check-in: 1ed91d6805 user: dmestas tags: dismiss-and-projects
22:43
Add ctx docs nudge: show an agent a document's recorded conflicts when it reads or edits that document check-in: 28d4955eec user: context-bot tags: trunk
22:30
Add ctx docs nudge: show an agent a document's recorded conflicts when it reads or edits that document closed check-in: cd11c20765 user: dmestas tags: docs-nudge
21:56
Add ctx usage: how often each skill, subagent type and slash command was invoked, counted once by call id closed check-in: ca1646258c user: dmestas tags: usage
20:43
Session-start note says when a project's documents have recorded conflicts check-in: 622c03e316 user: context-bot tags: trunk
20:28
Session-start note says when a project's documents have recorded conflicts closed check-in: d38daa040f user: dmestas tags: conflicts-note
20:07
List document conflicts that share a passage as one, each passage shown once check-in: 2c87a9fb5f user: context-bot tags: trunk
19:51
List document conflicts that share a passage as one, each passage shown once closed check-in: 8f76812441 user: dmestas tags: conflicts-group
13:54
Add ctx docs conflicts: two models find where documents disagree, each conflict kept only with words quoted from both check-in: 35223a4127 user: context-bot tags: trunk
13:38
Add ctx docs conflicts: two models find where documents disagree, each conflict kept only with words quoted from both closed check-in: 0eab26032c user: dmestas tags: docs-conflicts
2026-11-15
12:12
Compaction brief no longer reads every typed turn in the archive; the hook report counts sessions the gate turned back; gate timings and overhead recorded check-in: 17b2a5d6e1 user: context-bot tags: trunk
11:56
Compaction brief no longer reads every typed turn in the archive; the hook report counts sessions the gate turned back; gate timings and overhead recorded closed check-in: 524b7ee54d user: dmestas tags: brief-fast
2026-11-14
06:00
Add ctx gate: turn back the first search once in a session the archive note never reached; record what gets agents to look check-in: eb38a24c30 user: context-bot tags: trunk
05:44
Add ctx gate: turn back the first search once in a session the archive note never reached; record what gets agents to look closed check-in: 61f33d5148 user: dmestas tags: gate
2026-11-13
23:31
Add ctx docs check: stale statuses, numbers no document has and dead links between documents; eval harness can index a project's docs check-in: 6d76fed168 user: context-bot tags: trunk
23:15
Add ctx docs check: stale statuses, numbers no document has and dead links between documents; eval harness can index a project's docs closed check-in: 39a95a5007 user: dmestas tags: docs-check
18:58
Add ctx docs: index a directory of documents where they sit, re-read on change, and show copied text once in search check-in: ca9032ff51 user: context-bot tags: trunk
18:43
Add ctx docs: index a directory of documents where they sit, re-read on change, and show copied text once in search closed check-in: 4b7e04bc18 user: dmestas tags: docs-index
15:11
Record neural embedding results on 209 sessions: far better at finding a reworded session, no better for answers check-in: 09f2080564 user: context-bot tags: trunk
14:55
Record neural embedding results on 209 sessions: far better at finding a reworded session, no better for answers closed check-in: fe189bdae7 user: dmestas tags: neural-results
14:36
Add ctx mcp: search and turn as tools for clients that cannot run commands, with a benchmark showing it level with the skill check-in: 6abc4db745 user: context-bot tags: trunk
14:20
Add ctx mcp: search and turn as tools for clients that cannot run commands, with a benchmark showing it level with the skill closed check-in: 936b9f1c41 user: dmestas tags: mcp
05:35
Record the paraphrased answer test on 209 sessions check-in: a9ff52ecda user: context-bot tags: trunk
05:19
Record the paraphrased answer test on 209 sessions closed check-in: ef0b368854 user: dmestas tags: shipyard2-para
00:43
Record the answer test on 209 sessions: ctx level on accuracy at about half the cost check-in: a55796a990 user: context-bot tags: trunk
00:35
Record the answer test on 209 sessions: ctx level on accuracy at about half the cost closed check-in: 21fda3a9ac user: dmestas tags: shipyard2-answers
00:31
Publish a 209-session corpus: ranked search beats grep there, and small embeddings add nothing; exclusions resolve a vanished directory; status covers the last day check-in: d6c91279f3 user: context-bot tags: trunk
00:23
Status line covers the last day, so a hook cut off before midnight still shows after it closed check-in: 106187ff50 user: dmestas tags: shipyard2
00:03
Publish a 209-session corpus: ranked search beats grep there, and small embeddings add nothing; resolve an excluded directory that is gone check-in: bf3e275f91 user: dmestas tags: shipyard2
2026-11-12
23:52
Keep a working directory's sessions out of the archive, and forget a session that is in it check-in: 87fb691a8c user: context-bot tags: trunk
23:44
Keep a working directory's sessions out of the archive, and forget a session that is in it closed check-in: e5d3c22006 user: dmestas tags: exclude-forget
23:24
Test static embeddings on paraphrased questions: a real gain that misses its bar check-in: 1341e61a22 user: context-bot tags: trunk
23:16
Test static embeddings on paraphrased questions: a real gain that misses its bar closed check-in: f3012d6054 user: dmestas tags: vectors-static
21:27
Publish the failed test of prompt snippets and reminders, and add a second question set kept for final checks check-in: b47766829f user: context-bot tags: trunk
21:19
Publish the failed test of prompt snippets and reminders, and add a second question set kept for final checks closed check-in: e3470fc528 user: dmestas tags: shipyard-delivery
18:21
Publish the head-to-head: four other tools on the same questions, and how agents answer with and without ctx check-in: ce3822214d user: context-bot tags: trunk
18:13
Publish the head-to-head: four other tools on the same questions, and how agents answer with and without ctx closed check-in: cde99e36f4 user: dmestas tags: head-to-head-results
17:46
Publish the held-out retrieval result after the flag-name fix, beside the first run and its corrected explanation check-in: 589ea9e4f0 user: context-bot tags: trunk
17:43
Publish the held-out retrieval result after the flag-name fix, beside the first run and its corrected explanation closed check-in: b53abd7f01 user: dmestas tags: shipyard-after
17:35
Search takes a flag's name as a word instead of failing on it, and -- ends the options check-in: 4095a7b2da user: context-bot tags: trunk
17:32
Search takes a flag's name as a word instead of failing on it, and -- ends the options closed check-in: 763bd216c7 user: dmestas tags: search-flag-words
17:19
Publish the shipyard corpus and its first retrieval result, where ranked grep was level with or ahead of ctx; add a quiet-machine timing run check-in: 7e2f9c447e user: context-bot tags: trunk
17:16
Publish the shipyard corpus and its first retrieval result, where ranked grep was level with or ahead of ctx; add a quiet-machine timing run closed check-in: 75113f56a8 user: dmestas tags: shipyard
15:47
Vendor libfossil 7d9634ac5c: a saved page records its backlinks, and the sanitizers run without the alignment exemption; add the head-to-head protocol check-in: 7150d2056f user: context-bot tags: trunk
15:42
Vendor libfossil 7d9634ac5c: a saved page records its backlinks, and the sanitizers run without the alignment exemption; add the head-to-head protocol closed check-in: 791b6d74e4 user: dmestas tags: libfossil-backlinks
15:16
Run ctx on two public recall benchmarks and publish the results beside the scores others report check-in: b7a37a8a9f user: context-bot tags: trunk
15:14
Run ctx on two public recall benchmarks and publish the results beside the scores others report closed check-in: 79858ba92d user: dmestas tags: public-recall
14:24
Publish a benchmarks page generated from result files, with what each result is compared with and what it means check-in: 9ca411f834 user: context-bot tags: trunk
14:21
Publish a benchmarks page generated from result files, with what each result is compared with and what it means closed check-in: fa2448c6d2 user: dmestas tags: benchmarks-page
01:43
Read a publish result's fields in the keep hook, as Claude Code gives them check-in: 3b1415efd3 user: context-bot tags: trunk
01:40
Read a publish result's fields in the keep hook, as Claude Code gives them closed check-in: ad4bd167f4 user: dmestas tags: keep-fields
01:23
Log when each hook and search starts and ends; show timings with ctx stats --hooks and one line with ctx status check-in: f43d5030fd user: context-bot tags: trunk
01:20
Log when each hook and search starts and ends; show timings with ctx stats --hooks and one line with ctx status closed check-in: 6f23d43cb3 user: dmestas tags: call-log
00:55
Cut the token from published page links, redact stored turns again when a rule is added, and never store a turn twice check-in: bf297bd005 user: context-bot tags: trunk
00:52
Cut the token from published page links, redact stored turns again when a rule is added, and never store a turn twice closed check-in: 4e6ec36d5f user: dmestas tags: tidy-stored
2026-11-11
23:40
Keep the brief inside its hook's time on a busy machine; a Doppler token's kind is two letters, so redaction never joins lines check-in: 7571950ccf user: context-bot tags: trunk
23:38
Keep the brief inside its hook's time on a busy machine; a Doppler token's kind is two letters, so redaction never joins lines closed check-in: e907007e44 user: dmestas tags: brief-fast
20:23
List pages published with html-artifact-publisher among the artifact records check-in: b88a7dbc52 user: context-bot tags: trunk
20:21
List pages published with html-artifact-publisher among the artifact records closed check-in: d427660be5 user: dmestas tags: artifact-publisher
19:57
Copy each published artifact page at once and file approved and final versions in the private repository check-in: 797a00b3e8 user: context-bot tags: trunk
19:49
Copy each published artifact page at once and file approved and final versions in the private repository closed check-in: e630611928 user: dmestas tags: artifact-files
19:34
Record each published artifact page and the version the person approved; carry recent pages in the brief check-in: dbf2e6c88d user: context-bot tags: trunk
19:27
Record each published artifact page and the version the person approved; carry recent pages in the brief closed check-in: 05c5f0b429 user: dmestas tags: artifacts
19:04
Add a recall hook and a note for subagents; measure reach with plainly asked questions check-in: f27198e6d4 user: context-bot tags: trunk
18:53
Add a recall hook and a note for subagents; measure reach with plainly asked questions closed check-in: 03b134f8e9 user: dmestas tags: reach
17:16
Pick rules to judge in one pass over an index of speakers, and stop a model call after 120 seconds check-in: 44d491f29a user: context-bot tags: trunk
15:16
Pick rules to judge in one pass over an index of speakers, and stop a model call after 120 seconds closed check-in: 841613f578 user: dmestas tags: judge-fast
15:12
Record decisions from AskUserQuestion turns and brief a session on where it stood after a compaction check-in: 4b3a0f25d3 user: context-bot tags: trunk
14:56
Record decisions from AskUserQuestion turns and brief a session on where it stood after a compaction closed check-in: 5a57d23172 user: dmestas tags: decisions-brief
03:38
Ask about a rule only with the person's own words as evidence; monthly review; scan on any turn check-in: 15c4935f34 user: context-bot tags: trunk
03:24
Ask about a rule only with the person's own words as evidence; monthly review; scan on any turn

A judge command (ctx rules judge-with CMD, any command that answers on stdout) checks active rules in projects with new turns, at most weekly per rule and 20 per run, beside the person's latest 60 turns there. It flags a rule only with a quote of at least four words and 24 characters found exactly in one of those turns, so it cannot invent a contradiction or stitch one from two turns. A failing or unreadable answer records nothing. Instruction files (CLAUDE.md, AGENTS.md) are never judged.

The SessionStart offer then asks about at most one flagged rule, once in 30 days, with the quote, at a natural break; the answer runs ctx rules keep (not asked again for 90 days) or retire. ctx rules review lists up to 30 rules not reviewed or kept in 90 days, and the offer mentions it once a month.

The hourly scan, which archives, imports rules, proposes, judges and syncs, now also rides on Stop events: sessions that run for days and start once got it only on resume or compaction.

In an experiment on 42 labelled rules (bench/rules/stale_judge.py), Sonnet flagged 3, all stale; Haiku flagged 9 with 3 wrong. An independent audit found seven problems, all fixed with tests: instruction files judged, malformed answers recorded as checks, same-day turns reversed, a crash on an early model failure, a short-quote bar, quotes spanning turns, raw wait status in messages.

A kept table records checks, so the user version rises to 5. closed check-in: efad0e0a17 user: dmestas tags: rule-judge

01:08
Fade memory status notes 30 days after they were written

Checks tested the merge with trunk at 14aff6c7c5bc; trunk has moved since. check-in: 33be4383d3 user: context-bot tags: trunk

00:55
Add a bench that replays rule-decay policies against labelled rules check-in: b3865cf364 user: context-bot tags: trunk
00:52
Fade memory status notes 30 days after they were written

Rules now record their kind (a memory note's type) and the day their file was last written. A memory note of type project is a status snapshot; it fades 30 days after it was written and comes back when edited. Rules in the person's own words and corrections never fade on their own. Faded rules are not offered or searched by default; ctx rules --all and search --history show them.

The bench chose this over age: on 42 labelled rules, 12% of the person's own rules were stale, 44% of corrections and 83% of status notes, while age-based policies quieted a quarter of the true rules. On the real archive 83 of 519 imported notes fade; on the labels, 3 faded were stale and 1 was true. closed check-in: bab2180482 user: dmestas tags: fade-by-kind

00:43
Add a bench that replays rule-decay policies against labelled rules

bench/rules/decay.py scores policies that quiet rules (none, a flat 90 days, a review schedule renewed by use, and the schedule with dormant-project and missing- file checks) against private labels of which rules are still true, at a given day, with timing for rules whose staleness has a month and a count of how often an agent would ask.

On 42 labelled rules the age-based policies caught 60 to 67% of the stale rules but quieted 26 to 30% of the true ones; renewal by use almost never fired. The kind of rule separated them better: 12% of rules in the person's own words were stale, 44% of memory feedback notes, 83% of memory project notes. closed check-in: d273928542 user: dmestas tags: decay-bench

00:19
Install the rules offer hook; keep redaction stable after an earlier redaction check-in: 14aff6c7c5 user: context-bot tags: trunk
00:12
Redaction is stable when a keyword's value follows an earlier redaction

The redaction fuzzer found an input that redacting twice changed: after token: the value was too short to redact, until other rules' markers made it long enough on a second pass. A keyword's value now counts only up to an earlier [REDACTED] marker. A first pass never sees such a marker, so archived text is unaffected. The input is kept as a seed. closed check-in: f39feb5b03 user: dmestas tags: rules-offer-hook

00:07
Install the rules offer hook: it helped on Claude and DeepSeek

On 90 questions about past work, Claude with the SessionStart hook scored 73.5 against 66.5 without it (better on 16, worse on 6, p=0.052), with the same wrong answers, half the don't-knows and 7% fewer tokens. On DeepSeek, agents used ctx in 89 answers instead of 66, needed half the tool calls and time, and none timed out.

The plugin now runs ctx rules offer at session start, and the how-to says so. check-in: 1ec6241dca user: dmestas tags: rules-offer-hook

2026-11-10
23:47
Propose rules with any classifier command instead of cue words check-in: 4e05baca7c user: context-bot tags: trunk
23:34
Propose rules with any classifier command instead of cue words

Cue words found 17% of the person's standing instructions on 1,000 hand-checked turns, at 42% precision. A model judging each turn does far better: Haiku 84% at 76%, DeepSeek 80% at 60%.

ctx stays model-free. A classifier is any command that reads a prompt on stdin and answers on stdout; ctx rules classifier CMD saves it (CTX_CLASSIFY overrides), and ctx rules propose sends unclassified turns the person typed, never tool output, in batches of 25 with ctx's own prompt. Only answers about turns in the batch are recorded, as proposals the person accepts or rejects. A failed or unreadable answer leaves the turns for the next run. The hourly scan proposes when a classifier is set. ctx rules candidates, prompt and suggest let other tools do the same job.

eval/rules_bench.py scores any classifier command against a private labelled set.

A kept table records classified turns, so the user version rises to 4. closed check-in: bf53ab041b user: dmestas tags: classifier

22:32
Propose rules from what the person types; rules offer hook; eval condition H check-in: 0ba6400153 user: context-bot tags: trunk
22:18
Propose rules from what the person types; rules offer hook; eval condition H

Turns the person typed that read like standing instructions are proposed as rules when archived; tool output and harness text never are. ctx rules proposed lists them, accept turns one into a rule linked to its turn, reject keeps it from coming back, and scan looks through turns archived earlier. On the real archive a scan finds 124 proposals in 3 seconds, among them rules that never reached memory.

ctx remember --from TURN records the turn a rule came from by its transcript id, which a rebuild keeps, and ctx turn accepts that id.

ctx rules offer is a SessionStart hook: it says past sessions are searchable, lists rules Claude Code would not load itself, and mentions waiting proposals. It is not installed by default; the eval's new condition H measures it.

eval: tool calls are recorded per answer, --deadline sets the time each answer may take, and the harness tests no longer read the real archive.

The kept schema gains ctx_rule_proposal, so the user version rises to 3. closed check-in: e29bf9a7f9 user: dmestas tags: proposals

18:26
Keep standing rules: ctx remember, ctx rules, and CLAUDE.md and memory files imported check-in: c98075c647 user: context-bot tags: trunk
18:10
Keep standing rules: ctx remember, ctx rules, and CLAUDE.md and memory files imported

A rule is an instruction for every future session. Each is a technote in the private repository tagged rule, so every version is kept and rules sync. Its header records key, project, source file, origin session, until date, and status with the rule that replaced it and why.

ctx remember TEXT [--project P] [--until DATE] adds one. ctx rules lists those in force for this project and every project; --all shows retired, replaced and expired ones; ctx rules retire KEY --reason WHY [--by KEY] retires or replaces. Every scan imports ~/.claude/CLAUDE.md, each project's CLAUDE.md and AGENTS.md, and Claude Code's memory files, redacted as transcripts are: a changed file makes a new version, a removed one retires its rule. A memory file's project is the one its neighbouring transcripts were archived under, then the session it names, then the folder its name stands for, decoded against the disk.

Rules are indexed from the technotes as their own kind, newest technote per key, and search returns those in force for this project and every project. Technotes tagged rule are never indexed as sessions. The derived schema version rises to 3, so the index rebuilds once.

On the real archive: 507 rules from memory files and CLAUDE.md files, imported in about a second.

eval: --via FILE routes every model call through the env of a Claude Code settings file, such as a proxy to cheaper models; --yolo runs answers without permission checks. Each run records its route and the commands it was denied; compare refuses runs with different models, routes or permissions. The test suite now never reads the real Claude config. closed check-in: b70296c566 user: dmestas tags: rules

16:15
Update libfossil to e84af25d79; fuzz SQLite with the function sanitizer on check-in: 12e86a9f6a user: context-bot tags: trunk
16:02
Update libfossil to e84af25d79; fuzz SQLite with the function sanitizer on

libfossil's fsl_sqlext_init now takes sqlite3_api_routines const *, so SQLite's call through the extension pointer is well typed. ctx's declaration matches it, and the fuzzers' sqlite3.o no longer turns -fsanitize=function off. The alignment exemption for libfossil.o stays until the SHA-1 fix reaches onefile. closed check-in: 8fe1a2a0aa user: dmestas tags: libfossil-e84af25d79

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
06:15
Rewrite the README and add a how-to guide; --as-of serves undated sources

README.md is now a front page: what ctx does, install, a first look, how it is stored, checks, releases and the license. docs/howto.md walks through each task: install, archiving, search, audit, projects, tickets, sources, supersession, the wiki, syncing machines, the opt-in inject hook, rebuild, the skill eval, raw SQL and the environment. Every command in it was run against a sandbox database and Fossil repository, and the docs were reviewed against the code.

search --as-of compared a source's valid-from date directly, so a source added without --valid-from, such as any evergreen one, never appeared. A missing date now means valid from the start, with a test. closed check-in: c96b21ad6d user: dmestas tags: docs

06:01
License ctx under the BSD 2-Clause license check-in: 5b9690f2b2 user: context-bot tags: trunk
05:49
License ctx under the BSD 2-Clause license

The plugin manifest names it and release archives carry it beside libfossil's. closed check-in: 2b6dbda9ad user: dmestas tags: license

05:11
Build either Linux architecture with tools/dist-linux.sh check-in: 992dc470d9 user: context-bot tags: trunk
04:57
Build either Linux architecture with tools/dist-linux.sh closed check-in: a4aa00bbad user: dmestas tags: distarch