Documentation
¶
Overview ¶
Command intent-token-cost measures the one question this surface could not answer before: a plain-language description that names no symbol.
The comparison is the whole point, and accuracy comes before cost. A cheap answer that names the wrong file is worse than an expensive one, because the agent pays the cheap answer and then pays a second search. So every question carries a ground truth established by reading the implementation -- never from a tool answer -- and both arms are scored against it before either is priced.
Two arms per question:
- native: the single search an asker can actually run, which is a word from the question, because the identifier that implements the behaviour is what the asker is looking for and cannot spell yet.
- kivgraph: find_by_intent with view=files, the granularity the question asks at.
Both arms then open the file they landed on, and that body is priced inside both. It sets the floor: no answer, however lean, can beat the source.