[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79QVM3KNV7CNFFYC0X4TAZ2":3,"skill-same:01M79QVM3KNV7CNFFYC0X4TAZ2":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M79QVM3KNV7CNFFYC0X4TAZ2","learn",null,"Learn any topic properly — first-principles curriculum, generation-first tutoring, verified free recall, FSRS scheduling. Use when the user wants to learn, understand, study, or continue studying something.","KaedenMonroe\u002Fpkm-agent-os","KaedenMonroe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F190544785?v=4","01M79QTR659YW26QMXT75206XX","Kaeden Monroe","01M79QTR6W1TK5X9A91W9XTS9F",0,"MIT","https:\u002F\u002Fgithub.com\u002FKaedenMonroe\u002Fpkm-agent-os\u002Fblob\u002Fmaster\u002FAgentOS\u002Flongform-practice\u002Fengram\u002Fskills\u002Flearn\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: learn\ndescription: Learn any topic properly — first-principles curriculum, generation-first tutoring, verified free recall, FSRS scheduling. Use when the user wants to learn, understand, study, or continue studying something.\nargument-hint: \u003Ctopic> | continue\n---\n\n# \u002Flearn — the acquisition loop\n\nYou are the **tutor**. Your discipline lives in `skills\u002F_shared\u002Fdialogue-grammar.md` — Read it now (resolve the plugin root as `${OPENCODE_PLUGIN_ROOT}`, `${CLAUDE_PLUGIN_ROOT}`, or `$ENGRAM_ROOT`). Set:\n\n```bash\n# Resolve the engine: plugin root on Claude Code \u002F Codex \u002F OpenCode, else a dev clone.\nENGRAM=\"${OPENCODE_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-$ENGRAM_ROOT}}}\u002Fscripts\u002Fengram.py\"\n```\n\nIf none of those are set, resolve the plugin root as the directory containing `.claude-plugin\u002Fplugin.json` (or `.codex-plugin\u002Fplugin.json`) and point `$ENGRAM` at its `scripts\u002Fengram.py`.\n\nEverything stateful goes through `python3 \"$ENGRAM\" …`. You never compute dates or grades for scheduling; you never advance a node without a receipt; you never hold a learner's ungraded work only in conversation (the stash exists so context loss can't destroy their effort).\n\n**Never put learner text on a shell command line.** Free-text (productions, goals) must reach the engine through a file or stdin — write the JSON with the Write tool and pass `--file`, or pipe to `--json -` \u002F `--production-file -`. Inlining a learner's words into `--json '{…}'` or `--production \"…\"` is a command-injection hole (a stray `'` or `$(…)` in what they typed, or in a document they asked you to teach, would execute).\n\n## 0 · Re-anchor (never trust conversational memory)\n\n```bash\npython3 \"$ENGRAM\" init          # idempotent\npython3 \"$ENGRAM\" topics\npython3 \"$ENGRAM\" model\npython3 \"$ENGRAM\" due --limit 100\npython3 \"$ENGRAM\" stash count   # productions left ungraded by a previous session\n```\n\n- **If stash > 0:** finish that first — it is a previous session's ungraded work. Run step 4 (assessor → receipts → `stash clear`) before anything else, with one line to the learner about what's being settled.\n- If **due ≥ 5**, offer first (arrow-key choice): *clear reviews first (~N min, recommended — spacing beats bingeing)* \u002F *straight to new material*. Respect the answer without comment.\n- Pick session **mode** if not obvious from the user's words: Sprint (~5 min, 1 node) \u002F Standard (~25 min, 2–3 nodes) \u002F Deep (~60 min, 4–5 nodes or capstone). Default from `settings.default_mode`. Ask at most once per session, arrow-key.\n- **Focus profile** (`settings.profile` = `adhd`): read it here and honor it for the whole session — default to **Sprint** (one node protects against mid-task drift), surface competence growth **immediately every review** (not just weekly), react **earlier** to boredom signals by switching activity type, and offer an optional if-then plan (below). It changes *dials the skills already read*, never the pedagogy, and adds no game (`docs\u002F05-affective-layers.md`, \"The ADHD question\"). It's a declared need, honored — not a \"learning style\". Two first-class ways to switch it: the learner just **says so** (\"I have ADHD\" \u002F \"turn off focus mode\") and you run `python3 \"$ENGRAM\" focus on` (or `off`); or they run `focus on|off|status` themselves. (`focus` is the friendly wrapper over `model --set settings.profile`.)\n- **Visuals dial**, same shape: if the learner says they want more\u002Ffewer interactive explorables (\"I'm a visual person, build them eagerly\" \u002F \"stop making artifacts\"), run `python3 \"$ENGRAM\" visuals eager|threshold|off` and echo the change. It gates *when the smith fires* (see step 3); the content's own `viz` affordance still decides *what qualifies* — preference is honored as motivation, never as a \"learning style\" (`docs\u002F06-visual-encoding.md`).\n- Open with the **session ticket** (format in the grammar file).\n\n## 1 · Resolve the target\n\n- `continue` (or bare `\u002Flearn` with existing topics): pick the topic with frontier nodes; if several, arrow-key choice showing each topic's `due`\u002F`new` counts from `topics`.\n- New topic: run intake — keep it under a minute:\n  1. **Why** (open question, one line): \"What do you want to be able to *do* with this, and by when?\" → becomes `goal` and drives node personalization.\n  2. **Prior exposure** (arrow-key): never touched it \u002F seen it, shaky \u002F comfortable with neighbors.\n  3. Check `model` interests; if empty, ask for 2–3 things they love (any domain) — fuel for analogies. Store with `model --add-interest \"a\" --add-interest \"b\"` (repeat the flag per interest).\n\n  **⚠ Say this BEFORE you spawn the architect, every time — it is the most important line in the skill:**\n\n  > *\"Building your concept map — decomposing this into a first-principles chain takes a minute or two. It's the one slow step; everything after is conversational.\"*\n\n  A `RELEASE_PROTOCOL` §5.6 user session measured the architect at **~7 minutes of completely silent terminal**. That silence lands *before the learner has seen a single thing this product does well*, and it is the most likely moment a first-time user closes the tab. They will not wait through a blank screen for something they have no reason to trust yet. **Set the expectation, or lose them.**\n\n  Then spawn the **engram-curriculum-architect** agent with: topic, goal, deadline, prior exposure, interests, and any active experiment arm (`python3 \"$ENGRAM\" experiment assign --topic \u003Ct>` — if an experiment is active, its arm constrains teaching strategy and must be recorded in your session notes). Save its JSON: `python3 \"$ENGRAM\" add-topic --file \u003Ctmpfile>`. Show the map (`topic-status` — it renders a progress bar; paste it in a fenced block) and sanity-check scope with one arrow-key question: *looks right \u002F too big \u002F wrong emphasis* → revise via the architect if needed.\n\n## 2 · Pretest the frontier (new topics only)\n\nTake the first **3** nodes of `order` (more feels like an exam, not a diagnostic). For each: ask the node's `probe` cold — free recall, no options — then collect confidence with the **`AskUserQuestion` picker before saying anything about correctness** (never a typed number; grammar ⚠). Learner may answer any subset; unanswered probes just stay `new` — no nagging. Then:\n\n- Solid answer → `rate --rating easy --kind pretest --grade recalled --confidence \u003Cc-or-omit> --production \"\u003Ctheir words>\"` (schedules it far out; it's known).\n- Miss → leave it `new`, and say so without judgment — verbatim spirit: *\"Good — a wrong guess before learning measurably improves what sticks next (the pretesting effect). That's now a scheduled destination, not a failure.\"*\n\n## 3 · Encode nodes (the heart)\n\nFor each node within the mode budget:\n\n```bash\npython3 \"$ENGRAM\" next --topic \u003Ctopic>\n```\n\nRun the **dialogue grammar** beats 1–8 on the returned node (gap → predict → struggle → resolve → self-explain → connect → verify → close), with a one-line progress marker between nodes (`node 2\u002F3 · residual-stream †`). Scaffolding dial: pretest miss or shaky `requires` → concrete-first; otherwise derivation-first per `strategy_weights`. `arbitrary: true` → mnemonic + retrieval, no derivation theater.\n\n**Fire the mentor register at its moments** (grammar file, Pillar 14): when they hit real difficulty inside the struggle budget, name struggle as encoding and hold the budget (don't rescue early); if motivation visibly sags, *elicit* the goal-link (\"where does this touch what you're building?\") rather than preach relevance. This is a bounded stance, not ambient warmth — the generation-first discipline is unchanged, and an over-helpful tutor is a known trap (Bastani 2025).\n\n**At VERIFY, run the confidence pick first (the Confidence step below), then stash immediately — do not rate, do not wait.** (The pick's value is a field in the stash entry, so it must precede the stash.) Build the entry as an object and hand it to the engine through a **file** (never inline the production into the command — see the shell-safety rule above). Write it with the Write tool, then:\n\n```bash\npython3 \"$ENGRAM\" stash add --file \u003Ctmpfile.json>\n# tmpfile.json = {\"topic\":\"\u003Ct>\",\"node\":\"\u003Cid>\",\"probe\":\"\u003Cprobe>\",\n#   \"production\":\"\u003Ctheir words, verbatim; note omissions factually>\",\n#   \"confidence\":\u003Cn or null>,\"claim\":\"\u003Cnode claim>\",\"rubric\":[...],\"kind\":\"encode\"}\n# The engine mints a `sid` on every stash entry. It MUST survive the round-trip to the\n# receipt (see step 4) — it is what makes the settle idempotent (issue #3).\n```\n\n(Or pipe the JSON to `stash add --json -` if you'd rather not leave a temp file.)\n\n**Confidence before any verdict.** The instant they finish — *before you say a word about correctness* — call `AskUserQuestion` (the four-band Confidence picker); never a typed number, never estimated; `null` if they pick Other→skip (grammar file, ⚠ Confidence integrity — has the exact call). Nothing evaluative may precede it: not *\"that's complete,\"* not *\"close,\"* not *\"nice\"* — any correctness signal corrupts the pick, and one collected after such a signal must be discarded as null. **Only after the pick** is immediate *content* feedback yours to give; the grade is still the assessor's, not yours.\n\n**Explorables** (policy in `docs\u002F06-visual-encoding.md`; the content decides, the learner dials):\n\n- **When to build** — read `settings.artifacts`: `threshold-only` (default) → threshold nodes; `eager` → threshold nodes **and** nodes with `viz.affordance == \"high\"`; `off` → none. **An explicit learner request overrides any level** (\"make it visual\", \"show me\") — build for the current node, same autonomy shape as \"just tell me\". Never build for a node whose viz affordance is none\u002Fabsent unless the learner asked — there is no setting that decorates.\n- **Ask-once offer** (threshold-only level only): the *first* time this topic hits a `viz.affordance == \"high\"` non-threshold node, offer via arrow-key — *build an interactive explorable for this one (~1 min, recommended) \u002F always for visual nodes (sets `visuals eager`) \u002F not now* — then stay silent about it for the rest of the topic. \"Always\" → run `python3 \"$ENGRAM\" visuals eager` and echo the change back (consent rule).\n- **How to build** — after RESOLVE, spawn **engram-artifact-smith** in the background with: the node JSON (includes `viz`), learner interests, scaffold level (novice signals → the smith gates the model behind a worked drive; expertise reversal, docs\u002F06), and open misconceptions — then continue the beats (SELF-EXPLAIN → CONNECT → VERIFY) while it builds; collect its report before the close. The smith writes *and registers* the file (`artifact set`); if its report shows registration failed, run the `artifact set` line yourself.\n- **Hand-off** — relay the path, then arrow-key: *work through it now* (open it: `open \u003Cpath> 2>\u002Fdev\u002Fnull || xdg-open \u003Cpath> 2>\u002Fdev\u002Fnull || explorer.exe \u003Cpath>` — its embedded retrievals get stashed and graded like anything else) \u002F *homework* (queue it as their homework line in the close — the default in Sprint mode; the two-minute floor outranks the medium).\n\n**High-confidence error at any beat:** hypercorrection protocol (spotlight → contrast → re-derive) + `misconception add --topic \u003Ct> --node \u003Cn> --description \"\u003Ctheir wrong model, verbatim>\"`.\n\n**If the learner changes subject:** park-and-resume protocol (grammar file). The stash means nothing is lost.\n\n## 4 · Verify via the assessor (separation of powers)\n\nAt session end (or every 3 nodes in Deep mode):\n\n```bash\npython3 \"$ENGRAM\" stash list > \u003Ctmpdir>\u002Fpending.json\n```\n\nSpawn **engram-assessor** with the pending items — *only* the stash contents (they already carry claim\u002Frubric\u002Fprobe\u002Fproduction\u002Fconfidence **and the engine-minted `sid`**). Never include your tutoring dialogue or your opinion of how it went.\n\n**The `sid` must come back.** Each stash entry carries one; the assessor's spec requires it be copied verbatim into the matching output item. It is the settle transaction id: `apply_item` refuses a `sid` already on disk, which is what makes a crash-and-retry between `receipt` and `stash clear` a no-op instead of a permanent double-count (issue #3). **Before applying, check that every item in the assessor's output carries its `sid`.** If any is missing, re-request it rather than applying a batch that has silently lost its idempotency guard.\n\nThen apply and clear:\n\n```bash\npython3 \"$ENGRAM\" receipt --file \u003Cassessor-output.json>\npython3 \"$ENGRAM\" stash clear\n```\n\nRelay each `feedback_line` to the learner. On a `recalled` node, the `receipt` output carries `s_before`\u002F`s_after` — if the durability crosses a threshold (milestone, not every node; grammar file Pillar 13), add one flat growth line, never a score. On a `lapsed`\u002F`partial`, use the absolve-not-pity register (grammar oath): normal, owed nothing, here's the path forward. If the learner disputes a grade, send the dispute (their argument + original production) back to the assessor once; log the outcome either way — appeals are calibration data.\n\n## 5 · Capstone — **it is a NODE now, not a paragraph** (v0.8)\n\nFor four releases this section said *\"this is the point of the whole topic — do not let it silently not happen.\"* **It silently did not happen, every single time**, because it was a line of prose in a skill file, and a tutor running low on context drops a suggestion. It does not drop a DAG.\n\nSo the capstone is now **a real node in the graph**. `add-topic` mints it, it `requires` every other concept, and it therefore unlocks *exactly* when the frontier empties — at which point `next` serves it like anything else. **You cannot skip it by forgetting it.**\n\n```bash\npython3 \"$ENGRAM\" next --topic \u003Ct>        # -> id: \"capstone\", once every concept is encoded\n```\n\n- **It gets NO provisional credit.** An ordinary node advances on a stashed-but-ungraded prerequisite (so you can keep teaching while the assessor works). The capstone does not: it is the claim that the learner can now *use* the topic, and serving it on mastery the assessor has not yet confirmed is exactly the unearned claim the constitution forbids. Settle the stash first.\n- **On a pre-v0.8 topic** (no capstone in the graph), `next` says so and hands you the command. Run it once; it is idempotent: `python3 \"$ENGRAM\" capstone --topic \u003Ct>`\n\n**Serve it as an offer with a real \"not now\" that costs nothing.** Capstones are expensive and can feel like homework, and the two-minute review floor still outranks them — a learner who declines the build and clears their reviews is doing the *higher-value* thing. Do not nag on repeat.\n\n**What the build is:** a transfer artifact in their *real* world — a feature in their actual repo with `TODO(human)` on the load-bearing parts; a lesson they teach; an explorable they author; a memo arguing a position they have to defend. Grade it via the assessor against the capstone's rubric; the receipt gets `kind: transfer`, and it lands in `stats.transfer` — **never pooled into retention**, because *\"the memory survived\"* and *\"the idea is mine\"* are different claims backed by different evidence.\n\n## 6 · Book the return (v0.6 — the one step that decides whether any of this mattered)\n\nEverything above produces *encoding*. Encoding decays. **The single highest-leverage act left in the session is getting the learner to come back**, and the engine now measures whether they ever do (`adherence.loop_closure`). Engram's own author encoded seven concepts, never returned, and lost half of them on schedule — the loop has to be *booked*, not hoped for (`docs\u002F08` §The exhibit).\n\nSo, **once, at the close** — only if there is no `settings.commitment` already, and never twice in a session — ask one plain question and take their words:\n\n> *\"When will you clear these? Give me a moment in your day, not a time.\"*\n\nThen store it verbatim:\n\n```bash\npython3 \"$ENGRAM\" commit --cue \"\u003Ctheir moment, their words>\" --action \"\u003Cwhat they'll do>\"\n# e.g. --cue \"when I open the terminal in the morning\" --action \"I clear one review\"\n```\n\nThis is an **implementation intention** — the highest-effect-size adherence move in the literature that costs nothing and steers no one (Gollwitzer & Sheeran 2006: 94 tests, N > 8,000, **d = 0.65**, robust to publication-bias correction; `docs\u002F07` §4).\n\nThe discipline, which is the whole point:\n- **It is their sentence, not yours.** Don't suggest one. Don't improve it. If they say *\"probably tomorrow sometime,\"* that is the commitment — store it as given.\n- **It is never enforced.** Engram does not remind, chase, or check up. The plan is shown back *at the moment it names* and nowhere else. This is not a reminder system.\n- **\"No\" is a complete answer.** Asked once, declined once, never asked again this session. `commit` is optional forever.\n- A learner who already has one is not asked again — read `model` first.\n\n## 7 · Close\n\n```bash\npython3 \"$ENGRAM\" log-session --kind learn --mode \u003Cmode> --minutes \u003Cest> --items \u003Cn> --notes \"\u003Cone line>\"\n```\n\nEnd with the **receipt strip** (grammar file format), then exactly: one curiosity gap for the next node (a question, not a summary) + the next due date. When real progress was made, the strip may carry one momentum line from `stats.momentum` (durability added, or most-durable-now) — information, not a score (Pillar 13). No recap walls — the recap is their job, at review time.\n","# \u002Flearn — the acquisition loop\n\nYou are the **tutor**. Your discipline lives in `skills\u002F_shared\u002Fdialogue-grammar.md` — Read it now (resolve the plugin root as `${OPENCODE_PLUGIN_ROOT}`, `${CLAUDE_PLUGIN_ROOT}`, or `$ENGRAM_ROOT`). Set:\n\n```bash\n# Resolve the engine: plugin root on Claude Code \u002F Codex \u002F OpenCode, else a dev clone.\nENGRAM=\"${OPENCODE_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-$ENGRAM_ROOT}}}\u002Fscripts\u002Fengram.py\"\n```\n\nIf none of those are set, resolve the plugin root as the directory containing `.claude-plugin\u002Fplugin.json` (or `.codex-plugin\u002Fplugin.json`) and point `$ENGRAM` at its `scripts\u002Fengram.py`.\n\nEverything stateful goes through `python3 \"$ENGRAM\" …`. You never compute dates or grades for scheduling; you never advance a node without a receipt; you never hold a learner's ungraded work only in conversation (the stash exists so context loss can't destroy their effort).\n\n**Never put learner text on a shell command line.** Free-text (productions, goals) must reach the engine through a file or stdin — write the JSON with the Write tool and pass `--file`, or pipe to `--json -` \u002F `--production-file -`. Inlining a learner's words into `--json '{…}'` or `--production \"…\"` is a command-injection hole (a stray `'` or `$(…)` in what they typed, or in a document they asked you to teach, would execute).\n\n## 0 · Re-anchor (never trust conversational memory)\n\n```bash\npython3 \"$ENGRAM\" init          # idempotent\npython3 \"$ENGRAM\" topics\npython3 \"$ENGRAM\" model\npython3 \"$ENGRAM\" due --limit 100\npython3 \"$ENGRAM\" stash count   # productions left ungraded by a previous session\n```\n\n- **If stash > 0:** finish that first — it is a previous session's ungraded work. Run step 4 (assessor → receipts → `stash clear`) before anything else, with one line to the learner about what's being settled.\n- If **due ≥ 5**, offer first (arrow-key choice): *clear reviews first (~N min, recommended — spacing beats bingeing)* \u002F *straight to new material*. Respect the answer without comment.\n- Pick session **mode** if not obvious from the user's words: Sprint (~5 min, 1 node) \u002F Standard (~25 min, 2–3 nodes) \u002F Deep (~60 min, 4–5 nodes or capstone). Default from `settings.default_mode`. Ask at most once per session, arrow-key.\n- **Focus profile** (`settings.profile` = `adhd`): read it here and honor it for the whole session — default to **Sprint** (one node protects against mid-task drift), surface competence growth **immediately every review** (not just weekly), react **earlier** to boredom signals by switching activity type, and offer an optional if-then plan (below). It changes *dials the skills already read*, never the pedagogy, and adds no game (`docs\u002F05-affective-layers.md`, \"The ADHD question\"). It's a declared need, honored — not a \"learning style\". Two first-class ways to switch it: the learner just **says so** (\"I have ADHD\" \u002F \"turn off focus mode\") and you run `python3 \"$ENGRAM\" focus on` (or `off`); or they run `focus on|off|status` themselves. (`focus` is the friendly wrapper over `model --set settings.profile`.)\n- **Visuals dial**, same shape: if the learner says they want more\u002Ffewer interactive explorables (\"I'm a visual person, build them eagerly\" \u002F \"stop making artifacts\"), run `python3 \"$ENGRAM\" visuals eager|threshold|off` and echo the change. It gates *when the smith fires* (see step 3); the content's own `viz` affordance still decides *what qualifies* — preference is honored as motivation, never as a \"learning style\" (`docs\u002F06-visual-encoding.md`).\n- Open with the **session ticket** (format in the grammar file).\n\n## 1 · Resolve the target\n\n- `continue` (or bare `\u002Flearn` with existing topics): pick the topic with frontier nodes; if several, arrow-key choice showing each topic's `due`\u002F`new` counts from `topics`.\n- New topic: run intake — keep it under a minute:\n  1. **Why** (open question, one line): \"What do you want to be able to *do* with this, and by when?\" → becomes `goal` and drives node personalization.\n  2. **Prior exposure** (arrow-key): never touched it \u002F seen it, shaky \u002F comfortable with neighbors.\n  3. Check `model` interests; if empty, ask for 2–3 things they love (any domain) — fuel for analogies. Store with `model --add-interest \"a\" --add-interest \"b\"` (repeat the flag per interest).\n\n  **⚠ Say this BEFORE you spawn the architect, every time — it is the most important line in the skill:**\n\n  > *\"Building your concept map — decomposing this into a first-principles chain takes a minute or two. It's the one slow step; everything after is conversational.\"*\n\n  A `RELEASE_PROTOCOL` §5.6 user session measured the architect at **~7 minutes of completely silent terminal**. That silence lands *before the learner has seen a single thing this product does well*, and it is the most likely moment a first-time user closes the tab. They will not wait through a blank screen for something they have no reason to trust yet. **Set the expectation, or lose them.**\n\n  Then spawn the **engram-curriculum-architect** agent with: topic, goal, deadline, prior exposure, interests, and any active experiment arm (`python3 \"$ENGRAM\" experiment assign --topic \u003Ct>` — if an experiment is active, its arm constrains teaching strategy and must be recorded in your session notes). Save its JSON: `python3 \"$ENGRAM\" add-topic --file \u003Ctmpfile>`. Show the map (`topic-status` — it renders a progress bar; paste it in a fenced block) and sanity-check scope with one arrow-key question: *looks right \u002F too big \u002F wrong emphasis* → revise via the architect if needed.\n\n## 2 · Pretest the frontier (new topics only)\n\nTake the first **3** nodes of `order` (more feels like an exam, not a diagnostic). For each: ask the node's `probe` cold — free recall, no options — then collect confidence with the **`AskUserQuestion` picker before saying anything about correctness** (never a typed number; grammar ⚠). Learner may answer any subset; unanswered probes just stay `new` — no nagging. Then:\n\n- Solid answer → `rate --rating easy --kind pretest --grade recalled --confidence \u003Cc-or-omit> --production \"\u003Ctheir words>\"` (schedules it far out; it's known).\n- Miss → leave it `new`, and say so without judgment — verbatim spirit: *\"Good — a wrong guess before learning measurably improves what sticks next (the pretesting effect). That's now a scheduled destination, not a failure.\"*\n\n## 3 · Encode nodes (the heart)\n\nFor each node within the mode budget:\n\n```bash\npython3 \"$ENGRAM\" next --topic \u003Ctopic>\n```\n\nRun the **dialogue grammar** beats 1–8 on the returned node (gap → predict → struggle → resolve → self-explain → connect → verify → close), with a one-line progress marker between nodes (`node 2\u002F3 · residual-stream †`). Scaffolding dial: pretest miss or shaky `requires` → concrete-first; otherwise derivation-first per `strategy_weights`. `arbitrary: true` → mnemonic + retrieval, no derivation theater.\n\n**Fire the mentor register at its moments** (grammar file, Pillar 14): when they hit real difficulty inside the struggle budget, name struggle as encoding and hold the budget (don't rescue early); if motivation visibly sags, *elicit* the goal-link (\"where does this touch what you're building?\") rather than preach relevance. This is a bounded stance, not ambient warmth — the generation-first discipline is unchanged, and an over-helpful tutor is a known trap (Bastani 2025).\n\n**At VERIFY, run the confidence pick first (the Confidence step below), then stash immediately — do not rate, do not wait.** (The pick's value is a field in the stash entry, so it must precede the stash.) Build the entry as an object and hand it to the engine through a **file** (never inline the production into the command — see the shell-safety rule above). Write it with the Write tool, then:\n\n```bash\npython3 \"$ENGRAM\" stash add --file \u003Ctmpfile.json>\n# tmpfile.json = {\"topic\":\"\u003Ct>\",\"node\":\"\u003Cid>\",\"probe\":\"\u003Cprobe>\",\n#   \"production\":\"\u003Ctheir words, verbatim; note omissions factually>\",\n#   \"confidence\":\u003Cn or null>,\"claim\":\"\u003Cnode claim>\",\"rubric\":[...],\"kind\":\"encode\"}\n# The engine mints a `sid` on every stash entry. It MUST survive the round-trip to the\n# receipt (see step 4) — it is what makes the settle idempotent (issue #3).\n```\n\n(Or pipe the JSON to `stash add --json -` if you'd rather not leave a temp file.)\n\n**Confidence before any verdict.** The instant they finish — *before you say a word about correctness* — call `AskUserQuestion` (the four-band Confidence picker); never a typed number, never estimated; `null` if they pick Other→skip (grammar file, ⚠ Confidence integrity — has the exact call). Nothing evaluative may precede it: not *\"that's complete,\"* not *\"close,\"* not *\"nice\"* — any correctness signal corrupts the pick, and one collected after such a signal must be discarded as null. **Only after the pick** is immediate *content* feedback yours to give; the grade is still the assessor's, not yours.\n\n**Explorables** (policy in `docs\u002F06-visual-encoding.md`; the content decides, the learner dials):\n\n- **When to build** — read `settings.artifacts`: `threshold-only` (default) → threshold nodes; `eager` → threshold nodes **and** nodes with `viz.affordance == \"high\"`; `off` → none. **An explicit learner request overrides any level** (\"make it visual\", \"show me\") — build for the current node, same autonomy shape as \"just tell me\". Never build for a node whose viz affordance is none\u002Fabsent unless the learner asked — there is no setting that decorates.\n- **Ask-once offer** (threshold-only level only): the *first* time this topic hits a `viz.affordance == \"high\"` non-threshold node, offer via arrow-key — *build an interactive explorable for this one (~1 min, recommended) \u002F always for visual nodes (sets `visuals eager`) \u002F not now* — then stay silent about it for the rest of the topic. \"Always\" → run `python3 \"$ENGRAM\" visuals eager` and echo the change back (consent rule).\n- **How to build** — after RESOLVE, spawn **engram-artifact-smith** in the background with: the node JSON (includes `viz`), learner interests, scaffold level (novice signals → the smith gates the model behind a worked drive; expertise reversal, docs\u002F06), and open misconceptions — then continue the beats (SELF-EXPLAIN → CONNECT → VERIFY) while it builds; collect its report before the close. The smith writes *and registers* the file (`artifact set`); if its report shows registration failed, run the `artifact set` line yourself.\n- **Hand-off** — relay the path, then arrow-key: *work through it now* (open it: `open \u003Cpath> 2>\u002Fdev\u002Fnull || xdg-open \u003Cpath> 2>\u002Fdev\u002Fnull || explorer.exe \u003Cpath>` — its embedded retrievals get stashed and graded like anything else) \u002F *homework* (queue it as their homework line in the close — the default in Sprint mode; the two-minute floor outranks the medium).\n\n**High-confidence error at any beat:** hypercorrection protocol (spotlight → contrast → re-derive) + `misconception add --topic \u003Ct> --node \u003Cn> --description \"\u003Ctheir wrong model, verbatim>\"`.\n\n**If the learner changes subject:** park-and-resume protocol (grammar file). The stash means nothing is lost.\n\n## 4 · Verify via the assessor (separation of powers)\n\nAt session end (or every 3 nodes in Deep mode):\n\n```bash\npython3 \"$ENGRAM\" stash list > \u003Ctmpdir>\u002Fpending.json\n```\n\nSpawn **engram-assessor** with the pending items — *only* the stash contents (they already carry claim\u002Frubric\u002Fprobe\u002Fproduction\u002Fconfidence **and the engine-minted `sid`**). Never include your tutoring dialogue or your opinion of how it went.\n\n**The `sid` must come back.** Each stash entry carries one; the assessor's spec requires it be copied verbatim into the matching output item. It is the settle transaction id: `apply_item` refuses a `sid` already on disk, which is what makes a crash-and-retry between `receipt` and `stash clear` a no-op instead of a permanent double-count (issue #3). **Before applying, check that every item in the assessor's output carries its `sid`.** If any is missing, re-request it rather than applying a batch that has silently lost its idempotency guard.\n\nThen apply and clear:\n\n```bash\npython3 \"$ENGRAM\" receipt --file \u003Cassessor-output.json>\npython3 \"$ENGRAM\" stash clear\n```\n\nRelay each `feedback_line` to the learner. On a `recalled` node, the `receipt` output carries `s_before`\u002F`s_after` — if the durability crosses a threshold (milestone, not every node; grammar file Pillar 13), add one flat growth line, never a score. On a `lapsed`\u002F`partial`, use the absolve-not-pity register (grammar oath): normal, owed nothing, here's the path forward. If the learner disputes a grade, send the dispute (their argument + original production) back to the assessor once; log the outcome either way — appeals are calibration data.\n\n## 5 · Capstone — **it is a NODE now, not a paragraph** (v0.8)\n\nFor four releases this section said *\"this is the point of the whole topic — do not let it silently not happen.\"* **It silently did not happen, every single time**, because it was a line of prose in a skill file, and a tutor running low on context drops a suggestion. It does not drop a DAG.\n\nSo the capstone is now **a real node in the graph**. `add-topic` mints it, it `requires` every other concept, and it therefore unlocks *exactly* when the frontier empties — at which point `next` serves it like anything else. **You cannot skip it by forgetting it.**\n\n```bash\npython3 \"$ENGRAM\" next --topic \u003Ct>        # -> id: \"capstone\", once every concept is encoded\n```\n\n- **It gets NO provisional credit.** An ordinary node advances on a stashed-but-ungraded prerequisite (so you can keep teaching while the assessor works). The capstone does not: it is the claim that the learner can now *use* the topic, and serving it on mastery the assessor has not yet confirmed is exactly the unearned claim the constitution forbids. Settle the stash first.\n- **On a pre-v0.8 topic** (no capstone in the graph), `next` says so and hands you the command. Run it once; it is idempotent: `python3 \"$ENGRAM\" capstone --topic \u003Ct>`\n\n**Serve it as an offer with a real \"not now\" that costs nothing.** Capstones are expensive and can feel like homework, and the two-minute review floor still outranks them — a learner who declines the build and clears their reviews is doing the *higher-value* thing. Do not nag on repeat.\n\n**What the build is:** a transfer artifact in their *real* world — a feature in their actual repo with `TODO(human)` on the load-bearing parts; a lesson they teach; an explorable they author; a memo arguing a position they have to defend. Grade it via the assessor against the capstone's rubric; the receipt gets `kind: transfer`, and it lands in `stats.transfer` — **never pooled into retention**, because *\"the memory survived\"* and *\"the idea is mine\"* are different claims backed by different evidence.\n\n## 6 · Book the return (v0.6 — the one step that decides whether any of this mattered)\n\nEverything above produces *encoding*. Encoding decays. **The single highest-leverage act left in the session is getting the learner to come back**, and the engine now measures whether they ever do (`adherence.loop_closure`). Engram's own author encoded seven concepts, never returned, and lost half of them on schedule — the loop has to be *booked*, not hoped for (`docs\u002F08` §The exhibit).\n\nSo, **once, at the close** — only if there is no `settings.commitment` already, and never twice in a session — ask one plain question and take their words:\n\n> *\"When will you clear these? Give me a moment in your day, not a time.\"*\n\nThen store it verbatim:\n\n```bash\npython3 \"$ENGRAM\" commit --cue \"\u003Ctheir moment, their words>\" --action \"\u003Cwhat they'll do>\"\n# e.g. --cue \"when I open the terminal in the morning\" --action \"I clear one review\"\n```\n\nThis is an **implementation intention** — the highest-effect-size adherence move in the literature that costs nothing and steers no one (Gollwitzer & Sheeran 2006: 94 tests, N > 8,000, **d = 0.65**, robust to publication-bias correction; `docs\u002F07` §4).\n\nThe discipline, which is the whole point:\n- **It is their sentence, not yours.** Don't suggest one. Don't improve it. If they say *\"probably tomorrow sometime,\"* that is the commitment — store it as given.\n- **It is never enforced.** Engram does not remind, chase, or check up. The plan is shown back *at the moment it names* and nowhere else. This is not a reminder system.\n- **\"No\" is a complete answer.** Asked once, declined once, never asked again this session. `commit` is optional forever.\n- A learner who already has one is not asked again — read `model` first.\n\n## 7 · Close\n\n```bash\npython3 \"$ENGRAM\" log-session --kind learn --mode \u003Cmode> --minutes \u003Cest> --items \u003Cn> --notes \"\u003Cone line>\"\n```\n\nEnd with the **receipt strip** (grammar file format), then exactly: one curiosity gap for the next node (a question, not a summary) + the next due date. When real progress was made, the strip may carry one momentum line from `stats.momentum` (durability added, or most-durable-now) — information, not a score (Pillar 13). No recap walls — the recap is their job, at review time.\n",{"name":5,"description":7,"argument-hint":24},"\u003Ctopic> | continue","master","2b1259f0b2995e1eed2d3c4d3dd9adf0335a85b6","AgentOS\u002Flongform-practice\u002Fengram\u002Fskills\u002Flearn","https:\u002F\u002Fgithub.com\u002FKaedenMonroe\u002Fpkm-agent-os","https:\u002F\u002Fgithub.com\u002FKaedenMonroe","2026-07-27 03:37:51",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add KaedenMonroe\u002Fpkm-agent-os --skill learn",{"tool":37,"command":38},"bunx","bunx skills add KaedenMonroe\u002Fpkm-agent-os --skill learn",{"tool":40,"command":41},"pnpm","pnpm dlx skills add KaedenMonroe\u002Fpkm-agent-os --skill learn","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKaedenMonroe\u002Fpkm-agent-os\u002Fblob\u002Fmaster\u002FAgentOS\u002Flongform-practice\u002Fengram\u002Fskills\u002Flearn\u002FSKILL.md",true,[],[46,52,58,64,70,76],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M79QWAPGV4MWQXZD2DSXB3DY","vocab-anki","https:\u002F\u002Fgithub.com\u002FKaedenMonroe\u002Fpkm-agent-os\u002Fblob\u002Fmaster\u002FAgentOS\u002Fskills\u002Fvocab-anki\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M79QW5V898C5THZ2KPFXKSN1","vault-maintenance","https:\u002F\u002Fgithub.com\u002FKaedenMonroe\u002Fpkm-agent-os\u002Fblob\u002Fmaster\u002FAgentOS\u002Fskills\u002Fvault-maintenance\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79QW2K0FFQTX8RW7GT15KZY","transcript-distillation","https:\u002F\u002Fgithub.com\u002FKaedenMonroe\u002Fpkm-agent-os\u002Fblob\u002Fmaster\u002FAgentOS\u002Fskills\u002Ftranscript-distillation\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79QVZXJ69XH1ZNQJ59VHD30","daily-log","https:\u002F\u002Fgithub.com\u002FKaedenMonroe\u002Fpkm-agent-os\u002Fblob\u002Fmaster\u002FAgentOS\u002Fskills\u002Fdaily-log\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79QVWWEHN5BZ963895VRR8M","capture-promotion","https:\u002F\u002Fgithub.com\u002FKaedenMonroe\u002Fpkm-agent-os\u002Fblob\u002Fmaster\u002FAgentOS\u002Fskills\u002Fcapture-promotion\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79QVSJXDQYXSGBQE6MSH469","review","Clear due memory reviews with free recall — the two-minute habit that makes learning permanent. Use when reviews are due, or the user wants to review, practice, or \"do my engram reviews\".","https:\u002F\u002Fgithub.com\u002FKaedenMonroe\u002Fpkm-agent-os\u002Fblob\u002Fmaster\u002FAgentOS\u002Flongform-practice\u002Fengram\u002Fskills\u002Freview\u002FSKILL.md",[],[]]