Round 12 Background Daemon Architecture, Cache Landmines, Deny-Rule Bypass, and
- Source ID:
src-20260409-e9925330d110 - Kind:
analysis - Scope:
shared - Origin:
community-analysis - Raw path:
sources/raw/round-12-background-daemon-architecture-cache-landmines-deny-rule-bypass-and__src-20260409-e9925330d110.md - Status:
active
Summary
Community analysis document covering Claude Code architecture, internals, and leak analysis. See extracted entities and claims below.
Tags
analysis
Extracted entities
- Magic Docs (service): Auto-maintained living documentation. Files with '# MAGIC DOC:' header are regis
- Custom Shell Parser (service): O(n) single-pass parser embedding JSON in bash commands via sentinel strings. Ma
- startBackgroundHousekeeping (service): One-time startup function initializing all background tasks. Defers slow operati
- Deny-Rules Bypass (50-Subcommand) (issue): Adversa AI disclosure: deny rules silently stop working when shell command has >
- ANR Detection System (service): Application Not Responding detection using worker thread heartbeat. Fires stack
- handleStopHooks (service): Central scheduling hub executed at end of every query loop. Dispatches all backg
- Away Summary (service): Background task generating 1-3 sentence re-orientation summary when user returns
- Cross-Terminal /effort Cascade (issue): Cache bug: /effort in one terminal nukes prompt cache in all others via global s
- Speculative Execution (Full) (service): Most aggressive background feature. Predicts user's next input (2-12 words), pre
- promptSuggestion.ts (file): Prediction component of speculation system. Generates next-input predictions (2-
- Prevent Sleep (macOS) (service): macOS caffeinate integration using refcount model during active background tasks
- Billing Sentinel Bug (cch=00000) (issue): Cache bug where billing sentinel token invalidates prompt cache for all subseque
- Auto-Compact (service): Background compaction at effective_window minus 13K tokens. Public build, defaul
- Diminishing Returns Detection (service): Circuit breaker: 3 consecutive turns with <500 tokens each halts the agent loop.
- v2.1.89-91 Patch Wave (decision): Three releases in 72 hours post-leak: 9 features, 41 bug fixes, 14 improvements.
- disableSkillShellExecution (service): v2.1.91 setting that disables inline shell preprocessing for skills, commands, a
Extracted claims
- none yet
Extracted relations
- none yet