feat(mentor): promote & consult Learnings (#26)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Only the writer's explicit confirmation promotes a Fix Card into a Learning — one confirm, one entry, never a repetition counter. The Learning is a plain markdown file under <home>/learnings/<type>s/ carrying the card's teaching fields (pattern, problem, diagnostic question, the demonstration example) plus promotion provenance; the instance-bound anchor and mechanical replacement stay on the card. Every pass consults these files via query_learnings; the Learnings pane replaces its placeholder. Promote consults the on-disk card as the truth and rejects symlinked learnings paths before any write (finish-audit round). Dismiss/decay follows in #27. Closes #26
This commit is contained in:
1 parent
154bb8a114
commit
0e5c28ad95
18 files changed
+1133
-82
No files matched your search
@@ -76,6 +76,7 @@ From the 2026-08-28 sessions (Sudowrite/Muse learnings; issues #9, #10). None of
|
||||
- **Reader-simulation session flavor** — three simulated readers: what landed, where they stopped. Fills the reader-psych shelf with a prompt pack.
|
||||
- **Demonstrator-model audition (optional)** — Claude Fable 5 (human-judged #1 on the Hemingway bench; GLM-5.3's nearest register neighbor, stronger emotional depth) and Muse Glimmer 30B (Apache-2.0 open weights, one 24 GB GPU; credible community prose reputation, unlisted on EQ-Bench — audition-tier) vs the `zai/glm-5.3` pin: same draft, same skills, one session each; actors, not authors — the winner executes the doctrine best. Glimmer doubles as a local-engine candidate for the ADR-0007 swap seam (fully-on-device critique story).
|
||||
- **Dedicated lint repair model** (GPT-5.6-line) if the lint ever grows a repair loop — curiosity only.
|
||||
- **LLM-authored Learning text** (considered at #26, 2026-10-21): generate the promoted Learning via an engine call instead of the deterministic transform. Parked — the card fields are already persona-authored generalizations (promote is format conversion, not thinking), the ask's preview must equal what lands, promote stays a local atomic op (works engine-down), and deterministic output is what makes learnings git-diffable. Revisit only if card fields prove to generalize badly in practice — the first fix is pass-persona doctrine, not a generation hop. The interesting variant — one living Learning per pattern, synthesized across promotions — fights one-confirm-one-entry; separate idea.
|
||||
- **Writer-issued placeholders** — inline flag + note, panel, research-pass resolver (Neo learnings, 2026-10-08): a Neo-style placeholder is a writer-issued anchor — the same quote-anchored span machinery Fix Cards use (#25/M2), issued by the writer instead of the mentor; the M5 research pass is its natural resolver. Revisit when anchors (#25) and research (M5) both exist; until then markdown itself is the placeholder (`[[TODO:]]`).
|
||||
|
||||
## User stories
|
||||
@@ -105,7 +106,7 @@ From the 2026-08-28 sessions (Sudowrite/Muse learnings; issues #9, #10). None of
|
||||
|
||||
### Persistent critique memory — the load-bearing feature (M3)
|
||||
|
||||
- **S4.1 — Promote by confirmation.** As the writer, only my explicit confirmation promotes a fix card into persistent critique memory — never a raw repetition counter. *AC:* one confirm = one entry, carrying the fix-card fields plus provenance.
|
||||
- **S4.1 — Promote by confirmation.** As the writer, only my explicit confirmation promotes a fix card into persistent critique memory — never a raw repetition counter. *AC:* one confirm = one entry, carrying the card's teaching fields (pattern, problem, diagnostic question, demonstration example) plus provenance — instance-bound evidence (anchor, mechanical replacement) stays on the card (revised 2026-10-21: the Learning teaches the symptom/fix, never re-quotes the originating text).
|
||||
- **S4.2 — Dismiss with decay.** As the writer, dismissed patterns fade instead of haunting me. *AC:* a dismissed learning resurfaces after 10 subsequent passes of that content type (output-clock, not calendar); each re-dismiss doubles the interval (10→20→40…); per-learning `resurface_after` frontmatter overrides the base.
|
||||
- **S4.3 — The mentor remembers.** As the writer, every future pass consults my critique memory, so recurring weaknesses surface as fix cards. *AC:* stored as plain markdown in the Home's `learnings/posts/` (ADR-0005) — one file per learning (`YYYYMMDD-<pattern-slug>.md`), human-readable, diffable and exportable.
|
||||
- **S4.4 — Mine alone.** As the writer, my memory is per-writer and portable. *AC:* lives in the Museion Home as plain files; fresh start in v1 — no legacy import (verified: the hand-maintained MEMORY.md carries agent-tooling notes, no writing learnings).
|
||||
|
||||
Reference in new issue
Block a user