Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
49bb961
chore(work): add interview ledger for teach-skill comparison
claude Aug 17, 2026
6d8d1ae
chore(work): record round-1 answers and reading findings in interview…
claude Aug 17, 2026
a44a6a8
chore(work): close interview — all questions answered, shared underst…
claude Aug 17, 2026
4c608b5
chore(work): untrack memory-tier interview ledger (.work is self-igno…
claude Aug 17, 2026
bfdcdb7
docs(topics): lock teach-skill-comparison Brief — combine upstream pe…
claude Aug 17, 2026
2297cac
docs(topics): draft implementation plan + design resolution for teach…
claude Aug 17, 2026
50a5818
docs(topics): apply 16 plan-review findings — Phase 3 root-ladder mec…
claude Aug 17, 2026
3228020
docs(topics): apply devils-advocate GO-WITH-CHANGES round — tier-0 gr…
claude Aug 17, 2026
dedd094
feat(education): port storage-strength pedagogy + graduated research-…
claude Aug 17, 2026
08b51ef
feat(education): HTML-first platform-aware lessons + spliced assets l…
claude Aug 17, 2026
fd50bfe
feat(education): workspace-root resolution ladder with OS-Documents t…
claude Aug 17, 2026
a814851
feat(education): spaced review at resume/status + open-lesson and dia…
claude Aug 17, 2026
dae5fda
fix(education): remediate residual baseline dogfood findings in teach
claude Aug 17, 2026
57dc0a4
docs(upstream): correct teach provenance — Not adopted -> Derived att…
claude Aug 17, 2026
89d3da2
feat(education): 0.7.0 — teach evals extended, QA gates run, changelo…
claude Aug 17, 2026
f89579f
chore(education): temporary reload canary in teach SKILL.md for the a…
claude Aug 17, 2026
96997af
docs(topics): Phase 8 complete — after-dogfood verdict recorded, cana…
claude Aug 17, 2026
eda4ea1
docs(topics): prune teach-skill-comparison contract slice at close-out
claude Aug 17, 2026
e320955
fix(education): isolate git fixtures in workspace tests; address Code…
claude Aug 17, 2026
65bc164
fix(education): treat repo-declared workspace roots as untrusted input
claude Aug 17, 2026
53d8004
docs: cite the teach audit by PR instead of the pruned contract-slice…
claude Aug 17, 2026
468c49c
docs(education): finish the codebase action argument rename in the RE…
claude Aug 17, 2026
6209fb3
test(education): regression evals for the two reviewer-caught teach bugs
claude Aug 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/upstream/mattpocock-skills-v12-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Legend — **Relation**: DERIVED (attributed port), PARTIAL (specific ideas take
| 19 | `grill-me` | DERIVED (behavior) | `planning:interview` frontier-rounds (#278 cites batch-grill-me; propagated to prd/design/plan #294) | Ours: no-grill vocabulary constraint; prose default + AskUserQuestion opt-in; background fact sub-agents; ballooning-frontier → wayfind route | Rounds now upstream-mainline in `grilling`; fixed ❓/➡️ emoji shape + answer-by-number dictation affordance; opt-out line in global CLAUDE.md. We already have the substance — delta is presentational |
| 20 | `grilling` | PARTIAL | `planning:interview` core loop | Domain-generalization (#532 reword) already mirrored by our domain-routing | — |
| 21 | `handoff` | PARTIAL | `session-flow:handoff` (claim-provenance + constraint re-scan mined from his issues #186/#306/#617/#482) | Ours far larger (save-point files, find-handoff, reconcile) | ask-matt reframes: handoff is NARROW (only when something travels); ours already richer but framing worth comparing |
| 22 | `teach` | CONVERGENT | `education:explain`, `education:quiz-me` | Not ported. His workspace model: MISSION.md, learning records ("teaching ADRs"), storage-vs-fluency strength, ZPD, equal-length quiz answers | — |
| 22 | `teach` | DERIVED | `education:teach` (siblings: `education:explain`, `education:quiz-me`) | CORRECTED from CONVERGENT by the `teach-skill-comparison` topic audit: the original port took his workspace vocabulary (MISSION.md, learning records as "teaching ADRs"), near-verbatim FORMAT content, and K-S-W/ZPD pedagogy; storage-strength pedagogy, HTML-first lessons, and the `assets/` library re-adopted in education 0.7.0. Full taken/rejected/added record: mattpocock-skills.md attribution table | — |
| 23 | `to-questionnaire` | DERIVED | `planning:questionnaire` (#311) | Ours: interview-the-send invariant kept; output relocated cwd → memory slice (PII); tracker item; interview vocabulary | **Graduated in-progress → Productivity** (#593). Our provenance line still says "in-progress" — STALE, fix. ask-matt routes it as inverse of grill-me |
| 24 | `wait-what` | DERIVED (lane 3) | `discipline:wait-what` (ported near-verbatim; declared non-corrector species). Lane-3 vetting corrected the adjacency: true nearest neighbors are `education:explain` (altitude) + `adhd:clarify` (structure) — this fills the third cell (precision-keeping re-pitch); `tighten-your-output`/`caveman` are output-shape (the failure register), `curate-language` owns glossary writes | — | **NEW** (#751). One-sentence user-invoked corrective (8-line file): re-pitch w/ context + ASD-STE100 + CONTEXT.md ubiquitous language. Name-as-mechanism doctrine (listener's state, not output shape). STE-100 verified real (Issue 9, 2025, 53 rules/900 words). Port record: SSOT row + PLAN.md `### Lane 3` |
| 25 | `writing-for-agents` | CONVERGENT | `playbooks:skill-authoring`, `docs-hygiene:*` (audit-noise, audit-derivability, extract-ssot, compress), `skill-quality:check` | Not ported; strongly parallel doctrine | **Breaking rename** from writing-great-skills; scope = any agent-consumed doc; GLOSSARY merged in; SKILL-MECHANICS.md split out; model-invoked (v1.2.2: Codex sidecar policy line REMOVED so it stays model-invocable there); **"cache" pruning term** (environment is SSOT; doc restating it = cache, earns load only when lookup expensive) ≈ our audit-derivability; leading words, negation warning, two loads, information hierarchy |
Expand Down
6 changes: 4 additions & 2 deletions docs/upstream/mattpocock-skills.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ attribution table below — re-audit the affected row(s). Release notes name ski
| `wizard` (Engineering; graduated from in-progress in v1.2) | `wizard:generate` | Derived | PORTED (lane 4) as a new single-capability plugin `wizard` 0.1.0, hardened. Kept: the 4-step scope/map/author/verify process, the fixed never-hand-edited library above the `STAGES` marker, model-invoked posture with the explicit non-trigger fence, gh-absence graceful degradation, ephemeral-by-default doctrine, agent-authors-never-runs doctrine. Hardened beyond upstream (deltas enumerated in `plugins/wizard/CHANGELOG.md` 0.1.0): mandatory human read-and-approve of the full STAGES block before `chmod +x`; https-only `open_url` (also closes a Windows UNC/NTLM leak via explorer.exe); `/dev/tty` fail-closed prompts (retires a verified multi-line-paste confirm bypass and `pause`'s fail-open at EOF); quoted `0600` `.env` writes + gitignore assert + trap-cleaned atomic temp; repo-resolved/confirmed `--repo`-explicit gh writes with stderr surfaced and empty values refused; key-name validation; readline on non-secret asks (fixes upstream #741 where safe); names-only live-`.env` scoping with the secrets-and-context property stated honestly. REJECTED: Codex `agents/openai.yaml` sidecar (no Codex target — standing precedent) |
| `prototype` `LOGIC.md` shareable-HTML demo (Engineering, v1.2) | `prototype:pressure-test` | Partial | ADOPTED (lane 5) the audience-routed HTML demo shell: TUI stays default; when the driver is a non-developer (designer, PM, domain expert) or no terminal fits, the disposable shell over the same portable pure logic module is one self-contained `file://` page — domain-language labels, labelled state panel re-rendered per click, free-play buttons, guided-walkthrough scenarios resetting to a known initial state — under explore-directions' existing HTML-substrate constraint set reused verbatim-in-spirit (restrictive CSP meta tag, ephemeral `mktemp -d` / `%LOCALAPPDATA%\Temp` placement, synthetic data only, discard after the markdown capture). prototype 0.5.0. REJECTED the other half of upstream's step 5: the throwaway-branch "primary source" capture that keeps the prototype re-runnable on a branch — a two-lane branch-naming posture violation that also contradicts the plugin's delete-when-done discipline (`plugins/prototype/context/discipline.md`, "Delete or absorb when done") |
| ask-matt `PHASE-BOUNDARIES.md` (v1.2) | `session-flow:workflow` continuation router + `context-guard` zones | Convergent / rejected | Tree audited element-by-element at parity or stronger (ordered first-yes-wins router, compact-last-with-steering, boundary-only trigger; ours adds clean-stop, user-gated background, instrumented zones, worker relay). ADOPTED one zone-gated criterion: prefer continue when the next stage consumes this stage's reasoning verbatim. REJECTED "handoff only for what travels" narrowing (contradicts our fork-beats-compaction stance) and the ~150k smart-zone figure (self-declared-debated folklore; no official numeric threshold exists — our measured bands stand, his dictionary entry noted as one more folklore anchor) |
| `teach` (Productivity) | `education:teach` | Derived | Corrected by the `teach-skill-comparison` topic audit (PR #2958) — this row previously sat under "Not adopted", which is provably false: the original port took his workspace vocabulary (MISSION / GLOSSARY / RESOURCES / NOTES + learning records as "teaching ADRs"), near-verbatim FORMAT-spec content, and the K-S-W / ZPD / community-delegation pedagogy with learning-record doctrine. REJECTED: cwd-as-workspace (dedicated per-project workspace roots instead), Codex `agents/openai.yaml` sidecar (standing precedent), HTML references (the durable trio — reference, records, glossary — stays markdown). ADDED house-built: codebase mode, primer action, assess, staleness doctrine, evals, slug-collision guards, workspace-root resolution ladder. RE-ADOPTED in the same audit (education 0.7.0): storage-strength pedagogy (fluency-vs-storage, desirable-difficulty triad, knowledge/skills asymmetry, equal-length quiz answers) and HTML-first interactive lessons with a shared `assets/` library (answer-shuffling quiz component — fixes his #335 class of always-option-C bug); his acknowledged no-review-scheduling gap is out-executed via spaced review surfaced at resume/status from learning-record age × domain velocity |

## Not adopted (decided, with reasons)

`ask-matt` router (marketplace shape differs), `setup-matt-pocock-skills` (we configure via
`userConfig` + consumer docs), `teach` (education plugin covers), `migrate-to-shoehorn` /
`userConfig` + consumer docs), `migrate-to-shoehorn` /
`scaffold-exercises` / `setup-pre-commit` (personal/low-value), writing-beats/-fragments/-shape
(out of scope), Codex `agents/openai.yaml` sidecars (no Codex target).
(out of scope), Codex `agents/openai.yaml` sidecars (no Codex target). (`teach` moved to the
attribution table — the `teach-skill-comparison` topic audit established it as Derived.)

Lane-5 infra rejections (v1.2):

Expand Down
7 changes: 6 additions & 1 deletion plugins/education/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
"name": "education",
"version": "0.6.4",
"version": "0.7.0",
"description": "Interactive multi-session learning coach: teaches a general subject or a concept grounded in the consuming repo through the Knowledge-Skills-Wisdom progression, with persistent per-topic learning state. Also a single-session domain primer, a one-shot plain-language explainer that drops anything to genuinely plain words, and a post-work comprehension check that quizzes the human on a completed change.",
"author": {
"name": "Melodic Software",
Expand Down Expand Up @@ -34,6 +34,11 @@
"type": "directory",
"title": "Quiz report library directory",
"description": "Where quiz-me stores generated reports and quizzes. Unset uses the plugin's own persistent data directory; set it to a corpus checkout to redirect the library root there. Artifacts never land in the consuming repo's tree."
},
"workspace_root": {
"type": "directory",
"title": "Teach workspace root",
"description": "Where /education:teach stores learning workspaces. Unset resolves a ladder: project declaration, this setting, a one-time ask, the OS Documents folder's 'Claude Learning' home (topic mode only), then the plugin's persistent data directory. Codebase-mode workspaces stay under plugin data unless a project declaration or this setting names a root, since their lessons can embed private-repo snippets and Documents roots are often cloud-synced. Grammar: absolute, ~-home-relative, or ${NAME} / %NAME% environment references; a relative value resolves against the project; a value inside the consuming repo is refused — declare an in-repo root in the project's own CLAUDE.md or rules instead."
}
}
}
58 changes: 58 additions & 0 deletions plugins/education/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,64 @@
All notable changes to the `education` plugin are documented here. Format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this plugin uses semantic versioning.

## [0.7.0]

Two consumer-visible default changes (lesson format, topic-workspace location) — the
`teach-skill-comparison` topic audit (PR #2958 carries the full Brief and plan) is the design record.

### Changed

- **Learning workspaces are classified as user documents, not machine state — a deliberate,
documented deviation from the plugin philosophy's plugin-data default.** A learning workspace
is the user's own long-lived study material (mission, glossary, lessons, references): it should
be visible, portable, and survive plugin removal the way documents do, not live in an opaque
machine-state directory. `teach` therefore resolves a workspace-root ladder — project
declaration → `workspace_root` userConfig → one-time ask → the OS Documents folder's
`Claude Learning/` home → `${CLAUDE_PLUGIN_DATA}` — and topic-mode workspaces default to the
Documents home where one is eligible. **Codebase-mode workspaces stay under plugin data by
default**: their lessons embed repo snippets, and Documents roots are commonly cloud-synced
(OneDrive/iCloud), so repo-derived state must not silently leave the machine for a private
repo — privacy beats visibility there. Existing plugin-data workspaces stay readable forever
(the ladder always scans that root); migration is a one-time offer, never forced.
- **Lessons default to interactive, self-contained HTML where the learner's host can render
it** (headless/SSH/remote/cloud hosts keep markdown; so do lessons where interactivity pays
nothing). The durable trio — `reference.md`, learning records, `GLOSSARY.md` — stays
markdown. Lesson HTML embeds shared assets by a scripted splice from the workspace `assets/`
library (stylesheet + answer-shuffling quiz component), never re-emitted per lesson; in-page
quizzes end in a copy-out result block graded in conversation, recorded as learning-record
evidence — the page never self-certifies.
- **Mission interview runs BEFORE workspace creation** (it crystallizes the raw subject name
the slug and collision guard need) and harvests fields the opening message already answers;
whole-repo/deictic subjects route to codebase mode under a stable derived content name.
- **codebase action argument renamed `<concept>` → `<topic>`** with the concepts-are-smaller-
units mapping stated.

### Added

- **Storage-strength pedagogy** (from the upstream teach skill, re-adopted): fluency-vs-storage
distinction, desirable-difficulty triad (retrieval practice, spacing, interleaving — skills
practice only), the knowledge/skills difficulty asymmetry, and the equal-length quiz-answer
rule.
- **Graduated research-grounding ladder** for lesson claims: tier 0 no-dispatch (repo files
Read this turn, verified RESOURCES.md citations) → tier 1 `/discovery:research` with
inline-fetch fallbacks → tier 2 seeding via `/discovery:research-deep` → tier 3
`/knowledge:map-corpus` + digests — every cross-plugin name presence-gated; roughly one
research dispatch per session; parametric recall banned at every tier.
- **Spaced review**: `resume` surfaces due-for-review floor concepts (record age × domain
velocity) before advancing the frontier; `status` adds a due-for-review flag from
filename/mtime heuristics only.
- **Open-lesson affordance** (permission-gated `open`/`xdg-open`/`start`; skipped on
remote/web hosts) and a presence-gated publish-as-artifact flavor.
- **`workspace_root` userConfig** for teach, mirroring the `knowledge.library_dir` value
grammar; surfaced by `/education:setup`.
- **`list-workspaces.sh` multi-root scan + `--default-root`** (OS Documents resolution with the
exists-and-not-`$HOME` guard), linked-worktree slug hoisting via `git rev-parse
--git-common-dir` with legacy per-worktree slugs still scanned and labeled; regression suite
extended to 29 checks.
- **Five new teach evals** (research-tier selection, root-ladder resolution, platform-aware
lesson format, due-for-review surfacing, deictic routing); eval 1 amended to the root-ladder
expectation.

## [0.6.4]

### Changed
Expand Down
26 changes: 15 additions & 11 deletions plugins/education/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ verifies you absorbed a completed change.

- **`/education:teach topic <subject>`** — learn a general subject from external
high-trust sources (books, courses, docs, communities).
- **`/education:teach codebase <concept>`** — learn a concept grounded in the
- **`/education:teach codebase <topic>`** — learn a concept grounded in the
repository you launch it from. It discovers the repo's own docs, conventions,
and source at teach-time and teaches from what it finds — nothing about the
project is assumed.
Expand Down Expand Up @@ -51,11 +51,15 @@ fetched or a file read that session rather than from memory.

Each topic gets a **workspace** — a mission (why you're learning this), a glossary,
curated resources, and per-concept slices (a lesson, a durable reference
cheat-sheet, and optional practice). All of it persists under
`${CLAUDE_PLUGIN_DATA}`, which survives plugin updates and stays out of your
project's tree, so you can resume a topic weeks later. Durable references are
re-verified lazily on revisit (age × domain-velocity) so stale facts get refreshed
before they're taught. See the skill body for the full pedagogy.
cheat-sheet, and optional practice). Learning state is treated as **your documents,
not machine internals**: topic-mode workspaces default to a `Claude Learning/` home
in your OS Documents folder (when one is eligible), while codebase-mode workspaces
stay under `${CLAUDE_PLUGIN_DATA}` by default — their lessons can embed snippets
from your repo, and Documents folders are often cloud-synced. Either way the state
survives plugin updates, stays out of your project's tree, and lets you resume a
topic weeks later; the root is configurable (see Configuration). Durable references
are re-verified lazily on revisit (age × domain-velocity) so stale facts get
refreshed before they're taught. See the skill body for the full pedagogy.

## Requirements

Expand All @@ -78,22 +82,21 @@ before they're taught. See the skill body for the full pedagogy.

## Configuration

`teach` and `explain` need no configuration; their state persists automatically
under `${CLAUDE_PLUGIN_DATA}`. `quiz-me` adds two optional settings, both with
defaults that preserve zero-config behavior:
All settings are optional, with defaults that preserve zero-config behavior:

| Setting | Type | Default | What it does |
| --- | --- | --- | --- |
| `quiz_policy` | string | `on-request` | When `quiz-me` offers a quiz: `off` (never), `on-request` (only when asked), `always` (after each completed change), `above-threshold` (when the change is large). Offer cadence only — a report is never generated without your confirmation. Unknown values act as `on-request`. |
| `report_library_dir` | directory | *(unset)* | Where `quiz-me` stores reports. Unset uses the plugin's own `${CLAUDE_PLUGIN_DATA}`; set it to a corpus checkout to redirect the library root there. Reports never land in the repo you are working in. |
| `workspace_root` | directory | *(unset)* | Where `teach` roots learning workspaces. Unset resolves a ladder: a project declaration, this setting, a one-time ask, the OS Documents `Claude Learning/` home (topic mode only), then `${CLAUDE_PLUGIN_DATA}`. Codebase-mode workspaces stay under plugin data unless explicitly rooted elsewhere. Values inside the repo you are working in are refused. |

Configure them through the `/plugin` dialog, or headless at install time with
`claude plugin install education@<marketplace> --config quiz_policy=always`. A literal
non-home `report_library_dir` may be rejected by the hardcoded-path guardrails until
the #798 path-indirection work lands.

Run `/education:setup` to validate the effective `quiz_policy` and report-library root
without reading settings files.
Run `/education:setup` to validate the effective `quiz_policy`, report-library root,
and teach workspace root without reading settings files.

<!-- BEGIN GENERATED: plugin options — edit plugin.json, then run scripts/sync-plugin-options-docs.py -->

Expand All @@ -107,6 +110,7 @@ reads it from.
| --- | --- | --- | --- | --- |
| `quiz_policy` | string | `"on-request"` | `CLAUDE_PLUGIN_OPTION_QUIZ_POLICY` | When quiz-me offers a post-work comprehension quiz. One of: off (never offers), on-request (only when asked), always (after each completed change), above-threshold (when the change is large). Governs offer cadence only — a report is never generated without your confirmation. Unknown values are treated as on-request. |
| `report_library_dir` | directory | *(none)* | `CLAUDE_PLUGIN_OPTION_REPORT_LIBRARY_DIR` | Where quiz-me stores generated reports and quizzes. Unset uses the plugin's own persistent data directory; set it to a corpus checkout to redirect the library root there. Artifacts never land in the consuming repo's tree. |
| `workspace_root` | directory | *(none)* | `CLAUDE_PLUGIN_OPTION_WORKSPACE_ROOT` | Where /education:teach stores learning workspaces. Unset resolves a ladder: project declaration, this setting, a one-time ask, the OS Documents folder's 'Claude Learning' home (topic mode only), then the plugin's persistent data directory. Codebase-mode workspaces stay under plugin data unless a project declaration or this setting names a root, since their lessons can embed private-repo snippets and Documents roots are often cloud-synced. Grammar: absolute, ~-home-relative, or ${NAME} / %NAME% environment references; a relative value resolves against the project; a value inside the consuming repo is refused — declare an in-repo root in the project's own CLAUDE.md or rules instead. |

### How to set these

Expand Down
Loading