50 ancestors of ca35b2f5fc07b405
|
2026-11-20
| ||
| 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- - 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. | |
| 17:17 | Reduce rule redundancy: covered-by-global retirement, identical-copy collapse, global-rule offers, restore check-in: 0f26acda1d user: context-bot tags: trunk | |
| 17:07 |
Reduce rule redundancy: covered-by-global retirement, identical-copy collapse, global-rule offers, restore
A benchmark on real rules found reworded duplicates inside a project are rare; the redundancy is project rules that restate the global CLAUDE.md, identical copies, and one rule saved in several projects. - ctx rules restore KEY undoes any retirement or replacement, and neither automatic check retires that rule again while its text and the global text are unchanged. - Identical copies in one project collapse after each import (frontmatter and spacing ignored); a copy comes back when the rule it was collapsed into leaves force. - ctx rules covered sends active project rules to the automatic judge in bounded batches and retires one only with a verbatim quote of at least 20 characters from the global CLAUDE.md; the rule comes back when the quote leaves the global text, and a verdict is skipped if the rule changed during the call. - The decisions page offers groups of the same rule in several projects as one global rule; make global acts only on the listed keys, needs two projects, and refuses CLAUDE.md, AGENTS.md, global rules and rules with an until date. - ctx rules activity lists collapses, covered retirements and restores. tools/rule_redundancy.sh reports what each step would do on a copy of an archive. On a copy of the live archive: 380 active rules, 3 retired as covered, 0 identical copies, 10 cross-project groups offered. closed check-in: 35bb724e4f user: dmestas tags: rule-redundancy | |
| 15:42 | Keep a retired memory rule retired while its file is unchanged check-in: 8c855fd9ae user: context-bot tags: trunk | |
| 15:22 |
Keep a retired memory rule retired while its file is unchanged
ctx rules retire on a rule read from a memory file was undone by the next import, which runs in every hourly scan: the unchanged file was saved again without its status. Import now leaves a rule retired or replaced on purpose alone while the file's text is the same. Editing the file is a new statement and brings the rule back, and a file that returns after its removal retired the rule revives it as before. closed check-in: 2bb91b0d1f user: dmestas tags: rule-retire-sticks | |
| 11:43 | Archive Pi and pic session files: a second format in the same pipeline, from ~/.pi/agent/sessions and ~/.pic/sessions (CTX_PI_ROOTS), searchable and readable like Claude Code turns check-in: fc25af9a2a user: context-bot tags: trunk | |
| 11:33 | The scan test waits for the hourly scan the hook started in the background closed check-in: 6690e7eea7 user: dmestas tags: pi-sessions | |
| 11:19 | Archive Pi and pic session files: a second format in the same pipeline, from ~/.pi/agent/sessions and ~/.pic/sessions (CTX_PI_ROOTS), searchable and readable like Claude Code turns check-in: 91b6237cac user: dmestas tags: pi-sessions | |
| 02:01 | land bench-docs-tickets check-in: 9105c67d40 user: dmestas tags: trunk | |
| 01:52 | Record the docs-tickets benchmark, before and after the offer change: closures right and guarded, prods delivered, uptake still fails closed check-in: 62463acb84 user: dmestas tags: bench-docs-tickets | |
| 01:04 | The docs-ticket offer is one line that says to claim before working; ctx ticket done on a docs ticket is refused while the problem is still in the documents check-in: 2511537072 user: context-bot tags: trunk | |
| 00:54 | The docs-ticket offer is one line that says to claim before working; ctx ticket done on a docs ticket is refused while the problem is still in the documents closed check-in: 54bcf456d9 user: dmestas tags: docs-offer-v2 | |
|
2026-11-18
| ||
| 23:15 | Redact the stored archive once more with redaction that repeats until stable check-in: 8ac818e396 user: context-bot tags: trunk | |
| 22:56 | Redact the stored archive once more with redaction that repeats until stable closed check-in: bfdc97d36f user: dmestas tags: redact-v3 | |
| 22:47 | ctx status --json reports the current project for the status line; redaction repeats until stable, so a cut that changes what a later rule sees can no longer leave a secret behind (fuzz seed kept) check-in: f9f45e55a5 user: context-bot tags: trunk | |
| 22:37 | Every possibly empty sort goes through the guarded helper, defined before its first use closed check-in: abdfc0b66c user: dmestas tags: status-json | |
| 22:19 | ctx status --json reports the current project for the status line; redaction repeats until stable, so a cut that changes what a later rule sees can no longer leave a secret behind (fuzz seed kept) check-in: 8634d573cb user: dmestas tags: status-json | |
| 21:26 | Docs tickets are filed automatically and offered to agents to fix or close without sign-off; claims recorded after the command runs; ctx ticket prod reaches the holding session through ctx hook post; the page shows tickets per project and refreshes itself check-in: 502d16c2cb user: context-bot tags: trunk | |
| 21:07 | Docs tickets are filed automatically and offered to agents to fix or close without sign-off; claims recorded after the command runs; ctx ticket prod reaches the holding session through ctx hook post; the page shows tickets per project and refreshes itself closed check-in: 40b3a4a0be user: dmestas tags: docs-tickets | |
| 18:38 | CI green; make check passes locally. check-in: 034357d431 user: context-bot tags: trunk | |
| 18:14 | ctx audit --context ID shows a finding's surroundings with every long token as its shape; a rebuild makes the next audit rescan every turn, and a full scan replaces open findings that name renumbered turns closed check-in: ca188a0cc3 user: context-bot tags: audit-context | |
| 17:03 | ctx page follows the current project: a project's own proposals, conflicts, decisions and status, named at the top; --all for everything, --project NAME from anywhere check-in: 8df8f9119b user: context-bot tags: trunk | |
| 16:45 | ctx page follows the current project: a project's own proposals, conflicts, decisions and status, named at the top; --all for everything, --project NAME from anywhere closed check-in: c6bb2ec1df user: dmestas tags: page-project | |
| 16:02 | The decisions page opens on what needs you: one sentence, batch buttons for suggested conflicts, a short Needs you list, and folded sections for what ctx decided (with undo decision N) and for status check-in: 9f862d8378 user: context-bot tags: trunk | |
| 15:44 | The decisions page opens on what needs you: one sentence, batch buttons for suggested conflicts, a short Needs you list, and folded sections for what ctx decided (with undo decision N) and for status closed check-in: 10f398993d user: dmestas tags: page-digest | |
| 12:41 | An automatic judge decides waiting rule proposals, leaning to dismiss: covered, session setup and non-rules are dismissed, lasting ones served as tentative rules; ctx rules activity, the session start and the page show every decision, and ctx rules undo reverses one check-in: 504553e627 user: context-bot tags: trunk | |
| 12:23 | An automatic judge decides waiting rule proposals, leaning to dismiss: covered, session setup and non-rules are dismissed, lasting ones served as tentative rules; ctx rules activity, the session start and the page show every decision, and ctx rules undo reverses one closed check-in: e1f5d3413e user: dmestas tags: auto-judge | |
|
2026-11-17
| ||
| 19:59 | Disable automatic tentative-rule delivery after evidence audit; preserve repeat evidence for research check-in: 1033cac4b9 user: context-bot tags: trunk | |
| 19:46 | Disable automatic tentative-rule delivery after evidence audit; preserve repeat evidence for research closed check-in: a0292496a8 user: dmestas tags: disable-tentative-serving | |
| 19:38 | Create new branch named "disable-tentative-serving" check-in: 26cf2d5b5c user: dmestas tags: disable-tentative-serving | |
| 19:23 | Serve repeated instructions as tentative rules with a 30-day lapse, fair retry scheduling, synced-session isolation and forget cleanup check-in: 2c86e9de70 user: context-bot tags: trunk | |
| 19:06 | Serve repeated instructions as tentative rules with a 30-day lapse, fair retry scheduling, synced-session isolation and forget cleanup closed check-in: cf8edff06f user: dmestas tags: tentative-rules | |
| 16:08 | Proposals left undecided for 30 days leave the list, the session-start line and the decisions page; existing ones get 30 days from the upgrade check-in: afd0f43cd6 user: context-bot tags: trunk | |
| 15:52 | Proposals left undecided for 30 days leave the list, the session-start line and the decisions page; existing ones get 30 days from the upgrade closed check-in: 2fc318bdd6 user: dmestas tags: proposal-expiry | |
| 13:48 | Fade memory notes of projects silent for 90 days of the archive's time; record the session-wiki, note-staleness, document-wiki and duplicate-note results check-in: 4a8ed01d54 user: context-bot tags: trunk | |
| 13:31 | Fade memory notes of projects silent for 90 days of the archive's time; record the session-wiki, note-staleness, document-wiki and duplicate-note results closed check-in: 8efba3cbcd user: dmestas tags: silent-fade | |
| 00:56 | ctx page --open; the page writes choices in words that only ctx page apply understands; the skill says when to show the page and how to apply it check-in: 03d7f1b49e user: context-bot tags: trunk | |
| 00:40 | ctx page --open; the page writes choices in words that only ctx page apply understands; the skill says when to show the page and how to apply it closed check-in: ba5017fe8d user: dmestas tags: page-open | |
| 00:25 | 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: 637b20a462 user: context-bot tags: trunk | |
| 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 | |