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
{{ message }}
Repository navigation
Qualify the Local Review Skill's Merge-Base Command to Match the Engine #2107
The local-strict-review Skill tells the reviewer to diff from git merge-base origin/<target> HEAD (its "What It Does" section and the Paths: line of its brief). Git resolves the short name origin/<target> through refs/heads/ before refs/remotes/, so a local branch literally named origin/<target> defines the diff the reviewer reads.
Since the #1235 fix, scripts/local_review.py's merge_base resolves the target as refs/remotes/origin/<target>, so the engine keys the receipt on the true fork point. In the shadowed case the reviewer reads one change set, and status and record --expect-digest attest to another, so check reports a pass covering content nobody read. Before #1235 both halves resolved the short name and agreed, wrongly.
Reproduction
In a scratch repository with refs/remotes/origin/develop at the base commit and a local branch named origin/develop at the task tip, git merge-base origin/develop HEAD returns the tip (git warns that the refname is ambiguous), while local_review.merge_base("develop", ...) returns the base.
Possible direction
Qualify the Skill's commands as refs/remotes/origin/<target>, in the source under .agents/skills/ with the generated trees regenerated by scripts/build_dist.py. Alternatively, have the Skill take the base from the engine's status output (mergeBase), so the reviewer's diff and the receipt's key cannot diverge.
Activity
Qualify local_review's Remote-Tracking Target So a Local Branch Canno…
Promote develop to main: Qualify local_review's Remote-Tracking Targe…
Qualify the Local Review Skill's Merge-Base Command to Match the Engi…