Skip to content
context Timeline
Login

Timeline

50 ancestors of 66facd88458e1217

2026-11-25
12:26
Create new branch named "judge-same-rules" check-in: 66facd8845 user: dmestas tags: judge-same-rules
12:25
telemetry: roll each day's Parquet from ctx_call, not the call log closed check-in: 489878dbc4 user: dmestas tags: telemetry-from-calls
12:07
Create new branch named "telemetry-from-calls" check-in: 99d59910e1 user: dmestas tags: telemetry-from-calls
12:05
land guard-quiet check-in: eb779588f7 user: context-bot tags: trunk
11:53
test: guard post time bound is the hook timeout for release builds only closed check-in: 46757e0ece user: dmestas tags: guard-quiet
11:24
guard: pass counting pipes and here-document text check-in: 0ef277aa9f user: dmestas tags: guard-quiet
00:20
land dup-turn-id check-in: 1e03b1d59e user: context-bot tags: trunk
00:02
archive: a turn id written twice in one transcript is stored once closed check-in: a3e57ef35a user: dmestas tags: dup-turn-id
2026-11-24
23:51
land findings check-in: 1b86ab513c user: context-bot tags: trunk
23:32
findings: fix review: watch hooks over budget, safer ingest, 10 s scale closed check-in: d671cfd3cd user: dmestas tags: findings
22:59
findings: take the call log in hourly, from where the last scan stopped and across rotation, into ctx_call (30 days); daily figures computed from it in SQL check-in: 7f318ce917 user: dmestas tags: findings
22:47
findings: daily call summaries in SQLite, detectors in ctx scan, ctx doctor, findings at session start, in the prompt hook, in ctx status and at the top of ctx page check-in: faaffa763f user: dmestas tags: findings
14:15
land secrets-guard check-in: b8df7ab563 user: context-bot tags: trunk
14:02
guard post: a lone surrogate decodes to U+FFFD so the reply stays UTF-8; a result over 16 MB exits 1 with a message instead of passing silently; howto names what passes unchecked closed check-in: bf51212f61 user: dmestas tags: secrets-guard
13:52
guard post: one pass over the JSON's strings (linear, every duplicate key, NULs kept), a field named data redacted with only base64 blobs left alone, and a host name under dp.st. not taken for a Doppler token check-in: eb30db897d user: dmestas tags: secrets-guard
13:30
ctx guard: keep secrets out of the conversation. PreToolUse turns back direct reads of secret files (Read on .env, cat/grep of one, < from one, env or printenv alone) with a way to use them unprinted; ctx guard post (PostToolUse) returns the tool's result with the archive's redaction applied, as updatedToolOutput for pic and updatedMCPToolOutput for Claude Code's MCP tools. Redaction now also catches Doppler service tokens with a config (dp.st.prd.TOKEN), version 4, so the archive is redacted again. check-in: 100c35d51c user: dmestas tags: secrets-guard
11:37
land stats-pic-journal check-in: 0ee3d8ff0d user: context-bot tags: trunk
11:11
stats reads the workspace's pic journal: pic refuses its user database ~/.pic/pic.sqlite as --db, so ctx stats runs pic usage --lapse on .pic/journal.sqlite in the working directory (CTX_PIC_JOURNAL overrides, empty skips) closed check-in: 6b3f03353c user: dmestas tags: stats-pic-journal
2026-11-23
23:19
land skill-catch-up check-in: 1257b95b32 user: context-bot tags: trunk
23:07
ctx skill: check archived work against its real state before reporting it

When picking up earlier work, an agent checks each branch, PR, ticket or check-in the archive mentions against git, gh, zit or the forge, and says which threads are merged, open, in flight, reverted or only planned. closed check-in: 78ad2dd0e7 user: dmestas tags: skill-catch-up

20:47
land turn-user check-in: 791b2bd0d3 user: context-bot tags: trunk
20:24
ctx turn --user: show only what the person typed in a stretch

