You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Capture: classify kept lessons into owner, serving lane and visibility #9
What: Every kept lesson is assigned a destination owner, a serving lane and a visibility, and private items are never sent to a public destination. Why: Serving decides storage, so an item in the wrong owner or lane is never served at the moment it applies, and a wrong visibility leaks private knowledge. So what: An agent builds classify; the user labels about 100 items for its benchmark.
Kept queue items become shaped (owner, lane, visibility, text in that owner's template), waiting-for-owner, agentsmd-pending with a prepared finding for the user to open in AgentsMD, or refused with a reason.
Elon record
Requirements and who asked: classify decides the serving lane: trigger words present in the item make it exact-key or session-start, absent make it a router candidate; misses correct the classifier (user, 2026-10-12); refuse rather than move a private item (roasts); AgentsMD findings prepared, Issue opened by the user until classify passes (user).
Deleted: a separate taxonomy per owner; moving refused items elsewhere.
Bottleneck: the labeled benchmark of about 100 items.
Checked myself: the private capture design, roasts and the user's decision record; the pilot's serving guesses (about 10% router, about half before-action).
Acceptance criteria
On about 100 user-labeled items, destination and lane accuracy are reported separately per class.
0 private items get a public destination.
Router-lane items are only those whose trigger words are not in the item.
AgentsMD findings are prepared for the user and never counted as applied.
Non-goals
Writing to owners (reflection Issue).
Creating router entries in the live router (handed over later).
User decisions (2026-10-12), from capture calibration round 1 (#8):
The runbook is a missing owner.~/dev/runbook (private: machine facts and the per-machine change log) belongs in the destination owner list. Lessons that are facts about a specific machine (installed versions, where a credential lives, what runs where) route there, not to a project Library or preferences. Two of the 20 round-1 items were of this kind.
AgentsMD improvements go to AgentsMD's own process. Lessons that improve how agents work in general (for example, what counts as research versus part of doing the task) route to AgentsMD as prepared findings (agentsmd-pending), never as direct writes. This matches this Issue's existing rule that AgentsMD findings are prepared for the user. Two of the 20 round-1 items were of this kind.
Both are user decisions; the round-1 item texts stay in private benchmark data.
User decisions (2026-10-12), from the discarded round 2 of capture calibration:
Most captured items were problems an agent noticed (a bug, a defect, a broken setting) shown without what the agent did next. Those are not knowledge to store; they are things to fix.
New capture outcome: defect. A noticed problem that the session does not show fixed is graded defect, not keep, state or junk. It routes to the owning repository as a proposed Issue (after checking whether an Issue already exists or the thread fixed it), never to a knowledge store. A problem that was fixed is not knowledge in itself: the fix lives in the code or configuration, and at most a lasting recipe or gotcha remains to keep.
Follow the thread to the outcome. Extraction and judging follow the thread past the item to what the agent did next (fixed, by what; worked around; still open) and record that outcome on the item. When the outcome lies outside the segment, the following events are given as read-only context.
Ruling batches show, for every item, one line on what happened next.
Status 2026-10-13: no write templates are decided yet. A design is being drafted for every owner: exact-key entries (reuse the serving format), Cue entries, PREFERENCES.md and project AGENTS.md (plain lines, user-confirmed), the runbook, Libraries and the Great Library (wanted by the user, not built yet), AgentsMD prepared findings, and defect Issues. It will be roasted by Grok and Sol, then go to the user.
Decisions (user, 2026-10-13): write templates accepted (templates v2). This replaces the 08:50 status above.
Public-repository Issues created by capture (defects and prepared findings) wait until the 30-check gate passes.
The machine runbook stays prose. A captured machine fact is one line that carries its own search words, marked "(unverified; reported )". The runbook documents machine setup and holds no Issues.
User-only fixes (hardware, accounts, billing, permissions, credentials) become Issues in the user's private personal tracker. Personal ContextMD rules also live in that private personal repository.
PREFERENCES.md and project AGENTS.md stay plain lines under existing headings.
Pointers say "Read in full", so agents use Read and not grep on pointed files.
Library (revised by the user, 2026-10-13):docs/, GLOSSARY.md and docs/adr stay where they are (human-facing, free form, no template). A project's library/ holds only ContextMD template items: agent-only knowledge (facts, procedures, tools) and short entries that point to files in docs/, such as "Read docs/adr/0003.md in full". Records do not move, and the earlier migration rule and its four-week test are deleted.
The private template and Library designs still describe two superseded choices (user-only fixes as runbook Issues, and a PREFERENCES.md pointer); they get revised to the above before anyone builds from them.
Superseded by the architecture in #84 (user decision, 2026-10-15): no capture judge, one model decision in the update step (#77), cards and one index instead of separate classify, reflect and shadow-scoring steps.
Activity
lukemaj commentedon Oct 12, 2026
User decisions (2026-10-12), from capture calibration round 1 (#8):
~/dev/runbook(private: machine facts and the per-machine change log) belongs in the destination owner list. Lessons that are facts about a specific machine (installed versions, where a credential lives, what runs where) route there, not to a project Library or preferences. Two of the 20 round-1 items were of this kind.agentsmd-pending), never as direct writes. This matches this Issue's existing rule that AgentsMD findings are prepared for the user. Two of the 20 round-1 items were of this kind.Both are user decisions; the round-1 item texts stay in private benchmark data.
lukemaj commentedon Oct 12, 2026
User decisions (2026-10-12), from the discarded round 2 of capture calibration:
Most captured items were problems an agent noticed (a bug, a defect, a broken setting) shown without what the agent did next. Those are not knowledge to store; they are things to fix.
defect. A noticed problem that the session does not show fixed is gradeddefect, not keep, state or junk. It routes to the owning repository as a proposed Issue (after checking whether an Issue already exists or the thread fixed it), never to a knowledge store. A problem that was fixed is not knowledge in itself: the fix lives in the code or configuration, and at most a lasting recipe or gotcha remains to keep.Ruling batches show, for every item, one line on what happened next.
lukemaj commentedon Oct 13, 2026
Status 2026-10-13: no write templates are decided yet. A design is being drafted for every owner: exact-key entries (reuse the serving format), Cue entries, PREFERENCES.md and project AGENTS.md (plain lines, user-confirmed), the runbook, Libraries and the Great Library (wanted by the user, not built yet), AgentsMD prepared findings, and defect Issues. It will be roasted by Grok and Sol, then go to the user.
lukemaj commentedon Oct 13, 2026
Decisions (user, 2026-10-13): write templates accepted (templates v2). This replaces the 08:50 status above.
docs/,GLOSSARY.mdanddocs/adrstay where they are (human-facing, free form, no template). A project'slibrary/holds only ContextMD template items: agent-only knowledge (facts, procedures, tools) and short entries that point to files indocs/, such as "Read docs/adr/0003.md in full". Records do not move, and the earlier migration rule and its four-week test are deleted.The private template and Library designs still describe two superseded choices (user-only fixes as runbook Issues, and a PREFERENCES.md pointer); they get revised to the above before anyone builds from them.
Merge pull request #44 from toolboxmd/feat/10-capture-apply
lukemaj commentedon Oct 15, 2026
Superseded by the architecture in #84 (user decision, 2026-10-15): no capture judge, one model decision in the update step (#77), cards and one index instead of separate classify, reflect and shadow-scoring steps.