Claude Wiki
253 entities, 64 claims, 77 relations across 78 sources.
Command (2)
- /remember Command — Command that bridges automatic memory with deliberate configuration. Reviews session memories, identifies recurring patt
- /remember Command — Command that bridges automatic memory with deliberate configuration. Reviews session memories, identifies recurring patt
Concept (48)
- 93% Permission Approval Rate — Anthropic's figure showing users approved 93% of permission prompts. Reframes auto mode as friction removal, not securit
- @MODEL_LAUNCH Annotation — Comment convention in prompts.ts tagging model-specific behavioral workarounds for clean removal on model upgrade. Commu
- AI Copyright Paradox — Three-pronged legal paradox: AI-generated code may not be copyrightable (no human author), DMCA may not apply to AI outp
- Agent Lifecycle — The spawn-to-completion lifecycle of Claude Code agents. Covers omitClaudeMd optimization (5-15 GTok/week savings), gitS
- AppState — Global mutable state object at src/state/AppStateStore.ts using React context + custom store pattern. Passed into tool c
- AppState — Global mutable state object at src/state/AppStateStore.ts using React context + custom store pattern. Passed into tool c
- Bun Runtime — Claude Code runs on Bun (not Node.js). Key implications: native JSX/TSX support without transpilation, bun:bundle featur
- Bun Runtime — Claude Code runs on Bun (not Node.js). Key implications: native JSX/TSX support without transpilation, bun:bundle featur
- Cache Economics — The principle that every design decision in Claude Code bends toward cache preservation. Prompt cache is load-bearing in
- Claude Mythos Preview — Unreleased frontier model announced April 7 via Project Glasswing. Offensive security capabilities: 93.9% SWE-bench Veri
- Command System — User-facing slash command framework. Commands are invoked with / prefix in the REPL and live in src/commands/. Three typ
- Command System — User-facing slash command framework. Commands are invoked with / prefix in the REPL and live in src/commands/. Three typ
- Config Schemas — Zod v4-based configuration schemas at src/schemas/. Validates user settings, project settings, organization/enterprise p
- Config Schemas — Zod v4-based configuration schemas at src/schemas/. Validates user settings, project settings, organization/enterprise p
- Entrypoint System — Initialization and startup orchestration at src/entrypoints/. Four entrypoints: cli.tsx (CLI session), init.ts (config/t
- Entrypoint System — Initialization and startup orchestration at src/entrypoints/. Four entrypoints: cli.tsx (CLI session), init.ts (config/t
- Feature Flags (Build-Time) — Build-time feature gating via Bun's bun:bundle. Code inside inactive feature flags is completely stripped at build time.
- Feature Flags (Build-Time) — Build-time feature gating via Bun's bun:bundle. Code inside inactive feature flags is completely stripped at build time.
- Five-Layer Architecture — Claude Code's clean five-layer separation: (1) Entrypoints (CLI/Desktop/Web/SDK/IDE), (2) Runtime (REPL/Query/Hooks/Stat
- Forked Agent Pattern — Shared primitive underlying all background operations in Claude Code. Creates child agents via CacheSafeParams with clon
- Four Memory Systems — The four interconnected memory systems that work together: CLAUDE.md (human-written, manual edit, rules/instructions), A
- Four Memory Systems — The four interconnected memory systems that work together: CLAUDE.md (human-written, manual edit, rules/instructions), A
- KAIROS Security Concerns — Security criticism that KAIROS's autonomous nature broadens the prompt injection attack surface. A compromised instructi
- KAIROS Security Concerns — Security criticism that KAIROS's autonomous nature broadens the prompt injection attack surface. A compromised instructi
- Memory Hierarchy — Five memory systems at three scopes: CLAUDE.md (user-written), auto-memory (Claude-written), session memory (per-session
- Model Codenames — Internal codenames for model versions (Capybara, Fennec, Numbat, Mythos, Tengu). Some hex-encoded to evade leak detectio
- Piebald — Community tool that automatically extracts all prompt strings from 141 Claude Code versions via compiled JavaScript patt
- Ralph Wiggum Technique — Community-developed framework for autonomous overnight agent loops. Claude attempts work, tries to stop when it believes
- Ralph Wiggum Technique — Community-developed framework for autonomous overnight agent loops. Claude attempts work, tries to stop when it believes
- Service Layer — The collection of external integrations and shared services at src/services/. Encompasses 18+ distinct service modules i
- Service Layer — The collection of external integrations and shared services at src/services/. Encompasses 18+ distinct service modules i
- Six Orchestration Patterns — Community-cataloged patterns: Orchestrator (central AI plans/delegates/reviews, never writes code), Fan-Out/Fan-In (para
- Six Orchestration Patterns — Community-cataloged patterns: Orchestrator (central AI plans/delegates/reviews, never writes code), Fan-Out/Fan-In (para
- Sleep-Time Compute — The UC Berkeley paper (arXiv:2504.13171, April 2025) demonstrating that LLMs can pre-compute inferences during idle time
- Sleep-Time Compute — The UC Berkeley paper (arXiv:2504.13171, April 2025) demonstrating that LLMs can pre-compute inferences during idle time
- System Prompt Assembly — Cache boundary placement, two-tier prompt structure, DANGEROUS_ naming convention. 15-40K hidden tokens compiled before
- System Reminders — 40+ behaviorally-specific short instructions that fire at tool boundaries, pre-compaction, pre-commit, etc. Added Januar
- Thread Taxonomy — Community-developed framework classifying agent work units into seven thread types: Base (single prompt), P-thread (para
- Thread Taxonomy — Community-developed framework classifying agent work units into seven thread types: Base (single prompt), P-thread (para
- Token Doubling Effect — The hidden cost phenomenon where extractMemories fires a separate Opus API call after every turn, transmitting the entir
- Token Doubling Effect — The hidden cost phenomenon where extractMemories fires a separate Opus API call after every turn, transmitting the entir
- Tool Result Storage — Mechanism for offloading large tool outputs to temporary disk files. Conversation holds references, not content. Prevent
- Tool System — The framework for defining and registering agent tools. Every tool lives in src/tools/
/ as a self-contained mo - Tool System — The framework for defining and registering agent tools. Every tool lives in src/tools/
/ as a self-contained mo - UDS Inbox (Fabricated Feature) — Widely reported but completely fabricated feature. Zero references found in the 512K-line codebase. Enterprise decisions
- buildTool Factory — The factory function at src/Tool.ts used to define all tools. Takes a configuration object with name, aliases, descripti
- buildTool Factory — The factory function at src/Tool.ts used to define all tools. Takes a configuration object with name, aliases, descripti
- ccunpacked.dev — Community visual reference for the leaked Claude Code codebase. Architecture explorer, 11-step agent loop diagram, 40+ t
Decision (3)
- Grep Over RAG — Architectural decision to abandon RAG with Voyage embeddings in favor of agentic grep-based search. The model calls grep
- No-Planner Architecture Decision — Claude Code shipped without planner, RAG, DAG, or routing. 'The real lesson is not what Anthropic built but what they ch
- v2.1.89-91 Patch Wave — Three releases in 72 hours post-leak: 9 features, 41 bug fixes, 14 improvements. Did NOT fix the deny-rules bypass.
Execution-model (8)
- DreamTask — Execution model dedicated to auto-dream memory consolidation. Memory-only writes, background execution. Visible in UI as
- DreamTask — Execution model dedicated to auto-dream memory consolidation. Memory-only writes, background execution. Visible in UI as
- InProcessTeammate — One of five agent execution models. Runs a child agent in the same Node.js process using AsyncLocalStorage for context i
- InProcessTeammate — One of five agent execution models. Runs a child agent in the same Node.js process using AsyncLocalStorage for context i
- LocalAgentTask — Execution model that runs a child agent as a separate OS process. Background, non-blocking. Suitable for parallel resear
- LocalAgentTask — Execution model that runs a child agent as a separate OS process. Background, non-blocking. Suitable for parallel resear
- RemoteAgentTask — Execution model that runs agents in Anthropic's Cloud Container Runtime (CCR). Five subtypes: remote-agent (general), ul
- RemoteAgentTask — Execution model that runs agents in Anthropic's Cloud Container Runtime (CCR). Five subtypes: remote-agent (general), ul
File (6)
- QueryEngine.ts — The 1,295-line session supervisor above query.ts. Manages transcript recording, file read caching, and resume support.
- promptSuggestion.ts — Prediction component of speculation system. Generates next-input predictions (2-12 words, filtered) fire-and-forget from
- query.ts — The 1,729-line core agentic loop of Claude Code. An async generator that governs every turn of the agent, with 6 stages
- tt() Function — 3,167-line 'god function' with 486 cyclomatic complexity and 12 nesting levels. Handles agent run loop, SIGINT, rate-lim
- tt() Function — 3,167-line 'god function' in print.ts with 486 cyclomatic complexity, 12 nesting levels, 12 parameters. Handles the enti
- yoloClassifier.ts — The 52K-line auto-mode safety classifier. Evaluates every tool call for safety, with fail-open design that falls back to
Issue (10)
- Autocompact Death Loop — 1,279 sessions had 50+ consecutive compaction failures (worst: 3,272), burning 250K API calls/day. Fixed with MAX_CONSEC
- Billing Sentinel Bug (cch=00000) — Cache bug where billing sentinel token invalidates prompt cache for all subsequent requests when echoed into conversatio
- Cross-Terminal /effort Cascade — Cache bug: /effort in one terminal nukes prompt cache in all others via global settings.json write + chokidar file watch
- DMCA Takedown (8,100 repos) — Anthropic's automated DMCA request targeting 8,100 GitHub repos containing leaked source. Later reversed/narrowed. Commu
- Deny-Rules Bypass (50-Subcommand) — Adversa AI disclosure: deny rules silently stop working when shell command has >50 subcommands. Tree-sitter fix exists b
- Execa Command Injection (VULN-01/02/03) — Three CWE-78 OS command injection vulnerabilities from execa with shell:true and unsanitized input. Full cloud credentia
- GitHub Issue #35584 — Production data deletion incident: 35,254 customer records + 35,874 billing transactions deleted without confirmation. H
- OpenClaw Shutdown — First platform-level consequence of the source leak. Community project shut down after DMCA enforcement, despite Anthrop
- Source Map Leak (March 31, 2026) — Claude Code v2.1.88 shipped with npm source map exposing the full 512,000-line TypeScript codebase. The most significant
- TeamPCP Supply Chain Campaign — Nine-day coordinated supply chain attack (March 19-31, 2026) compromising Trivy, KICS, LiteLLM, and axios. 300GB estimat
Mechanism (40)
- 10-Section Summary Template — Structured template from src/services/SessionMemory/prompts.ts (12KB) that each auto-memory extraction produces. Capped
- 10-Section Summary Template — Structured template from src/services/SessionMemory/prompts.ts (12KB) that each auto-memory extraction produces. Capped
- Append-Only Daily Logs — KAIROS's memory format: append-only writes to date-named files at logs/YYYY/MM/YYYY-MM-DD.md. Cannot rewrite MEMORY.md i
- Append-Only Daily Logs — KAIROS's memory format: append-only writes to date-named files at logs/YYYY/MM/YYYY-MM-DD.md. Cannot rewrite MEMORY.md i
- Auto-Memory / Auto-Dream Mutual Exclusion — Per-turn exclusive relationship between auto-dream and auto-memory extraction. Before running extraction, the system che
- Auto-Memory / Auto-Dream Mutual Exclusion — Per-turn exclusive relationship between auto-dream and auto-memory extraction. Before running extraction, the system che
- Auto-Memory Operational Controls — Four methods to control auto-memory: /memory command (per-session toggle), settings.json (global), project settings (.cl
- Auto-Memory Operational Controls — Four methods to control auto-memory: /memory command (per-session toggle), settings.json (global), project settings (.cl
- Blocking Budget — ASSISTANT_BLOCKING_BUDGET_MS = 15,000. Shell commands running longer than 15 seconds trigger .unref() timer that fires s
- Blocking Budget — ASSISTANT_BLOCKING_BUDGET_MS = 15,000. Shell commands running longer than 15 seconds trigger .unref() timer that fires s
- Brief Mode — KAIROS output filtering system with three tiers: Brief-only (only SendUserMessage tool blocks + user input visible), Def
- Brief Mode — KAIROS output filtering system with three tiers: Brief-only (only SendUserMessage tool blocks + user input visible), Def
- Cache-Aware Tool Registration — MCP tools are sorted alphabetically and appended after all built-in tools, with the two groups never interleaving. This
- Cache-Aware Tool Registration — MCP tools are sorted alphabetically and appended after all built-in tools, with the two groups never interleaving. This
- Channels as MCP Servers — Channels are MCP servers that declare experimental['claude/channel'] capability. The entire channel infrastructure reuse
- Channels as MCP Servers — Channels are MCP servers that declare experimental['claude/channel'] capability. The entire channel infrastructure reuse
- Consolidation Lock — The .consolidate-lock file in src/services/autoDream/consolidationLock.ts (4KB) that serves dual purposes: its mtime is
- Consolidation Lock — The .consolidate-lock file in src/services/autoDream/consolidationLock.ts (4KB) that serves dual purposes: its mtime is
- Context-Aware Tool Restrictions — Different execution contexts enforce specific tool availability. Async Agent: FileRead/Grep/Bash/FileEdit allowed, Agent
- Context-Aware Tool Restrictions — Different execution contexts enforce specific tool availability. Async Agent: FileRead/Grep/Bash/FileEdit allowed, Agent
- Four-Phase Consolidation Prompt — The dream subagent's prompt from buildConsolidationPrompt() in consolidationPrompt.ts (3KB). Four phases: Orient (ls mem
- Four-Phase Consolidation Prompt — The dream subagent's prompt from buildConsolidationPrompt() in consolidationPrompt.ts (3KB). Four phases: Orient (ls mem
- KAIROS-AutoDream Contract — The integration contract between KAIROS and Auto-Dream. KAIROS writes append-only daily logs. Auto-Dream reads those log
- KAIROS-AutoDream Contract — The integration contract between KAIROS and Auto-Dream. KAIROS writes append-only daily logs. Auto-Dream reads those log
- MCP Runtime Management — Toggle MCP servers without editing config via /mcp disable [server-name] and /mcp enable [server-name]. Reduces noise du
- MCP Runtime Management — Toggle MCP servers without editing config via /mcp disable [server-name] and /mcp enable [server-name]. Reduces noise du
- MCP Server Discovery — Configuration-driven server discovery from src/services/mcp/config.ts (51KB). Servers configured in .mcp.json at project
- MCP Server Discovery — Configuration-driven server discovery from src/services/mcp/config.ts (51KB). Servers configured in .mcp.json at project
- Memory Correction on Rejection — When a tool call is rejected or cancelled, withMemoryCorrectionHint() (src/utils/messages.ts:185-193) appends a correcti
- Memory Correction on Rejection — When a tool call is rejected or cancelled, withMemoryCorrectionHint() (src/utils/messages.ts:185-193) appends a correcti
- Memory Extraction Prompt — The carefully optimized prompt in src/services/extractMemories/prompts.ts that drives the auto-memory subagent. Uses two
- Memory Extraction Prompt — The carefully optimized prompt in src/services/extractMemories/prompts.ts that drives the auto-memory subagent. Uses two
- Scratchpad (tengu_scratch) — A shared directory in coordinator mode where workers can read/write without permission prompts. Gated behind tengu_scrat
- Scratchpad (tengu_scratch) — A shared directory in coordinator mode where workers can read/write without permission prompts. Gated behind tengu_scrat
- Team-Lead Polling Loop — In headless coordinator mode, the team lead polls for teammate messages at 500ms intervals. Not event-driven. Messages w
- Team-Lead Polling Loop — In headless coordinator mode, the team lead polls for teammate messages at 500ms intervals. Not event-driven. Messages w
- Tool Documentation Deduplication — Before each tool invocation, a lightweight LLM side-query checks whether the user has already received the description f
- Tool Documentation Deduplication — Before each tool invocation, a lightweight LLM side-query checks whether the user has already received the description f
- Willow Mode — SessionIdleManager with 300-second timeout within KAIROS. When user returns after extended absence, reads accumulated da
- Willow Mode — SessionIdleManager with 300-second timeout within KAIROS. When user returns after extended absence, reads accumulated da
Pattern (6)
- 7-Agent Feature Model — Community task distribution pattern spawning seven parallel agents for a typical feature: component creation, styling, t
- 7-Agent Feature Model — Community task distribution pattern spawning seven parallel agents for a typical feature: component creation, styling, t
- Spec-Driven Delegation — Community best practice: name exact files, expected signatures, and output formats when delegating to agents. Anti-patte
- Spec-Driven Delegation — Community best practice: name exact files, expected signatures, and output formats when delegating to agents. Anti-patte
- Three-Layer Tool Result Flow — Production MCP server pattern for structuring tool results: Layer 1 is Index (fast, always-loaded references at ~150 cha
- Three-Layer Tool Result Flow — Production MCP server pattern for structuring tool results: Layer 1 is Index (fast, always-loaded references at ~150 cha
Product (1)
- Claude Code — Anthropic's CLI coding agent. 512K+ lines of TypeScript. The leaked codebase revealed 4,600+ files vs ~279 in the offici
Project (1)
- Claw Code — Clean-room Python/Rust rewrite of Claude Code architecture by Sigrid Jin. Reached 50,000+ GitHub stars. Uses clean-room
Service (76)
- ANR Detection System — Application Not Responding detection using worker thread heartbeat. Fires stack trace capture when main Node.js thread s
- Agent SDK — Programmatic API for embedding Claude Code at src/entrypoints/sdk/. Allows other applications to use Claude Code as a li
- Agent SDK — Programmatic API for embedding Claude Code at src/entrypoints/sdk/. Allows other applications to use Claude Code as a li
- Agent Teams — Multi-instance coordination layer with 3 execution models, 13-operation TeammateTool, file-lock task claiming, per-agent
- Anti-Distillation Defenses — Four defense layers preventing competitors from distilling Claude Code's behavior: fake tools in tool registry, signed c
- Auto Mode Classifier — Two-layer defense for auto mode: (1) server-side input probe scans tool outputs for prompt injection, (2) transcript cla
- Auto-Compact — Background compaction at effective_window minus 13K tokens. Public build, default on. Falls back to legacy with circuit
- Auto-Dream — Background memory consolidation process that runs during user idle time. Reads all session transcripts, deduplicates, re
- Auto-Memory — Background extraction system where Claude reads its own conversation and writes structured notes to ~/.claude/projects/<
- Away Summary — Background task generating 1-3 sentence re-orientation summary when user returns after inactivity. Uses last 30 messages
- Bash Security Pipeline — 25+ validators in bashSecurity.ts (2,308 lines) that evaluate shell commands. Includes three-parser differentials, early
- Bridge System — Bidirectional communication layer connecting IDE extensions (VS Code, JetBrains) with the CLI. Abstracts transport so th
- Buddy Sprite — Companion sprite Easter egg system in src/buddy/. A Tamagotchi-like pet system hidden in the codebase.
- Compaction Pipeline — Five-tier context compaction system that manages token budget before API calls. Tiers: Tool Result Budget, Snip, Microco
- Coordinator Mode — The most architecturally radical choice in Claude Code — encodes orchestration logic in natural language prompts rather
- Cost Tracker — Token usage and cost tracking system at src/cost-tracker.ts. Tracks input/output tokens and estimated cost per conversat
- Cost Tracker — Token usage and cost tracking system at src/cost-tracker.ts. Tracks input/output tokens and estimated cost per conversat
- Custom Shell Parser — O(n) single-pass parser embedding JSON in bash commands via sentinel strings. Maintains low latency on the streaming res
- Diminishing Returns Detection — Circuit breaker: 3 consecutive turns with <500 tokens each halts the agent loop. Prevents infinite agentic loops.
- Frustration Telemetry — Regex-based detection of profanity and frustration expressions in user messages, firing metrics to Anthropic's analytics
- Frustration Telemetry — Regex-based frustration detection in userPromptKeywords.ts. Fires telemetry event (not behavior change). Leading indicat
- GrowthBook — Remote feature flag management system. Claude Code polls GrowthBook every hour, receiving configuration changes to runni
- Hooks System — 21 lifecycle events (PreToolUse, PostToolUse, SessionEnd, etc.) that enable user-defined feedback loops. Hooks run at to
- KAIROS — Unreleased always-on autonomous agent mode. Injects
messages when the queue is empty, keeping the agent alive. Us - LSP Service — Language Server Protocol manager at src/services/lsp/. Manages connections to language servers that provide code intelli
- LSP Service — Language Server Protocol manager at src/services/lsp/. Manages connections to language servers that provide code intelli
- MCP Auth — The 88KB authentication module at src/services/mcp/auth.ts handling JWT and OAuth authentication for MCP server connecti
- MCP Auth — The 88KB authentication module at src/services/mcp/auth.ts handling JWT and OAuth authentication for MCP server connecti
- MCP Client — The 119KB full MCP protocol client implementation in src/services/mcp/client.ts. Supports three transports: stdio, SSE,
- MCP Client — The 119KB full MCP protocol client implementation in src/services/mcp/client.ts. Supports three transports: stdio, SSE,
- MCP Integration — Full 24-file protocol implementation (300KB+) supporting stdio, SSE, and WebSocket transports. The primary extensibility
- MCP Subsystem — Model Context Protocol integration layer at src/services/mcp/. Claude Code acts as both an MCP client (consuming tools/r
- MCP Subsystem — Model Context Protocol integration layer at src/services/mcp/. Claude Code acts as both an MCP client (consuming tools/r
- Magic Docs — Auto-maintained living documentation. Files with '# MAGIC DOC:' header are registered for continuous updates by a constr
- Message Normalization — 11 transformations applied to messages before API calls: smooshing adjacent same-role messages, tool result hoisting, Ca
- Native Attestation — DRM-like mechanism where cch=00000 placeholder in HTTP requests is overwritten by Bun's Zig HTTP stack with a computed h
- OAuth Service — OAuth 2.0 authentication service at src/services/oauth/. Handles the OAuth flow for authenticating with Anthropic's API
- OAuth Service — OAuth 2.0 authentication service at src/services/oauth/. Handles the OAuth flow for authenticating with Anthropic's API
- Operon Desktop Mode — Unreleased science research workspace for biology/healthcare discovered March 27 in Claude Desktop interface data. Paire
- Permission Pipeline — Four-layer auto-approval decision stack: (1) existing permission rules, (2) acceptEdits simulation, (3) read-only whitel
- Plugin System — Plugin marketplace runtime with dependency resolution and cycle detection. Supports built-in, custom, and marketplace-di
- Policy Limits Service — Organization rate limits and quota checking service at src/services/policyLimits/. Enforces per-organization API usage q
- Policy Limits Service — Organization rate limits and quota checking service at src/services/policyLimits/. Enforces per-organization API usage q
- Prevent Sleep (macOS) — macOS caffeinate integration using refcount model during active background tasks. Prevents sleep during speculation, dre
- Remote Managed Settings — Enterprise managed settings synchronization at src/services/remoteManagedSettings/. Syncs organization-managed configura
- Remote Managed Settings — Enterprise managed settings synchronization at src/services/remoteManagedSettings/. Syncs organization-managed configura
- Retry System — 10 retries with exponential backoff, auto OAuth refresh, 90-second watchdog, and Opus-to-Sonnet fallback after 3 consecu
- Session Persistence — Append-only JSONL audit log sessions with context collapse snapshots. 50MB tombstone garbage collection. Enables --resum
- Skill System — Reusable workflow system defined in src/skills/ and executed through SkillTool. Users can add custom skills via markdown
- Speculation Engine — Pre-runs predicted user commands before Enter is pressed. Forks a background API call when Claude generates a suggestion
- Speculative Execution (Full) — Most aggressive background feature. Predicts user's next input (2-12 words), pre-executes in copy-on-write overlay files
- StreamingToolExecutor — Concurrency system inside query.ts Stage 2 that enables parallel execution of read-only tools during API response genera
- System Prompt Fingerprinting — Sends SHA-256 hashes of system prompts to Anthropic's servers before each API call to detect custom modifications withou
- Task System — Background and parallel work item manager at src/tasks/. Manages six task types: LocalShellTask (background shell comman
- Task System — Background and parallel work item manager at src/tasks/. Manages six task types: LocalShellTask (background shell comman
- TeammateTool — Multi-agent coordination layer exposing 13 operations: team setup (spawn, discover, cleanup), membership (join, approve,
- Telemetry System — Analytics and observability infrastructure at src/services/analytics/. Uses GrowthBook for feature flags and A/B testing
- Telemetry System — Analytics and observability infrastructure at src/services/analytics/. Uses GrowthBook for feature flags and A/B testing
- Terminal Renderer — Browser-grade rendering stack in terminal: custom React reconciler, Yoga WASM flexbox, double-buffering, GPU blit, 16ms
- Three-Layer Verification — Employee-only (USER_TYPE=ant) post-edit verification system. Agent does work -> verifier confirms -> spot-check audits t
- Token Estimation Service — Token count estimation at src/services/tokenEstimation.ts. Estimates token counts for text content without making API ca
- Token Estimation Service — Token count estimation at src/services/tokenEstimation.ts. Estimates token counts for text content without making API ca
- ToolSearch System — Lazy-loading tool discovery that activates at 10% context window consumption threshold. Replaces 77K-token eager tool lo
- ULTRAPLAN — Remote planning system that offloads complex planning to a Cloud Container Runtime (CCR) running Opus 4.6. 30-minute max
- Undercover Mode — System that instructs Claude not to reveal it is an AI or use internal codenames when contributing to public/open-source
- Vim Mode — Full Vim mode state machine built into the terminal renderer. Custom keybinding system.
- Voice System — Voice input/output subsystem at src/voice/ enabling hands-free interaction with Claude Code. Includes core voice process
- Voice System — Voice input/output subsystem at src/voice/ enabling hands-free interaction with Claude Code. Includes core voice process
- Worktree Isolation — Git worktree-based agent isolation. Each spawned agent gets its own working directory, staging area, and HEAD — but shar
- X42 Protocol — Unshipped feature for autonomous USDC stablecoin payments via Anthropic-hosted relay. Enables agents to purchase service
- X42 Protocol — Unshipped stablecoin payment protocol for autonomous agents. USDC purchases via Anthropic relay server. <20 source lines
- YukonSilver VM — Apple Virtualization Framework-based VM isolation layer for Claude Desktop. Runs Claude Code inside a Linux VM with six-
- cc:// Protocol — Deep link system enabling remote session control from phone/browser via local server architecture. Paired with DIRECT_CO
- disableSkillShellExecution — v2.1.91 setting that disables inline shell preprocessing for skills, commands, and plugins. Addresses skill-based creden
- handleStopHooks — Central scheduling hub executed at end of every query loop. Dispatches all background work: speculation, dream, magic do
- startBackgroundHousekeeping — One-time startup function initializing all background tasks. Defers slow operations 10 minutes post-launch, only runs wh
Tool (49)
- AgentTool — Sub-agent spawning tool at src/tools/AgentTool/. Creates a child agent instance that runs with its own context but share
- AgentTool — Sub-agent spawning tool at src/tools/AgentTool/. Creates a child agent instance that runs with its own context but share
- AskUserQuestionTool — User interaction tool that prompts the user for input during execution. Read-only -- it only collects information, does
- AskUserQuestionTool — User interaction tool that prompts the user for input during execution. Read-only -- it only collects information, does
- BashTool — Shell command execution tool at src/tools/BashTool/. Executes arbitrary bash commands with full system access, subject t
- BashTool — Shell command execution tool at src/tools/BashTool/. Executes arbitrary bash commands with full system access, subject t
- BriefTool — Summary/brief generation tool. In standard mode, generates concise summaries. In KAIROS mode, serves as the explicit out
- BriefTool — Summary/brief generation tool. In standard mode, generates concise summaries. In KAIROS mode, serves as the explicit out
- ConfigTool — Configuration management tool. Reads or modifies Claude Code configuration programmatically from within the agent contex
- ConfigTool — Configuration management tool. Reads or modifies Claude Code configuration programmatically from within the agent contex
- EnterPlanModeTool / ExitPlanModeTool — Planning mode toggle tools. EnterPlanModeTool switches the agent to planning-only mode (no execution), ExitPlanModeTool
- EnterPlanModeTool / ExitPlanModeTool — Planning mode toggle tools. EnterPlanModeTool switches the agent to planning-only mode (no execution), ExitPlanModeTool
- FileEditTool — Partial file modification tool at src/tools/FileEditTool/. Performs targeted string replacements within existing files r
- FileEditTool — Partial file modification tool at src/tools/FileEditTool/. Performs targeted string replacements within existing files r
- FileReadTool — Read-only file system tool that reads file contents including text, images, PDFs, and Jupyter notebooks. Supports line r
- FileReadTool — Read-only file system tool that reads file contents including text, images, PDFs, and Jupyter notebooks. Supports line r
- FileWriteTool — File creation/overwrite tool at src/tools/FileWriteTool/. Creates new files or completely overwrites existing ones.
- FileWriteTool — File creation/overwrite tool at src/tools/FileWriteTool/. Creates new files or completely overwrites existing ones.
- GlobTool — File pattern matching tool at src/tools/GlobTool/. Finds files matching glob patterns (e.g., */.ts). Read-only.
- GlobTool — File pattern matching tool at src/tools/GlobTool/. Finds files matching glob patterns (e.g., */.ts). Read-only.
- GrepTool — Content search tool at src/tools/GrepTool/ built on ripgrep. Supports full regex syntax, file type filtering, and multip
- GrepTool — Content search tool at src/tools/GrepTool/ built on ripgrep. Supports full regex syntax, file type filtering, and multip
- LSPTool — Language Server Protocol tool at src/tools/LSPTool/. Provides go-to-definition, find-references, and other LSP operation
- LSPTool — Language Server Protocol tool at src/tools/LSPTool/. Provides go-to-definition, find-references, and other LSP operation
- MCPTool — Tool for invoking tools on connected MCP servers. Acts as a proxy, routing tool calls from the agent to external MCP ser
- MCPTool — Tool for invoking tools on connected MCP servers. Acts as a proxy, routing tool calls from the agent to external MCP ser
- NotebookEditTool — Jupyter notebook cell editing tool at src/tools/NotebookEditTool/. Modifies individual cells within .ipynb files.
- NotebookEditTool — Jupyter notebook cell editing tool at src/tools/NotebookEditTool/. Modifies individual cells within .ipynb files.
- PowerShellTool — Windows PowerShell command execution tool. Executes PowerShell commands on Windows systems.
- PowerShellTool — Windows PowerShell command execution tool. Executes PowerShell commands on Windows systems.
- REPLTool — Interactive REPL session tool. Runs code in a persistent REPL session (Python, Node, etc.) where state persists between
- REPLTool — Interactive REPL session tool. Runs code in a persistent REPL session (Python, Node, etc.) where state persists between
- RemoteTriggerTool — Remote trigger firing tool. Sends a trigger signal to a remote agent or scheduled workflow.
- RemoteTriggerTool — Remote trigger firing tool. Sends a trigger signal to a remote agent or scheduled workflow.
- ScheduleCronTool — Scheduled cron trigger creation tool. Creates recurring scheduled agent executions based on cron expressions.
- ScheduleCronTool — Scheduled cron trigger creation tool. Creates recurring scheduled agent executions based on cron expressions.
- SendMessageTool — Inter-agent messaging tool used within the Coordinator Mode and multi-agent system. Enables direct communication between
- SendMessageTool — Inter-agent messaging tool used within the Coordinator Mode and multi-agent system. Enables direct communication between
- SleepTool — KAIROS-only tool that lets the autonomous agent yield control explicitly, choosing when to sleep and for how long. Surfa
- SyntheticOutputTool — Structured output generation tool. Generates structured output in a defined format. Read-only.
- SyntheticOutputTool — Structured output generation tool. Generates structured output in a defined format. Read-only.
- TeamCreateTool / TeamDeleteTool — Team management tools for the multi-agent system. TeamCreateTool creates a team of parallel agents; TeamDeleteTool remov
- TeamCreateTool / TeamDeleteTool — Team management tools for the multi-agent system. TeamCreateTool creates a team of parallel agents; TeamDeleteTool remov
- TodoWriteTool — Structured todo/task file writing tool at src/tools/TodoWriteTool/. Writes to a structured task tracking file.
- TodoWriteTool — Structured todo/task file writing tool at src/tools/TodoWriteTool/. Writes to a structured task tracking file.
- WebFetchTool — URL content fetching tool. Retrieves content from web URLs for the agent to process. Read-only.
- WebFetchTool — URL content fetching tool. Retrieves content from web URLs for the agent to process. Read-only.
- WebSearchTool — Web search tool that searches the internet and returns results. Read-only.
- WebSearchTool — Web search tool that searches the internet and returns results. Read-only.
Tool-set (2)
- KAIROS Exclusive Tools — Three tools available only in KAIROS mode: SendUserFile (push files/summaries/reports to user), PushNotification (mobile
- KAIROS Exclusive Tools — Three tools available only in KAIROS mode: SendUserFile (push files/summaries/reports to user), PushNotification (mobile
Workflow (1)
- Podoliako Myth-Busting Analysis — Systematic code-backed verification of every major feature claim. Categorized as confirmed-live, confirmed-stubs, archiv
Synthesis & Concepts
- Agent Execution Models: Five Ways to Run
- Architecture Decisions
- Background Daemon Architecture
- Cache Economics: The Load-Bearing Infrastructure
- Configuration and Feature Flags
- Context Window Management: The Five-Tier Compaction Cascade
- Cost and Token Economics
- Error Handling and Recovery
- Extensibility Model: How Claude Code Grows
- Five-Layer Platform Architecture
- Known Bugs and Regressions
- Memory Design
- Model Behavioral Engineering
- Multi-Agent Architecture
- Multi-Agent Patterns
- Observability and Cost
- Permission and Trust Model
- Security Model
- Session Lifecycle: From Boot to Dream
- Supply Chain & Security Incidents (March-April 2026)
- Telemetry and Observability
- Testing and Quality Assurance
- The Community Analysis Phenomenon
- The God Function and Technical Debt
- The MCP Ecosystem
- The Notification and Hooks Pipeline
- The Source Leak and Its Consequences
- The Startup Pipeline
- The Tool Lifecycle
- Tool System Architecture
Digests & Episodes
Highest-Confidence Claims
- Claude Code abandoned RAG for agentic grep after testing both — confidence 0.95
- Every design decision bends toward prompt cache preservation — confidence 0.95
- 29-30% false-claims rate acknowledged in internal comments — confidence 0.92
- Claude Code has five distinct memory systems at three scopes — confidence 0.92
- query.ts 6-stage pipeline — confidence 0.92
- Memory retrieval uses LLM reasoning over filenames, not vector search — confidence 0.89
- Claude Code is both MCP client and MCP server simultaneously — confidence 0.89
- Every tool is a self-contained module with 6 concerns — confidence 0.89
- 15,000-40,000 tokens of hidden context injected before user types — confidence 0.89
- MCP tool results bypass microcompaction entirely, persisting until autocompact f — confidence 0.89
- Thinking depth collapsed 67-75% in Feb-March regression — confidence 0.89
- Claude Code uses Bun runtime, TypeScript strict mode, React 18 + Ink for termina — confidence 0.89
- 8-layer security architecture from build to kill switch — confidence 0.89
- **QueryEngine.ts is ~46K lines — the core LLM API engine handling streaming, tool ** — confidence 0.89
- Claude Code commits leak secrets at 3.2% rate (2x baseline) — confidence 0.89