Skip to content

Word the behind branch finding accurately for deletions - #435

Merged
ptr727 merged 2 commits into
developfrom
branch-behind-wording
Jul 25, 2026
Merged

Word the behind branch finding accurately for deletions#435
ptr727 merged 2 commits into
developfrom
branch-behind-wording

Conversation

@ptr727

@ptr727 ptr727 commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Reword the behind branch-drift DRIFT message from "develop lacks " to "develop is behind on". Routed from Copilot on the promotion #434: the behind bucket also catches a path main deleted that develop still carries, where "develop lacks" misreads (develop has the path; main removed it). "develop is behind on" is accurate for additions, modifications, and deletions alike.

spec/audit.py --selftest PASS, spec/validate.py OK.

🤖 Generated with Claude Code

The behind bucket also holds a path main deleted that develop still
carries, where "develop lacks <path>" misreads - develop has that path,
main removed it. Say "develop is behind on" instead, which is accurate
whether main's change was an addition, a modification, or a deletion.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 25, 2026 03:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the wording of the behind branch-drift DRIFT finding in spec/audit.py so it remains accurate when main deletes a path that develop still has.

Changes:

  • Reword the behind bucket message from “develop lacks” to “develop is behind on” to correctly cover deletions as well as additions/modifications.

Comment thread spec/audit.py Outdated
Keep "path change(s)" in the precise message (the payload is a list of
paths), and reword the truncated-tree fallback from "develop lacks" to
"develop is behind on" too, so both branch findings read consistently and
neither misreads a main-side deletion.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 25, 2026 03:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit 7aaa346 into develop Jul 25, 2026
7 checks passed
@ptr727
ptr727 deleted the branch-behind-wording branch July 25, 2026 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants