A Claude Code / Codex plugin that helps you learn how to build while AI writes the code.
Python
feat: refine reasoning evaluation and rename decision checkpoints
Noah Kim413d811c6019
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 7d52d4a..df785c4 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "sensible-vibes",- "version": "0.1.11",+ "version": "0.1.12","description": "You build. AI writes. Learn how to build software while Claude writes the code.","author": { "name": "Noah Kim" },"repository": "https://github.com/nykooi1/sensible-vibes",diff --git a/README.md b/README.mdindex 731c1b9..2610663 100644--- a/README.md+++ b/README.md@@ -51,10 +51,10 @@ Claude:────────────────────────────────────────────────────────────- ✦ ✦ ✦ DECISION REVIEW - Who can change a shared list ✦ ✦ ✦+ ✦ ✦ ✦ DECISION CHECKPOINT - Who can change a shared list ✦ ✦ ✦- We'll check ownership on the server before allowing a change. Friends' viewing- access won't grant editing access. That means edits must pass through the server.+ Proposed: check ownership on the server before allowing a change. This keeps+ friends' viewing access separate from editing. Edits must pass through the server.If confirmed, we'll record this access rule. Next, we'll work through how theserver knows who's making the request; we haven't chosen that yet.diff --git a/docs/development.md b/docs/development.mdindex 8d90c18..4036f2a 100644--- a/docs/development.md+++ b/docs/development.md@@ -42,11 +42,11 @@ Launch with `claude --plugin-dir /absolute/path/to/sensible-vibes`.first, ask for clarification or propose an alternative, and confirm it stayspaused and updates the approach if needed. Select Implement this step;check it writes the code and records only evidenced learning. Restart while a- decision review is pending and confirm it preserves that pause.+ Decision Checkpoint is pending and confirm it preserves that pause.4. **Skip and adaptation:** Say “I'm completely lost.” Confirm Claude explainsthe relevant pieces and returns one manageable reasoning step, without dumpinga complete plan or repeatedly demanding guesses. Ask for an explanation or say “skip”; it should- explain and proceed to review without demanding another attempt. “Just+ explain and proceed to a Decision Checkpoint without demanding another attempt. “Justimplement it” should proceed. Make a trivial edit and confirm no checkpoint. After demonstratinga concept, check that later questions address new decisions rather than repeat it.5. **Lifecycle:** Restart, resume, `/clear`, and `/compact`. Confirm preferences,@@ -58,7 +58,7 @@ Launch with `claude --plugin-dir /absolute/path/to/sensible-vibes`.unfamiliar term means while answering a checkpoint. Claude should explain itand return to a manageable reasoning step, not bundle new architecture choicesinto an implementation approval. Use different projects to avoid overfitting.- A design-only review should offer Use this choice / Discuss first. Confirming+ A design-only Decision Checkpoint should offer Use this choice / Discuss first. Confirmingit records the choice and continues to unresolved decisions without writingapplication code. Implementation approval must name a concrete coding scope.7. **Preference versus reasoning:** Answer a checkpoint with a tentative preference@@ -68,7 +68,7 @@ Launch with `claude --plugin-dir /absolute/path/to/sensible-vibes`.8. **Diagrams:** During orientation or a system check, confirm a compact terminaldiagram shows real components and labeled flows. Unknowns and proposals muststay explicit; diagrams before reasoning must not silently decide the solution.- Checkpoints and reviews should start with a divider and bold named title+ Build and Decision Checkpoints should start with a divider and bold named titlewith three `✦` stars on each side,followed by brief context and a bold question (or native picker), with notrailing paragraphs obscuring the point where the learner should respond.@@ -93,6 +93,14 @@ Launch with `claude --plugin-dir /absolute/path/to/sensible-vibes`.resume with intermediate guidance, without rewriting history or re-onboarding.Experience must not change the saved checkpoint frequency.+12. **Evaluation and concise confirmation:** Give a confident but flawed proposal;+ Claude should name the violated constraint rather than praise confidence.+ Give a sound proposal; it should explain why and combine feedback with a concise+ Decision Checkpoint, without redundant questions. Compare two viable approaches:+ tradeoffs should be tied to the project, not a claim of one correct answer.+ The checkpoint describes a proposal until confirmed and must not invent an+ unresolved issue. No code should be written before implementation approval.+Do not commit `.sensible-vibes/` or test transcripts. The plugin recommends anignore rule during onboarding, but changes `.gitignore` only after telling theuser and receiving their instruction to make the edit.diff --git a/hooks/session_start.py b/hooks/session_start.pyindex 7d2e3e3..4dda43b 100644--- a/hooks/session_start.py+++ b/hooks/session_start.py@@ -54,8 +54,8 @@ def restore(payload):behavior = read_note(PLUGIN_ROOT / "skills/learn/behavior.md", 6500)project_map = read_note(state / "project-map.md", 1000)- # Include pending-review markers first, then a topic index. Claude reads the- # relevant bodies; restoration must not silently treat a pending review as approval.+ # Include pending-decision markers first, then a topic index. Claude reads the+ # relevant bodies; restoration must not treat a pending checkpoint as approval.progress = read_note(state / "progress.md", 16000)lines = progress.splitlines()pending = [line for line in lines if "pending decision" in line.lower()]diff --git a/skills/learn/SKILL.md b/skills/learn/SKILL.mdindex aa8a40a..7a6c54a 100644--- a/skills/learn/SKILL.md+++ b/skills/learn/SKILL.md@@ -32,7 +32,7 @@ Do not follow symlinked state directories or files; explain the issue instead.If `profile.md` exists, read it and `project-map.md`, then read only progresssections relevant to the task, including any Pending decision before coding.-Resume without repeating completed onboarding or bypassing a pending review.+Resume without repeating completed onboarding or bypassing a pending Decision Checkpoint.Set `Learning mode: active` if the user is resuming paused learning. If onboardingis incomplete, ask only the unanswered questions. Missing companion files can berecreated from evidence; never invent learning history or overwrite existing notes.diff --git a/skills/learn/behavior.md b/skills/learn/behavior.mdindex 5767a3f..f3c2454 100644--- a/skills/learn/behavior.md+++ b/skills/learn/behavior.md@@ -1,13 +1,10 @@# SensibleVibes — You build. AI writes.-Learning and ownership take priority over build speed in /learn. AI writes code;-the learner reasons through consequential decisions before seeing suggestions.-Their reasoning shapes the design, not a quiz before your predetermined plan.-Assess ideas honestly against requirements. Approval alone isn't understanding.--Help them plan connections, failure paths, and verification in plain English,-diagrams, or pseudocode, then review implementation against that plan. Success-means they can explain and challenge the design.+Learning and ownership take priority over build speed in /learn. Ask how the learner+would approach the problem before suggesting a solution. Plain English, diagrams,+or pseudocode suffice; AI writes the code. Their reasoning shapes the design, not+a quiz before your predetermined plan. Help them plan connections, failure paths,+and verification, then assess implementation against that plan.## Adapt the support@@ -15,21 +12,23 @@ means they can explain and challenge the design.- Intermediate: reduce introductory context; explore interactions and tradeoffs.- Advanced: probe difficult constraints, failure modes, and design assumptions.-All levels reason first and own decisions. Levels are starting points, not mastery;-adapt per topic using demonstrated understanding and stack familiarity. An advanced-engineer may need beginner support in a new stack. Existing profiles remain valid:-read New as Beginner and Some experience / Comfortable as Intermediate without-rewriting history or repeating onboarding. Frequency is independent of experience.+All levels reason first. Adapt per topic using demonstrated understanding and stack+familiarity, not the label alone. Frequency is independent. For existing experience+labels, read New as Beginner and Some experience / Comfortable as Intermediate;+don't rewrite history or repeat onboarding.## One decision at a timeSkip mechanical edits and mastered explanations, not new decisions using familiarconcepts. Trigger checkpoints by decisions, never time, tool calls, or file counts.+Compress the loop when reasoning is sufficient: combine feedback and confirmation,+skip redundant questions, and keep one concise Decision Checkpoint. Never compress+away the learner's first attempt or confirmation before implementation.-Establish capabilities and data needs, then outline open foundations: stack,-storage, deployment. Work in dependency order; keep unknowns in the map. A platform-label doesn't settle architecture or justify dropping capabilities. Requirements-drive design; learning goals shape explanations, not the architecture chosen.+Establish capabilities and data needs; work through stack, storage, and deployment+in dependency order. Keep unknowns in the map. Platform labels don't settle design+or justify dropping capabilities. Requirements drive architecture; learning goals+shape explanations.1. **Orient.** Open the named checkpoint. State the problem, known constraints,and only the background needed to reason. Before their attempt, don't reveal a@@ -39,52 +38,51 @@ drive design; learning goals shape explanations, not the architecture chosen.about one problem and why. Wait; don't answer it yourself, offer approval buttons,or write dependent code. Read-only inspection can establish facts; scaffoldingand dependency installation can commit design choices.-3. **Refine.** Respond to reasoning the learner actually gave; don't invent a- rationale or praise unseen understanding. For an unexplained preference, ask- about implications. If lost, explain the pieces or sketch a diagram, then return- one manageable reasoning step. Increase support without dumping a whole plan or- demanding repeated guesses. Answer questions and correct your own framing.- Recognize partial reasoning, address gaps, then compare approaches and tradeoffs.- Welcome requests for explanations, alternatives, or skips; new consequential- decisions still get a learner turn. Help isn't permission to take over.-4. **Review.** Use `✦ ✦ ✦ DECISION REVIEW - <same decision name> ✦ ✦ ✦` to summarize the- agreed approach and main tradeoff, without adding decisions. State the next- step and call AskUserQuestion: **Use this choice** / **Discuss first** records- a design choice and continues planning. Only when prerequisites are settled,+3. **Refine.** Evaluate actual reasoning, not confidence, persistence, or agreement.+ Check requirements, codebase constraints, trust boundaries, failure modes,+ operational complexity, and reversibility/flexibility. Surface only relevant+ considerations, not a checklist. Explain why an approach works or name the+ missing constraint. Compare viable alternatives without inventing a single+ correct answer. Never praise mere plausibility or invent the learner's rationale.+ For unexplained preferences, ask about implications. If lost, explain or diagram+ the pieces and return one manageable step; don't dump a plan or demand repeated+ guesses. Answer questions, correct your framing, and respect requests for help+ or skips. New consequential decisions still get a learner turn.+4. **Confirm.** Use `✦ ✦ ✦ DECISION CHECKPOINT - <same decision name> ✦ ✦ ✦`: summarize+ the proposed approach, constraints it satisfies, and main unresolved tradeoff,+ if any. Don't invent tradeoffs or add decisions. It remains proposed until+ confirmed. State the next step and use AskUserQuestion: **Use this choice**+ (record it and continue planning) or **Discuss first**. When prerequisites are settled,name the code scope and offer **Implement this step** / **Discuss first**.Wait; discussion may change the approach, then offer the choice again.-5. **Continue.** Record confirmed design choices as chosen, not implemented, and- continue to unresolved decisions. Implementation approval covers only the- named step, not the whole feature or later choices.- At a major milestone, occasionally use `✦ ✦ ✦ SYSTEM CHECK - <milestone> ✦ ✦ ✦` to ask- how the pieces fit together.+5. **Continue.** Record choices as chosen, not implemented. Approval covers only+ the named step, not later choices. At milestones, occasionally ask how the pieces+ fit together with `✦ ✦ ✦ SYSTEM CHECK - <milestone> ✦ ✦ ✦`.-Accept plain-English reasoning. AI writes code unless hands-on work is requested.-Respect explicit skips and pauses; ordinary build requests retain the learning-loop. Existing project and tool permissions still apply.+Respect requested hands-on work, skips, and pauses. Ordinary build requests retain+the learning loop. Existing project and tool permissions still apply.## InteractionAsk one focused question per turn, including requirements gathering. Use native-AskUserQuestion for setup, reviews, and multiple choice: one question, 2–4 options,+AskUserQuestion for setup, confirmations, and multiple choice: one question, 2–4 options,header at most 12 characters, `multiSelect: false`. Text menus are a fallback only;open-ended reasoning belongs in chat. All callouts use`✦ ✦ ✦ <TYPE> - <description> ✦ ✦ ✦`: divider (`---`), blank line, **bold title**,brief context, optional diagram, blank line, **bold question** or native picker.End there when awaiting input. No decorative boxes, fake animation, or shell UI.-Default Normal involves the learner in every consequential decision. Frequent adds-smaller reasoning steps; explicitly chosen Light focuses on major decisions. None-changes the ask-before-suggesting order. Default to open-ended reasoning;-offer multiple choice if requested or they're stuck. Follow onboarding.md.+Normal covers decisions materially affecting architecture, data flow, security,+reliability, flexibility, debugging, or verification. Frequent adds smaller reasoning+steps; Light focuses on major decisions. All ask before suggesting. Default Normal+and open-ended; offer multiple choice if requested or stuck. Follow onboarding.md.## Explain visually-Use small diagrams for architecture, data flow, relationships, and failure paths.-Use narrow text code blocks, labeled arrows, and actual project components. Mark-unknowns `?`; distinguish proposed, chosen, and implemented designs. Show known-pieces without revealing the answer. Update the map as decisions become real.-Skip diagrams that add no clarity. No renderer or custom UI.+Use small terminal diagrams for architecture, flows, relationships, and failures:+narrow text blocks, labeled arrows, real components, unknowns marked `?`. Distinguish+proposed, chosen, and implemented; don't reveal answers. Update the map as decisions+become real. Skip unclear diagrams. No renderer or custom UI.## Remember what mattersdiff --git a/skills/learn/state-templates.md b/skills/learn/state-templates.mdindex 9a59396..be6e62d 100644--- a/skills/learn/state-templates.md+++ b/skills/learn/state-templates.md@@ -54,7 +54,7 @@ As learning occurs, add a `## Topic` with concise bullets under Introduced,Demonstrated understanding, and Needs reinforcement. Record reasoning evidence,not quotations of a whole exchange. Consolidate repeated entries. Keep eachtopic independently readable so it can be loaded without the whole file.-While waiting on a decision review, keep a short `## Pending decision` section+While waiting on a Decision Checkpoint, keep a short `## Pending decision` sectionwith the proposed approach and what reply is awaited. Remove it once resolved.Include the checkpoint's decision name and stage: awaiting reasoning, choiceconfirmation, or implementation approval. Record confirmed choices in the mapdiff --git a/tests/test_session_start.py b/tests/test_session_start.pyindex a8c9751..8604efc 100644--- a/tests/test_session_start.py+++ b/tests/test_session_start.py@@ -74,7 +74,7 @@ class SessionStartTests(unittest.TestCase):self.assertIn("Checkpoint frequency: Light", context)self.assertIn("CLI → service.py → SQLite", context)self.assertIn("✦ BUILD CHECKPOINT", context)- self.assertIn("✦ DECISION REVIEW", context)+ self.assertIn("✦ DECISION CHECKPOINT", context)self.assertIn("HTTP request flow", context)self.assertIn("## Transactions", context)self.assertNotIn("two writes must succeed together", context)