advanced-features: document CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT (EN + AR)
src/content/modules/advanced-features.md and ar/advanced-features.md now explain that CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT, added in v2.1.312, chooses between the full system prompt and a shorter one with abbreviated tool descriptions, that older models in the Haiku 4.5, Sonnet 5 and Opus 4.7 families use the full prompt by default while newer models use the shorter one, that 1 forces the shorter prompt on any model and 0 (also false, no or off) forces the full one, and that either prompt keeps the full tool set, hooks, MCP servers and CLAUDE.md discovery. The variable appeared in no module. Verified against https://code.claude.com/docs/en/env-vars.
#657
advanced-features: document CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK (EN + AR)
src/content/modules/advanced-features.md and ar/advanced-features.md now state that CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK=1 turns off the automatic model switch when a safety classifier flags a request, the same behavior the switchModelsOnFlag setting controls. The variable was added in v2.1.312, where automatic model switches after a flagged message were extended to model names Claude Code does not recognize. The variable appeared in no module. Verified against https://code.claude.com/docs/en/env-vars.
#657
workflows: document the model and effort selector in cloud routines (EN + AR)
src/content/modules/workflows.md and ar/workflows.md now state that the model selector in the prompt input picks the model a cloud routine runs on, that Effort in the same selector shows the current level when the model offers effort levels, that selecting another level changes it, and that the Default option offers no levels. The effort level was added to the routine picker in v2.1.312, and the Routines section previously documented only the prompt, repositories, connectors and triggers. Verified against https://code.claude.com/docs/en/routines.
#657
workflows: document the self-hosted runner's --hold-idle-file flag and SELF_HOSTED_RUNNER_HOLD_IDLE_FILE (EN + AR)
src/content/modules/workflows.md and ar/workflows.md now explain that --hold-idle-file, added in v2.1.311, names a file your host keeps changing to hold an idle session on the runner, with a matching SELF_HOSTED_RUNNER_HOLD_IDLE_FILE environment variable and a worked bash example. The module documented four other runner flags but none of the idle-hold behaviour. Verified against https://code.claude.com/docs/en/self-hosted-environments-reference.
#655
workflows: document the self-hosted runner's --max-hold-min flag and SELF_HOSTED_RUNNER_MAX_HOLD_MS (EN + AR)
src/content/modules/workflows.md and ar/workflows.md now explain that --max-hold-min, added in v2.1.311, caps a hold: with --hold-idle-file set, the runner releases a held session anyway N minutes after it went idle, a value at or below --release-idle-session-min holds nothing, 0 turns the hold off, and the default is 1440 minutes. The matching SELF_HOSTED_RUNNER_MAX_HOLD_MS environment variable sets the same cap in milliseconds. Verified against https://code.claude.com/docs/en/self-hosted-environments-reference.
#655
advanced-features: document the cloud sessions permission in Enterprise custom roles (EN + AR)
src/content/modules/advanced-features.md and ar/advanced-features.md now state that when custom roles govern your access, you need a role with the cloud sessions permission to start sessions on Anthropic's infrastructure from the browser, apps, or terminal, and that an Owner adds it at Organization settings > Roles. The cloud sessions section previously described how to launch and teleport a session but not the role that grants access to one. Verified against https://code.claude.com/docs/en/claude-code-on-the-web.
#652
advanced-features: document the Claude Code remote control permission in Enterprise custom roles (EN + AR)
src/content/modules/advanced-features.md and ar/advanced-features.md now state that your roles must give you both the cloud sessions permission and the Claude Code remote control permission, that starting Remote Control without them shows 'Remote Control is disabled by your organization's policy', and that an Owner fixes it at Organization settings > Roles. The module mentioned Remote Control only in passing and never covered the role it requires. Verified against https://code.claude.com/docs/en/remote-control.
#652
advanced-features: document the gateway retry that drops the effort-2025-11-24 beta value (EN + AR)
src/content/modules/advanced-features.md and ar/advanced-features.md now describe the gateway path for an upstream that rejects output_config.effort or its anthropic-beta value: Claude Code retries and adds neither to requests for that model until Claude Code exits, the gateway needs no change if it forwards the upstream's 400 unmodified and the message, and the message starts with 'Unexpected value(s)' and lists effort-2025-11-24 for the anthropic-beta header — handling that requires v2.1.310 or later. Developers whose ANTHROPIC_BETAS lists the value keep sending it and getting the 400, so the entry has to be removed. Neither the beta value nor ANTHROPIC_BETAS appeared in any module. Verified against https://code.claude.com/docs/en/llm-gateway-protocol.
#652
advanced-features: document the gateway retry that drops mid-conversation system messages (EN + AR)
src/content/modules/advanced-features.md and ar/advanced-features.md now describe the retry that runs when the upstream rejects a role: "system" entry inside messages: Claude Code retries once without those mid-conversation system messages and carries their text in user messages instead, and later requests keep that shape until the developer runs /clear or the conversation compacts. No module covered this behavior. Verified against https://code.claude.com/docs/en/llm-gateway-protocol.
#652
plugins: document the Monitor tool version floor on Bedrock, AWS, Vertex, Foundry and telemetry-disabled sessions (EN + AR)
src/content/modules/plugins.md and ar/plugins.md now state that the Monitor tool requires Claude Code v2.1.310 or later on Amazon Bedrock, Claude Platform on AWS, Google's Agent Platform, or Microsoft Foundry, and in sessions that set DISABLE_TELEMETRY or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC. The module previously documented only the v2.1.105 floor for plugin monitors and left the Monitor tool's own requirement unstated. Verified against https://code.claude.com/docs/en/tools-reference.
#652