Overview
| Comment: | Keep standing rules: ctx remember, ctx rules, and CLAUDE.md and memory files imported |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
c98075c647a5ad7a9b73bbb34ab34054 |
| User & Date: | context-bot on 2026-11-10 18:26:04.554 |
| Other Links: | manifest | tags |
Context
|
2026-11-10
| ||
| 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 | |