Permissions: only writes ask #122

Merged
hermes merged 1 commits from read-free into main 2026-10-03 22:04:22 +00:00
Collaborator

read of non-secret files and read-only bash (ls cat head tail wc grep rg fd pwd echo stat file du df which tree diff; git status/log/diff/show/branch/blame/ls-files/rev-parse) no longer prompt. Compound/redirected commands and secret paths (.env*, .ssh, .aws, *.pem, .key, id_rsa, .netrc, .git-credentials, auth.json) still ask. write/edit/other bash unchanged. Tests: new unit test, e2e fakes switched from cat to sort. tests/all.sh green.

read of non-secret files and read-only bash (ls cat head tail wc grep rg fd pwd echo stat file du df which tree diff; git status/log/diff/show/branch/blame/ls-files/rev-parse) no longer prompt. Compound/redirected commands and secret paths (.env*, .ssh, .aws, *.pem, *.key, id_rsa*, .netrc, .git-credentials, auth.json) still ask. write/edit/other bash unchanged. Tests: new unit test, e2e fakes switched from cat to sort. tests/all.sh green.
hermes added 1 commit 2026-10-03 22:03:46 +00:00
permissions: reads and read-only bash run free; secrets and writes ask
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
b5db6ce80a
hermes merged commit aa72ab664d into main 2026-10-03 22:04:22 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#122