th-kim0823
a80f65c6f2
spec(fb-34): output budget controls — design
`kebab search` 에 --max-tokens / --snippet-chars / --cursor 신규.
chars/4 token approximation. truncate priority: snippet → k → 멈춤
(최소 1 hit 보장). cursor = opaque base64(offset + corpus_revision)
— mismatch 시 error.v1.code = stale_cursor.
wire breaking: stdout array → search_response.v1 wrapper. agent 갱신
필요. App::search 시그니처는 thin wrapper 로 보존 (TUI 무영향).
ask path 는 scope out (rag.max_context_tokens 가 이미 budget 담당).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>