USER_TYPE === 'ant' Gate
- Entity ID:
ent-20260419-6f8b4152a1e0 - Type:
concept - Scope:
shared - Status:
active - Aliases: ant gate, Anthropic-employee gate
Description
Feature-flag gate in Claude Code that exclusively enables the speculation engine for Anthropic employees. Reflects token-cost economics: internal developers operate on unlimited flat-rate API usage, while external Max/Pro/API users would face unpredictable or doubled costs for background speculative calls.
Key claims
- Speculation gated to Anthropic employees via USER_TYPE === 'ant'
- Undercover Mode cannot be forced off
- Numeric length anchors apply only to Anthropic employees
- Tools and commands share the same four-category gating taxonomy
- Ant-gated tools include REPLTool and require graceful external-build exclusion
- Ant-only dynamic require() calls must be stubbed to avoid esbuild resolution failure
- Auto-mode classifier gates on USER_TYPE-dependent templates
Relations
- CONTEXT_COLLAPSE (Layer 5 Emergency Compaction) --[depends_on]--> USER_TYPE === 'ant' Gate
- Speculation Engine --[depends_on]--> USER_TYPE === 'ant' Gate
- USER_TYPE === 'ant' Gate --[related_to]--> Three-Layer Verification
- Numeric Length Anchors (Anthropic-Only) --[depends_on]--> USER_TYPE === 'ant' Gate
- Tool Registry Gating Taxonomy --[uses]--> USER_TYPE === 'ant' Gate
- Dynamic require() Ant-Only Escape Hatches --[uses]--> USER_TYPE === 'ant' Gate
- auto Permission Mode --[depends_on]--> USER_TYPE === 'ant' Gate