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
@@ -198,7 +198,9 @@ struct WorkspaceView: View {
|
||||
case .sessions:
|
||||
PlaceholderPane(title: "Sessions", detail: "Session lifecycle arrives with S2.3 (#28).")
|
||||
case .learnings:
|
||||
PlaceholderPane(title: "Learnings", detail: "Promote, consult, and decay arrive with S4 (#26, #27).")
|
||||
// #26: list-only pane over <home>/learnings/ — read side;
|
||||
// promoting a fix card (the fix-card rail) writes the files.
|
||||
LearningsPaneView(home: gate.museionHome)
|
||||
case .archive:
|
||||
// #108: list-only pane — clicking a row selects the piece and
|
||||
// hops to Posts where its editor lives.
|
||||
|
||||
Reference in new issue
Block a user