-
Notifications
You must be signed in to change notification settings - Fork 23
feat: add Tentative Knowledge Layer for emerging patterns #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
d0d2bd8
7721876
bd77b7b
d5c2a54
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -5,9 +5,11 @@ description: | | |||||||||||||||||||||||||||||
| Triggers: (1) /claudeception command to review session learnings, (2) "save this as a skill" | ||||||||||||||||||||||||||||||
| or "extract a skill from this", (3) "what did we learn?", (4) After any task involving | ||||||||||||||||||||||||||||||
| non-obvious debugging, workarounds, or trial-and-error discovery. Creates new Claude Code | ||||||||||||||||||||||||||||||
| skills when valuable, reusable knowledge is identified. | ||||||||||||||||||||||||||||||
| skills when valuable, reusable knowledge is identified. Also captures tentative notes | ||||||||||||||||||||||||||||||
| for emerging patterns not yet ready for full skill extraction — lightweight YAML notes | ||||||||||||||||||||||||||||||
| with confidence scoring in memory/tentative/. | ||||||||||||||||||||||||||||||
| author: Claude Code | ||||||||||||||||||||||||||||||
| version: 3.0.0 | ||||||||||||||||||||||||||||||
| version: 3.1.0 | ||||||||||||||||||||||||||||||
| allowed-tools: | ||||||||||||||||||||||||||||||
| - Read | ||||||||||||||||||||||||||||||
| - Write | ||||||||||||||||||||||||||||||
|
|
@@ -110,6 +112,29 @@ Analyze what was learned: | |||||||||||||||||||||||||||||
| - What would someone need to know to solve this faster next time? | ||||||||||||||||||||||||||||||
| - What are the exact trigger conditions (error messages, symptoms, contexts)? | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| ### Step 2.5: Triage — Full Skill vs Tentative Note | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| After identifying the knowledge, decide which extraction path to take: | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| | Criteria Check | Path | | ||||||||||||||||||||||||||||||
| |---------------|------| | ||||||||||||||||||||||||||||||
| | All 4 Quality Criteria met (Reusable + Non-trivial + Specific + Verified) | **Full skill** → continue to Step 3 | | ||||||||||||||||||||||||||||||
| | Specific is met, plus at least 1 other criterion has partial evidence | **Tentative note** → see below | | ||||||||||||||||||||||||||||||
| | Specific is met but no other criterion shows even partial evidence | **Discard** — too thin to be useful | | ||||||||||||||||||||||||||||||
| | Cannot describe a clear trigger + action (Specific not met) | **Discard** — not worth capturing | | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| "Partial evidence" means at least Non-trivial or Reusable shows initial signs (e.g., "this pattern | ||||||||||||||||||||||||||||||
| likely applies elsewhere but hasn't been verified across contexts"). A 3-of-4 case (e.g., Reusable + | ||||||||||||||||||||||||||||||
| Non-trivial + Specific but not Verified) takes the tentative path — missing any criterion disqualifies | ||||||||||||||||||||||||||||||
| from full skill extraction. | ||||||||||||||||||||||||||||||
|
Comment on lines
+122
to
+129
|
||||||||||||||||||||||||||||||
| | Specific is met, plus at least 1 other criterion has partial evidence | **Tentative note** → see below | | |
| | Cannot describe a clear trigger + action (Specific not met) | **Discard** — not worth capturing | | |
| "Partial evidence" means at least Non-trivial or Reusable shows initial signs (e.g., "this pattern | |
| likely applies elsewhere but hasn't been verified across contexts"). A 3-of-4 case (e.g., Reusable + | |
| Non-trivial + Specific but not Verified) takes the tentative path — missing any criterion disqualifies | |
| from full skill extraction. | |
| | Specific is met, plus Non-trivial or Reusable has partial evidence | **Tentative note** → see below | | |
| | Cannot describe a clear trigger + action (Specific not met) | **Discard** — not worth capturing | | |
| "Partial evidence" means early signs of Non-trivial or Reusable (e.g., "this pattern | |
| likely applies elsewhere but hasn't been verified across contexts"). Verified alone does not qualify | |
| a note for the tentative path. A 3-of-4 case (e.g., Reusable + Non-trivial + Specific but not Verified) | |
| takes the tentative path — missing any criterion disqualifies from full skill extraction. |
Copilot
AI
Apr 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Promotion eligibility currently allows observations from “>= 2 distinct sessions or dates”. The PR description/test plan emphasizes distinct sessions (not just different dates), and using dates can be gamed (or accidentally satisfied by crossing midnight) without truly distinct sessions. Consider requiring distinct session identifiers/contexts, with “date” only as a fallback when session data is unavailable (and document that fallback explicitly).
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,27 @@ | ||||||
| # TEMPLATE — do not place in memory/tentative/ | ||||||
| # Tentative Knowledge Note Template for Claudeception | ||||||
| # Storage: ~/.claude/projects/<project>/memory/tentative/<name>.yaml | ||||||
| # Created by claudeception when knowledge doesn't yet meet all 4 Quality Criteria | ||||||
|
||||||
| # Created by claudeception when knowledge doesn't yet meet all 4 Quality Criteria | |
| # Created by Claudeception when knowledge doesn't yet meet all 4 Quality Criteria |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section summarizes confidence/promotion, but it doesn’t mention the anti-gaming rule that user confirmations adjust confidence but do not count as observations. Since confirmation affects promotion eligibility in the rest of the docs, it’d help to add a short note here so readers don’t assume “1 observation + confirmation” satisfies the “2+ observations” requirement.