Bun DCE Feature-Gate Pattern

Description

Architectural pattern: entire subsystems are gated by compile-time constants that Bun's dead-code elimination then strips from the public binary. Public builds retain only type signatures and call sites; full implementations (KAIROS, BUDDY) live only in internal builds. Root cause of what public-source analyses can and cannot see.

Key claims

Relations

Sources

src-20260419-392eceac3ff7