Constrain Agent Hook autofix reminders to exact reviews - #1056
Constrain Agent Hook autofix reminders to exact reviews#1056mariusvniekerk wants to merge 7 commits into
Conversation
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
|
The CLI Fallback is rejected since its a bad idea. |
aa88918 to
02f1fe0
Compare
roborev: Combined Review (
|
02f1fe0 to
d3d8224
Compare
roborev: Combined Review (
|
roborev: Combined Review (
|
Agent Hook reminders can interrupt unrelated work and turn open findings into an unintended task. Automatic fixes must preserve the user-chosen boundary instead of treating the hook as broader authorization. Out-of-scope or unclear findings now stay untouched until the user gives direction, and reviews with deferred findings stay open. The scope guard also applies when the main hook instruction is customized. Generated with Codex (gpt-5.6-sol) Co-authored-by: Codex <noreply@openai.com>
Agent Hook configuration is an explicit override. Appending built-in safety or continuation text changes user intent and makes the custom setting misleading. Keep scope, deferral, and resume guidance in the default only. A nonempty resolved instruction now passes through unchanged, while an empty reason falls back to the default. Generated with Codex (gpt-5.6-sol) Co-authored-by: Codex <noreply@openai.com>
Automatic reminders could rediscover the same open reviews and turn an unrelated user task into a repeated repair loop. Delivered review IDs now define the reminder boundary for one agent session and repository lineage. The bundled fix workflow must validate findings before editing, close disproved reviews without code changes, and defer valid work outside the active task. Hook installation refreshes supported bundled skills so the default instruction never needs the separate CLI agent fallback. Generated with Codex (gpt-5.6-sol) Co-authored-by: Codex <noreply@openai.com>
Attaching detached work to a branch and then amending it can restore the detached work identity after review IDs have already been filtered against the temporary branch identity. That stale result can present a delivered review as new and restart the automatic reminder loop. Filter reviews only after rewrite handling selects the final work identity, so an acknowledgement follows the work it belongs to. Generated with Codex (gpt-5.6-sol) Co-authored-by: Codex <noreply@openai.com>
The combined skill-policy coverage left adjacent top-level test declarations. Keep the file aligned with the repository's Go formatting rules. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
The previous Go analysis completed but its result upload failed during a GitHub service outage. Trigger a fresh analysis without changing repository content. No code validation was run because this commit intentionally has no tree changes. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
The regular daemon now owns Agent Hook review lookup. The acknowledgement regression test must exercise that in-process boundary instead of the removed hook-to-daemon HTTP path. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
56a193d to
0a4c785
Compare
roborev: Combined Review (
|
Agent Hook reminders could repeatedly rediscover the same failed reviews and turn background feedback into unrelated repair work. The default fallback could also start a separate fix agent that had no reliable view of the user's active task.
Reminders now name the exact review jobs they surfaced and invoke only the bundled
roborev-fixskill. The skill treats findings as claims to prove against current code: it fixes valid in-scope problems, closes invalid reviews with evidence and no code change, and leaves valid out-of-scope work open for the user. Customized instructions remain complete overrides.Delivered job IDs are remembered per agent session and repository lineage so later hook events do not reopen the same loop; newly created jobs remain eligible. Observation stays best-effort because post-tool hooks run frequently. Hook installation also refreshes bundled skills for Claude Code, Codex, Factory Droid, and Grok Build. Profiles without a bundled variant deliberately receive no generic CLI fallback.
generated by a clanker