Skip to content
context Check-in [5b376bda6d]
Login

Check-in [5b376bda6d]

Overview
Comment:Rules for every coding agent, not only Claude Code
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5b376bda6df72370f7221c898ef42cd48786598be1071410cd2871947e9f2ddc
User & Date: context-bot on 2026-11-19 19:29:01.226
Other Links: manifest | tags
Context
2026-11-20
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
Changes