Repository navigation
feat(package): add agent-settings package - #750
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #750 +/- ##
==========================================
- Coverage 92.43% 92.03% -0.40%
==========================================
Files 126 131 +5
Lines 5118 5477 +359
Branches 281 330 +49
==========================================
+ Hits 4731 5041 +310
Misses 106 106
- Partials 281 330 +49 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
koterpillar
force-pushed
the
agent-settings
branch
from
November 10, 2026 22:14
7845c87 to
f2b5eed
Compare
koterpillar
commented
Nov 11, 2026
koterpillar
commented
Nov 12, 2026
koterpillar
force-pushed
the
agent-settings
branch
from
November 12, 2026 22:19
45be565 to
ecb086d
Compare
koterpillar
force-pushed
the
agent-settings
branch
2 times, most recently
from
November 22, 2026 23:47
e129557 to
45d05f6
Compare
koterpillar
force-pushed
the
agent-settings
branch
from
November 24, 2026 09:45
53b80dc to
c8570c8
Compare
koterpillar
marked this pull request as ready for review
November 24, 2026 09:45
koterpillar
enabled auto-merge
November 24, 2026 09:50
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.
Add an
agent-settingspackage that grants command and path permissions to Claude and Rovo. The first commit adds shared JSON and YAML file editing. The second adds the package and its tests.Usage
{ "agent-settings": "development-tools", "agents": ["claude", "rovo"], "execute": [ "git status", "stack test", { "exact": "make test" } ] }The required
agent-settingsfield names the package. Use distinct names to install multiple packages for the same agents. The requiredagentsfield accepts one agent or a nonempty list.A string in
executeallows the command with or without extra arguments. Anexactobject allows only the specified command. Use literal words separated by single spaces. The parser rejects quoting, wildcards, expansions, and shell operators.{ "agent-settings": "project-files", "agents": ["claude"], "read": ["projects", "/etc/hosts"], "write": ["projects/mybox", "/tmp/mybox"] }The optional
readandwritefields grant access to files or directories. Relative paths start at the user's home directory, and directory grants cover descendants. Write grants include read access. Rovo requires each read path to be covered by a write path. It places new command allow rules before existing command rules.Installation behavior
Mybox edits
~/.claude/settings.jsonand~/.rovo/config.yml. It creates files and missing keys when it adds a grant. It skips invalid JSON or YAML and settings fields with the wrong type.Installation adds grants and keeps existing entries. Reinstallation can add duplicates. Removing an entry or uninstalling a package leaves installed grants in place. Changing the package definition triggers installation. Changes to agent settings alone do not.
Mybox updates agents in the listed order. If a later agent fails, earlier changes remain. The shared writer preserves files when the content stays the same. When content changes, it re-encodes the file and recreates it with default permissions. Recreating the file replaces any symlink at that path.
Verification
All 74 focused tests passed. They cover agent settings, package decoding, file editing, and the Driver file modifier.
bash ./bin/lintandgit diff --checkpassed.