Skip to content

isHeuristicNameStrong

isHeuristicNameStrong(prompt): boolean

Defined in: src/namer.ts:445

True when the heuristic name captured the full distinctive subject — nothing was dropped by the 4-word cap — so the background Haiku refine can be skipped. Requires: specific words drove the pick (usedSpecific), at least 2 were kept, AND the distinctive list fit within the cap (truncated=false). When a long prompt overflows the cap the heuristic loses subject words; those prompts are NOT strong and the LLM refine fires to recover them. Bounded quality trade, not zero-loss: a strong name may still be improvable.

string

boolean