- devops-automation: remove the Kubernetes MCP server (.mcp.json in en/uk/vi)
and every README mention of it; keep the deploy hooks.
- Pin GitHub's MCP server image to ghcr.io/github/github-mcp-server:v2.1.0.
- pre-deploy/post-deploy: detect deploys by command word (after &&, ;, |,
newlines), skipping quoted strings and heredoc bodies, and allow global
flags before the verb; document the limits.
- post-deploy: kubectl rollout status when DEPLOY_DEPLOYMENT is set, else the
pod-ready wait on DEPLOY_APP_LABEL; clear message when kubectl is missing.
- pre-review: handle repos with no commits and detached HEAD; matcher accepts
both pr-review:<cmd> and the bare name; hooks use exec form (args).
- INDEX.md, QUICK_REFERENCE.md, README.md and concepts guides (all locales):
drop deleted mcp/*.json files and use /<plugin>:<command> names.
Refs #260
- pr-review: add hooks/hooks.json registering pre-review.js on
UserPromptExpansion for the plugin's three commands; the script now
reads hook JSON from stdin, blocks with exit 2 outside a git repo and
returns additionalContext otherwise.
- devops-automation: add hooks/hooks.json registering pre-deploy.js
(PreToolUse) and post-deploy.js (PostToolUse) on Bash; both act only
on deploy commands, read hook JSON from stdin and only read cluster
state.
- All three: move MCP config to the plugin-root .mcp.json and delete
mcp/*.json. GitHub uses the official github-mcp-server (read-only,
token from GITHUB_TOKEN via GITHUB_PERSONAL_ACCESS_TOKEN); Kubernetes
uses mcp-server-kubernetes in non-destructive mode, since
@modelcontextprotocol/server-kubernetes is not published on npm.
- READMEs (en, fa, ja, ko, uk, vi, zh): namespaced /<plugin>:<command>
names, validate step, hooks and MCP setup matching the files. uk and
vi plugin trees get the same hook and MCP files.
Refs #260
* 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
* 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
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.