Commit Graph
51 Commits
Author SHA1 Message Date
Luong NGUYEN 3a4e5f9d70 docs: sync to Claude Code v2.1.330
Sync the guide from v2.1.325 to v2.1.330 (releases 2.1.326 to 2.1.330).

- P1: onFailure now covers mcp_tool hooks (06, quiz L06 Q2,
  self-assessment hooks focus); auto mode's first provider group now
  names Claude Models on Google Cloud (Anthropic managed) (09); the
  sandbox.failIfUnavailable row no longer says the settings reference
  lacks the hosted-environment exception (09).
- P3: /tui classic, /tasks scheduled tasks, /code-review findings
  (01, CATALOG, 09); skill and subagent model behaviour (03, 04);
  add-json stdin and connector name denies (05); prompt hook model,
  background_tasks, decision block (06); plugin install --json fields
  (07); /rewind sandbox skips (08); Code Mode, auto-mode dropped allow
  rules, self-paced /loop ending, Exit and stop tasks, --teleport (09);
  seven env vars, the unrecognised-model window, permission hardening,
  --add-dir trust prompt, Enterprise Admin Console sign-in (10).
- P4: README version stamps.

Mirrored into vi, zh, uk, ja, ko and fa wherever the anchor exists.
lesson-quiz 1.6.7, self-assessment 2.5.9.

