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
+1
-1
@@ -100,7 +100,7 @@ The per-writer, per-content-type store of promoted critique patterns (`learnings
|
||||
_Avoid_: critique memory, memory (unqualified), .learnings
|
||||
|
||||
**Learning**:
|
||||
One promoted pattern in Learnings: a Fix Card's fields plus the provenance of its promotion, with decay state in frontmatter. One file per Learning, named `YYYYMMDD-<pattern-slug>.md`.
|
||||
One promoted pattern in Learnings: the card's teaching fields (pattern, problem, diagnostic question, the demonstration example when the lane is one) plus the provenance of its promotion, with decay state in frontmatter. The instance-bound evidence — the anchor quote, a mechanical replacement — stays on the card; the Learning teaches the symptom and the fix, it never re-quotes the text it came from. One file per Learning, named `YYYYMMDD-<pattern-slug>.md`.
|
||||
_Avoid_: rule, note
|
||||
|
||||
**Skip**:
|
||||
|
||||
Reference in new issue
Block a user