The ctx repeats review (#27) found agents piping ctx turn through grep to read the user's side of a stretch. --user does it directly and says when the stretch has none. The ctx skill and how-to use it. closed check-in: f634c462a6 user: dmestas tags: turn-user

02:58
land artifacts-midnight check-in: 149ef419ec user: context-bot tags: trunk
02:36
artifacts: find a publish's command across a day boundary

A session is archived one document per day, so a publish just before UTC midnight can have its result in the next day's document. The command lookup searched only three turns back in the result's own document, so the publish was dropped (publisher pages) or lost its title (Artifact tool). It now also searches the last turns of the same session's previous day when the result is among a day's first turns. The publisher test failed between 00:00 and 02:00 UTC for this reason; a fixed-date test now covers it. closed check-in: 09cd4cfd60 user: dmestas tags: artifacts-midnight

02:35
land repeats check-in: c1de11a33a user: context-bot tags: trunk
02:13
ctx repeats: the shell commands agents run again and again, grouped by shape

Normalises archived shell calls (heredocs to their first statement, quoted text, scratch paths, home, hex ids and numbers to placeholders; leading cd, echo and assignments, quiet redirects and trailing head, tail or cut -c dropped), groups by the first six words, and lists the top shapes with session, call and project counts and the latest turn. --inline keeps calls that hand an interpreter a script. ctx_shape(command) exposes the shape to ctx sql. Reads the redacted archive only; no model, no writes. Ticket #27. closed check-in: 403549a9f6 user: dmestas tags: repeats

2026-11-22
20:32
land stats-pic check-in: 8e764bec7b user: context-bot tags: trunk
20:10
ctx stats ends with pic's measured compaction savings, from pic usage --lapse closed check-in: 03da28c1f3 user: dmestas tags: stats-pic
17:42
land docs-drift check-in: 2cc283c1ad user: context-bot tags: trunk
17:31
Docs: name ctx gate, learned rules and ctx page; say docs checks never read code; test that docs and commands agree closed check-in: 922a62f1a3 user: dmestas tags: docs-drift
12:35
land libfossil-8aa1823ae1 check-in: 7a387f8571 user: context-bot tags: trunk
12:35
Re-vendor libfossil from sql-ext-int 8aa1823ae1: autosync fixes and the onefile write-lock fix closed check-in: cd0ccbd7cf user: dmestas tags: libfossil-8aa1823ae1
2026-11-21
13:17
land ctx-now check-in: 695c5d4c7e user: context-bot tags: trunk
13:06
CTX_NOW: run as if the clock read a past moment

A default SQLite VFS that answers the time with CTX_NOW moves every 'now' in every query, so a replay of a past moment, on an archive copy cut there, gets the brief it would have had. An unreadable value is refused. closed check-in: 08c5064553 user: dmestas tags: ctx-now

2026-11-20
22:30
land telemetry-page check-in: 15ad4cb4f8 user: context-bot tags: trunk
22:19
ctx telemetry page: charts of hook calls, times, cut-offs, decisions and harnesses from the Parquet files, queried through duckdb closed check-in: f78798bfdc user: dmestas tags: telemetry-page
22:11
land telemetry-parquet check-in: 74215439ef user: context-bot tags: trunk
22:00
Compare only permission digits in the telemetry mode test; a setgid parent adds 2000 closed check-in: 0ce0c5fa21 user: dmestas tags: telemetry-parquet
21:57
Read file modes with GNU stat first; on Linux stat -f is file-system status check-in: 23ffb2d238 user: dmestas tags: telemetry-parquet
21:06
Keep the call log as daily Parquet files: ctx telemetry roll | path. End lines now record exit, outcome, bytes, harness and session; never prompt, tool or file text. check-in: 47ce90b6ce user: dmestas tags: telemetry-parquet
12:17
Read pic rows on ctx hook from pic check-in: 0096f1806c user: context-bot tags: trunk
12:06
Read pic's rows on ctx hook from pic, never its transcript_path

pic will run ctx hook after each reply and on exit, with transcript_path naming pic.sqlite and the conversation's rows committed first. On a hook marked "harness": "pic", ctx no longer queues transcript_path as a Claude Code transcript; it reads pic's database at once (ctx scan --pic, cheap when nothing changed), then runs the hourly scan when due, as before. closed check-in: ca35b2f5fc user: dmestas tags: pic-hook-archive

01:06
Keep memory working in any harness check-in: f0aab8b69b user: context-bot tags: trunk
00:44
Keep memory working in any harness: tool names in any case, a remember line, an index line

pic sends lowercase tool names (bash, read, edit, write, grep, find, ls), and it writes no memory notes the way Claude Code's model does.

- ctx gate, ctx hook post and the docs nudge compare one canonical tool name (lowercased; Glob is find, MultiEdit is edit), and ctx stats counts shell calls recorded in either case. - The session-start offer always carries one line saying what to save and how: ctx remember "TEXT", with --project '*' for every project. Its room is reserved before rules are placed, so a project whose rules fill the cap still gets it. - When rules are left out, the list ends with "N more: ctx rules", since the whole index is no longer loaded by the harness. - Every project with an archive now gets an offer, because the remember line is always there. closed check-in: a68b13a1e8 user: dmestas tags: harness-neutral-memory

00:05
Offer pic the memory notes Claude Code would load itself check-in: 952a8a7de4 user: context-bot tags: trunk
2026-11-19
23:43
Offer pic the memory notes Claude Code would load itself

pic will run ctx's hooks from ~/.pic/hooks.json and marks each run with "harness": "pic" in the input and PIC_HOOK=1 in the environment. ctx rules offer leaves out the memory folder of the starting directory because Claude Code loads it; pic loads no memory folder, so on a hook from pic those notes are offered too. closed check-in: 4223fe05aa user: dmestas tags: pic-hooks-offer

19:29
Rules for every coding agent, not only Claude Code check-in: 5b376bda6d user: context-bot tags: trunk
19:07
Rules for every coding agent, not only Claude Code: global and project instruction files from one agent table

ctx assumed Claude Code was the only agent. A table of agents (claude, codex, gemini, pi, opencode) now gives each one's global instruction file, with its env override, and the project file names it reads.

- Every existing global instruction file is a * rule with an agent: line; project CLAUDE.md, AGENTS.md and GEMINI.md are imported, and whole instruction files are excluded everywhere by name from the table. - The covered check judges a project rule only against the global instructions of the agents it reaches (rule_reach: Claude Code memory and ctx remember rules reach claude), and retires it only when the quote is in a global file of every one of them. Reasons name the files, kept in ctx_rule_covered_file; old CLAUDE.md-worded retirements still revive. - An import retires a global instruction-file rule only when its file is gone from disk, so scans run with different CODEX_HOME, XDG_CONFIG_HOME or CLAUDE_CONFIG_DIR no longer retire and re-import each other's globals; other rules retire as before when an import no longer sees them. - Messages and docs say global instructions and name the file. Each instruction-file rule gets one new version on the first scan after upgrading. closed check-in: f3ab690bb4 user: dmestas tags: agent-instructions

19:00
Archive pic conversations from rows in pic.sqlite check-in: 1521145a06 user: context-bot tags: trunk
18:39
Archive pic conversations from rows in pic.sqlite (picu_pi_session_line)

pic is moving its conversations off ~/.pic/sessions files into a table of ~/.pic/pic.sqlite holding the same Pi v3 lines. ctx now reads those rows: each decoded line goes through the existing Pi path, so turns get the same pi-

/<entry id> keys as the file form and nothing is archived twice across the switch; the old files are still read.

- The session id comes from the header row, kept in a per-conversation cursor (ctx_pic_cursor) with the last seq read and the workspace; a conversation whose header can't be decoded is skipped. - pic.sqlite is opened read-only, the conversation list is read first and rows in chunks, so no read is held across ctx's commits; a WAL database with no -wal or -shm is read immutable and re-checked after each read. - An unchanged database (size, mtime and change counter) is skipped on the hourly scan. - ctx exclude --project and --remove work for pic conversations by their workspace. - Deflated rows are inflated with zlib, with size checks; a bad row is skipped with a warning. - CTX_PIC_DB sets the path (default ~/.pic/pic.sqlite); empty skips it.

closed check-in: f6eb510ee2 user: dmestas tags: pic-rows
17:17
Reduce rule redundancy: covered-by-global retirement, identical-copy collapse, global-rule offers, restore check-in: 0f26acda1d user: context-bot tags: trunk