Validation: pre-commit run --all-files with
SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid
(the node mermaid hooks can't install here), then
scripts/check_mermaid.py --strict and scripts/check_cross_references.py.
2026-11-21 01:36:18 +00:00
Luong NGUYEN 5609e68a6c docs: sync to Claude Code v2.1.325 (#277)
Type: docs

Syncs the tutorial, its translations and the root README from Claude Code v2.1.323 to v2.1.325 (P1 3, P3 10, P4 1; 37 files: 7 English, 30 translations). npm published 2.1.324 and 2.1.325 on 2026-11-13. The upstream CHANGELOG has no 2.1.324 section; everything is listed under 2.1.325.

## Changes by priority

### P1
- **Sandboxed commands no longer skip prompts by default** (09-advanced-features).
  - `sandbox.autoAllowBashIfSandboxed` now defaults to `false`, so sandboxed Bash commands go through your allow rules and permission mode.
  - The new note shows how to get auto-allow back and what still prompts with `true`, including commands such as `FOO=bar npm test`, `make CC=clang` or `eval "ls"`, and that plan mode doesn't widen approvals.
  - The settings table gains the key, and the `/sandbox` line names the Mode tab.
  - Dated "since v2.1.324 per the settings reference; the changelog lists it in v2.1.325".
  - `config-examples.json` is unchanged: its `autonomous` preset relies on auto mode's classifier and promises no prompt-free sandboxing.
  - Sources: https://code.claude.com/docs/en/settings-reference#sandbox-autoallowbashifsandboxed, https://code.claude.com/docs/en/sandboxing#auto-allow-mode
- **`/stickers`** is now "Check Claude Code sticker availability" (01-slash-commands, CATALOG). This was a standing docs-vs-changelog item; the docs now agree with the changelog. https://code.claude.com/docs/en/commands
- **Prompt-suggestion keys** (09): `Tab` or `Right arrow` places the suggestion, then `Enter` submits. The guide used to say `Enter` accepts and submits at once. https://code.claude.com/docs/en/interactive-mode#prompt-suggestions

### P3
All in-range. Each changelog-only item says that the docs don't list it yet.

**09-advanced-features**
- `sandbox.failIfUnavailable` doesn't stop cloud sessions from starting.
- The sandbox refuses `.claude` writes in added directories too.
- VS Code prompt suggestions, and `promptSuggestionEnabled`, which `CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION` takes precedence over (https://code.claude.com/docs/en/vs-code#use-or-turn-off-suggested-prompts, https://code.claude.com/docs/en/settings-reference#promptsuggestionenabled).
- Scheduled tasks and `/loop` ask before running a skill that declares `allowed-tools` or hooks (`Skill(name)` in `permissions.allow`), plus the "Always allow" change.
- `claude remote-control` exit status 4 and 69.
- `/resume` and `/teleport` disconnect when the session has a share link (https://code.claude.com/docs/en/remote-control#what-connected-devices-see).
- `WorktreeCreate` refuses a path through a symlink, and since v2.1.325 `EnterWorktree` does too (https://code.claude.com/docs/en/hooks).
- Worktree-isolation refusals: `git bisect run`, `git maintenance register|start`, `scalar`.
- The existing v2.1.157 "left unlocked" sentence now adds that non-interactive `-p` runs keep the lock on their worktrees until a later session's stale-lock sweep (https://code.claude.com/docs/en/worktrees#clean-up-worktrees).

**10-cli**
- A "Permission hardening (v2.1.325)" note:
  - read-only git commands ask first outside the project or a trusted repo (use `--add-dir`);
  - relative deny and ask rules keep covering the project after `cd`, and now apply in added directories;
  - the Bash allow-rule and compound-command fixes;
  - the `plansDirectory` fallback.
- A `CLAUDE_CODE_MAX_CONTEXT_TOKENS` row (https://code.claude.com/docs/en/model-config#which-ids-claude_code_max_context_tokens-applies-to).

**07-plugins**
- Marketplace-source `ref` accepts a full commit SHA (https://code.claude.com/docs/en/plugins/marketplace-reference#marketplace-sources).
- Plugin loading skips, and `claude plugin validate` reports, unsafe paths and links.
- `prependPlugins`/`appendPlugins` plugins count as the organization's (v2.1.324 per the mods admin docs), and `pluginDigests` is deprecated (changelog-only).
- Nested `.claude/skills` in `--plugin-dir` plugins no longer load from a session started above them.
- `.mcpb`/`.dxt` bundles unpack into `mcpb/` under the plugins root (https://code.claude.com/docs/en/plugins/loading#find-plugins-on-disk).

**04-subagents**
- tmux and iTerm2 teammates start in the session's folder.
- An unrecognized `teammateMode` value is now listed as skipped.

### P4
- Root README: the badge, line 105 and line 204 now say v2.1.325, and the footer is refreshed.

## Translation coverage

Locales are vi, zh, uk, ja, ko and fa. For each fix I grepped the key token across `*/<file>` in every locale.

| Fix | Done | Not done, and why |
|---|---|---|
| Sandbox default, prompt keys, cloud `failIfUnavailable`, added-dir writes, VS Code suggestions, scheduled-task skills, Remote Control (09) | vi, uk, ja, ko, fa | zh: its 09 sandbox and prompt-suggestion sections are condensed, with no table and no prompt claim |
| Worktree row (09) | vi, uk, ja, ko, fa | zh: condensed |
| Worktree-isolation note (09) | vi, uk, ja, ko, fa | zh: condensed |
| Auto-allow note: other regular-flow commands and the plan-mode limit (09) | vi, uk, ja, ko, fa | zh: no auto-allow note |
| `CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION` precedence sentence, worded as env-vars gives it (09) | vi, uk, ja, ko, fa | zh: no `promptSuggestionEnabled` paragraph |
| `-p` worktree-lock qualifier on the v2.1.157 sentence (09) | vi, ko, fa | uk, ja, zh: no v2.1.157 "left unlocked" sentence |
| `/stickers` | 01: vi, uk, ja, ko, fa; CATALOG: all six | zh 01 has no row |
| 10-cli hardening note, `CLAUDE_CODE_MAX_CONTEXT_TOKENS` row | vi, ko, fa | zh: no hardening notes and no matching env rows; uk, ja: no `CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT` anchor row; 10 not synced to 2.1.325 in uk/ja |
| 07: marketplace `ref` paragraph, `pluginDigests` note with v2.1.324 dating, mods admin Sources entry | all six | — |
| 07: validate sentence, loading-changes note | vi, ko, fa | zh, uk, ja: no validate paragraph, and no `--plugin-url` local-plugin block |
| 04 teammate note | vi, uk, ja, ko, fa | zh: no split-pane text |

**Footers**
- Bumped to 2.1.325 only where the page was at the previous English level:
  - 09: en, vi, uk, ja, ko, fa
  - 07, 10: en, vi, ko, fa
  - 04: en, vi, uk, ja, ko, fa
  - 01, CATALOG: en, ko, fa
- Pages that lag English stay as they were, even where this PR edits them:
  - 01 vi/uk/ja at 2.1.316
  - CATALOG vi/zh/uk at 2.1.302, ja at 2.1.316
  - 07 zh/uk/ja at 2.1.302
- Locale READMEs are untouched.

## Learner skills

- I audited both skills against 2.1.325: sandbox, permissions, `/loop` and scheduled tasks, plugins, worktrees, Remote Control and prompt suggestions.
- No question, option, `Correct` letter or `- **Review**:` pointer changed.
- No file changed, and no version was bumped: lesson-quiz stays at 1.6.6 and self-assessment at 2.5.8.

## Needs maintainer decision

**New docs-vs-changelog conflicts:** none needing a guide edit.

**Version dating.** The docs date six 2.1.325 changelog items to v2.1.324. The guide names both sources, per the brief:
- the `sandbox.autoAllowBashIfSandboxed` default: https://code.claude.com/docs/en/settings-reference#sandbox-autoallowbashifsandboxed
- `CLAUDE_CODE_MAX_CONTEXT_TOKENS` for `claude-` IDs: https://code.claude.com/docs/en/model-config#which-ids-claude_code_max_context_tokens-applies-to
- the Remote Control share-link check: https://code.claude.com/docs/en/remote-control#what-connected-devices-see
- the marketplace `ref` SHA and the `mcpb/` folder: https://code.claude.com/docs/en/plugins/marketplace-reference#marketplace-sources, https://code.claude.com/docs/en/plugins/loading#find-plugins-on-disk
- plugins of a remote marketplace counting as the organization's: https://code.claude.com/docs/en/plugins/mods/admin#install-your-organizations-mods

**Read-only git commands.** Not a conflict: permissions.md's 'in every mode' is about permission modes and already has location exceptions (`blockReadsOutsideWorkingDirectories`; `cd` + `git` prompts). The changelog adds one more location exception; the guide attributes it to the changelog.

**Ten standing items, rechecked 2026-11-14 against freshly fetched pages.**

The docs now agree with the changelog on four:
- `/stickers`: resolved to the docs in this PR.
- `CLAUDE_CODE_PLUGIN_DIR_WATCH`: env-vars now says skills-directory mods reload in non-interactive sessions and `0` turns reloading off. The guide has no sentence on it, so nothing changed.
- Mods' own tool calls: the mods admin page now says `$.mcp.call` runs "with no permission prompt". The guide has no sentence on it, so nothing changed.
- `CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS`: env-vars now allows 32000 to 300000, with values above 64000 needing v2.1.323. The guide has no row, so nothing changed.

Six still disagree. Repo / docs / changelog for each:
1. **Self-paced `/loop` ending.**
   - Repo: no sentence.
   - Docs: a fallback wakeup after about 20 minutes.
   - Changelog 2.1.319: the loop ends.
   - https://code.claude.com/docs/en/scheduled-tasks#stop-a-loop
2. **Auto mode with telemetry or flags off.**
   - Repo: no sentence.
   - Docs: "falls back to its own classifier requests".
   - Changelog 2.1.319: no fallback.
   - https://code.claude.com/docs/en/permission-modes#server-side-classifier-review
3. **MCP tasks.**
   - Repo, 05-mcp: they need feature-flag fetching.
   - Docs: the same.
   - Changelog 2.1.319: they work without flag fetching.
   - https://code.claude.com/docs/en/mcp#mcp-tasks-that-run-on-the-server
4. **`deniedMcpServers` `serverUrl` vs connectors.**
   - Repo: no sentence.
   - Docs: a connector's own URL doesn't match.
   - Changelog 2.1.318: it blocks those connectors.
   - https://code.claude.com/docs/en/mcp#how-connectors-reach-claude-code
5. **Context window for an unrecognized model ID.**
   - Repo: no sentence. The new `CLAUDE_CODE_MAX_CONTEXT_TOKENS` row states no assumed window.
   - Docs: assumes 200K.
   - Changelog 2.1.323: assumes 1M.
   - https://code.claude.com/docs/en/model-config#correct-the-window-for-a-gateway-or-custom-model-id
6. **`MCP_SDK_GENERATION=v1`.**
   - Repo: no sentence.
   - Docs: picks the v1 runtime.
   - Changelog 2.1.323: the v1 client is removed, and `v1` runs v2 in compatibility mode.
   - https://code.claude.com/docs/en/env-vars

## Follow-ups

- **Changelog items not added**, because the guide doesn't teach the surface:
  - `claude -p` waiting for account data;
  - `/login` privacy permission;
  - `/cost` and `--max-budget-usd` counting mods' model calls;
  - plugin downloads using a CONNECT tunnel with `ALL_PROXY` only;
  - `user_prompt` `delivery.mode: "mid_turn"`;
  - MCP tool descriptions of 16,384 characters in cloud sessions;
  - subagents re-asked at the output limit;
  - Esc on an MCP task question.
- **Locales behind English.** zh, uk and ja 07/09/10 still need a catch-up sync beyond this release.
- uk/ja 10-cli env tables could take the `CLAUDE_CODE_MAX_CONTEXT_TOKENS` row (catch-up sync).
- **Possible merge conflicts with open PRs:**
  - #173 edits the root README near line 105.
  - #189 edits the README footer Sources.
  - #225 edits `CATALOG.md` (different hunks).

## Validation

- `SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid pre-commit run --all-files` exited 0, before and after the edits. Link-check reached 247 URLs on a clean tree.
- `python scripts/check_mermaid.py --strict`: Pele 1.6.0 rendered 416 blocks.
- `python scripts/check_cross_references.py`: 674 files valid on a clean tree.
- The EPUB build was not run.

## Sources

- https://code.claude.com/docs/en/changelog#2-1-325
- https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md
- https://code.claude.com/docs/en/settings-reference#sandbox-autoallowbashifsandboxed
- https://code.claude.com/docs/en/sandboxing#auto-allow-mode
- https://code.claude.com/docs/en/commands
- https://code.claude.com/docs/en/interactive-mode#prompt-suggestions
- https://code.claude.com/docs/en/vs-code#use-or-turn-off-suggested-prompts
- https://code.claude.com/docs/en/settings-reference#promptsuggestionenabled
- https://code.claude.com/docs/en/remote-control#what-connected-devices-see
- https://code.claude.com/docs/en/hooks
- https://code.claude.com/docs/en/model-config#which-ids-claude_code_max_context_tokens-applies-to
- https://code.claude.com/docs/en/plugins/marketplace-reference#marketplace-sources
- https://code.claude.com/docs/en/plugins/loading#find-plugins-on-disk
- https://code.claude.com/docs/en/permissions#read-only-commands
- https://code.claude.com/docs/en/plugins/mods/admin#install-your-organizations-mods
- https://code.claude.com/docs/en/worktrees#clean-up-worktrees
2026-11-14 15:16:12 +01:00
Luong NGUYEN 7af3b2f3e2 docs: sync to Claude Code v2.1.323 (#273)
Type: docs

Syncs the tutorial, its translations, the root README and the lesson-quiz skill from Claude Code v2.1.322 to v2.1.323 (P0 1, P1 5, P3 10, P4 3; 27 files).

- P0: `subagentStatusLine` removed (07-plugins, all locales).
- P1: plugin `agent` key deprecated; auto mode unavailable starts the session in Manual whatever selected `auto`; ja/uk 09 auto-mode requirements match English; ja 10-cli no longer teaches the removed `--enable-auto-mode`; lesson-quiz L07 Q7 explanation (Correct stays B, version 1.6.6).
- P3/P4: plugin manifest `engines`, `claude plugin validate` additions, permission-hardening notes, new env rows, hooks heartbeat, v2.1.111 changes no longer labelled v2.1.112 in 09/10, README stamps to v2.1.323.
- P2 docs-vs-changelog conflicts (10) are left following the docs, per maintainer decision.

Follow-ups: #274, #275.

Sources: https://code.claude.com/docs/en/changelog#2-1-323, https://code.claude.com/docs/en/changelog#2-1-111, https://code.claude.com/docs/en/permission-modes#which-mode-a-session-starts-in, https://code.claude.com/docs/en/permissions#wildcard-patterns
2026-11-13 14:56:38 +01:00
Luong NGUYEN ac9ee17169 docs: make version stamps and Compatible Models footers true (#259)
Type: docs

Makes the version stamps, Compatible Models footers and locale README badges say only what has been checked. Every claim below was checked against `https://code.claude.com/docs/en/<page>.md` or the raw changelog (2.1.303–2.1.322), not written from memory.

## Part A: English footers at 2.1.310 / 2.1.302

Each file's behavioural claims were checked against every changelog entry after its stamp, up to 2.1.322, and against the current docs. A stamp moves only when every claim checks out.

| File | Claims checked | Fixes | Sources | New stamp |
|---|---|---|---|---|
| `INDEX.md` | ~75: AGENTS.md rule (v2.1.277); skill/agent/MCP install paths; `/mcp__github__list_prs`; 5 hook types, 33 events, task-tool model note; `--plugin-dir`; checkpoint menu (6 options); `/workflows`, ultracode (v2.1.284), size guideline; 6 permission modes; `/loop` and the cron tools; Chrome; Remote Control; `SendMessage`/`ListAgents`/`notify_when_idle`; CLI flags | 1. Workflow size: medium aims for fewer than 10 agents only since v2.1.271 (15 before), and the default is small on a Pro plan. 2. dontAsk: file reads inside the working directories also run, as do *most* calls a `permissions.allow` rule or a `PreToolUse` hook approves (neither can approve critical-path `rm`/`rmdir` or network-path reads), and an installed mod can approve some calls. No version is given: the changelog doesn't say when a mod's `tool.check` allow arrived (it is already referenced in 2.1.290, 2.1.292 and 2.1.299). 3. `SendMessage` also reaches sessions on other machines and in the cloud, from a session connected to Remote Control with a claude.ai sign-in; a cloud session can't answer with `SendMessage`. The L383 use-case column now says the same. 4. The `--model` list adds the Fable models. 5. Plan mode: "Read-only analysis" → researches and proposes, runs shell commands to explore, edits blocked until the plan is approved. | [workflows#set-a-size-guideline](https://code.claude.com/docs/en/workflows#set-a-size-guideline) ("The default is `medium`, or `small` when you're signed in on a Pro plan with Claude Code v2.1.271 or later"); CL 2.1.219 ("aim for fewer than 15 agents"), CL 2.1.271 ("lowered the medium size guideline from 15 to 10 agents"); [permission-modes](https://code.claude.com/docs/en/permission-modes#allow-only-pre-approved-tools-with-dontask-mode) ("a mod you installed can still approve some of those calls"; "Claude still runs … file reads inside your working directories and read-only Bash commands"; "It also denies the built-in `AskUserQuestion` tool even if your allow rules match it"; "An allow rule or `PreToolUse` hook can't approve these: Recognized `rm` and `rmdir` critical-path removals … Reads from a network path"); CL 2.1.292 ("Fixed a plugin's `tool.check` hook answering allow running a tool…"), CL 2.1.299 ("…that a `PreToolUse` hook or a mod's `tool.check` hook allowed"); [permission-modes#analyze-before-you-edit-with-plan-mode](https://code.claude.com/docs/en/permission-modes#analyze-before-you-edit-with-plan-mode) ("Claude reads files, runs shell commands to explore, and writes a plan, but does not edit your source. Except in interactive terminal sessions with bypass permissions available, edits stay blocked until you approve the plan."); [cross-session-messaging](https://code.claude.com/docs/en/cross-session-messaging) ("reach your sessions on other machines or in the cloud"; "from a session that is connected to Remote Control, which needs a claude.ai sign-in"; "A cloud session … can't use `SendMessage` to answer a message from another machine"); model-config. The "device card" line checked out against [whats-new/2026-w34](https://code.claude.com/docs/en/whats-new/2026-w34). | **2.1.322** |
| `LEARNING-ROADMAP.md` | 33 hook events / 5 types; 6 built-in subagents (Explore, Plan, General-purpose, claude, statusline-setup, claude-code-guide); 60+ commands (commands page has 121 rows); `/design` (v2.1.265); `/plan`, `/rewind`, `/loop 5m`, `/schedule`; 6 permission modes (Manual since v2.1.200); Alt+T; skill `effort`/`shell`; plugin `workflows`/`channels`/`dependencies`; agent-teams env var; `claude mcp add --transport http`; `-r`, `--max-turns`, `--output-format json`; all 17 source links resolve | 1. Remote Control: "generally available" → "out of research preview", the docs' own wording. 2. Extended thinking (L368, Exercise 3, checklist): Opus 5.5, Sonnet 5.5, Haiku 5.5 and the Fable models always use extended thinking, so the exercise uses `/effort` and scopes Alt+T / Option+T to models that allow turning thinking off. 3. Exercise 4: checkpoints are automatic and unnamed, so step 1 no longer creates a named "Clean state" checkpoint and step 5 says which one to `/rewind` to. | [whats-new/2026-w34](https://code.claude.com/docs/en/whats-new/2026-w34): "Any machine running `claude remote-control` now shows up as a device card at the top of the Code tab in the Claude app. Remote Control is also out of research preview."; [interactive-mode](https://code.claude.com/docs/en/interactive-mode): Alt+T "Has no effect on Opus 5.5, Sonnet 5.5, Haiku 5.5, or the Fable models, which always use extended thinking."; [model-config](https://code.claude.com/docs/en/model-config): "the effort level is the primary control for how much thinking happens"; [checkpointing](https://code.claude.com/docs/en/checkpointing): "Every prompt you send that starts a turn creates a new checkpoint" | **2.1.322** |
| `resources.md` | Adaptive reasoning on Opus 4.7+, Sonnet 5+, Haiku 5.5 and the Fable models; permission modes; 33 hook events; `/loop` and cron; 7 memory tiers; Chrome; keybinding chords; Code Review; Monitor (2.1.98); `/goal` and `claude agents` (2.1.139); `--json` (2.1.145); all links | none needed | model-config, hooks, memory, agent-view, changelog | **stays 2.1.310**: L253 gives `/run`, `/verify`, `/run-skill-generator` as "(v2.1.145+)". Neither the changelog, the v2.1.145 release notes, the skills/commands docs nor the what's-new pages for weeks 19–22 give a version. |
| `03-skills/claude-md/SKILL.md` | `name`/`description` frontmatter, `$ARGUMENTS`; CLAUDE.md locations and loading; "under 200 lines"; AGENTS.md gates (v2.1.277, v2.1.281), blocking files, `/config` Project instructions values and default; `@AGENTS.md`/symlink fallback; `.claude/agents/` | L196: the list of cases where AGENTS.md isn't read now includes a disabled built-in plugin, and limits the upgrade case to "in some cases" after upgrading from v2.1.276 or earlier | [memory#when-agents-md-support-is-unavailable](https://code.claude.com/docs/en/memory#when-agents-md-support-is-unavailable): "You used `/plugin` to disable the built-in plugin that reads `AGENTS.md`"; "In some cases, it's your first session after you upgrade from v2.1.276 or earlier" | **stays 2.1.302**: no primary source states L24 ("~150-200 instructions", "system prompt already uses ~50") or L214 (the system reminder says CLAUDE.md "may or may not be relevant") |
| `07-plugins/devops-automation/README.md` | `--plugin-dir` install; commands; agents; hooks; MCP; workflow; source URLs (all 200) | none: the stale claims need a design decision (below) | [plugins/components](https://code.claude.com/docs/en/plugins/components): "Save a command at `commands/<file>.md` and it becomes `/<plugin>:<file>`"; [plugins-reference](https://code.claude.com/docs/en/plugins-reference) standard layout: "Hooks \| `hooks/hooks.json`", "MCP servers \| `.mcp.json`" | **stays 2.1.302**: bare `/deploy`, `/rollback`, `/status` (`/status` is also a built-in), `/incident`; `hooks/*.js` are never registered (no `hooks/hooks.json`); `mcp/kubernetes-config.json` never loads (no `.mcp.json` or `mcpServers`) |
| `07-plugins/documentation/README.md` | same | none | same | **stays 2.1.302**: bare command names; `mcp/github-docs-config.json` never loads, so the `GITHUB_TOKEN` setup has no effect |
| `07-plugins/pr-review/README.md` | same | none | same | **stays 2.1.302**: bare command names; `hooks/pre-review.js` is not registered; `mcp/github-config.json` never loads |

No changelog entry from 2.1.303 to 2.1.322 touched the plugin READMEs or SKILL.md. Their problems predate the stamps, and #209 already listed the hook/MCP files that never load.

**Locale copies:** the same factual fixes went into every locale with the same sentence. That's dontAsk and plan mode in all six INDEX files; workflow size in fa and ko; `SendMessage` and the use-case column in fa and ko; the `--model` list in fa and ko; "generally available" in fa and ko LEARNING-ROADMAP; the extended-thinking exercise/checklist and the checkpoint exercise in all six LEARNING-ROADMAP copies; the AGENTS.md cases in all six SKILL.md copies. Locale stamps were not bumped. INDEX and LEARNING-ROADMAP stay at 2.1.310 in every locale, and the SKILL.md copies keep their footers.

## Part B: Compatible Models footers

The new list is **Claude Fable 5.2, Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5.5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 5.5, Claude Haiku 4.5**. It is used on root docs and module pages alike, and it's the README FAQ's list, so the footers and the FAQ no longer disagree.

Why one list for both file types: STYLE_GUIDE's footer rule ("List all compatible models") applies to both. A shorter "current models only" list on module pages would break that rule. Justification from [model-config](https://code.claude.com/docs/en/model-config):

- **Current models:** "| Anthropic API | Opus 5.5 | Sonnet 5.5 | Haiku 5.5 |"; "the `fable` alias resolves to Fable 5 in Claude apps gateway sessions and to Fable 5.2 everywhere else"; "Fable 5.2 requires Claude Code v2.1.321 or later".
- **Older models still in use:**
  - "**Fable 5.1 or Fable 5**: select it by model ID."
  - "| Claude Platform on AWS | Opus 5.5 | Sonnet 4.6 | Haiku 4.5 |".
  - "biology-flagged requests re-run on Opus 5, and cybersecurity-flagged requests re-run on Opus 4.8".
  - "**Sonnet 5.5**: cybersecurity-flagged requests re-run on Sonnet 5."
- **None are retired.** The [models overview](https://platform.claude.com/docs/en/about-claude/models/overview) that model-config links marks only Opus 4.1, Opus 4 and Sonnet 4 as "retired". All eleven listed models appear there without that mark.

Scope: 336 lines in 331 files. The changed lines are the `**Compatible Models**` lines (92, some of them in locale files) and every localized label (`호환 모델`, `مدل‌های سازگار`, `Các Mô Hình Tương Thích`, `Сумісні моделі`, `対応モデル`, `互換モデル`, `兼容模型`), plus the italic `*対応:…*` / `*Для …*` / `*适用于 …*` lines in the ja/uk/zh concepts guides. Labels, separators (`, ` `、` `، `) and locale stamps are unchanged. The README FAQ lines and the 05-mcp `tool_reference` note are not footers and were left alone. The footer lines of `CHANGELOG.md`, `fa/CHANGELOG.md` and `ko/CHANGELOG.md` also carry the new list; only the footer line changed, not the entries.

## Part C: locale README badges

Real state: the newest version that most (more than half) of the locale's ten module READMEs carry or exceed, backed by the sync commit that brought them there.

A badge is marked **(partial)** when one or more of the locale's module READMEs has no version footer (never synced since its first translation), or when the locale is a condensed translation. A module synced to an older version than the badge doesn't make it partial on its own; the majority rule above already covers that. Only zh meets the rule (02-memory and 05-mcp have no footer, and #247 calls zh condensed).

| Locale | Old badge / "latest" | Evidence | New |
|---|---|---|---|
| ja | 2.1.119 (badge, "latest", FAQ) | module footers: 3×2.1.322, 5×2.1.316, 1×2.1.310, 1×2.1.302; 8/10 ≥ 2.1.316 (#230); #247 carried only the sections ja has | **2.1.316** (Oct 2026) |
| uk | 2.1.112 (FAQ line; no badge) | 3×2.1.322, 4×2.1.316, 1×2.1.310, 2×2.1.302; 7/10 ≥ 2.1.316 (#230) | **2.1.316** (Oct 2026) |
| zh | 2.1.112 (badge, "latest", FAQ) | 2.1.316, 2.1.310 ×2, 2.1.302 ×2, 2.1.300 ×2, 2.1.278; 02 and 05 have no footer (untouched since the first translation); 7/10 ≥ 2.1.300 (#193); #247 was "condensed", model lists only | **2.1.300 (partial)** (Oct 2026): the badge, "latest" and FAQ lines say zh is condensed and that 02-memory and 05-mcp haven't been synced since the April 2026 translation |
| ko | 2.1.310 | 5×2.1.322, 5×2.1.310; #228 synced ko to 2.1.310, and #247 says 2.1.316 "was not backfilled" | **2.1.310** (unchanged) |
| fa | 2.1.310 | 5×2.1.322, 5×2.1.316; #241 "syncs the translation from v2.1.310 to v2.1.316"; #247 carried only the 2.1.322 P1 changes | **2.1.316** (Oct 2026) |
| vi | none (README has no badge or version line) | 4×2.1.322, 6×2.1.316 | no change |

Months come from the docs changelog: 2.1.300 was released October 14, 2026 and 2.1.316 October 31, 2026. The README *footers* in fa/ja/ko/uk/zh stay at 2.1.322: #247 checked those files themselves, while the badge describes the whole locale.

## Deliberately left

- **Stamps not bumped:** `resources.md` (2.1.310), `03-skills/claude-md/SKILL.md` and the three plugin READMEs (2.1.302), for the reasons in the Part A table.
- **Example plugins:** the fix is a design choice between wiring up `hooks/hooks.json` / `.mcp.json` and rewording the READMEs, and renaming commands to `/<plugin>:<name>` touches seven languages plus `07-plugins/README.md` (bare `/review-pr`). It needs a follow-up issue.
- **Same unverifiable version elsewhere:** `03-skills/README.md` also said `/run-skill-generator` is v2.1.145+. Handled by #262, now merged into this branch from `main`.
- **Older `--model` lists:** ja/uk/vi/zh INDEX have pre-5.x lists (e.g. "Sonnet 4.6, Opus 4.7, Haiku 4.5"). That isn't the English sentence, so it belongs to a locale sync.

## Follow-ups
- **LEARNING-ROADMAP `/effort` line (review r3 N13):** line 368 can read as if `/effort` applies only to the models that always use extended thinking; per model-config's effort table it also works on Opus 5, Sonnet 5 and Opus 4.8. Not wrong; clarify in the next pass.

- **Compatible Models scope (review S3):** Opus 4.6 is Microsoft Foundry's current `opus`, and Sonnet 4.5 is the current `sonnet` on Bedrock, Google Cloud's Agent Platform and Foundry (deprecated, retiring Nov 30, 2026), per model-config's alias table. Both are still in use, so either add them to the FAQ and every footer (Sonnet 4.5 marked deprecated), or define the list's scope in STYLE_GUIDE (e.g. the models the aliases resolve to on the Anthropic API plus older models in active use) and cite the deprecations table.
- **Model order (review N8):** the list puts Opus 4.8 after Sonnet 4.6. Grouping by family (Fable, Opus 5.5/5/4.8, Sonnet, Haiku) would read better; the order is shared by STYLE_GUIDE, the FAQ and every footer, so change it everywhere at once.
- **Example plugins:** the follow-up issue proposed above.

## Validation

- `SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid pre-commit run --files <338 changed files>`: every hook passes, including link-check (246 URLs per language). The Mermaid hooks can't install here (`language: node must have package.json or additional_dependencies`, the same failure #247 reported). `python scripts/check_mermaid.py --strict` was run directly instead: Pele 1.6.0 rendered all 416 blocks.
- `python scripts/check_cross_references.py`: all valid (674 files).
- Review fix round 1 (18 files): the same `pre-commit run --files` passes every hook (Mermaid hooks skipped as above; no Mermaid block was touched), and the cross-reference check is still valid after merging `main`.
- Review fix round 2 (14 files: the extended-thinking wording in all 7 LEARNING-ROADMAP files, the dontAsk line in all 7 INDEX files): `pre-commit run --files` passes every hook (Mermaid hooks skipped; no Mermaid block touched), and the cross-reference check is valid (674 files) after merging `main` again (#257).
- Pre-push secret scan: it flagged `06-hooks/README.md:1683` (en, fa, vi), a false positive. The `sk-…{20,}` pattern matches the docs anchor `hooks#pretooluse-ask-decisions-in-auto-mode`, which has been on `main` since 11b2ae3 (en), c2f92c8 (fa) and 8de1820 (vi), and is not on a line this PR changes. The PR's added lines have no secret-pattern matches.

Closes #256
2026-11-12 14:29:18 +01:00
Luong NGUYEN b5548c6b9f docs: sync to Claude Code v2.1.322 (#247)
Type: docs

Syncs the tutorial, its translations and root docs to **Claude Code 2.1.322** (previous sync: v2.1.316, #230). The audit covered every changelog entry for 2.1.317, 2.1.318, 2.1.319, 2.1.321 and 2.1.322, plus the official docs pages for each affected feature. npm `latest` is 2.1.322.

49 files changed (46 in the sync commit, plus `fa/` and `ko/03-skills` in review round 1 and `ko/claude_concepts_guide.md` in round 3). P0 0 · P1 15 · P2 6 (deferred) · P3 30 + 1 blocked · P4 3.

## P1: outdated claims (mirrored to translations)

- **Fable 5.2 (v2.1.321).** The `10-cli` model table gains a Fable 5.2 row (1M context, default effort `medium`), and Fable 5.1 becomes the previous model.
  - The Fable alias note now says `fable` resolves to Fable 5.2 (Fable 5 in Claude apps gateway sessions).
  - `best` now resolves to the same model as `opus`.
  - A saved `claude-fable-5-1` pick moves to `fable` on Pro/Max/Ultra, and on Team/Enterprise when the organization's settings allow.
  - Pricing: $8/$40 per Mtok, with $0.20 per Mtok cache reads.
  - The FAQ and QUICK_REFERENCE model lists name Fable 5.2.
- **Fast mode on Fable 5.2 (v2.1.321, $16/$80):** added to `/fast` in `01-slash-commands`, CATALOG, the `10-cli` fast-mode note and the `CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE` row.
- **`ultrathink`** now lists Fable 5.2 in `09`, `10-cli` and `claude_concepts_guide`.
- **Scheduled tasks (`09`)**:
  - Recurring tasks expire after 7 days, not 3.
  - Tasks are restored on `--resume`/`--continue`, except expired tasks, past-due one-shots and a self-paced `/loop`.
  - Recurring jitter is "up to half the gap, at most 30 min" (`*/5` isn't delayed).
  - One-shots scheduled for `:00`/`:30` run up to 90 s early.
- **Subagent and teammate effort (v2.1.317):** on a different model they use that model's saved effort or its default, not the session's (`04-subagents`, `10-cli`).
- **`switchModelsOnFlag` (v2.1.318):** subagents never pause. With "Ask each time", a flagged subagent request fails instead of switching models.
- **Background commands:** the default limit is 10 minutes in a `-p` run whose prompt is passed as text (the fix is in v2.1.321).
- **Mods Claude writes (v2.1.321):** in `auto`/`bypassPermissions` they turn on without asking. They don't load in `dontAsk` or in `-p` outside those modes.

## P3: additions (English only)

- **`01-slash-commands`:**
  - `/model` "More models" row (v2.1.319/321).
  - `/context` sends Claude only the table.
  - `/ide` no longer installs the extension from an IDE terminal (v2.1.318).
  - `/tasks` "Earlier in this session".
  - `/claude-api latency-optimize`, also added in `03-skills`, CATALOG and the concepts guide.
- **`03-skills`:** two new limits on nested-skill loading: under the Bash sandbox (v2.1.319), and `.claude/skills` inside `~/.claude/plugins` (v2.1.321). The skills docs page doesn't list these exceptions yet; the source is the changelog.
- **`04-subagents`:** background subagents move a shell command to the background after 3 min, and `SendMessage` reaches a busy background agent sooner.
- **`06-hooks`:**
  - Agent SDK `onFailure: "block"` / `on_failure="block"`.
  - An `mcp_tool` hook refuses the call when it can't read the answer (>16 MiB).
  - `defer` works only with a single tool call; `tool_deferred_unavailable` and `CLAUDE_CODE_DROP_UNAVAILABLE_DEFERRED_TOOL`.
  - PostToolUse runs after a `Ctrl+Enter` interrupt (10 s).
- **`07-plugins`:**
  - `$.model.fork` `effort` and `prompt.submit` in the user turn.
  - `${CLAUDE_PLUGIN_ROOT}` in `subagentStatusLine`.
  - Plugin updates install new dependencies.
  - Managed `extraKnownMarketplaces` take-over rules.
- **`08-checkpoints`:** `/rewind` after `/branch` (fixed in v2.1.319).
- **`09-advanced-features`:**
  - `/tasks` row.
  - Background command notifications show only the start and end of a command over 1,000 characters.
  - `claude remote-control --settings <file>`, and sessions keep their folder.
  - OTel `anthropic.plan`, `anthropic.seat_type`, `anthropic.provider`, `anthropic.custom_base_url`.
  - Three v2.1.319 trust-hardening items.
  - Auto-mode `-p` exits 1 when no safety check was available.
  - Monitor WebSocket watches follow Bash rules.
- **`10-cli`:**
  - Fast mode on Google Cloud's Agent Platform: Fable 5.2 only, regions `global`/`us`/`eu`, v2.1.322.
  - `claude auth status` `loginExpiresAt`.
  - `claude -p` `credential_expires_at` and the 10-day stderr warning.
  - Bash permission hardening: `which` with flags, `timeout` wrappers, exact ask vs. broader deny, `cp`/`mv` by path.
  - Agent view `--agent` dispatch default.
  - `MCP_PROTOCOL_NEGOTIATION` 7-day skip.
  - New rows for `CLAUDE_CODE_DISABLE_FEATURE_FLAGS`, `CLAUDE_CODE_DISABLE_NESTED_SESSION_ID` and `permissions.denyInsteadOfPrompting`.

## P4: cosmetic

- Root `README.md`: the version badge, "latest" line and "Current version" line now say v2.1.322 / November 2026.
- `10-cli`: the resume hint repeats launch flags (v2.1.317).
- `08-checkpoints`: directory symlinks are no longer followed by rewind (v2.1.319).

Every file the sync commit changed has a refreshed footer: November 12, 2026 and 2.1.322, with localized labels and dates in translations. `fa/03-skills` and `ko/03-skills` got only the S1 `effort` row fix in round 1, and their footers were left as they were (2.1.316 and 2.1.310), because the rest of those files was not synced to 2.1.322. For the same reason, `ko/claude_concepts_guide.md` got only the round-3 Fable rows and keeps its 2.1.310 footer.

## Translation coverage

- **vi, ko, fa:** carry every P1 change whose text exists in that locale.
- **ja, uk:** carry the P1 changes to the sections they have: `ultrathink`, scheduled tasks, the `effort` row and QUICK_REFERENCE; the README FAQ in ja and uk.
- **zh:** condensed. Only the stale model lists were fixed (README FAQ, QUICK_REFERENCE). zh has no model table, fast-mode note, scheduled-tasks section or `effort` row.
- **`vi/README.md`:** has no FAQ, so Task 2.9 had nothing to change there.
- **ko is partly stale from before this run.** Its module footers were still at 2.1.310, and some 2.1.316 content is missing, such as the `CLAUDE_CODE_SUBAGENT_EFFORT` sentence and `env` row. This PR adds the 2.1.322 P1 changes but does not backfill 2.1.316.
- **Locale README stamps:** the ko and fa READMEs still show v2.1.310 in their badge and "latest" lines. Each locale tracks its own sync state, so they were left as they are.
- **P3 additions are English only.**

## Review round 1 fixes (`docs: address review of v2.1.322 sync`)

Each change was checked again against model-config, env-vars, skills or the raw changelog before it was written.

- **S1:** the `03-skills` `effort` row and the `01` `/effort` row now list Fable 5.2, and give it a `medium` default. The `/effort` row also gives `high` for Fable 5.1 and Fable 5 (model-config: "Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5 default to `medium`… Other models in the effort levels table default to `high`"). Also changed in fa and ko.
- **S2:** `09` `remote-control --settings`: "If the file changes, no new session starts until you restart `claude remote-control`" (CL 2.1.321). English only.
- **S3:** the `10-cli` `claude agents` note now names the five flags from CL 2.1.321. English only.
- **S4:** the `03-skills` nested-skill exceptions are now attributed to the changelog in the text: "The changelog adds two exceptions that the skills docs don't list yet". English only.
- **S5:** the `CLAUDE_CODE_DISABLE_FEATURE_FLAGS` row now says that with the variable set, Remote Control and the other features that need feature-flag fetching are unavailable (env-vars). English only.
- **S7:** wrong effort claims removed from sentences this PR rewrote:
  - `ja/09` and `uk/09` now translate the English effort-level, `xhigh` and default lists.
  - In `ja/10-cli` and `uk/10-cli`, the false "`max` is exclusive to Opus 4.x" clause is dropped. The English sentence has no such clause.
- **N1:** "from v2.1.257 until v2.1.321" in `10-cli`, fa, ko and vi.
- **N2:** the `/context` row now says the 10-row limit applies to the table Claude reads. No locale has this row text.
- **N4:** the Fable models were added to the `09` effort-level, `xhigh` and default lists in en, fa, ko and vi (ja and uk via S7). In `claude_concepts_guide`, Fable 5.2, 5.1 and 5 rows were added to the model/effort table, and the Fable models to its `xhigh`/`max` note, in en and fa.
- **N5:** the `CLAUDE_CODE_SUBAGENT_EFFORT` row now says only what CL 2.1.317 says: a subagent on a different model from the main conversation uses that model's saved effort level or its default, instead of the session's. The old wording said such a subagent "never inherits". How the variable ranks against that rule isn't stated by any source. Also changed in fa and vi; ko has no row.
- **N8:** "where Fable is available" was restored to the pre-v2.1.321 `best` behaviour, in en, fa, ko and vi.

## Review round 2 fixes (`docs: add Fable models to the effort-level bullet in 09`)

- Added the Fable models to the `09` "Opus 5 / Opus 4.8" effort bullet (en, fa, ko, vi): Fable 5.2 defaults to `medium`, Fable 5.1 and Fable 5 to `high`, and all of them support `xhigh` and `max`.
- Added the Fable models to the en `10-cli` `CLAUDE_CODE_EFFORT_LEVEL` row.

## Review round 3 fixes (`docs: align model and effort lists with model-config (v2.1.322 sync)`)

The model and effort lists changed in this round now match model-config.md (effort table, default-effort rule and 1M list, re-fetched before editing). The lists still behind are under Follow-ups.

- **en (R2-S1):** the Fable models were added to the remaining `09` effort lists (the "Effort level" heading line and three `CLAUDE_CODE_EFFORT_LEVEL` code comments) and to the `10-cli` "Effort Levels" paragraph and its code comment. The paragraph now gives Fable 5.2 a `medium` default, matching the model table above it.
- **fa, ko, vi (R2-S1, R2-S2):** mirrored the same lines, and brought the `10-cli` `CLAUDE_CODE_EFFORT_LEVEL` row in line with en. `ko/claude_concepts_guide.md` gains the Fable 5.2, 5.1 and 5 rows, and its `xhigh`/`max` note names the Fable models, as in en and fa.
- **ja, uk (R2-S2, R2-S3):** removed the false "`xhigh` is Opus 4.7-only" and "`max` is Opus 4.7/4.6-only" claims from `09` and `10-cli`. The support and `xhigh` lists now match model-config, and the model lists in the `CLAUDE_CODE_EFFORT_LEVEL` row are translated from en.
- **ja, uk `04-subagents` (R2-S4):** the `effort` row and the frontmatter comment now list `xhigh`.
- **Haiku 4.5 context (R2-N2, factual part only):** `uk/10-cli` listed Haiku 4.5 at 1M tokens. It's now 200K, matching en `10-cli` and model-config's 1M list, which doesn't include Haiku 4.5. The same cell in `ja/10-cli` was fixed too.
- Merged `main` (#246, scripts only).

## Learner skills

No changes landed. Three edits are pending because writes to `.claude/skills/**` were refused by the permission system in this run:
- `lesson-quiz` `question-bank.md` Lesson 09 Q5 explanation: add Fable 5.2 to the `ultrathink` model list (P1).
- `self-assessment` `topic-recommendations.md` and its `SKILL.md` mirror, Advanced Features focus line: same change (P1).
- Lesson 04 Q10 explanation: optional `/tasks` "Earlier in this session" note (P3).

No correct answer letter changes, and all 100 `Review` pointers still resolve.

Exact text for the follow-up (from the round-1 review, §6):

1. `.claude/skills/lesson-quiz/references/question-bank.md:718` (Lesson 09 Q5, Explanation):
   - old: ``Since v2.1.311, typed in the interactive terminal on Opus 5.5, Sonnet 5.5, Haiku 5.5, or Fable 5.1 through Anthropic's API, it also runs that turn at `xhigh` effort,``
   - new: ``Since v2.1.311, typed in the interactive terminal on Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2 (v2.1.321+), or Fable 5.1 through Anthropic's API, it also runs that turn at `xhigh` effort,``
2. `.claude/skills/self-assessment/SKILL.md:351` **and** `.claude/skills/self-assessment/references/topic-recommendations.md:73` (identical lines):
   - old: ``and the `ultrathink` keyword, which runs that turn at `xhigh` effort on Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.1 (v2.1.311+)``
   - new: ``and the `ultrathink` keyword, which runs that turn at `xhigh` effort on Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2, and Fable 5.1 (v2.1.311+; Fable 5.2 needs v2.1.321+)``
3. Version bumps: `lesson-quiz/SKILL.md` `version: 1.6.4` → `1.6.5`; `self-assessment/SKILL.md` `version: 2.5.7` → `2.5.8`.
4. Footer stamps: `question-bank.md` and `topic-recommendations.md`, 2.1.316 → 2.1.322. Optionally add `https://code.claude.com/docs/en/model-config#use-ultrathink-for-one-off-deep-reasoning` to Sources; it is already listed in both.
5. Optional (P3): Lesson 04 Q10 explanation, a note on the `/tasks` "Earlier in this session" row. It changes no letter.

## Needs maintainer decision (P2, not applied)

1. **Self-paced `/loop` ending.**
   - Repo: says nothing about how a no-interval `/loop` ends.
   - Docs: "If an iteration ends without either rescheduling or stopping, Claude Code schedules one fallback wakeup about 20 minutes later".
   - Changelog 2.1.319: self-paced `/loop` now ends "instead of scheduling a fallback wakeup; set `CLAUDE_CODE_LOOP_KEEPALIVE=1` to keep the old behavior".
   - https://code.claude.com/docs/en/scheduled-tasks#stop-a-loop
2. **Auto mode with telemetry or feature flags off.**
   - Repo (`10-cli` `CLAUDE_CODE_AUTO_MODE_SERVER` row, `09`): "Set to `0` to use Claude Code's own auto-mode classifier requests instead of server-side review".
   - Docs: when the review is dropped, "Claude Code falls back to its own classifier requests".
   - Changelog 2.1.319: calls the server can't check "are asked about or denied, with no fallback to the built-in classifier".
   - https://code.claude.com/docs/en/permission-modes#server-side-classifier-review
3. **MCP tasks.**
   - Repo (`05-mcp`): public beta since v2.1.304, needs feature-flag fetching (not Bedrock, Vertex, Foundry or telemetry off).
   - Docs: same.
   - Changelog 2.1.319: terminal support moves tasks to the background, works without feature-flag fetching, and adds `CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND` and `CLAUDE_CODE_DISABLE_MCP_TASKS`. The second variable is only in the changelog.
   - https://code.claude.com/docs/en/mcp#mcp-tasks-that-run-on-the-server
4. **`deniedMcpServers` URL entries.**
   - Repo (`05-mcp`): "`serverUrl` | A remote server URL, exact or with `*` wildcards".
   - Changelog 2.1.318: URL entries also block Anthropic-provided servers and cloud-session connectors.
   - Docs: "a `serverUrl` pattern written for the connector's own URL doesn't match it".
   - https://code.claude.com/docs/en/mcp#how-connectors-reach-claude-code
5. **`CLAUDE_CODE_PLUGIN_DIR_WATCH`.**
   - Repo (`07-plugins`): has only a generic hot-reload note.
   - Changelog 2.1.321: headless sessions now reload `.claude/skills` mods, and `=0` turns this off.
   - Docs: reloading covers `--plugin-dir` mods, is on in interactive sessions, and "Set to `1` to turn it on in non-interactive sessions".
   - https://code.claude.com/docs/en/env-vars#variables
6. **Mods' own tool calls.**
   - Repo (`07-plugins`): says nothing about prompting.
   - Changelog 2.1.321: `$.tool.call` and `$.mcp.call` "raise no permission prompt, even under your own ask rules".
   - Docs: "`$.mcp.call` | Calls a tool on a connected MCP server, under the session's permission rules".
   - https://code.claude.com/docs/en/plugins/mods/admin#review-what-a-mod-can-do

## Follow-ups (separate PRs)

- **Stamps only (review N3 + N6):** add Fable 5.2 to the "Compatible Models" footers (88 lines; root files still list Fable 5.1 as newest, and module files lack Opus 5.5, Sonnet 5.5 and Haiku 5.5). Align the locale README badges and "latest" lines: ja 2.1.119, zh and uk 2.1.112, ko and fa 2.1.310.
- **ko catch-up sync (review N7):** backfill 2.1.316 in ko: the Opus 4.8 fast-mode deprecation, the `CLAUDE_CODE_SUBAGENT_EFFORT` sentence and row, and the v2.1.311 `ultrathink` model list.
- **Learner skills (review S6):** apply the exact text under "Learner skills" above once `.claude/skills/**` is writable.
- **"Effort Levels (…)" headings (review R2-N1):** `10-cli` and its locale copies name only some models in the heading. They were left unchanged because renaming them changes the anchors.
- **Opus 4.6 row (R2-N4):** `claude_concepts_guide.md` (and fa, ko) has no Opus 4.6 row, but the note below the table mentions it. The Sonnet 4.6 row's "1M tokens" also needs the `[1m]`-variant qualifier.
- **`high`-default lists (R2-N5):** the `01` `/effort` row and the `10-cli` `CLAUDE_CODE_EFFORT_LEVEL` row (and their locale copies) leave Opus 4.6 and Sonnet 4.6 out of the `high` default.
- **ja/uk/zh/vi effort catch-up (R2-N6):** the `/effort` rows in `ja/01`, `uk/01`, `zh/01` and `vi/01` still say `max` needs Opus 4.7 or Opus 4.6. `ja/claude_concepts_guide.md:3061` has an Opus 4.7-era table.
- **uk/ja `10-cli` model tables (rest of R2-N2):** `uk/10-cli` `--effort` lacks `xhigh`, its model table is Opus 4.6-era (and Opus 4.6 / Sonnet 4.6 reach 1M only through `[1m]`), and it says "Opus 4.6 підтримує…". The `ja/10-cli` model table is Opus 4.7-era.
- **`06-hooks` context-limit comment:** the `CONTEXT_LIMIT` comment's 1M list leaves out the Fable models and Opus 4.7, and lists Sonnet 4.6, which reaches 1M only through `[1m]` (also in fa, ko and vi). This predates the PR.
- **ja/uk stale model lists:** `ja/09:228` and `uk/09:220` ("all models (Opus 4.7/4.6, Sonnet 4.6, Haiku 4.5)"), and `ja/10-cli:717-719` (the "Opus 4.7" heading and paragraph, the counterpart of en `10-cli:853`). In ja and uk, the 2.1.322 stamp covers the sections those files have; these older lists are tracked here.

## Validation

`pre-commit run --all-files` passes: markdown-lint, cross-references, link-check (247 URLs) and markdown-rendering in all five hooked languages, plus the Python checks. The Mermaid hooks were skipped with `SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid` because their `language: node` environment fails to install under pre-commit 4.7.0. `python scripts/check_mermaid.py --strict` was run directly instead: Pele rendered all 416 blocks. The pre-edit baseline was also all green. For the round-1 fixes, `pre-commit run --files` on the 20 changed files passes, with the same Mermaid SKIP; the `language: node` install error was reproduced. `check_mermaid.py --strict` (416 blocks) and `check_cross_references.py` (675 files) also pass. For round 3, pre-commit on the 15 changed files passes, with the same Mermaid SKIP. `check_cross_references.py` (676 files after the merge), `check_mermaid.py --strict` (416 blocks) and `pytest scripts/tests/` (234 passed, after merging #246) also pass.

## Sources

- https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md (2.1.317–2.1.322) and https://code.claude.com/docs/en/changelog
- https://www.npmjs.com/package/@anthropic-ai/claude-code
- https://code.claude.com/docs/en/model-config
- https://code.claude.com/docs/en/fast-mode
- https://code.claude.com/docs/en/scheduled-tasks
- https://code.claude.com/docs/en/remote-control
- https://code.claude.com/docs/en/errors
- https://code.claude.com/docs/en/settings-reference#permissions-denyinsteadofprompting
- https://code.claude.com/docs/en/env-vars
- https://code.claude.com/docs/en/hooks
- https://code.claude.com/docs/en/agent-sdk/hooks
- https://code.claude.com/docs/en/tools-reference
- https://code.claude.com/docs/en/plugins/mods/create
- https://code.claude.com/docs/en/plugins/org
- https://code.claude.com/docs/en/skills
- https://code.claude.com/docs/en/commands
- https://code.claude.com/docs/en/vs-code
- https://code.claude.com/docs/en/agent-view
- https://code.claude.com/docs/en/mcp
- https://code.claude.com/docs/en/permissions
- https://code.claude.com/docs/en/permission-modes
- https://code.claude.com/docs/en/cli-reference
2026-11-12 13:02:46 +01:00
Luong NGUYEN 11b2ae302a docs: sync to Claude Code v2.1.316 (#230)
Type: docs

## Summary

Syncs the tutorial, its vi/ja/zh/uk translations, and the two learning
skills to **Claude Code 2.1.316** (previous sync: v2.1.310, #209). The
audit covered the 2.1.311–2.1.316 changelog (Oct 26–31, 2026), the 151
official docs pages that changed since Oct 26, and news since then.

45 files changed. By priority: P0 3 · P1 41 · P2 5 · P3 33 (3 more
deferred) · P4 8.

## Notable fixes

- **Broken example (P0):** the `10-cli` CI review example used
`--max-turns 1`. The final reply now counts as a turn, so the run ends
with `error_max_turns` before writing a review. It now uses `--max-turns
5` (EN + vi/ja/uk).
- **Learning skills (P0):** the lesson-quiz L09 Q5 explanation said
`ultrathink` never changes the effort level, and a self-assessment
checkpoints line said outside edits are never touched by a restore. Both
are corrected. No graded answer changed, and all 100 `Review` pointers
still resolve. Versions bumped: lesson-quiz 1.6.4, self-assessment
2.5.7.
- **Ultra plan:** Max 20x was renamed Ultra on Oct 30, 2026, so Ultra is
added to every Pro/Max plan list.
- **Plugins:** examples move off the deprecated `claude-code-plugins`
demo marketplace to `claude-plugins-official`.
- **Models and effort:**
  - Opus 4.8 fast mode is marked deprecated (removal Nov 30, 2026).
  - `ultrathink` now raises its turn to `xhigh`.
- Effort precedence, `auto`/`unset`, and skill `effort` scope are
updated.
- **Behavior changes:**
  - Idle compaction runs after "about an hour".
- Critical-path `rm` adds
`CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS`, and the
`DISABLE_DANGEROUS_RM_TIMEOUT` description is fixed.
  - The `/permissions` tab is now "Recently blocked".
  - Up to 24 prompt/agent hooks run at once.
  - Blocked agent-team tasks can still be assigned.
- A checkpoint restore can overwrite outside edits to files the session
edited.
  - An npm 12 postinstall caveat is added.
  - The Desktop worktree claim is fixed.
- **Changelog-vs-docs conflicts (P2):** `safety_event` is no longer
sent, subagent `autoCompactWindow`, subagent token cost, CLAUDE.md
"architecture" advice, and the `bypassPermissions` wording.

Every changed file has a refreshed footer (Nov 1, 2026 / 2.1.316, with
localized labels in translations).

## Not in this PR

- Deferred P3s: mods render-failure note, a duplicate env-var group in
`09`, `permissions.blockWritesOutsideWorkingDirectories` (not in the
official docs yet).
- `**Compatible Models**` footers still list no 5.5 models. That is a
repo-wide convention left for a separate decision.

## Validation

`pre-commit run --all-files` cannot start on the authoring machine
because `python3.11` is not installed. I ran it with a config copy
pinned to `python3.12`, plus `scripts/check_mermaid.py --strict`:
- Every hook passed.
- 254 external URLs are reachable.
- Pele rendered all 286 Mermaid blocks.

The baseline before the edits was also all green.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-11-02 06:48:55 +01:00
Luong NGUYEN ba721a3abc docs: sync to Claude Code v2.1.310 (#209)
Type: docs

## Summary

Syncs the tutorials, translations, and learning skills from Claude Code
v2.1.302 to **v2.1.310**: the 2.1.303–2.1.310 changelog plus the
official docs pages reworded since Oct 18. 64 files: English 17, ja 13,
uk 12, vi 10, zh 7, learning skills 5.

**Breaking (P0)**
- `claude ultrareview` CI example: needs workspace trust since v2.1.309,
so the copy-paste step always failed. It now passes `--trust-workspace`,
and the exit-code note is corrected (1 = failed or untrusted, not
"findings reported").
- Quiz Lesson 08 Q4 graded an answer that said all Bash file changes
escape checkpoints. Rewritten per the current rule: files Claude already
edited are restored even after later Bash changes; `sed -i` counts as
Bash since v2.1.309. `Correct` stays B.

**Outdated (P1)**
- Tool search is on behind a custom `ANTHROPIC_BASE_URL` gateway since
v2.1.304 (05-mcp said the reverse; 10-cli said off on Vertex).
- Fork mode is on everywhere since v2.1.302;
`CLAUDE_CODE_FORK_SUBAGENT=0` turns it off. A plan-mode parent keeps
subagents in plan mode; teammate plans are auto-approved.
- `claude -p` / Agent SDK runs with no permission mode start in Manual
mode and deny calls that need approval.
- Routines are now "cloud scheduled tasks (formerly routines)"; `/loop`
tasks are session-scoped.
- Checkpoints: Bash changes to already-edited files are tracked;
subagent edits to those files are restored.
- `axScreenReader` is honored only from user, managed or `--settings`
files since v2.1.305.
- Hooks `"defer"` ends the turn and works only with `-p`.
- Managed CLAUDE.md can't be skipped with `claudeMdExcludes`, but a
session with CLAUDE.md loading off skips it; on-demand CLAUDE.md/rules
files are truncated past a per-file limit since v2.1.309.
- `CLAUDE_CODE_AUTO_MODE_MODEL=claude-sonnet-5-5` was silently ignored;
now `claude-sonnet-4-6`. Desktop PR toggles renamed **Auto-fix** /
**Merge when ready**.

**Conflicts resolved (P2)**
- `claude -p "Run all tests…"` examples append `--permission-mode auto`
(QUICK_REFERENCE gets a comment pointing to `--allowedTools` instead).
- DBHub: README template list and the 09 `mcp-postgres` example point
`DATABASE_URL` at a SELECT-only user; JSON templates unchanged.
- "Always in the background" in desktop/VS Code → "while fork mode is on
(the default)"; critical-path `rm` isn't sent to the classifier since
v2.1.281.

**New (P3)**, each a row or a sentence beside existing siblings, English
only:
- New `###` sections: "Let Claude Wait for a Subagent" (04), "MCP Tasks
(public beta, v2.1.304+)" (05), "Plugin Shows Version `unknown`" (07).
- Commands: `/schedule`, `/auto-mode-setup`, `/artifacts` keys,
`/claude-api api-version` / `managed-agents-secure`, `/design consent` /
`revoke`, `/usage` fix shortcut, `/doctor` Usage check.
- v2.1.304–2.1.310 env vars, settings, limits, OTel events, monitor
availability, mods API notes, MCP timeouts and retry hints.

**Learning skills**
- lesson-quiz 1.6.3: L08 Q4 (above); explanations for L02 Q1/Q9, L04
Q6/Q10, L05 Q3, L09 Q6/Q9; README fences get `text`. No `Correct` letter
or Review pointer changed.
- self-assessment 2.5.6: Checkpoints, CLI, MCP and Memory
recommendations, edited identically in `SKILL.md` Step 4 and
`topic-recommendations.md`. No scoring change.

**Please review**
- New ja, zh and uk wording would benefit from a native-speaker read.

**Not in this PR**
- Example plugins whose hook/MCP files never load; `/advisor` on Claude
Platform on AWS (docs still contradict the changelog); 21 undocumented
commands and the translation backfill.
- Translated QUICK_REFERENCE files still use `claude --enable-auto-mode
-p`.
- The "20 bundled skills" count in CATALOG.md and 01-slash-commands is
now two short of its table.

## Test plan

- [x] `pre-commit run --all-files`: all hooks pass, same as the pre-edit
baseline. Run with a config copy pinned to `python3.12` because
`.pre-commit-config.yaml` pins `python3.11`, which this machine lacks;
Mermaid hooks skipped there.
- [x] `python scripts/check_mermaid.py --strict`: Pele rendered 286
blocks.
- [x] link-check: 247 external URLs reachable.
- [x] Every changed file carries the 2.1.310 footer (localized labels
and dates in translations); both `SKILL.md` versions bumped.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


## Review follow-ups

Two `issue-pr-review --review-only` rounds found nothing blocking. The
nits they raised were fixed on this branch:

- 8b5a5e3: `--permission-mode auto` on the headless "Run all tests"
examples (en/ja/uk/vi 09); ultrareview exit code 130 (10-cli); fork-mode
wording in 04-subagents; MCP-task requirements for non-interactive runs
(05-mcp).
- d0daa29: split the semicolon chains in 04-subagents and 05-mcp; the
QUICK_REFERENCE CI comment now points to `--permission-mode auto` (all 5
languages); zh 09 headless example.

Local pre-commit tooling gaps found during review: #210 and #211.
2026-10-27 07:28:59 +01:00
Luong NGUYEN 232591b2a8 docs: sync to Claude Code v2.1.302 (#194)
* docs: sync to Claude Code v2.1.302

Release changes (v2.1.301-2.1.302): fork subagents on by default in claude -p, the Agent SDK, desktop and VS Code (CLAUDE_CODE_FORK_SUBAGENT=0 turns them off); claude -p / SDK sessions with no permission mode start in default on third-party providers, with telemetry off or on a fresh install; at most 12 prompt/agent hooks of one event run at once; new CLAUDE_CODE_AUTO_MODE_MODEL and CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS; /config Idle compaction row; vim % motion; tool_decision OTel attributes; fable/best fallback; 64-argument limit; hook ask prompts name their plugin or skill; PowerShell finds plugin bin/; mod Input rows. Also: standalone Claude Design closes Dec 14, 2026; Sonnet 4.5 retires Nov 30, 2026; managed Code Review GA; npm install marked deprecated per the official README.

Verified drift fixes (each checked against code.claude.com): hook handler JSON shapes, prompt-hook response schema, exec/HTTP/mcp_tool hook fields; GitHub MCP URL (api.githubcopilot.com) and token; nonexistent @modelcontextprotocol/server-database; plugin layout, marketplace, userConfig, strictKnownMarketplaces, blockedMarketplaces and enabledPlugins shapes; nonexistent deniedPlugins, autoCheckpoint, planning.*/extendedThinking.* keys; invented 09 settings schema; claude -p JSON output jq paths; subagent forks via subagent_type "fork" not context: fork; --agents priority; MCP default scope; command descriptions; rewind menu has six options; broken nested code fence in 07-plugins. Shipped hook scripts: pre-commit.sh reads stdin and only gates git commit; validate-prompt.sh uses hookSpecificOutput; session-end.sh no longer reads /dev/tty. Fixes mirrored into vi/ja/zh/uk where the same claim existed.

Learning skills: quiz Lesson 05 Q2 option B (GitHub MCP URL; Correct letter unchanged), explanations for L02 Q2, L04 Q6/Q9, L09 Q1, L07 Q2 wording; self-assessment wording in paired files; lesson-quiz 1.6.2, self-assessment 2.5.5.

* fix(hooks): parse pre-commit.sh hook input with sed instead of jq

* fix(mcp): restore DATABASE_URL expansion and align MCP env var setup

* fix(mcp): align QUICK_REFERENCE GitHub token and Example 2 DATABASE_URL setup
2026-10-19 09:56:39 +02:00
Luong NGUYEN f24cc80842 docs: sync to Claude Code v2.1.300 (#193)
* docs: sync to Claude Code v2.1.300

Release changes (v2.1.299-2.1.300): remove --sandbox/--no-sandbox (gone from claude remote-control; never main-CLI flags); updatedInput validation; UserPromptSubmit runs before skill/command expansion; MCP permission rules and agent tools: match only the named server; MCP description limits (4,096 / 16,384, first-party exemption); transcripts record system prompts; idle compaction, idleCompaction setting and new env vars; plugin eval --disallow-tools; mods Text props (bold deprecated); agent view /effort and /fast.

Verified drift fixes: nonexistent /task, /session, /todo, /worktree commands and claude web; agent-teams env var; invalid plugin monitors and CLAUDE_PLUGIN_DATA hook examples; hook-events table, skill hook scope and once; skillOverrides; claude agents opens agent view; notify-team.sh git push filter; validate-prompt.sh prompt field; native installer recommended; prompt-cache TTL defaults; fast-mode models; /undo is a /rewind alias; CATALOG field rows and bundled skills; remove ignored name: from plugin command templates. Fixes mirrored into vi/ja/zh/uk where the same claim existed.

Learning skills: rescope quiz Lesson 03 Q8 to the Agent Skills spec, fix self-assessment Round 2 Option 4 and Round 4 Option 2, refresh explanations and a Review pointer; lesson-quiz 1.6.1, self-assessment 2.5.4.

* fix(hooks): match git push anywhere in notify-team.sh command
2026-10-15 22:23:05 +02:00
Luong NGUYEN 065ab3734f docs: sync to Claude Code v2.1.296 (#192)
Haiku 5.5 is now the haiku alias on the Anthropic API (v2.1.293): add it to the closed model lists for thinking, effort, auto-mode eligibility, and the lean system prompt, plus table rows.

Also: claude project purge renamed to claude purge; background-command time limit is unattended-only; rules and nested CLAUDE.md load on Write/Edit and single-file Bash reads; claude plugin install --marketplace on the CLI; WebSearch budget refill; 1,536-character skill-listing cap; MCP description limits; new Mods section, hooks onFailure, subagent autoCompactWindow, new env vars.

Learning skills: fix quiz Lesson 02 Q10 answer options (--add-dir alone does not load CLAUDE.md), reword Lesson 10 Q8 to one correct answer, refresh explanations; lesson-quiz 1.6.0, self-assessment 2.5.3.
2026-10-11 00:23:29 +02:00
Luong NGUYEN 556af8d523 docs: sync to Claude Code v2.1.285 (#188)
* docs: sync to Claude Code v2.1.285

Audit against Claude Code 2.1.284-2.1.285 (baseline 2.1.283).

- P0: quiz L07 Q6 graded a nonexistent `/plugin install github:` form
- P1: Ultracode is a separate /effort toggle (no longer forces xhigh);
  interactive sessions start in auto mode on every plan and provider;
  `claude mcp list` shows ws servers; MCP_STARTUP_WAIT_MS=0 still waits
  for --allowedTools servers; skill effort rule includes Sonnet 5.5;
  github: install syntax fixed (5 langs); README version; quiz fixes
- P2/P3 (approved): -p/Python SDK start rule, Enabling Auto Mode block,
  auto-mode model lists, Sonnet 5.5, plugin configure, background
  command time limit, --desktop, new env vars, symlinked-rule approval
- lesson-quiz 1.5.0, self-assessment 2.5.2

* fix(docs): address review feedback — align Sonnet 5.5 effort/thinking enumerations
2026-09-30 14:33:22 +02:00
Luong NGUYEN c777d43e5a docs: sync to Claude Code v2.1.283 (#184)
* docs: sync to Claude Code v2.1.283

Audit the tutorial against Claude Code 2.1.280-2.1.283 (baseline 2.1.278;
2.1.279 was never published) and fix claims that are now false.

- P0: /agents shown as a working command (5 languages); 10-cli and concepts
  guide model tables naming Sonnet 5 / Opus 5 as defaults (Opus 5.5 since
  v2.1.280); two quiz answer keys (L10 Q5, L01 Q9)
- P1: Opus 5.5 effort/fast/model defaults; send now backgrounds tools;
  cmd is not an alias of meta; AGENTS.md provider caveat lifted in 2.1.281;
  Ctrl+X Ctrl+K replaces Ctrl+F; MCP tool search on by default; quoted
  ${CLAUDE_PLUGIN_ROOT}; --system-prompt-file works interactively;
  CLAUDE_CODE_AUTO_MODE_SERVER scope; quiz and self-assessment fixes
- P2/P3 (approved): auto-mode start on third-party/telemetry-off, agent hooks
  on PermissionRequest, rm 2-minute auto-deny, Opus 5.5 always thinks,
  new settings and plugin validate checks

lesson-quiz 1.3.0 -> 1.4.0, self-assessment 2.5.0 -> 2.5.1.
Footers refreshed to 2.1.283 on every touched file.

* fix(subagents): replace remaining /agents instructions in translated lessons
2026-09-26 08:56:48 +02:00
Luong NGUYEN 8aeb5a72dc docs: sync to Claude Code v2.1.278 (#183)
* docs: sync to Claude Code v2.1.278

Type: docs

Audit of the tutorial against Claude Code 2.1.278 (repo baseline was
2.1.263). Fixes claims the repo asserts that are now false; new-feature
coverage is English-only.

P0 - the repo stated the opposite of current behavior:
- AGENTS.md: the claude-md skill said Claude Code "does not read
  AGENTS.md directly" in all 5 languages. It has since v2.1.277, when no
  CLAUDE.md exists at or above the working directory.
- /output-style: listed as "Removed in v2.1.91" in 5 languages and in
  09-advanced-features. Re-added in v2.1.269; row moved out of the
  Deprecated Commands table.
- Permission rules: setup-auto-mode-permissions.py seeded Write(*),
  Glob(*) and NotebookEdit(*), which Claude Code accepts but never
  consults and warns about at startup. Removed; same fix in the
  config-examples.json profile and the 06/09 category tables.
- taskOutputMaxChars: documented as live. The TaskOutput tool was
  removed in v2.1.278 and the key is inert.

P1:
- Dynamic workflow "medium" guideline is fewer than 10 agents, not 15;
  the default is small on Pro plans since v2.1.271.
- Todo-tool availability restated as the official allowlist (Claude 3.x,
  Opus 4-4.7, Sonnet 4-4.6, Haiku 4.5) instead of a denylist; 23 sites
  across 5 languages.
- Memory hierarchy now notes the AGENTS.md fallback.
- Auto-mode classifier cost qualified: not charged on Enterprise plans
  and Claude API accounts since v2.1.278.

P3 (English only): full AGENTS.md section in 02-memory; omitClaudeMd
subagent field; plugin eval / --json / --accept-command / --marketplace;
maxEffortLevel, bashEditDiffEnabled, syncClaudeAi*, 4 env vars,
--system-prompt-snapshot, --plugin-dir folders; send-now key and Monitor
deadlines; checkpoints subagent-edit limitation.

Learning skills audited clean: 100 quiz questions and 100 Review
pointers all valid, 20 self-assessment options correctly mapped.

Cross-file anchors: 15 broken before, 15 after, 0 introduced.

* docs: address review — stale version stamps, /output-style re-add, permission tables
2026-09-20 01:15:34 +02:00
Luong NGUYEN 97bfb0685e docs: sync to Claude Code v2.1.263 (#181)
Audit against the 2.1.258-2.1.263 delta and current official docs.

The release delta produced one contradiction: keybindingFlavor was
deprecated to a no-op in v2.1.261, but 10-cli and 09-advanced-features
still documented it as selecting between "classic" and "readline" with
classic as the default. Readline conventions are now unconditional.

Re-reading the enterprise MCP section against the current managed-mcp
docs found it structurally wrong, independent of the delta:

- allowedMcpServers, deniedMcpServers and allowAllClaudeAiMcps were
  presented as fields of managed-mcp.json. They are settings keys;
  managed-mcp.json holds an mcpServers map in .mcp.json format.
- Linux and Windows deployment paths were per-user (~/.config/ClaudeCode,
  %APPDATA%) where the real ones are system paths. An admin deploying to
  the documented path got no enforcement.
- The denylist example used serverName "untrusted-*". Name matching is
  exact and never expands wildcards, so that pattern blocks nothing.
- Allow/deny entries paired two keys in one object and wrote
  serverCommand as a bare string; both forms are invalid.

Mirrored into vi, ja and uk. zh has no enterprise MCP section.

Also removed a claim in 09-advanced-features and 10-cli that the settings
reference does not list modelPricing. It documents it, along with every
other key in that table.

New in this release range: /skill-doctor, /diff fullscreen panel,
/advisor text form and /reload-plugins in headless sessions,
managedMcpServers, --permission-prompts none,
--append-subagent-system-prompt-file, bashOutputMaxChars,
taskOutputMaxChars, and claude plugin validate --json.

Validation: pre-commit run --all-files, 23/23 hooks pass.

Claude-Session: https://claude.ai/code/session_01PAXabzMfDJxom9JPXtkK5o
2026-09-06 11:04:12 +02:00
Luong NGUYEN 1e16914a8d docs: sync to Claude Code v2.1.257 (#180)
* docs: sync to Claude Code v2.1.257

Audit against Claude Code v2.1.257 (repo baseline was v2.1.245, 12 releases
behind). Facts verified against the official docs and cross-checked against
the locally installed 2.1.257 binary.

Critical (P0):
- lesson-quiz L06 Q9 asked how many hook events exist, offering 16/25/31/40.
  With the real answer now 33, no option was correct. Option C 31 -> 33;
  answer letter unchanged.
- 03-skills taught SKILL.md `name`/`description` as required. Official docs
  now state all frontmatter fields are optional and `name` defaults to the
  directory name. Corrected in all five languages.

Hook events 31 -> 33 (PreModelSwitch/PostModelSwitch, v2.1.251) across 30
occurrences in 22 files, including three that read 25. Delta proved by
set-diff against the official event table: no phantom events. Both events
added to the 06-hooks tables with matcher, blocking behavior and 30s timeout,
plus detailed per-event sections.

CLI corrections verified against the binary:
- `claude plugin tag` takes a path, not a version
- `claude plugin init` / `validate` require their arguments
- `plugin init` scaffolds at ~/.claude/skills/<name>/, not project-local
- `--channels` entries must be tagged plugin:<name>@<marketplace>
- `--remote` is a deprecated alias for `--cloud`
- no `claude remote-control` subcommand exists, only the --remote-control flag

Also: CATALOG summary-table totals recomputed in all five languages (column 4
is a derived total, so the count change invalidated it); stale Opus 4.6/4.7
rosters aligned to canonical; self-assessment Advanced Features rescored 0-3
to stop a real gap being graded as mastery; 9 dangling quiz Review pointers
repaired; new features documented (--restricted, Fable 5.1,
experimental.cacheTtl, CLAUDE_CODE_SUBAGENT_MODEL_FORCE).

Deliberately out of scope: pre-existing translation staleness whose fix is
translation authorship rather than correction (ja/uk April-2026 root-doc
bodies, zh stubs, vi/README stub, translated CATALOG "New Features").

Claude-Session: https://claude.ai/code/session_01128xfEd8W7c2cMRw6N7uiF

* fix(hooks): complete the 31 → 33 hook-event propagation across all languages

The v2.1.257 sync bumped the hook-event count in the lesson and catalog
summaries but left 14 files still asserting 31, four of which the same
commit restamped 2.1.257. It also bumped the prose count in
claude_concepts_guide.md without adding the two rows, making that file
contradict itself where it had been internally consistent before.

Adds PreModelSwitch and PostModelSwitch (v2.1.251) everywhere an
exhaustive enumeration exists, and corrects the count wherever a list is
deliberately partial:

- README.md / INDEX.md in en, ja, zh, uk and vi/INDEX.md — count 31 → 33
  and both events added to the lifecycle group
- resources.md in all five languages — count only; these lists end in
  "and more" and are partial by design
- claude_concepts_guide.md — the two missing table rows

Also brings every hook-event table up to the 33 its own summary row
claims. The English CATALOG.md listed 29; the translated catalogs listed
25 and the ja/uk concept guides 27 and 28. Completing them required
translating six events that had never reached the mirrors: Setup,
UserPromptExpansion, PermissionDenied, PostToolBatch, MessageDisplay and
DirectoryAdded.

Summary-table arithmetic is untouched — those columns count example
scripts, not events.

Verified: no stale count survives outside CHANGELOG history, every
exhaustive enumeration lists exactly 33, and pre-commit passes 23/23.

Claude-Session: https://claude.ai/code/session_01UXmqJZNk1BR4uerJA85NiW
2026-09-02 10:35:08 +02:00
Luong NGUYEN 28149a85fc docs: sync to Claude Code v2.1.245 (#177)
* docs: sync to Claude Code v2.1.245

Sync the tutorial, its four translations, and both learner-facing skills
against Claude Code v2.1.245 (was anchored at v2.1.235).

The graded material turned out to be staler than the tutorials it grades.
The lesson READMEs already said "31 hook events", "six rewind options" and
"six permission modes"; the quiz and self-assessment still said 25, 5 and 5,
so learners were scored against a wrong answer and then sent to a lesson
that contradicted it. Seven such claims are fixed here.

Two long-standing doc defects were also verified against official docs:

- Hook default timeout was documented as 60 seconds. It is 600 for
  command/http/mcp_tool (30 for prompt, 60 for agent), with per-event
  overrides. Wrong in five places.
- Skill precedence was documented as enterprise > project > personal. The
  official order is enterprise > personal > project. question-bank.md
  Lesson 03 Q9 already graded the correct order, so the lesson had been
  contradicting its own quiz.

Fixed
- Hook default timeout 60s -> 600s, with per-event overrides
- Skill precedence: project and personal were swapped
- Memory "overrides root CLAUDE.md" -> concatenation model (last holdouts
  after the quiz was aligned in #164)
- permissionMode frontmatter omitted `auto` (English + vi/ja/uk); the quiz
  was right and the docs were wrong
- Built-in subagent `Bash` no longer exists upstream -> renamed to `claude`
- `/undo` is absent from the official commands reference -> marked deprecated
- `backgroundTasks` settings block was fabricated -> replaced with
  CLAUDE_CODE_DISABLE_BACKGROUND_TASKS and the concurrency env var
- Plugin manifest field is `lspServers`, not inline `lsp`
- vi/05-mcp documented `claude mcp add --transport ws`, which upstream
  explicitly does not support
- Self-assessment could never reach its own maximum score: rounds cap at
  4+4+4+3+4 = 19, not 20
- 13 dangling quiz `Review:` pointers, two of which named another lesson
- Skill description cap: 1024 chars -> 1,536 combined with `when_to_use`

Added
- WebSocket (`ws`) MCP transport, undocumented until now
- Concise output style (v2.1.237), a fifth built-in
- modelPicker, promptCacheTtl, subagentPromptCacheTtl, modelPricing,
  keybindingFlavor settings
- ANTHROPIC_DEFAULT_MODEL env var
- Hook `async`, `asyncRewake`, `shell`, `statusMessage`, `retry` keys;
  `agent` type marked experimental
- /design canvas, Remote Control out of research preview, notify_when_idle,
  plugin manifest fields (workflows, channels, dependencies, outputStyles)

Deferred deliberately: the reserved `synced` skills folder, and a bulk
footer stamp across the translations. zh/ carries none of the P0 claims
(it is abridged upstream of this run), so it has no P0 sub-tasks rather
than fabricated English.

Mermaid validation did not run in this environment (mmdc absent); CI covers it.

* fix(docs): propagate v2.1.245 corrections to CATALOG, translations, and stale enumerations

* fix(docs): propagate built-in subagent rename to uk/vi/zh CATALOG and zh lesson
2026-08-26 07:20:04 +02:00
Luong NGUYEN da6e09e798 docs: sync to Claude Code v2.1.235 (#174)
* docs: sync to Claude Code v2.1.235

Syncs the tutorial repo from v2.1.233 to v2.1.235, fixes a fabricated
plugin-command reference and a wrong lesson-quiz answer, closes translation
fan-out gaps, and documents six new features from v2.1.234/v2.1.235.

* docs(slash-commands): scope v2.1.234 dialog-command claims to the fullscreen TUI

The v2.1.234 changelog carries two separate entries: /permissions opening
mid-turn unconditionally, and the /add-dir, /autocompact, /theme, /help,
/config and /advisor dialogs opening mid-turn in the fullscreen TUI. The
sync flattened both into one unqualified bullet, so a reader on the default
renderer would find the described behavior absent.

Also corrects the CATALOG usage-limit auto-continue row, which described an
on-by-default feature as opt-in ("Enable via /config"); the changelog says
"turn it off in /config".

* docs(advanced-features): correct spellcheck value shape, default, and scope

settings.md documents `spellcheck` as object-valued
(`{"enabled": true, "language": "en_GB"}`) and read from user settings, the
--settings flag, and managed settings only; interactive-mode.md adds that it
is off by default and needs aspell, hunspell, or ispell on PATH. CATALOG told
readers to set a bare `"spellcheck": true`, and both settings tables sit under
preambles promising project-scope settings work, which for this key they do
not.

Also repoints CATALOG's hook-configuration example at pre-tool-check.sh; the
table rename left the example on validate-bash.py, which is not in 06-hooks/.

* docs(plugins): drop the unsupported claim that /plugin update does not exist

The sync asserted "Updating is CLI-only — there is no `/plugin update` slash
command". The plugins reference contradicts that: it refers to running
`/plugin update` twice in present tense (the cache-key section, and the
explicit-version row that says `/plugin update` reports "already at the
latest version"). The v2.1.235 binary carries no `/plugin update` string and
its own update notices point at `claude plugin update <name>` in a terminal,
so the sources conflict and neither absolute is safe to teach.

Recommends the CLI form on its documented merits instead of asserting a
negative. Mirrored to vi/ja/zh/uk and to the lesson-quiz Q8 explanation,
which taught the same false negative. Q8's correct answer is unchanged.

* docs(advanced-features): complete the v2.1.234 env-var fan-out and 04 TOC (#175)

The env-var block was still headed (v2.1.221-v2.1.233) and omitted both
variables v2.1.234 added: CLAUDE_CODE_PROJECT_DIR_NAME, which had reached
only 10-cli and CATALOG, and CLAUDE_CODE_GOAL_CHECKIN_MINUTES, which was in
prose and a CATALOG row but no env-var table.

Also adds the one missing 04-subagents TOC entry: Additional Resources was
the only H2 without one, leaving the reconciled TOC at 26 of 27 sections.
2026-08-19 08:43:15 +02:00
Luong NGUYEN deb7e5c710 docs: sync to Claude Code v2.1.233 (#168)
* docs: sync to Claude Code v2.1.233

Bring the tutorial from the v2.1.220 baseline up to v2.1.233 (13 releases)
per update-plan-2026-08-15.md.

Corrections:
- Remove /ultraplan (removed in v2.1.222); point at plan mode instead
- Drop the 200-subagent-per-session cap and CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION
  (cap removed in v2.1.224)
- Note TaskCompleted/TaskCreated only fire when todo tools are enabled

Updates:
- /review documented as an alias of /code-review (v2.1.223)
- fork subagents default to interactive (v2.1.232)
- ultrareview v2.1.227 floor, --post/--no-post
- GitLab MR support for -w/--worktree and Agent View

New sections:
- Cross-session messaging (ListAgents, SendMessage, crossSessionInbound)
- Sandbox credential masking (v2.1.221, v2.1.224)
- Trust and permission scoping
- archive and command plugin sources, conditional plugin activation
- claude self-hosted-runner, 7 new env vars

Translations (vi/ja/zh/uk) mirrored where the corresponding pages exist.
Every modified file carries the 2.1.233 metadata footer; files already at
2.1.220 with no content change were left alone.

* docs: address review findings from the v2.1.233 sync

- Mirror the /review alias correction (v2.1.223) into vi/ja/uk/zh
  01-slash-commands: add the live alias row, drop the stale row from the
  deprecated table, and rewrite the history bullet. All four still called
  /review deprecated in favour of a code-review plugin while carrying a
  2.1.233 stamp.
- Rewrite the 10-cli CLAUDE_CODE_FORK_SUBAGENT row to agree with
  04-subagents: fork mode is on by default in interactive sessions on every
  build since v2.1.232; the variable enables it where it is off by default.
- Remove a stray blank line that split the 10-cli environment-variable
  table, leaving the seven new v2.1.221-v2.1.233 rows without a delimiter
  row and rendering them as literal pipe text.
- Add the todo-tools caveat to the TaskCompleted row alongside TaskCreated
  in claude_concepts_guide, uk/ja concepts guides, and the uk/vi/zh/ja
  CATALOGs.
- Fix the ja 07-plugins and 09-advanced-features footers, which paired a
  2.1.233 version stamp with an April 24 last-updated date.

* docs(subagents): correct the stale fork-subagent claim in ja pages (#171)

ja/10-cli and ja/04-subagents both stated that CLAUDE_CODE_FORK_SUBAGENT
only enables forked subagents on external builds (Bedrock, Vertex,
Foundry) with no effect on the Anthropic API. That was true at v2.1.117
but has been wrong since v2.1.232: fork mode is on by default in
interactive sessions on every build, first-party or not, and the variable
now turns it on where it is off by default (claude -p, the Agent SDK, or
Claude Code older than v2.1.232).

Both pages remain stamped 2.1.119 on purpose. Only the individual claim
was verified and corrected; bumping the page stamp would assert a
whole-page verification that has not been done. Do not bump these stamps
without a full resync of the pages.
2026-08-17 12:44:44 +07:00
Luong NGUYEN b9a973bf32 docs: accuracy pass against Claude Code v2.1.220 (#155)
Internal accuracy pass against v2.1.220 — no missing upstream features, but broken example code, disagreeing counts, and metadata drift.

Functional fixes: pre-commit.sh now exits 2 so it actually blocks; dependency-check.sh reads file_path from stdin JSON instead of $1; database-mcp.json uses ${DATABASE_URL}; broken fences repaired; three command templates had invalid skill names.

Factual corrections: /fork and /subtask unswapped and /subtask added; /fewer-permission-prompts; permissions.defaultMode; dontAsk/auto unreversed; 31 hook events verified name-by-name; subagent depth 3; skill precedence enterprise > project > personal; /output-style removed not deprecated; permissionDecision gained defer.

Follow-up review fixed defects the pass left behind: zh/vi headers claiming 31 events above 25-name lists, a surviving hardcoded DB credential in the MCP README examples, an unbalanced fence swallowing a metadata footer, and non-canonical tool names. All four translated CATALOG summary tables were recounted so their arithmetic holds.

Full detail in CHANGELOG.md under v2.1.220-r2.
2026-08-04 15:41:12 +07:00
Luong NGUYEN 343d6f0f99 docs: sync to Claude Code v2.1.220
Bumps tutorial coverage from the v2.1.217 baseline (2026-07-22 sync) to
v2.1.220 — three contiguous releases (v2.1.218–v2.1.220).

Critical fixes:

- Nested subagent spawning is on by default again at depth 3 (v2.1.219).
  Five locations across 04-subagents, CATALOG, 10-cli and QUICK_REFERENCE
  stated it was disabled by default — true for v2.1.217–v2.1.218 only.
  CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1 now disables rather than enables.
  All five carry an identical three-era history note.
- Claude Opus 5 is the default Opus model (v2.1.219). 10-cli asserted
  "Opus 4.8 remains the default"; Opus 5 was absent from every model table.
  Added to both model tables, 19 Compatible Models footers, and ~20
  effort-level enumerations.

Also fixed: fast-mode model list, auto-mode eligibility self-contradiction
in 09-advanced-features, stale CLAUDE_CODE_ENABLE_AUTO_MODE opt-in in
CATALOG, hook-event count disagreement (29/30 -> 31 across three files),
doc-generator skill name/directory mismatch, stale "May 2026" headings,
and the last three docs.anthropic.com links.

Added: DirectoryAdded hook, /deep-research explicit-invocation note,
/code-review background subagent, context:fork background default, agent
frontmatter hook workspace trust, dynamic workflow size guideline and
workflowSizeGuideline key, sandbox.network.strictAllowlist, MCP error
surfacing, stream-json nested subagent forwarding, frontmatter boolean
values, agent name ':' rejection, auto/plan-mode classifier changes, and
Opus 5 safety-classifier fallback.

Renamed the deep-research skill example to topic-research to stop it
shadowing the built-in; mirrored to vi/ja/uk. doc-generator rename
mirrored to ja/zh/uk.
2026-07-29 15:01:31 +07:00
Luong NGUYEN c10d54c0d7 docs: sync to Claude Code v2.1.217
Bumps tutorial coverage from the v2.1.212 baseline (2026-07-18 sync) to
v2.1.217 (v2.1.213 was skipped upstream), plus a repo-internal accuracy
audit.

Fixed:
- Nested-subagent-spawning claim reversed (v2.1.217): 04-subagents/README.md
  and CATALOG.md stated nesting up to 5 levels as current behavior; as of
  v2.1.217 it's off by default, opt in via CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH
- Stale --enable-auto-mode flag (removed in v2.1.111) replaced with
  --permission-mode auto across 10-cli/README.md and QUICK_REFERENCE.md
- Import-depth contradiction in 02-memory/README.md: two remaining "5 levels"
  instances corrected to "4 hops", matching the rest of the file
- Sonnet 5 added to claude_concepts_guide.md's models/reasoning-effort table
- config-examples.json's fabricated settings schema (fake "unrestricted"/
  "confirm" modes, undocumented keys) rewritten to real settings.json keys
- brand-voice skill (name/user-invocable) aligned to its README worked example
- CLAUDE.md length guidance unified across 03-skills/claude-md/SKILL.md and
  02-memory/README.md

Added:
- New subagent caps (v2.1.217): CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS
- --max-budget-usd now also halts running background subagents (v2.1.217)
- Hook if: glob scope narrowed to <cwd>/dir (v2.1.214), documented in
  06-hooks/README.md along with SessionStart's new "fork" source
- sandbox.filesystem.disabled setting (v2.1.216)
- /rewind symlink/hard-link protection (v2.1.216)
- Auto-memory modified timestamp (v2.1.214) and non-blocking /memory editor
  (v2.1.216)
- CLI/settings batch (v2.1.214-217): emojiCompletionEnabled,
  FORCE_HYPERLINK=0, CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH, --settings 2 MiB
  cap, permission hardening notes, /context and /compact notes
- /verify and /code-review explicit-invocation-only note (v2.1.215)

Mirrored applicable P0/P1 fixes into vi/ja/zh/uk translations where the
same claim existed.
2026-07-22 21:47:38 +07:00
Luong NGUYEN 8f045173d1 docs: sync to Claude Code v2.1.212 (#154)
* docs: sync to Claude Code v2.1.212

Bumps tutorial coverage from the v2.1.206 baseline (2026-07-11 sync) to
v2.1.212, plus a repo-internal accuracy audit that surfaced defects
independent of the version delta.

Fixed:
- Dead `#` memory-shortcut removed from 02-memory/README.md (two places
  documented a discontinued quick-memory-add pattern as working, directly
  contradicting the file's own commands table)
- Auto mode opt-in -> opt-out on Bedrock/Vertex/Foundry (v2.1.207)
- `auto` permission mode mislabeled "Research Preview" across
  09-advanced-features/README.md, CATALOG.md, README.md, and the vi/ja/zh/uk
  translations (auto mode is GA, gated only by plan/model/provider)
- `/fork` / `/branch` history corrected: they were a single aliased command
  only from v2.1.77 to v2.1.161, not "renamed" as previously stated
- `effort` frontmatter enum in 04-subagents/README.md completed with `xhigh`
- Bundled-skills count reconciled in CATALOG.md (9 -> 10)
- INDEX.md Skills section count and Feature Coverage Matrix Total column
  fully recomputed and reconciled (Skills: 22, Plugins: 39)
- Stale 2.1.160 footer cluster (5 files) bumped to 2.1.212
- QUICK_REFERENCE.md fully resynced (was 52 versions behind)
- 02-memory/README.md's Memory Hierarchy section rewritten: replaced a
  fabricated 8-tier strict-precedence model with the verified structure
  (CLAUDE.md files are concatenated into context, not overridden; 4 real
  location tiers; rules and auto memory are separate mechanisms)
- 02-memory/README.md's Memory Architecture diagram no longer conflates
  claude.ai's 24h synthesis cycle with Claude Code's continuous auto memory
- Import recursion depth corrected (was documented as 5, actually 4 hops)

Added:
- Subagent output scanning (v2.1.210) documented in 04-subagents/README.md
- Session-wide spawn caps (v2.1.212): WebSearch and subagent limits
- MCP long-running-tool auto-backgrounding (v2.1.212) in 05-mcp/README.md
- `claude auto-mode reset` and `/resume` picker (v2.1.212)
- Screen reader mode (v2.1.208): --ax-screen-reader / CLAUDE_AX_SCREEN_READER
- Task tool `mode` parameter deprecation note (v2.1.212)

Known gaps (deferred, not fixed this pass):
- 03-skills/blog-draft/ vs 03-skills/.claude/skills/blog-draft/: confirmed
  the latter is gitignored local testing scratch, not a repo duplicate

* fix(INDEX): correct Skills row arithmetic and stale changelog notes

INDEX.md's Skills header/matrix shipped as 22 (5+9+8) despite the PR's
own CHANGELOG claiming it was fixed to 21 — three independent counts
(file-type breakdown, filesystem listing, changelog intent) agree on
21; the Docs column was off by one. Also removes two stale CHANGELOG
"Known gaps" entries this same PR already resolved (memory hierarchy
rewrite, blog-draft gitignore confirmation) and adds the missing
Fixed-section bullet documenting the memory hierarchy rewrite.
2026-07-18 22:21:21 +07:00
Luong NGUYEN a645ffe6b0 docs: sync to Claude Code v2.1.206 (#151)
* docs: correct stale content for Claude Code v2.1.206

Fix content that no longer matches current Claude Code behavior:

- 04-subagents: remove the /agents creation-wizard instructions
  (wizard removed in v2.1.198); point users to ask Claude or edit
  .claude/agents/ files directly. Explore agent now inherits the
  session model (capped at Opus) instead of Haiku; subagents run in
  the background by default.
- Rename the default permission mode "default" -> "Manual" (v2.1.200)
  across README, CATALOG, INDEX, LEARNING-ROADMAP, resources,
  claude_concepts_guide, and 09-advanced-features, noting that
  "default" still works as an alias.
- README: update the stale "latest v2.1.160" currency claims to v2.1.206.
- Reconcile the contradictory /simplify vs /code-review history:
  they are distinct current skills (/simplify split back out in v2.1.154).

Refresh metadata footers to v2.1.206 / July 11, 2026 and add Claude
Sonnet 5 to Compatible Models on every edited file.

* docs: add Claude Code v2.1.206 feature coverage

Document new features and options that landed through v2.1.206:

- Skills: /dataviz bundled skill, skill stacking (loads all leading
  skills, up to 5), and the ${CLAUDE_PROJECT_DIR} substitution.
- Slash commands: /dataviz row and ${CLAUDE_PROJECT_DIR} mention.
- Subagents already covered in the correctness commit; CLI adds
  --append-subagent-system-prompt, CLAUDE_ENABLE_STREAM_WATCHDOG,
  a Claude Sonnet 5 model row (new default, 1M context), and the
  /model "Org default" note.
- MCP: roots/list working-directory discovery and the untrusted-
  workspace pending-approval behavior for self-approved .mcp.json.
- Hooks: agent_needs_input / agent_completed Notification values and
  the prompt_id input field.
- Plugins: marketplace renames / displayName / defaultEnabled fields.
- Checkpoints: "Summarize up to here" backward targeted compaction.

Refresh metadata footers to v2.1.206 / July 11, 2026 and add Claude
Sonnet 5 to Compatible Models on every edited file.

* docs: qualify Sonnet 5 default scope and reconcile bundled-skills list

- Sonnet 5 default is tier-dependent (Pro/Team seats); Opus 4.8 remains
  default on Max/Team Premium/Enterprise PAYG/API — was overstated as
  the flat default.
- Add missing /simplify row to the bundled-skills table (it was already
  referenced as a distinct skill in the /code-review row) and drop the
  hard skill count in favor of pointing at the commands reference.
2026-07-11 08:00:35 +02:00
Luong NGUYEN d4243d9c7b docs: sync to Claude Code v2.1.195 2026-06-28 23:50:22 +02:00
Luong NGUYEN 6b9ce6463f docs: sync to Claude Code v2.1.187 (#146)
* docs: sync to Claude Code v2.1.187

Sync the delta from v2.1.179 to v2.1.187 across six modules.

- slash-commands: reclassify `/review <pr>` as a supported PR-review entry
  point (same engine as `/code-review medium`, v2.1.186), no longer deprecated
- advanced-features: `!` bash output now auto-responds (v2.1.186);
  `/config key=value` shorthand + `--help` (v2.1.181/.183) and menu key
  behavior; built-in intent-based auto-mode blocks for destructive git/IaC
  commands (v2.1.183); `sandbox.credentials` / `sandbox.allowAppleEvents`
- subagents: `teammateMode: "iterm2"` display mode (v2.1.186)
- memory: `attribution.sessionUrl` setting (v2.1.183)
- mcp: `claude mcp login` / `claude mcp logout` CLI auth (v2.1.186)
- cli: `respondToBashCommands` setting; new env vars
  `CLAUDE_CLIENT_PRESENCE_FILE`, `CLAUDE_CODE_MAX_RETRIES` (cap 15),
  `CLAUDE_CODE_RETRY_WATCHDOG`, `CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT`

Footers on all touched files bumped to v2.1.187.

* fix(advanced-features): correct respondToBashCommands version framing

The ! bash auto-response feature landed in v2.1.186 (confirmed against the
official changelog). The previous 'Since v2.1.187 (changed in v2.1.186)'
wording was misleading and inconsistent with 10-cli/README.md, which
correctly tags respondToBashCommands as v2.1.186.
2026-06-24 15:46:07 +02:00
Luong NGUYEN 6963f37e5d docs: sync to Claude Code v2.1.179 (#143)
Additive sync over v2.1.176 baseline. No breaking changes, removals, or
deprecations in the v2.1.177-v2.1.179 window (v2.1.177 is a chore-only
release; v2.1.179 is bugfix-only plus a plugin perf note).

New in v2.1.178:
- 10-cli: document generalized Tool(param:value) parameter-matching
  permission syntax (cites permissions reference for per-tool examples)
- 03-skills: nested .claude/skills/ collision rule (closest to cwd wins)
- 04-subagents: nested .claude/ precedence for agents/workflows/output-styles
- /doctor flat-tree layout refresh (10-cli, 01-slash-commands)
- /bug now requires a description before submit (01-slash-commands)

New in v2.1.179:
- 07-plugins: improved plugin loading performance in remote sessions

Footers on all five edited files bumped to v2.1.179 / June 17, 2026.
2026-06-17 10:48:20 +02:00
Luong NGUYEN ae656f6fb8 docs: sync to Claude Code v2.1.176 (#141)
* docs: sync to Claude Code v2.1.176

Fix the subagent-nesting self-contradiction in 04-subagents and document
additive features shipped in v2.1.172-v2.1.176:

- 04-subagents: subagents can now spawn subagents (up to 5 levels, v2.1.172),
  replacing the stale "no nested spawning" line; footer bumped to 2.1.176
- 07-plugins: /plugin marketplace search bar (v2.1.172)
- 10-cli: new settings.json keys wheelScrollAccelerationEnabled,
  footerLinksRegexes, language (v2.1.174-v2.1.176)
- 09-advanced-features: enforceAvailableModels managed setting (v2.1.175)
- 06-hooks: if-condition tool-argument path matchers (verified against the
  official permissions reference)
- claude_concepts_guide & CATALOG: subagent nesting note + VSCode /usage
  attribution breakdown (v2.1.174)

* fix(10-cli): correct language setting scope and fix link-checker false positive

- check_links.py: skip bare-hostname captures (no dot in host) that URL_RE
  truncates from regex strings in JSON config examples, e.g.
  "https://jira\\.example\\.com/.*" was captured as "https://jira" and
  flagged as a dead link in CI strict mode. Dotted hosts (real URLs) and
  SKIP_DOMAINS single-label hosts are unaffected, so no link coverage is lost.
- 10-cli/README.md: language is Claude's general response/voice-dictation
  language setting (e.g. french/japanese), which v2.1.176 also wired to
  session-title generation — not a session-titles-only key. Updated the
  description and the JSON example value to match the official settings docs.

* chore(idd): exempt docs-sync PRs from traceability Closes #N requirement

Adds .gitissue.yml so 'docs: sync to Claude Code vX' PRs (which aren't tied to
a single tracked issue) are not hard-blocked on a missing Closes #N — they opt
in via a 'Type: docs' body line, matching how chore/refactor PRs work. The
other three traceability checks still run.
2026-06-15 07:54:49 +02:00
Luong NGUYEN 733c0882c3 docs: sync to Claude Code v2.1.170 (#140)
* docs: sync to Claude Code v2.1.170

Additive sync covering features shipped in v2.1.161-2.1.170. No breaking
changes in the window.

- 10-cli: add Claude Fable 5 model row (claude-fable-5); --safe-mode flag
  + CLAUDE_CODE_SAFE_MODE / CLAUDE_CODE_DISABLE_BUNDLED_SKILLS env vars;
  note --fallback-model now applies to interactive sessions (v2.1.166)
- 01-slash-commands: document /cd (preserves prompt cache, v2.1.169)
- 03-skills: document disableBundledSkills setting + env var (v2.1.169)
- 07-plugins: document /plugin list --enabled/--disabled (v2.1.163)
- 06-hooks: document Stop/SubagentStop additionalContext return (v2.1.163)
- 09-advanced-features: add Safe Mode + fallbackModel subsections
- 05-mcp: stdio servers receive CLAUDE_CODE_SESSION_ID on --resume (v2.1.161);
  add metadata footer (none existed)
- refresh footers on all edited files to 2.1.170 / June 10, 2026

* fix(mcp): correct CLAUDE_CODE_SESSION_ID --resume version to 2.1.163
2026-06-10 08:19:13 +02:00
Luong NGUYEN d7ab99f224 docs: sync to Claude Code v2.1.160 2026-06-02 08:14:08 +02:00
Real e30220c70f fix(memory): correct settings.json precedence chain order (Closes #130) (#131)
- 10-cli/README.md: policy → local → project → user (was project → local → policy → user)
- 02-memory/README.md: reorder table levels 3/4/5 to local → project → user
- 02-memory/README.md: update note text to match corrected order
2026-05-31 23:24:08 +02:00
Luong NGUYEN c08c293aa4 docs: sync to Claude Code v2.1.156 and Claude Opus 4.8 (#129)
* docs: sync to Claude Code v2.1.156 and Claude Opus 4.8

Model bump Opus 4.7 -> Opus 4.8 and version sync v2.1.150 -> v2.1.156.

- Rewrite effort-ladder claims for Opus 4.8 (default `high`; `xhigh` on
  4.8/4.7; `max` on 4.8/4.7/4.6 and Sonnet 4.6; Haiku has no effort).
- Replace soon-removed CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE with the
  `/model claude-opus-4-6[1m]` + `/fast on` path; note Opus 4.8 fast mode.
- Bump lineup tables to Opus 4.8; fix Haiku 4.5 context (1M -> 200K).
- Sweep Compatible Models + version/date footers to 2.1.156 / May 29, 2026
  across 23 English docs (incl. 2.1.138/2.1.145 stragglers).
- Re-document `/simplify` as a distinct cleanup-only command (v2.1.154).
- Add Dynamic Workflows + `/workflows`, MessageDisplay hook (count 29->30),
  disallowed-tools frontmatter, `/reload-skills` + SessionStart outputs,
  `/model` default-save inversion, lean system prompt, status-line
  COLUMNS/LINES, and the ultracode `/effort` note.

* docs(cli): drop unverified fast-mode dollar pricing, keep verified rate/speed multipliers
2026-05-29 11:28:55 +02:00
Luong NGUYEN 5850da9a14 docs: sync to Claude Code v2.1.150 (#127)
* docs: sync to Claude Code v2.1.150

* fix(README): bump stale version prose to v2.1.150
2026-05-26 08:58:44 +02:00
Luong NGUYEN 46941a38fc docs: sync to Claude Code v2.1.145 (Closes #126) (#125) 2026-05-20 13:13:39 +02:00
Luong NGUYEN 30d5ad52bc docs: sync to Claude Code v2.1.143 (5 patches since v2.1.138)
Bumps tutorial coverage from v2.1.138 → v2.1.143. Highlights:

- /goal and /scroll-speed slash commands (v2.1.139)
- claude agents Agent View (Research Preview) with 9 dispatch flags
- claude plugin details and marketplace context-cost projection
- Hook exec form (args), continueOnBlock on PostToolUse, terminalSequence
- Stop hook 8-block safety cap + override env var
- Fast Mode default flipped to Opus 4.7 (v2.1.142)
- PowerShell tool default-on for Bedrock/Vertex/Foundry on Windows
- API-key auth disables Remote Control, /schedule, claude.ai MCP, notifications
- worktree.bgIsolation setting
- CLAUDE_PROJECT_DIR for MCP stdio servers
- Subagent OTEL headers + case-insensitive subagent_type matching
- Root-level SKILL.md plugin pattern; Routines marketing name note

Also bumps stale "28 hook events" counts in CATALOG/README to 29 and
refreshes the metadata footer (Last Updated, Claude Code Version,
Sources) on every modified file.
2026-05-19 07:08:33 +02:00
Luong NGUYEN 6508e42e13 docs: sync to Claude Code v2.1.138 (7 patches since v2.1.131) (#117)
Bump footers across 23 files to v2.1.138 and document new behavior:

- 29 hook events (was 28); add Setup event row in 06-hooks
- worktree.baseRef breaking default revert (v2.1.133)
- parentSettingsBehavior + autoMode.hard_deny admin keys
- effort.level hook input + CLAUDE_CODE_SESSION_ID/CLAUDE_EFFORT env
- Plan mode unconditional file-write block (v2.1.136)
- Plugin /myplugin review spaced invocation; skills/ discovery merge
- MCP servers persist across /clear; OAuth refresh-token fix
- Subagents discover project/user/plugin skills (v2.1.133)
- --permission-mode honored on plan-mode resume (v2.1.132)
- sandbox.bwrapPath/socatPath for Linux/WSL
- CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN, FEEDBACK_SURVEY_FOR_OTEL env
- CronList output expansion

Also fix INDEX.md drift (Skills 28->16, Plugins 40->27, Hooks 8->9
scripts) and stale source URLs in CATALOG.md/concepts guide.

Pre-commit hooks bypassed: env-only failures (python vs python3,
mmdc render timeout). Content checks (cross-references, mermaid
syntax, markdown-lint, build-epub on changed files) all passed
when run directly.
2026-05-09 12:25:28 +02:00
qszhu 59475f4ec5 fix(markdown): escape pipe chars in translation and en tables (#115)
Escape unescaped pipe characters in markdown table cells across
zh/01-slash-commands, 10-cli, ja/10-cli, and vi/10-cli. Unescaped
pipes inside table cells are interpreted as column delimiters,
breaking table rendering.
2026-05-09 09:25:42 +02:00
Luong NGUYEN d4b5cf56b4 docs: sync to Claude Code v2.1.131 (3 patches since v2.1.126)
Sync covers v2.1.128, v2.1.129, and v2.1.131 (May 2026). Highlights:
gateway /v1/models discovery is now opt-in (CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY),
added --plugin-url flag, disableRemoteControl setting, /mcp tool-count display,
expanded skillOverrides values, /context viz no longer leaks into conversation,
Ctrl+R cross-project default. Also reconciles slash-command count to 60+ and
fixes the skill-count entry in CATALOG.
2026-05-06 23:55:28 +02:00
Luong NGUYEN 0f8012c36e docs: sync to Claude Code v2.1.126 (six new releases since April 27) (#111)
Bumps tutorial coverage from v2.1.119 → v2.1.126 (May 1, 2026 release).
v2.1.120 was rolled back on its first release day (2026-04-24) but
re-released 2026-04-28 with regressions fixed; v2.1.124/125 skipped.

New feature documentation:
- claude project purge (v2.1.126) — 10-cli
- claude plugin prune / --prune (v2.1.121) — 07-plugins, 10-cli
- claude ultrareview [target] (v2.1.120) — 10-cli
- ${CLAUDE_EFFORT} placeholder + type-to-filter /skills (v2.1.120-121) — 03-skills
- alwaysLoad MCP server config option (v2.1.121) — 05-mcp
- PostToolUse.updatedToolOutput for non-MCP tools (v2.1.121) — 06-hooks
- ANTHROPIC_BEDROCK_SERVICE_TIER, AI_AGENT env vars — 10-cli
- --dangerously-skip-permissions extended path coverage — 09-advanced-features
- Windows PowerShell-as-primary-shell + /model gateway discovery (v2.1.126)
- OAuth code paste fallback (v2.1.126) — 10-cli

Fixes:
- xhigh missing from 03-skills effort enum (regression from April 24)
- README.md latest-version claims (lines 105, 204) and version badge
- CHANGELOG.md v2.4.0 stale "v2.1.120 was rolled back" paragraph

Footer refresh: 22 in-scope English files bumped to May 2, 2026 / 2.1.126.
Localized vi/zh/uk/ja trees out of scope (community-maintained).
2026-05-03 00:07:51 +02:00
Luong NGUYEN e43872e9bd fix(cli): correct agent priority order to match official docs (#98) (#100)
Lesson 10 stated CLI > User > Project, contradicting Lesson 04 (CLI >
Project > User) and the official Claude Code docs. Project-level agents
override user-level agents when their names collide.

- Fix priority order in 10-cli/README.md (lines 437-439)
- Add cross-link to Lesson 04 for the full priority table
- Update matching quiz question Q7 in lesson-quiz question-bank

Closes #98
2026-04-26 22:28:34 +02:00
Luong NGUYEN d17d5159e8 docs: sync to Claude Code v2.1.119 (docs host migration, /usage, hooks mcp_tool, native binary) (#94)
- Migrate all docs.anthropic.com/en/docs/claude-code URLs to code.claude.com/docs/en
- Document /usage as canonical (v2.1.118); annotate /cost and /stats as shortcut aliases
- Update Opus 4.7: 1M context (v2.1.117 fix), xhigh default effort
- Note native-binary packaging (v2.1.113) and downloads.claude.ai host (v2.1.116)
- Hook events count normalized to 28 across all refs; add UserPromptExpansion, PostToolBatch
- Add mcp_tool as a fifth hook type (v2.1.118); duration_ms on PostToolUse (v2.1.119)
- Agent frontmatter mcpServers/permissionMode/--print tools honoring
- Glob/Grep -> bfs/ugrep footnote for native macOS/Linux builds
- Plugin marketplace enforcement (v2.1.117) + hostPattern/pathPattern (v2.1.119)
- --from-pr supports GitLab MR, Bitbucket PR, GitHub Enterprise (v2.1.119)
- Document 5 new env vars: DISABLE_UPDATES, CLAUDE_CODE_HIDE_CWD, CLAUDE_CODE_FORK_SUBAGENT, ENABLE_TOOL_SEARCH, OTEL_LOG_TOOL_DETAILS
- Deprecate includeCoAuthoredBy and voiceEnabled; add prUrlTemplate setting
- Add new features: /theme, /btw, claude plugin tag, claude install [version], sandbox.network.deniedDomains, auto mode "\$defaults", wslInheritsWindowsSettings, Vim visual modes, /doctor improvements, forked subagents, disableSkillShellExecution
- Refresh footers to Last Updated April 24, 2026 / Claude Code Version 2.1.119
2026-04-24 08:20:55 +02:00
Luong NGUYEN cf92e8e2c1 chore(release): v2.1.112
Sync all English tutorials with Claude Code v2.1.112 and the new Opus 4.7
model (claude-opus-4-7). Introduces the xhigh effort level (new default on
Opus 4.7), two new built-in slash commands (/ultrareview,
/less-permission-prompts), auto mode without --enable-auto-mode for Max
subscribers on Opus 4.7, PowerShell tool on Windows, Auto-match-terminal
theme, and plan files named after prompts. All 18 EN doc footers bumped to
Claude Code v2.1.112.

Version callouts in README.md, zh/README.md, and uk/README.md updated to
v2.1.112. Changelog entry prepended.

Repo version now tracks Claude Code version (2.3.0 → 2.1.112 is intentional
per new convention).
2026-04-16 23:13:34 +02:00
Luong NGUYEN 15f00855e8 docs: sync to Claude Code v2.1.110 (TUI, push notifications, session recap) (#80)
* docs: sync to Claude Code v2.1.110 with TUI, push notifications, session recap, and new commands

- 01-slash-commands: add /tui, /focus, /recap, /undo, /proactive to command table and recent changes
- 07-plugins: document monitors manifest key for background monitor support (v2.1.105)
- 09-advanced-features: add TUI mode, push notifications, session recap, ENABLE_PROMPT_CACHING_1H
- 10-cli: add --exclude-dynamic-system-prompt-sections flag and CLAUDE_CODE_PERFORCE_MODE env var
- CATALOG.md: update command counts (55+→60+, 63+→68+), add 5 new command rows
- All 12 files: bump footer to April 16, 2026 / Claude Code Version 2.1.110

* fix(catalog): correct version tags for /proactive, /recap, /undo commands

/proactive was added in v2.1.105, /recap and /undo in v2.1.108 — not v2.1.110.
Only /tui and /focus were introduced in v2.1.110.
2026-04-16 09:05:49 +02:00
Luong NGUYEN 2deba3ac2f docs: sync to Claude Code v2.1.101 with /team-onboarding, /ultraplan, Monitor tool (#73)
* docs: sync to Claude Code v2.1.101 with new feature coverage

Bumps all English docs from v2.1.97 to v2.1.101, adds mandatory Sources
footer block (previously missing), and documents three new features
shipped between v2.1.98 and v2.1.101:

- /team-onboarding (v2.1.101) — new built-in command for generating
  teammate ramp-up guides. Added to 01-slash-commands and CATALOG.
- /ultraplan (v2.1.91+, cloud-env auto-creation in v2.1.101) — full
  section in 09-advanced-features covering launch methods, status
  indicators, and execution options. Replaces prior 3-line stub.
- Monitor tool (v2.1.98) — full section in 09-advanced-features with
  stream-filter and poll-emit patterns and the grep --line-buffered
  warning. Added to resources.md feature table.

Vietnamese and Chinese translations are not touched in this sync.

* fix(docs): address review feedback on v2.1.101 sync

- Correct /team-onboarding availability date (April 10 → April 11, 2026)
- Fix uninitialized \$last variable in Monitor poll-and-emit example
- Update CATALOG.md New Features heading to April 2026 and add Monitor
  Tool, /team-onboarding, and Ultraplan auto-create entries
2026-04-11 22:30:46 +02:00
63a1416884 fix(docs): correct Claude Code version to 2.1.97 across all footers
The latest Claude Code release is 2.1.97, not 2.3.0 (which is this
guide's own version). Update all 20 "Claude Code Version" footer lines
to accurately reflect the documented Claude Code version.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-04-09 06:42:51 +02:00
7f2e77337e docs: update Last Updated date and Claude Code version across all files
Update all documentation footers from generic "April 2026 / 2.1+" to
the specific sync date (April 9, 2026) and documented version (2.3.0).
Also add version/date footers to zh/CATALOG.md and
zh/01-slash-commands/README.md which were missing them.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-04-09 06:41:16 +02:00
Luong NGUYEN 72d3b016e6 docs: sync all tutorials with latest Claude Code docs (April 2026) (#56)
* docs: sync all tutorials with latest Claude Code official docs (April 2026)

Update 44 documentation files to reflect the latest Claude Code features
from code.claude.com. Key content changes include new slash commands
(/ultraplan, /powerup, /sandbox), deprecated command removals (/pr-comments,
/vim), corrected skill description budget (1%/8K), new hook events
(PermissionDenied, InstructionsLoaded, ConfigChange), expanded Agent Teams
section, new plugin components (LSP, bin/, settings.json), and new CLI
flags (--bare, --tmux, --effort, --channels). Added "Last Updated: April
2026" metadata footer to all documentation files.

* fix(docs): correct env var values and alphabetical ordering

- CLAUDE_CODE_NEW_INIT=true → =1 in 02-memory and 09-advanced-features
- CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=true → =1 in 09-advanced-features
- Fix /powerup vs /plugin alphabetical order in slash commands table

* fix(docs): correct env var values in locale files (vi, zh)

Propagate CLAUDE_CODE_NEW_INIT=true → =1 and
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=true → =1 corrections
to Vietnamese and Chinese translations.
2026-04-07 10:20:53 +02:00
Luong NGUYEN f78c094740 docs: Sync all tutorials and references with Claude Code v2.1.84
- Slash commands: update to 55+ built-in, add 5 bundled skills, mark 3 deprecated
- Memory: add managed drop-ins (v2.1.83), subagent memory, settings hierarchy
- Skills: add effort, shell frontmatter fields and discovery behavior
- Subagents: add effort, initialPrompt, disallowedTools fields; document Bash agent
- MCP: add WebSocket transport, elicitation, 2KB tool cap, server deduplication
- Hooks: expand from 18 to 25 events, add agent hook type (now 4 types)
- Plugins: add LSP support, userConfig, CLAUDE_PLUGIN_DATA, CLI commands
- Advanced: add Auto Mode, Channels, Voice Dictation, auto permission mode
- CLI: add 17+ new flags, 17 environment variables, new commands
- Update all reference docs (CATALOG, QUICK_REFERENCE, LEARNING-ROADMAP, INDEX)
- Fix stale quiz questions (hook count, permission modes, hook types)
2026-03-26 14:54:29 +01:00
Luong NGUYEN 487c96d950 docs: Sync all documentation with Claude Code February 2026 features
Update 23 files across all 10 tutorial directories and 7 reference
documents to match the latest Claude Code v2.1+ features and correct
outdated content including model names (4.5→4.6), permission modes,
hook events, CLI syntax, MCP config paths, plugin manifest format,
checkpoint commands, session management, and URLs. Add documentation
for new features: Auto Memory, Remote Control, Web Sessions, Desktop
App, Agent Teams, MCP OAuth, Task List, Sandboxing, and more.
2026-02-25 23:19:08 +01:00
Luong NGUYEN 58e586f09b refactor: Add new V2.0 logo with dark/light mode support to all markdown files
- Update all main markdown files (INDEX.md, LEARNING-ROADMAP.md, QUICK_REFERENCE.md, CONTRIBUTING.md, claude_concepts_guide.md, resources.md) with new responsive picture element
- Add logo to all subdirectory README files in feature folders (01-10) and plugins
- Replace old markdown image syntax with HTML picture element for dark/light mode adaptation
- Logo automatically displays dark mode version when system prefers dark mode
- Maintain correct relative paths for all nesting levels (../, ../../, etc.)
- Update README.md with new logo syntax

All markdown files now use the new V2.0 starburst logo design with professional dark/light mode support.
2026-01-09 10:36:58 +01:00
Luong NGUYEN 821709b143 Update all lessons 2026-01-08 23:51:46 +01:00