Finish eliminating remaining ANT-ONLY source labels (#360)
This extends the label-only cleanup to the remaining internal-only command, debug, and heading strings so the source tree no longer contains ANT-ONLY markers. The pass still avoids logic changes and only renames labels shown in internal or gated surfaces. Constraint: Update the existing label-cleanup PR without widening scope into behavior changes Rejected: Leave the last ANT-ONLY strings for a later pass | low-cost cleanup while the branch is already focused on labels Confidence: high Scope-risk: narrow Reversibility: clean Directive: The next phase should move off label cleanup and onto a separately scoped logic or rebrand slice 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:
@@ -292,7 +292,7 @@ export function getEffortLevelDescription(level: EffortLevel | OpenAIEffortLevel
|
||||
*/
|
||||
export function getEffortValueDescription(value: EffortValue): string {
|
||||
if (process.env.USER_TYPE === 'ant' && typeof value === 'number') {
|
||||
return `[ANT-ONLY] Numeric effort value of ${value}`
|
||||
return `[internal-only] Numeric effort value of ${value}`
|
||||
}
|
||||
|
||||
if (typeof value === 'string') {
|
||||
|
||||
@@ -350,7 +350,7 @@ export function groupHooksByEventAndMatcher(
|
||||
event: hookEvent,
|
||||
config: {
|
||||
type: 'command',
|
||||
command: '[ANT-ONLY] Built-in Hook',
|
||||
command: '[internal-only] Built-in Hook',
|
||||
},
|
||||
matcher: matcher.matcher,
|
||||
source: 'builtinHook',
|
||||
|
||||
Reference in New Issue
Block a user