Reduce internal-only labeling noise in source comments (#355)
This pass rewrites comment-only ANT-ONLY markers to neutral internal-only language across the source tree without changing runtime strings, flags, commands, or protocol identifiers. The goal is to lower obvious internal prose leakage while keeping the diff mechanically safe and easy to review. Constraint: Phase B is limited to comments/prose only; runtime strings and user-facing labels remain deferred Rejected: Broad search-and-replace across strings and command descriptions | too risky for a prose-only pass Confidence: high Scope-risk: narrow Reversibility: clean Directive: Remaining ANT-ONLY hits are mostly runtime/user-facing strings and should be handled separately from comment cleanup 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>
This commit is contained in:
@@ -58,7 +58,7 @@ export async function parseCommand(
|
||||
): Promise<ParsedCommandData | null> {
|
||||
if (!command || command.length > MAX_COMMAND_LENGTH) return null
|
||||
|
||||
// Gate: ant-only until pentest. External builds fall back to legacy
|
||||
// Gate: internal-only until pentest. External builds fall back to legacy
|
||||
// regex/shell-quote path. Guarding the whole body inside the positive
|
||||
// branch lets Bun DCE the NAPI import AND keeps telemetry honest — we
|
||||
// only fire tengu_tree_sitter_load when a load was genuinely attempted.
|
||||
|
||||
Reference in New Issue
Block a user