Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.667
Choose a base ref
...
head repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.670
Choose a head ref
  • 4 commits
  • 7 files changed
  • 2 contributors

Commits on Sep 24, 2026

  1. Grade HomeAutomation-Config Operational in Its Third Audit Run (#1789)

    This is the third audit run of HomeAutomation-Config. It replaces the
    second run from earlier today and grades `main` at `9c16921`
    **operational**.
    
    - **What changed.** ptr727/HomeAutomation-Config#440, promoted in
    ptr727/HomeAutomation-Config#441, fixed both hand-judged `linter-parity`
    defects the previous run recorded:
      - `Notify/` is now gated in CI.
      - A local hook is wired through `hub-fetch-run.py`.
    
      It also fixed the `permissions: {}` drift finding.
    - **The mechanical run** (`audit run 2026-09-24T22:39:33Z | hub
    03ed883`) reports 0 defect, letter or error findings. The same five
    advisories remain, tracked on hub #727 and hub #1718.
    - **Rechecked rather than carried forward:**
      - `configure.sh check` reports "Configuration matches".
      - The develop drift is 0 ahead and 17 behind, with identical trees.
    - The whole-tree prose backlog is unchanged at 429 findings across 30
    files.
    - **The `python` registry question** is now recorded as the maintainer's
    decision to leave it undeclared.
    
    The repository's tracking issue, ptr727/HomeAutomation-Config#438,
    closes once this merges.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
    ptr727 and claude authored Sep 24, 2026
    Configuration menu
    Copy the full SHA
    aea350c View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2026

  1. Close the Bootstrap Kept-Tree Removal and Report Gaps (#1794)

    Closes the remaining gaps from #1770 in the bootstrap loaders' kept-tree
    handling and in the skills report. #1773 had already closed the issue's
    first two items, the rollback that could leave no tree and the report's
    commit label.
    
    ## Changes
    
    - **Marker-last removal in bash.** An owned tree now loses its contents
    first and its `.bootstrap-owned` marker last, as the PowerShell loader
    already did. A removal that stops part way leaves a tree the next run
    still recognizes.
    - **Symlinks at managed paths.** Bash counts a dangling symlink as
    present and never treats a symlink as owned. PowerShell's
    `Test-Ownership` rejects a reparse point, so a marker-last removal can't
    empty a link's target.
    - **Swap ordering.**
    - The old tree's name is freed only when a live tree is about to take
    it, so a locked leftover `.old` beside an empty name no longer blocks
    the new tree from landing.
    - Rollback runs only when this run moved the tree aside, so a failed
    swap never renames a foreign `.old` into place.
      - A failed rollback in bash now says so.
    - **Exit cleanup order.** Both loaders restore the old tree before
    removing the staging tree, and remove staging best-effort and
    marker-last. The "move it by hand" warning fires only for a kept tree.
    - **`--report --intended` in a bootstrap tree** is refused, since git
    there would answer for an enclosing repository.
    - **Report message.** The loaders' skills-report line now says only that
    no current copy was reported and points at the output above. Every
    not-current snapshot now carries a `reason`, which the stale and dirty
    paths previously lacked.
    
    ## Verification
    
    - `scripts/tests/test_bootstrap.py` drives the bash loader's own
    functions. Each new test was checked against the pre-fix loader and
    fails there, except the cleanup-restore pin, which covers behavior #1773
    already had.
    - The PowerShell functions were run in scratch `pwsh` probes on Linux
    (swap, restore, symlink refusal). Nothing in this PR has been run on
    native Windows, so the locked-file behavior these fixes target is not
    verified there.
    - Linters run locally: shellcheck, shfmt, PSScriptAnalyzer,
    editorconfig-checker and markdownlint all pass, as do ruff, mypy and
    `spec/validate.py`.
    - Seven local strict-review passes ran. Every finding on this change's
    own text was fixed, and the last pass came back clean.
    
    ## Follow-ups filed
    
    #1790, #1791 and #1792. #1793 was folded in here, since this change's
    explicit return status widened it: the final transient-tree removal is
    now best-effort in both loaders.
    
    Carries three explanatory comments, hence the `comments` label.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
    ptr727 and claude authored Sep 25, 2026
    Configuration menu
    Copy the full SHA
    36caa51 View commit details
    Browse the repository at this point in the history
  2. Require Evidence of a Partial Removal in the Marker-Order Test (#1797)

    Answers CodeRabbit's nitpick on the promotion PR #1796.
    `test_a_removal_that_stops_part_way_keeps_the_ownership_marker`
    discarded `remove_tree`'s status and checked only the marker, so a
    removal that did nothing at all passed it.
    
    The test now asserts three things: the removal fails, the unlocked entry
    was removed before the locked one stopped it, and the marker remains. It
    fails against a no-op `remove_tree` and against a plain `rm -rf`, and
    passes on the current loader. A local strict-review pass is recorded.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
    ptr727 and claude authored Sep 25, 2026
    Configuration menu
    Copy the full SHA
    3e0480b View commit details
    Browse the repository at this point in the history
  3. Promote the Bootstrap Kept-Tree Fixes and the HomeAutomation-Config A…

    …udit to Main (#1796)
    
    Promotes `develop` to `main`.
    
    ## Carried
    
    - #1794: closes the bootstrap loaders' kept-tree removal and report gaps
    from #1770, and makes the final transient-tree removal best-effort
    (#1793).
    - #1789: grades HomeAutomation-Config operational in its third audit
    run. It came from the HomeAutomation-Config session.
    
    Closes #1770
    Closes #1793
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    * **Bug Fixes**
    * Improved setup and cleanup so existing owned installations can be
    restored if an update fails. Cleanup now preserves unowned trees and
    warns about leftovers rather than failing the entire run.
    * Clarified installation reports when a snapshot comes from a different
    revision or a dirty checkout.
    * `--intended` is rejected for bootstrap-installed trees; those trees
    are checked against the revision resolved by their loader.
    * **Documentation**
      * Clarified when `--intended` is available.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    ptr727 authored Sep 25, 2026
    Configuration menu
    Copy the full SHA
    ff77a3f View commit details
    Browse the repository at this point in the history
Loading