Repository navigation
fix: run ordinary credential maintenance as workspace owner - #3721
Merged
Merged
Conversation
…it (Abilityai#3719) merge-train: mechanical, per the merge-train note on the PR. Four comments still described every sweep as running as root, the unreadable alarm as asking for full capabilities, and the per-agent exec count as three. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Contributor
|
merge-train note (mechanical fix pushed to your branch, commit b23450d):
Validated at 76cf465. Noted for follow-up, not blocking: (1) an install failure now returns |
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.
Closes #3719
Ordinary credential maintenance cannot inspect a developer-owned 0700 home when root lacks
DAC_OVERRIDE. Check the existing helper installation as root, then run unseeded sweeps as developer. Installation failure stops maintenance before a sweep; seed-bearing sweeps retain their existing root execution and environment-only seed handling.The change preserves the helper and sweep scripts, replacement/refusal rules and alert mechanism. It quotes the repository path, avoids logging arbitrary execution exception payloads, and makes unreadable-workspace guidance describe ownership and permissions accurately.
Validation:
No capability expansion, alert-framework migration, production deployment or live credentials are involved.
Journey Impact: extends: J06
Mutation: The restricted-capability reproduction in #3719 fails as root and succeeds as the workspace owner.
test_unseeded_sweep_uses_owner_after_checked_root_installandtest_failed_install_never_runs_a_sweepare among the five newly added cases that failed on stock before this fix (5 failed / 97 deselected).