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

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 <[email protected]>
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 Resolved
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 <[email protected]>
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
ptr727 added a commit that referenced this pull request Sep 24, 2026
Rewrites `reports/homeautomation-config/audit.md`, which still graded
the repository on the operational model as of 2026-08-15.

This run reads `main` at `5a7b1b1`, after the resync
(ptr727/HomeAutomation-Config#434) and its promotion (#435). Run stamp:
`audit run 2026-09-24T20:41:24Z | hub 2c5802f`.

- **Verdict: not operational.** The mechanical run is clean. Two
hand-judged `linter-parity` defects fail it. `Notify/` has no CI gate
(ptr727/HomeAutomation-Config#368), and no local hook is wired for
`parity.hooks` (ptr727/HomeAutomation-Config#436).
ptr727/HomeAutomation-Config#438 tracks every residual delta.
- **Drift:** the four byte-identical intent advisories (#727), the
`PSScriptAnalyzerSettings.psd1` path collision (#1718), and the two
callers without `permissions: {}` (ptr727/HomeAutomation-Config#437).
- **Proposed, not applied:** the psd1 `accepted` entry, dropping
HomeAutomation-Config from the `.editorconfig-checker.json` divergence
entry now that its copy is canonical, and a maintainer decision on
declaring `python` for this repository.
- **Escalated, not filed:** `repo-config/settings.json` does not declare
the default workflow token permission, so `configure.sh check` cannot
see it.

An independent local review checked more than 30 of the report's
file:line citations and both defect premises against the tree, and found
nothing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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