This is a small prose-only follow-up that rewrites clearly internal or explanatory Anthropic comment language to neutral wording in a handful of high-confidence files. It avoids runtime strings, flags, command labels, protocol identifiers, and provider-facing references. Constraint: Keep this pass narrowly scoped to comments/documentation only Rejected: Broader Anthropic comment sweep across functional API/protocol references | too ambiguous for a safe prose-only PR Confidence: high Scope-risk: narrow Reversibility: clean Directive: Leave functional Anthropic references (API behavior, SDKs, URLs, provider labels, protocol docs) for separate reviewed passes Tested: bun run build Tested: bun run smoke Tested: bun run verify:privacy Tested: bun run test:provider Tested: bun run test:provider-recommendation Not-tested: Full repo typecheck (upstream baseline remains noisy) Co-authored-by: anandh8x <test@example.com>
19 lines
654 B
TypeScript
19 lines
654 B
TypeScript
/**
|
|
* OpenClaude build-time constants.
|
|
*
|
|
* These replace process.env checks that were only meaningful in the upstream
|
|
* internal build. In OpenClaude all such gates are permanently disabled so
|
|
* external users cannot activate internal code paths by setting env vars.
|
|
*/
|
|
|
|
/**
|
|
* Always false in OpenClaude.
|
|
* Replaces all `process.env.USER_TYPE === 'ant'` checks so that no external
|
|
* user can activate internal-only features (commit attribution hooks,
|
|
* system-prompt section clearing, dangerously-skip-permissions bypass, etc.)
|
|
* by setting USER_TYPE in their shell environment.
|
|
*/
|
|
export function isAntEmployee(): boolean {
|
|
return false
|
|
}
|