You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed reviewer full-diff packet untracked-file coverage. Reviewer prompts and local AI reviewer input now include bounded untracked-file diff content plus stat/list context. Added focused tests proving untracked source files appear in both ...
20
+
- Fix the open medium finding: reviewer full-diff packet omits untracked files. The new reviewer/local AI diff helpers use `git diff --no-ext-diff HEAD`, which excludes untracked additions. Preserve surgical scope. Include untracked files ...
21
+
22
+
Decisions:
23
+
- Scope is reviewer branch-parity discipline: add full-diff first-pass behavior, finding-scoped surrounding-function/sibling-branch verification, explicit branch checklist output, ordered reviewer config documentation, and fixture coverage for a sibling branch missing a guard.
24
+
25
+
Verification:
26
+
- Reviewed working diff, task chunks, fixed finding evidence, reviewer/local reviewer prompt paths, untracked diff handling, and tests. Verified fixed finding 2026-06-16T104338Z-reviewer-full-diff-packet-omits-untracked-files.md. No unresolved issues found. ## Command $ [cache env] go test ...
27
+
28
+
## Final Status
29
+
30
+
Implemented reviewer branch-parity discipline in reviewer packets and local first-pass review; focused tests, go vet ./..., and GOCACHE-isolated go test ./... pass.
31
+
32
+
## Reviewer Verification
33
+
34
+
- Reviewed working diff, task chunks, fixed finding evidence, reviewer/local reviewer prompt paths, untracked diff handling, and tests. Verified fixed finding 2026-06-16T104338Z-reviewer-full-diff-packet-omits-untracked-files.md. No unresolved issues found. ## Command $ [cache env] go test ...
35
+
36
+
Detailed transient chunks remain available in git history.
ifstate.NextAction=="review plan before implementation" {
6140
6141
fmt.Fprintln(&b, "- This is a plan review gate before implementation. Review `plan.md` for readiness; do not review or request implementation changes unless they are needed to make the plan actionable.")
6141
6142
fmt.Fprintln(&b, "- If the plan is shallow, stale, missing evidence, incorrect, or omits validation or constraints, record findings against the plan so the implementer can fix it before code changes.")
6142
6143
fmt.Fprintln(&b, "- If the plan is ready, record review evidence. The human must still approve the plan before implementation proceeds.")
6143
6144
}
6145
+
appendReviewerBranchParityDiscipline(&b)
6144
6146
fmt.Fprintln(&b, "- Review the working tree, tests, and task chunks; verify claims against the code, not the handoff text.")
6145
6147
fmt.Fprintln(&b, "- Review the current task plan in `plan.md` when present. Check for substantive objective, repo-relative evidence, assumptions or open questions, implementation shape, validation, risks, and constraints; do not require exact section headings.")
6146
6148
fmt.Fprintln(&b, "- Check whether the implementation and review scope match the approved or draft plan.")
fmt.Fprintln(b, "- Start every reviewer run with a full-diff review before considering seeded findings fixed or verified.")
6270
+
fmt.Fprintln(b, "- Enumerate the changed functions and their sibling branches or paths, including success, error, early-return, 404, fallback, read counterpart, and write counterpart paths when they exist.")
6271
+
fmt.Fprintln(b, "- Check branch parity across those sibling paths: shared guards, validation, persistence, cleanup, user-visible errors, task-state writes, and tests should be intentionally consistent or intentionally different.")
6272
+
fmt.Fprintln(b, "- When verifying a provided finding, inspect the whole enclosing function and sibling branches before emitting `agents finding verify`; open new findings for any parity gap you discover.")
6273
+
fmt.Fprintln(b, "- Record one finding per real issue independent of seeded findings; do not merge unrelated parity problems into a single finding and do not pass because only the seeded finding was fixed.")
6274
+
fmt.Fprintln(b, "- Include an explicit branch checklist in your response naming each changed function and sibling path you reviewed, with the parity result for each.")
"You are a reviewer in an ordered Agents review pipeline. Review only the provided task context. "+
347
+
"Start from the full diff, enumerate changed functions and sibling branches/paths, check parity across success/error/early-return/404/fallback and read/write counterparts, and include that branch checklist in the summary. "+
348
+
"When reviewing a provided finding, inspect the enclosing function and sibling branches before passing; return fail with one finding per real issue for any parity gap independent of seeded findings. "+
347
349
"Return only JSON: {\"result\":\"pass|fail|escalate\",\"summary\":\"...\",\"findings\":[{\"severity\":\"low|medium|high\",\"text\":\"...\",\"evidence\":\"...\"}]}. "+
348
350
"Use fail only for concrete, grounded issues. Use pass when there are no blocking issues. Use escalate when the context is insufficient or uncertain.",
0 commit comments