Skip to content

Research atlas

This appendix keeps discovery machinery separate from the main runtime narrative. Use it when starting from a raw constant, byte offset, minified symbol, .jsc bytecode dump, native module, or documentation gap.

The atlas is a triage layer, not proof. Promote a finding into the main internals sections only after a focused source read confirms behavior.

Source-anchor policy

This page is a research guide. Linked pages and generated artifacts carry concrete anchors.

Semantic aliasMinified anchorScope
Research atlas chapterN/A — navigation pageGroups artifact/bytecode notes, source-anchor methodology, and future watchpoints.
Atlas/research pagesSee linked pages and claude-code-pkg/ artifactsConcrete bundle anchors and generated inventories live in destination artifacts.

Research workflow

flowchart TD
Question[Question or raw constant] --> Artifact[claude-code-pkg artifacts]
Artifact --> Surface[cli.js strings / JS shims / optional temporary graph parse]
Surface --> Source[Focused source read]
Source --> Classify{Behavior confirmed?}
Classify -->|yes| MainDoc[Patch or create internals section doc]
Classify -->|partial| Backlog[Record opportunity]
Classify -->|no| Noise[Mark as scan noise]
MainDoc --> Validate[links and Markdown checks]

Primary reading order

OrderPage or artifactResearch question answered
1Artifact map and bytecode notesWhat final artifacts exist, what can be read, and what cannot be decompiled?
2Decoded-classified decompilation auditWhich major decoded chunks were promoted to docs, skipped as vendor/static/UI, or left as lower-confidence watchpoints?
3Bundle module map from cli.renamed.jsWhich Bun module loaders correspond to which Claude Code subsystems, and at what line ranges in the semantically renamed bundle?

Promotion rules

  • Treat raw string hits as leads, not behavioral proof.
  • Anchor every promoted claim with file path, approximate line/byte offset, exact string or symbol, and semantic meaning.
  • Keep bytecode-only or native-binary-only observations as research notes unless paired with readable JS or safe runtime behavior.
  • Update docs/SUMMARY.md, section README files, and adjacent cross-links whenever a finding becomes a main documentation page.

Created and maintained by Yingting Huang.