Repository navigation
fix(agy): trust the worktrees root, not a glob agy does not read - #2536
Conversation
agy 1.3.5 asked for trust in every fresh herdr worktree although trustedWorkspaces listed <root>/*/*. A plain directory entry is trusted with everything beneath it (measured), so agy is given the root; Copilot keeps its pattern. The herdr-config guard asserts each harness's measured form.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
⚙️ Agent run details
|
Review triageReviewer: PR-Agent (github-actions, ticket-compliance guide, no code findings). CodeRabbit reviewed nothing (free limit).
Fixed during CI: the |
Fixes #2533: agy asked "Do you trust the contents of this project?" in every fresh herdr worktree, because it does not read
trustedWorkspaces: worktrees/*/*as a glob.Summary
ai/agy/settings.jsontrusts the plain directory{HOME}/Projects/worktreesinstead of the pattern{HOME}/Projects/worktrees/*/*. Merge-union means a machine keeps its old pattern entry; it is inert.tests/herdr-config.batsnow asserts the root for agy (and keeps the pattern for Copilot), andtests/antigravity.batspins the new list.Measured (2026-10-14, macOS, agy 1.3.5)
A fresh directory
~/Projects/worktrees/dotfiles/<x>with the old list: agy stopped at the trust dialog (also outside git, so not a lane effect). Afterdotf deploy agy-settingswith the plain directory added: no dialog. Copilot, with its current list, showed no dialog in the same kind of directory. Reverting the template to the glob fails the herdr-config bats test.Owner lands this one
It widens which folders an agent trusts without asking (#2178): everything beneath
~/Projects/worktrees, the same scope #2504 intended and the owner approved. Prepared, not merged by the agent.SDD skip rationale
Two-line config change plus its guards, cause measured; under the 20-line bug-fix bar.
Knowledge