Skip to content
context Check-in [0ba6400153]
Login

Check-in [0ba6400153]

Overview
Comment:Propose rules from what the person types; rules offer hook; eval condition H
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0ba64001538646784d5370456c9bdea3027575c16a8bf8c68837602b93245255
User & Date: context-bot on 2026-11-10 22:32:14.449
Other Links: manifest | tags
Context
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
Changes