{"repo":"jung-wan-kim/claude-code-reverse-engineering","free":true,"listed":false,"github":"https://github.com/jung-wan-kim/claude-code-reverse-engineering","clone":"git clone https://github.com/jung-wan-kim/claude-code-reverse-engineering.git","description":"Reverse-engineered design documents for Anthropic Claude Code CLI - implementation-ready specifications","language":"HCL","stars":31,"topics":["anthropic","bun","claude-code","cli","design-docs","infrastructure","mcp","reverse-engineering","terraform","typescript"],"license":"MIT","category":"cli-tools","readme_excerpt":"Claude Code CLI — Reverse Engineering Design Documents Implementation-ready reverse engineering specifications for Anthropic's Claude Code CLI tool. Extracted via source map analysis of the npm package (March 2026). --- At a Glance --- Design Documents Part 1 — Architecture Overview docs/01-architecture-overview.md · 1,101 lines Topic Key Details ------- ------------- Module System ESM-only, .js extensions required, lazy require() for cycles Build Bun bundler, feature() flags for dead code elimination Config 7 layers: Global → Project → Settings(5 sources) → CLI → MDM Feature Flags 89 flags via GrowthBook, bun:bundle compile-time DCE State 110 global fields in bootstrap/state.ts , DO NOT ADD MORE policy --- Part 2 — Core Engine docs/02-core-engine.md · 1,352 lines Topic Key Details ------- ------------- Tool Interface 60+ fields, buildTool() factory, 7 defaultable keys Concurrency isConcurrencySafe flag — safe tools run parallel, unsafe exclusive Recovery 8-stage chain: streaming fallback → model fallback → collapse drain → reactive compact Cost Tracking Per-session USD accumulator, multi-provider normalization --- Part 3 — Permission & Security docs/03-permission-security.md · 1,178 lines Topic Key Details ------- ------------- 7 Modes default , plan , acceptEdits , bypassPermissions , dontAsk , auto , bubble Bash Security 23 check IDs, 19 cross-platform + 7 Unix + 11 ANT-only patterns Path Validation 6-step: normalize → symlink resolve → traversal → Windows patterns → scope","default_branch":null,"files":null,"tree":[],"storefront":"/r/jung-wan-kim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jung-wan-kim/claude-code-reverse-engineering/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}