Update changelog for v2.1.318

This commit is contained in:
Mike
2026-11-03 15:33:58 -07:00
parent eda0c6652c
commit 69478d05aa
+41
View File
@@ -4,6 +4,47 @@ Note: Only use **NEW:** for entirely new prompt files, NOT for new additions/sec
### Claude Code System Prompts Changelog
# [2.1.318](https://github.com/Piebald-AI/claude-code-system-prompts/commit/eda0c66)
_+10,091 tokens_
- **NEW:** Data: Self-named extra CA certificate warning and Self-named CA certificate drop debug guidance — Explain unverified self-named certificate rejection, trusted signing-root recovery, and why the broad certificate-retention override requires caution and can break connections.
- **NEW:** Data: SDK result credential_expires_at field — Documents estimated stored-login expiry without a server check, distinguishing refresh-chain lifetime from access-token renewal and warning that revocation may happen earlier.
- **NEW:** Data: SDK ui_invalidate event — Documents refresh events for plugin changes and newly declared mobile controls, with deduplicated evaluations and optional targeting of stale instances.
- **NEW:** Data: Thin-client diff dialog noDiffReason field — Explains unavailable workspace diffs and retry guidance, distinguishing repository safety checks, busy state, failed comparisons, and a changing repository root.
- **NEW:** System Reminder: Resumed command approval directory verification failure — Refuses previously approved commands when their directory cannot be verified after restart; retry requires entering the intended directory and may need approval.
- **NEW:** System Reminder: Auto mode dynamically constructed command refusal — Explains auto-mode refusal of dynamically assembled shell commands and requires retrying with the complete literal command, without declaring it unsafe.
- **NEW:** System Reminder: Code Mode auto mode hook rewrite refusal — Explains auto-mode refusal after hooks rewrite code, limiting retries to isolated calls when another call may have caused the refusal.
- **NEW:** System Reminder: Code Mode auto mode subagent creation refusal — Explains why auto mode cannot evaluate code-started subagents, directing Claude to work directly or tell the user how to change modes.
- **NEW:** System Reminder: Async hook success additional context — Labels plain asynchronous hook output with the hook’s name and success status, matching the existing synchronous hook-success format.
- **NEW:** System Reminder: Oversized mentioned file reading guidance — Requires reading oversized mentioned files in full unless the request needs only part, and disclosing searches or partial reading when answering.
- **NEW:** Data: Self-hosted runner control-plane idle release notice — Documents idle release only for unchanged checkouts and untouched runner folders on Linux, with configuration and hold-file caveats.
- **NEW:** Tool Description: REPL script and shell timeouts — Describes a ten-minute script deadline, including permission waits, and shorter command timeouts that allow background output recovery without duplicate execution.
- **NEW:** Tool Description: REPL asynchronous output and polling instructions — Explains inline results versus delayed events, cache-aware waiting, and duplicate-execution risks; finishing a turn can wait for results without extra calls.
- **NEW:** Tool Descriptions: REPL and REPL persistent helper interface — Describe batched JavaScript tool calls, persistent variables, sealed access, controlled output previews, and conditional error handling that distinguishes MCP failures.
- **NEW:** Tool Description: REPL dispatched script execution and event delivery — Describes immediate script dispatch, overlapping scripts sharing variables, automatic event collection, and keeping dependent steps together or waiting for earlier results.
- **NEW:** System Reminder: PreToolUse hook timeout recovery — Explains refusals after hook timeouts or missing decisions, recommends isolated or smaller retries, and leaves hook-configuration changes to the user.
- **NEW:** Tool Description: Poll Code Mode idle and event waiting — Defines an idle wait that returns events or user messages without ending the turn, with cache-expiry and queued-delivery wakeups.
- **NEW:** Data: REPL asynchronous context API declarations and REPL synchronous context API declarations — Document named child-agent contexts, optional conversation forks, messaging and result inspection, with a notification variant for idle, failed, or released contexts.
- **REMOVED:** Agent Prompts: Conversation summarization (capped variant), Conversation summarization (lean variant), and Conversation summarization (short variant) — Remove three standalone compaction templates, including their distinct length and handoff guidance; other conversation-summarization prompts remain in the extraction.
- **REMOVED:** System Reminder: Memory sync mass-deletion guard — Removes the standalone warning about blocked bulk shared-memory deletions and batch-by-batch removal guidance, without establishing whether the underlying guard changed.
- Agent Prompt: Conversation summarization with additional instructions — Drops optional 2,000-word and earlier-request-copying instructions and consistently includes analysis guidance and its example, while preserving user-security constraints.
- Agent Prompt: Onboarding guide generator — Requires disclosing omitted usage sessions in both the guide and its presentation when those sessions cannot be tied to the creator’s current sign-in.
- Agent Prompt: /security-review slash command — Removes the final instruction requiring the reply to contain only the Markdown report, leaving the review and false-positive filtering directions intact.
- Data: attributionProject setting — Documents project IDs beginning with `chan_` as well as `claude_proj_`, while limiting raw UUIDs to the latter project type.
- Data: Claude Code gateway protocol — Distinguishes billed model-request token counting for gateway credentials from local estimation with only a base-URL override, including managed-model restrictions.
- Data: Gateway ignored X-Forwarded-For warning — Requires narrowly trusting proxies that add connecting addresses, warning that trusting forwarded client-supplied headers lets clients bypass access controls and rate limits.
- Data: Interrupt receipt cancelled field and Interrupt receipt still queued field — Include messages read but not yet queued, extending early-interrupt handling and documenting cancellation limits before those messages enter the queue.
- Data: SDK result request_build_detail field — Clarifies cloud-runner cache-break state writes normally queue after the response, outside request-building measurements, except when cache-break detection skips the model.
- Data: SDK startup failure reason codes — Adds invalid configuration JSON as a startup refusal requiring file repair, preserving the file and refusing starts without a terminal until corrected.
- Data: SDK UI attach draws field and SDK ui_invalidate instances field — Extend mobile rendering declarations to Input and Select, restrict Backdrop declarations to desktop or mobile, and refresh backdrop instances on participating surfaces.
- Data: Thin-client diff dialog schema — Describes workspace diffs without assuming git, refers to `noDiffReason` for unavailable results, and clarifies that untracked files never carry hunks.
- Skills: /send-to-project message preload description and /send-to-project work brief preload description — Explain that required Remote Control can be offered when disabled, with in-place message entry for terminal sessions lacking an existing conversation.
- Skill: /send-to-project message slash command and Tool Description: SendToProject message — Preserve messages typed into the command’s input field, providing those words for requested revisions while retaining confirmation and single-send safeguards.
- Skill: Update config settings file locations — Clarifies that `cleanupPeriodDays` controls transcript retention on the current computer rather than describing an unqualified transcript-cleanup period.
- System Reminder: Staged files failed to arrive — Explains that disk-full attachment failures do not retry automatically; after freeing space, request reattachment or regenerate Claude-created files, preserving deletion approval.
- Tool Description: Bash (Git commit instructions) and Bash (PR creation instructions) — Adapt heredoc examples for macOS’s `/bin/bash`, passing commit messages and pull-request bodies through stdin instead of command substitution.
# [2.1.317](https://github.com/Piebald-AI/claude-code-system-prompts/commit/6682244)
_+13,702 tokens_