Skip to content

Most patches just don't apply #645

@brrock

Description

@brrock
❯ bun src/index.tsx --apply
Applying saved customizations to Claude Code...                                                                                                                                        Configuration saved at: /Users/benjyross/.tweakcc/config.json
Found Claude Code at: /Users/benjyross/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js                                                                               Version: 2.1.87
Loading system prompts...                                                                                                                                                              Applying customizations...
patch: opusplan1m: patchModeSwitchingFunction: failed to find mode switching pattern                                                                                                   patch: opusplan1m: failed to apply mode switching patch
patch: fixLspSupport: failed to find async function $                                                                                                                                  patch: findCustomModelListInsertionPoint: failed to find function with K
patch: findBoxComponent: failed to find Box component (neither ink-box createElement nor displayName found)                                                                            patch: patchesAppliedIndication: failed to find Box component
patch: thinkingVerbs: failed to find past tense verbs pattern                                                                                                                          patch: thinker format: failed to find formatMatch
patch: thinkingVisibility: failed to find thinking visibility pattern                                                                                                                  patch: agentsMd: failed to find fs expression in function
patch: sessionMemory: failed to find extraction gate                                                                                                                                   patch: mcpStartup: failed to find MCP_CONNECTION_NONBLOCKING check
patch: findBoxComponent: failed to find Box component (neither ink-box createElement nor displayName found)                                                                            patch: userMessageDisplay: failed to find Box component
                                                                                                                                                                                       Patches applied (run with --show-unchanged to show all patches):
                                                                                                                                                                                         System Prompts:
    ✓ Agent Prompt: /batch slash command: unchanged
    ✓ Agent Prompt: /schedule slash command: unchanged
    ✓ Agent Prompt: Bash command description writer: unchanged
    ✓ Agent Prompt: Determine which memory files to attach: unchanged
    ✓ Agent Prompt: Dream memory consolidation: unchanged
    ✓ Agent Prompt: General purpose: unchanged
    ✓ Agent Prompt: Prompt Suggestion Generator v2: unchanged
    ✓ Agent Prompt: Recent Message Summarization: unchanged
    ✓ Agent Prompt: Security monitor for autonomous agent actions (first part): unchanged
    ✓ Agent Prompt: Security monitor for autonomous agent actions (second part): unchanged
    ✓ Agent Prompt: Status line setup: unchanged
    ✓ Agent Prompt: Verification specialist: unchanged
    ✓ Agent Prompt: Worker fork execution: unchanged
    ✓ Data: Agent SDK patterns — Python: unchanged
    ✓ Data: Agent SDK patterns — TypeScript: unchanged
    ✓ Data: Agent SDK reference — Python: unchanged
    ✓ Data: Agent SDK reference — TypeScript: unchanged
    ✓ Data: Claude API reference — C#: unchanged
    ✓ Data: Claude API reference — cURL: unchanged
    ✓ Data: Claude API reference — Go: unchanged
    ✓ Data: Claude API reference — Java: unchanged
    ✓ Data: Claude API reference — PHP: unchanged
    ✓ Data: Claude API reference — Python: unchanged
    ✓ Data: Claude API reference — Ruby: unchanged
    ✓ Data: Claude API reference — TypeScript: unchanged
    ✓ Data: Claude model catalog: unchanged
    ✓ Data: Files API reference — Python: unchanged
    ✓ Data: Files API reference — TypeScript: unchanged
    ✓ Data: HTTP error codes reference: unchanged
    ✓ Data: Message Batches API reference — Python: unchanged
    ✓ Data: Prompt Caching — Design & Optimization: unchanged
    ✓ Data: Streaming reference — Python: unchanged
    ✓ Data: Streaming reference — TypeScript: unchanged
    ✓ Data: Tool use concepts: unchanged
    ✓ Data: Tool use reference — Python: unchanged
    ✓ Data: Tool use reference — TypeScript: unchanged
    ✓ Skill: /init CLAUDE.md and skill setup (new version): unchanged
    ✓ Skill: /loop slash command: unchanged
    ✓ Skill: /stuck slash command: unchanged
    ✓ Skill: Build with Claude API: unchanged
    ✓ Skill: Build with Claude API (reference guide): unchanged
    ✓ Skill: Create verifier skills: unchanged
    ✓ Skill: Simplify: unchanged                                                                                                                                                           ✓ Skill: Update Claude Code Config: unchanged
    ✓ Skill: update-config (7-step verification flow): unchanged                                                                                                                           ✓ Skill: Verify CLI changes (example for Verify skill): unchanged
    ✓ Skill: Verify server/API changes (example for Verify skill): unchanged                                                                                                               ✓ Skill: Verify skill: unchanged
    ✓ System Prompt: Agent Summary Generation: unchanged                                                                                                                                   ✓ System Prompt: Agent thread notes: unchanged
    ✓ System Prompt: Auto mode: unchanged                                                                                                                                                  ✓ System Prompt: Avoiding Unnecessary Sleep Commands (part of PowerShell tool description): unchanged
    ✓ System Prompt: Context compaction summary: unchanged                                                                                                                                 ✓ System Prompt: Doing tasks (no premature abstractions): unchanged
    ✓ System Prompt: Fork usage guidelines: unchanged                                                                                                                                      ✓ System Prompt: How to use the SendUserMessage tool: unchanged
    ✓ System Prompt: Insights session facets extraction: unchanged                                                                                                                         ✓ System Prompt: Learning mode: unchanged
    ✓ System Prompt: Learning mode (insights): unchanged                                                                                                                                   ✓ System Prompt: Memory description of user feedback: unchanged
    ✓ System Prompt: One of six rules for using sleep command: unchanged                                                                                                                   ✓ System Prompt: Output efficiency: unchanged
    ✓ System Prompt: Phase four of plan mode: unchanged                                                                                                                                    ✓ System Prompt: Skillify Current Session: unchanged
    ✓ System Prompt: Subagent delegation examples: unchanged                                                                                                                               ✓ System Prompt: Worker instructions: unchanged
    ✓ System Prompt: Writing subagent prompts: unchanged                                                                                                                                   ✓ System Reminder: Plan mode is active (5-phase): unchanged
    ✓ System Reminder: Plan mode is active (iterative): unchanged                                                                                                                          ✓ System Reminder: Plan mode re-entry: unchanged
    ✓ System Reminder: Ultraplan mode: unchanged                                                                                                                                           ✓ Tool Description: Agent (usage notes): unchanged
    ✓ Tool Description: Agent (when to launch subagents): unchanged                                                                                                                        ✓ Tool Description: AskUserQuestion (preview field): unchanged
    ✓ Tool Description: Bash (built-in tools note): unchanged                                                                                                                              ✓ Tool Description: Bash (Git commit and PR creation instructions): unchanged
    ✓ Tool Description: CronCreate: unchanged                                                                                                                                              ✓ Tool Description: EnterWorktree: unchanged
    ✓ Tool Description: ExitWorktree: unchanged                                                                                                                                            ✓ Tool Description: SendMessageTool: unchanged
    ✓ Tool Description: SendMessageTool (non-agent-teams): unchanged                                                                                                                       ✓ Tool Description: Sleep: unchanged
    ✓ Tool Description: TeammateTool: unchanged                                                                                                                                            ✓ Tool Description: ToolSearch (second part): unchanged
    ✓ Tool Description: Write: unchanged
  Always Applied:
    ✗ Opusplan[1m] support                                                                                                                                                                 ✗ Fix LSP support
                                                                                                                                                                                         Misc Configurable:
    ✗ Model customizations                                                                                                                                                                 ✗ Patches applied indication
    ✗ Thinking verbs                                                                                                                                                                       ✗ Thinker format
    ✓ Thinker symbol chars — Your custom thinking spinner will be rendered                                                                                                                 ✗ Thinking block visibility
    ✗ AGENTS.md (and others)
  Features:                                                                                                                                                                                ✗ Session memory
    ✗ MCP non-blocking                                                                                                                                                                     ✗ User message display
                                                                                                                                                                                       Customizations applied with some failures.
These patching errors do not affect your system prompt patches.                                                                                                                        Your system prompt customizations were still applied successfully.
Please open an issue on https://github.com/Piebald-AI/tweakcc/issues/new reporting these patching errors.                                                                              Run with --restore/--revert to revert Claude Code to its original state.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions