Round 25 - Deep Codebase Analysis (April 9-11, 2026)
- Source ID:
src-20260419-be936b1b7d4c - Kind:
analysis - Scope:
private - Origin:
community-analysis - Raw path:
sources/raw/round-25-deep-codebase-analysis-april-9-11-2026__src-20260419-be936b1b7d4c.md - Status:
active
Summary
Community analysis document covering Claude Code architecture, internals, and leak analysis. See extracted entities and claims below.
Tags
round-25
Extracted entities
ent-20260419-0f7d395cf2ddOWASP ASI (Agentic Security Integrity) (document): OWASP Agentic Security Integrity risk specification published December 2025. Enuent-20260419-186821584a17Three-Layer Compression Hierarchy (concept): Three-level context compression hierarchy triggered by budget usage. MicroCompacent-20260419-1ef0c2d239f34-Layer Prompt Pipeline (concept): System prompt assembly pipeline with four layers and an explicit cache boundaryent-20260419-203b3c47420dGitHub Issue #38335 (issue): GitHub issue 'Claude Max plan session limits exhausted abnormally fast' with 201ent-20260419-26819dc122beEmployee Post-Edit Verification (concept): Leaked source confirms Anthropic employees receive automatic post-edit type-checent-20260419-29b5d46f5704Star Chamber (project): Mozilla AI Claude Code skill that fans code-review and design questions out to ment-20260419-2d119c606736GitHub Issue #39755 (issue): Kolkov's streaming analysis issue on the claude-code repo. 17 team members taggeent-20260419-3b691618a66cmain.tsx (file): Claude Code entry point file. 785 KB on disk in the leaked build.ent-20260419-3d6db240fb16print.ts (file): Source file at src/cli/print.ts containing the monster god-function. File total:ent-20260419-4124265a4544autoCompact.ts (file): Autocompact module that implements AutoCompact-level context compression. Contaient-20260419-44119678b89fAndrey Kolkov (person): Reverse engineer who analyzed 12 versions of Claude Code's cli.js (v2.1.74-v2.1.ent-20260419-4ec0189128a2CLAUDE.md Jailbreak Vector (concept): Attack class where a modified CLAUDE.md in a project overrides safety controls,ent-20260419-50c4ffb5475fAgentArmor (project): Open-source 8-layer security framework for AI agents (pip install agentarmor-corent-20260419-539f0ad095fdMelon Mode (concept): Feature present in earlier reverse-engineered versions of Claude Code, absent frent-20260419-5a333edae610ccdiag (project): Go CLI diagnostic tool built by Andrey Kolkov to analyze Claude Code session telent-20260419-649710b4edf6CrowdStrike Glasswing Assessment (document): CrowdStrike partner assessment of Anthropic's Mythos Preview, published April 5ent-20260419-698667884fadOuroboros Architecture (concept): Stetskov's diagnosis of Claude Code engineering culture: AI writes the code, AIent-20260419-7ac5ce65a94eRAPTOR (project): Offensive/defensive security agent built entirely as markdown configuration on tent-20260419-834d43628b06Tool.ts (file): Base tool schema validation and permission enforcement module. Approximately 29,ent-20260419-86cd43e02019Issue Tracker Automation (concept): Three-bot automation pipeline on the claude-code repo: a Claude-Sonnet-powered dent-20260419-87eaa38ec1b1Denis Stetskov (person): Cultural critic and author of 'The Snake That Ate Itself' on Substack (techtrencent-20260419-87f15ffa6bb0userPromptKeywords.ts (file): Source file hosting the frustration-detection regex used for telemetry. The regeent-20260419-9278b9c17677claude-pragma (project): Hooks-based validator system that converts CLAUDE.md rules into lifecycle eventsent-20260419-92aa328d4fffStreaming Watchdog Bug Chain (concept): A three-bug compound failure that caused the majority of observed stream hangs:ent-20260419-950ce15ad392rolloutConfig (concept): Configuration object in Claude Code source that declares launch windows for upcoent-20260419-a13ed1bab3a4Tengu (concept): Product/telemetry codename prefix used throughout Claude Code. Drives 250+ analyent-20260419-a16e91446276GitHub Issue #528 (issue): GitHub issue '[BUG] Claude is not adhering to CLAUDE.md when it should' — estaent-20260419-b3574c7d2067undercover.ts (file): Source file implementing Undercover Mode. Contains an explicit list of protectedent-20260419-b5fa0a2036afThinking Hash System (concept): Server-side reasoning-preservation mechanism: Anthropic computes a hash of the tent-20260419-baa0484a010fcommands.ts (file): Slash-command registry / command system implementation module. Approximately 25,- ... and 10 more
Extracted claims
clm-20260419-0c1855957709[fact]: Anthropic employees get automatic post-edit type-checking and ESLint; users don'tclm-20260419-0c92ff6967cd[fact]: rolloutConfig flags May 2026 as the next Buddy/KAIROS milestoneclm-20260419-24608d35281c[metric]: 1 in 6 API requests fail (16.3%) in a production sampleclm-20260419-270ad058d737[fact]: Core productive TypeScript is 64,464 lines, not 512,000clm-20260419-2cbfc5b20c9f[observation]: AI-authorship percentage was never defined as a metricclm-20260419-32952978c9e1[fact]: undercover.ts contains explicit protected-term list and masking functionclm-20260419-339a6028b5a7[fact]: Compaction hierarchy: 80% / 90% / 95% triggers, 0 / 1 / 1 API callsclm-20260419-366173bf437e[metric]: npm dependency count sits at 74clm-20260419-409d60875202[fact]: Opus users silently downgraded to Sonnet after 3 consecutive 529sclm-20260419-449398de1777[fact]: cch=00000 is the root cause of issues #38335 and #40524clm-20260419-4db8f07c7fe0[metric]: print.ts main function is 3,167 lines with ~486 branch points and 12 nesting levelsclm-20260419-63179734c7c3[metric]: File size distribution is alarming for a shipping productclm-20260419-659a47d2873e[decision]: Built-in tools ordered before MCP tools for cache stabilityclm-20260419-66f5bb42add2[metric]: AI-assisted attacks up 89% YoY per CrowdStrike 2026 threat reportclm-20260419-678c3b6752ba[metric]: Over 99% of Mythos zero-days remain unpatchedclm-20260419-698db81932e7[metric]: REPL.tsx has 470 useState and 372 useEffect hooksclm-20260419-6d00fe3a5793[fact]: Streaming watchdog fails because it initializes after the vulnerable phaseclm-20260419-75b84699f92f[anti-pattern]: releaseStreamResources is a no-op during the critical phaseclm-20260419-7b9a5a5feb8e[anti-pattern]: AgentArmor's L4 risk scoring is verb-only — known limitationclm-20260419-8195185b6d14[observation]: print.ts hosts 10+ unrelated subsystemsclm-20260419-85749b32ccac[anti-pattern]: 250K API calls wasted daily documented in autoCompact.ts source commentclm-20260419-9da298dcadc6[observation]: Local JSONL transcripts undercount thinking depth by designclm-20260419-9fc0ffd6225f[fact]: Model codename map complete: Fennec → Opus 4.6 predecessor; Numbat unreleasedclm-20260419-a118f2cc0c52[observation]: Frustration sentiment detection uses a regex, not inferenceclm-20260419-a1e05cd0858e[observation]: Ouroboros culture: AI writes, AI reviews, AI deploys — no exit conditionclm-20260419-a550cd44fd79[metric]: Capybara v8 exhibits 29-30% false-claims rateclm-20260419-ba28cf64267b[hypothesis]: Equivalent streaming logic in Go would be ~30 linesclm-20260419-bdf4810800ef[metric]: Code Review triples substantive-feedback rate (16% → 54%)clm-20260419-bebe5819a6cd[observation]: Compaction preservation semantics enable the Straiker persistence attackclm-20260419-c72b49338921[metric]: One-line watchdog patch drops ESC aborts 8.7x- ... and 13 more
Extracted relations
rel-20260419-0309aed77946: RAPTOR --[depends_on]--> Claude Coderel-20260419-070d45755560: print.ts --[related_to]--> tt() Functionrel-20260419-085ae4e86cb1: claude-pragma --[uses]--> Hooks Systemrel-20260419-0c1855957710: Go Rewrite Proposal (Issue #41981) --[contradicts]--> print.tsrel-20260419-0c92ff6967ce: Tengu --[contained_in]--> Model Codenamesrel-20260419-0f04db8052fd: undercover.ts --[related_to]--> Model Codenamesrel-20260419-10a18dfeecbc: Andrey Kolkov --[owns]--> ccdiagrel-20260419-1377aaf0bf64: Billing Sentinel Bug (cch=00000) --[caused]--> GitHub Issue #40524rel-20260419-270ad058d738: REPL.tsx --[implements]--> Terminal Rendererrel-20260419-2cbfc5b20c90: rolloutConfig --[contains]--> KAIROSrel-20260419-2cfd8433d5d1: AgentArmor --[implements]--> OWASP ASI (Agentic Security Integrity)rel-20260419-366173bf437f: Numbat --[contained_in]--> Model Codenamesrel-20260419-36bfdd35ca5c: Billing Sentinel Bug (cch=00000) --[depends_on]--> Bun Runtimerel-20260419-5f3fa3150cd1: autoCompact.ts --[implements]--> Autocompact Death Looprel-20260419-66f5bb42add3: Go Rewrite Proposal (Issue #41981) --[owns]--> Andrey Kolkovrel-20260419-678c3b6752bb: CrowdStrike Glasswing Assessment --[summarizes]--> Claude Mythos Previewrel-20260419-73c2b440cbb3: claude-pragma --[fixed]--> GitHub Issue #528rel-20260419-755004bfb4e2: Billing Sentinel Bug (cch=00000) --[caused]--> GitHub Issue #38335rel-20260419-7ba9393770b2: undercover.ts --[implements]--> Undercover Moderel-20260419-805be7bf891f: Thinking Hash System --[informed_by]--> Andrey Kolkovrel-20260419-87d003ff6eda: 4-Layer Prompt Pipeline --[supports]--> Cache Economicsrel-20260419-9ae1cf4666b2: Three-Layer Compression Hierarchy --[contains]--> Auto-Compactrel-20260419-a1e05cd0858f: rolloutConfig --[contains]--> Buddy Spriterel-20260419-a54527cf541a: 4-Layer Prompt Pipeline --[related_to]--> System Prompt Assemblyrel-20260419-a550cd44fd80: AI-Authorship Percentage Escalation --[contradicts]--> Source Map Leak (March 31, 2026)- ... and 16 more