open-code-review/internal
kite e48b132ebf fix(tool,agent): parse git grep output correctly in range mode and retry on empty results
code_search used SplitN(":", 3) to parse git grep output, but in
range/commit mode git grep prefixes each line with the ref
(ref:file:line:content). All matches silently failed Atoi on the
filepath field, returning an empty string that caused the review
session to terminate immediately.

Fix code_search to detect the ref prefix and adjust split/index
accordingly. Also replace the hard stop on empty tool results with
a retry loop (up to 3 consecutive empty rounds) so the LLM can
recover or call task_done gracefully.
2026-06-04 23:43:26 +08:00
..
agent fix(tool,agent): parse git grep output correctly in range mode and retry on empty results 2026-06-04 23:43:26 +08:00
config fix(config): update main_task template 2026-06-02 11:32:57 +08:00
diff fix(diff,tool): read file content at reviewed ref in range/commit mode 2026-06-04 15:20:14 +08:00
llm style: apply go fmt formatting 2026-06-03 17:34:28 +08:00
model feat: init 2026-05-20 22:03:52 +08:00
release fix(build): improve Windows support based on PR #13 review feedback 2026-06-02 22:37:27 +08:00
session feat(session): track LLM request failure count with JSONL persistence 2026-06-04 23:11:35 +08:00
stdout style: apply go fmt formatting 2026-06-03 17:34:28 +08:00
suggestdiff feat: init 2026-05-20 22:03:52 +08:00
telemetry style: apply go fmt formatting 2026-06-03 17:34:28 +08:00
tool fix(tool,agent): parse git grep output correctly in range mode and retry on empty results 2026-06-04 23:43:26 +08:00
viewer feat(session): track LLM request failure count with JSONL persistence 2026-06-04 23:11:35 +08:00