feat(mentor): dismiss & decay Learnings (#27)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Dismissed patterns fade instead of haunting. Dismissing a Learning stamps decay state into its own frontmatter (dismissed date, dismiss_count, dismissed_at_pass — every other line preserved verbatim, hand-editable, git-diffable) and hides it from every pass: query_learnings serves only visible learnings. Resurfacing is an output clock, not a calendar — a per-type counter under <home>/learnings/pass-counts.json, ticked by every completed pass (cancels and refusals never advance, so never tick), returns the Learning after 10 subsequent passes of its content type; each re-dismiss doubles the interval (10→20→40…), and a per-Learning resurface_after frontmatter key overrides the base. Hand-edited decay state reads leniently: garbage means visible, absurd values clamp, a hand-edit can never trap the pane or the rail. The Learnings pane rows dismiss (no confirm — low-stakes, self-healing), dim while hidden with a resurfaces-in-N countdown, and foreign unclocked type dirs neither offer Dismiss nor show a verdict — their clock can never advance. Two review waves (two-axis implement review + three-reviewer finish-audit: security clean) produced five fixes, each pinned or noted in the session log. Closes #27
This commit is contained in:
1 parent
0e5c28ad95
commit
78c8844184
15 files changed
+911
-66
No files matched your search
@@ -173,7 +173,9 @@ nonisolated enum MCPServer {
|
||||
[
|
||||
[
|
||||
"name": "query_learnings",
|
||||
"description": "The piece's visible learnings — raw markdown per file, from <home>/learnings/<type>s/.",
|
||||
"description": "The piece's visible learnings — raw markdown per file, from <home>/learnings/<type>s/. "
|
||||
+ "Dismissed learnings are hidden until their decay interval (base 10 passes, doubling per "
|
||||
+ "re-dismiss; a per-Learning resurface_after frontmatter key overrides) elapses.",
|
||||
"inputSchema": [
|
||||
"type": "object",
|
||||
"properties": [
|
||||
|
||||
Reference in new issue
Block a user