Repository navigation
feat(disk-hygiene): read standing policy from the config-cascade layers - #18135
melodic-automation-lanes[bot] merged 6 commits into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
Lane run report
Run 44990344838, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane-Activity: pr-refine/fix-docs
Lane run report
Run 44990344838, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 44993977375, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 44993977375, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=18135 -f activity=fix-ci |
Lane run report
Run 44993977375, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
The owner-registry suite holds that only the clean engine deletes. The setup migration's finish step unlinked the old policy file itself, which failed that suite in Check Skills, Test Bash and Test Python. Issue #18009 requires setup to delete each old file once its new file resolves the same, so the deletion stays and moves into the engine: remove_old_policy_file unlinks a path only when it is one of the two old .claude/disk-hygiene.json paths, and refuses anything else. The DELETERS set gains that one engine function; no file outside the engine deletes, and every other check in the suite is unchanged. A new test covers the refusal of any other path. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtUnz4WHB5auUnwQYq7
|
claude-security-review reviewed Security review: PR #18135, incremental since
|
|
claude-review reviewed Code review: old policy files are now removed through the clean skill's gated apply (blocking only, incremental)This lane already reviewed an earlier head ( I found nothing blocking. The earlier blocking finding is fixed by undoing the change. That finding was "Fail a change that loosens a check": the owner-registry fence's
Closing issue #18009
Not checked or not verified
No verifier subagent was dispatched because no candidate finding came up. Verifier dropped 0 of 0 candidates. |
A --project-dir at the home directory made the team row the user file again, so move wrote a team YAML into $HOME, which cascade rule 2 forbids. The team row is now skipped when the project is home or its old path is the user file. The team row read and wrote paths the repository controls without checking for symlinks. It is now refused when the old or new file is a symlink, or when the old file or the new file's directory resolves outside the project, and the check preview shows the resolved new path. The config-cascade contract lists disk-hygiene's stop on an unusable layer under Deviations, and its row says so. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtUnz4WHB5auUnwQYq7
Lane run report
Run 45001269175, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 44997168441, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 45001269175, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 44998610825, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane-Activity: pr-unblock/resolve-conflicts
Lane run report
Run 44998610825, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
The unattended merge path is about to arm native auto-merge at head |
|
Merge-Risk: max=HIGH demote=true head=79bb382d7c41cfe6d2aeadc62fe9876e08f6d5c2 rubric=10.7.0 rater=claude-opus-5-5 checker=claude-opus-5-5 |
|
Hold (PR lane session): the do-not-merge label is on while the PR lane checks whether this rating's Impact HIGH (the UAC-elevation trust check moving to a resolved-path set) is a trust-boundary change. It comes off once that check finds it covered; otherwise the owner decides. |
|
Hold update (PR lane session): the elevation Impact HIGH checked out as tighter, not looser (repository-controlled policy files are matched by resolved path and may not opt into uac-prompt; only the operator's policy_file or an explicit --policy can, and Windows still shows the UAC prompt). The hold stays for thread hwve: the PR lane is moving the old-file delete into the clean engine's gated removal path so the DELETERS allowlist needs no new entry. The label comes off once that lands and its review is clean. |
…ply lane The previous fix added remove_old_policy_file to the owner-registry fence's DELETERS, a new delete path outside the engine's two gated lanes. That entry and the function are gone; DELETERS matches main. #18009 still holds: after a preview and a yes, setup checks the policy resolves the same, then deletes the old file. The migration's last step is now `verify`, which deletes nothing: it checks the new file resolves the same policy and names the old file's directory and name. Setup then removes it with /disk-hygiene:clean, whose scan, preview, approval token and apply confirmation are unchanged. The migration tests now remove both old files through scan, preview and apply, and show that apply keeps the file without the preview's token. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtUnz4WHB5auUnwQYq7
|
Hold lifted (PR lane session), R18 acceptance at cb88482. Impact HIGH: the elevation check is tighter, not looser (repository-controlled policy files are matched by resolved path and may not opt into uac-prompt; only the operator's policy_file or an explicit --policy can, and Windows still shows the UAC prompt); --user-policy adds no capability the existing --policy lacks. The loosened-check finding (hwve) is fixed, not accepted: no new DELETERS entry, and the old file is removed only through the engine's gated apply_plan lane. Reversibility HIGH: a one-way policy-file migration behind a preview, a yes and the clean skill's confirmation, per #18009. No token, secret, account, cost or trust-boundary loosening; the do-not-merge label comes off. |
|
The unattended merge path is about to arm native auto-merge at head |
|
Merge-Risk: max=HIGH demote=true head=cb884826c4bff5488e87b938ca400b06aea6c5d0 rubric=10.7.0 rater=claude-opus-5-5 checker=claude-opus-5-5 |
|
The post-merge check verified merge commit |
Closes #18009
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Remaining work
Not verified
Fix
Verification
The runner ran each check from the base copy against f477c3e:
The run reports:
typeaccepts string, number, boolean, directory or file;${user_config.KEY}is substituted in skill and agent content; CLAUDE_PLUGIN_OPTION_<KEY> is exported to hook processesLeft out: the items under Not verified.
Related
#18009