Repository navigation
Word the behind branch finding accurately for deletions - #435
Merged
Merged
Conversation
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]>
Contributor
There was a problem hiding this comment.
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
behindbucket message from “develop lacks” to “develop is behind on” to correctly cover deletions as well as additions/modifications.
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]>
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reword the
behindbranch-drift DRIFT message from "develop lacks " to "develop is behind on". Routed from Copilot on the promotion #434: thebehindbucket 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 --selftestPASS,spec/validate.pyOK.🤖 Generated with Claude Code