Update Grok review mechanics - #6
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| grok --no-auto-update --prompt-file PROMPT.md -m grok-4.5 --output-format json \ | ||
| --permission-mode plan | ||
| ``` | ||
| - Embed every needed diff/file in `PROMPT.md`, keep the total prompt under ~100 KB to leave margin below the observed input ceiling, and explicitly tell grok that it has no tool access and must answer in one response. In field tests, 119 KB worked while 140 KB was silently truncated. |
There was a problem hiding this comment.
there has to be a better pattern than this -- further testing needed.
|
Superseded by #7. The two central claims here don't survive testing, and both trace to experiments run inside
Also: the 119–140 KB input ceiling doesn't reproduce (151 KB and 204 KB read in full), and grok does ship a headless #7 rebuilds the guidance on |
What changed
-w/--worktreesemantics from Grok 0.2.103.Why
FanaBridge review sessions on 2026-08-02 reproduced plan-mode cancellation at turn 1–2 whenever Grok attempted a tool call, including read-only commands such as
git diff. A 140 KB prompt was also silently truncated, while 119 KB worked. Long outputs continue to cancel mid-generation.Impact
Future sessions have distinct safe recipes for tool-using reviews and tool-free generation, plus recognizable failure signatures and conservative input/output limits.
Validation
-wand--worktree-refbehavior withgrok 0.2.103 --help.git diff --check.~/.claude/CLAUDE.md.