What this adds
shed teach — interactive correction mode where the user explicitly tells shed it got something wrong and explains why. The explanation feeds the ranking model.
Spec
- After any session,
shed teach opens a TUI showing:
- Last 10 prompts + what was injected
- "Was injection X right? [y/n/explain]"
- On "explain", user types why the injection was wrong
- Shed:
- Logs the corrected pairing to
~/.shed/state/teaching.jsonl
- Adjusts per-memory injection score (immediate)
- If the explanation reveals a pattern, files an internal proposal to update ranking weights (queued for morning brief)
shed teach --batch for power users — process all uncited injections in one go
Acceptance
Privacy
- User explanations stay local
- Sensitive corrections can be marked
--ephemeral (not persisted, just affects current session)
What this adds
shed teach— interactive correction mode where the user explicitly tells shed it got something wrong and explains why. The explanation feeds the ranking model.Spec
shed teachopens a TUI showing:~/.shed/state/teaching.jsonlshed teach --batchfor power users — process all uncited injections in one goAcceptance
Privacy
--ephemeral(not persisted, just affects current session)