Guide models to read-only inspection #133

Merged
hermes merged 1 commits from feat/inspect-guidelines into main 2026-10-06 13:14:45 +00:00
Collaborator

Models inspected with node/python, which needs approval every time.

  • DEFAULT_PROMPT and bash tool text: working rules (read/rg/fd, no scripts to explore, one simple command per call).
  • Read-only gate: pipes allowed when every segment is read-only; find (no -exec/-delete/-fprint), sort (no -o), cut, nl, tr, jq added.
  • hx stats: approval prompts from bash, by command.
  • Test fixtures moved from sort to sed, which still asks.

Tests: unit + clippy green; e2e, smoke, m4-m7 green. lens_e2e failed in 2 of ~5 runs on this branch (6/6 green on main), not investigated.

Models inspected with node/python, which needs approval every time. - DEFAULT_PROMPT and bash tool text: working rules (read/rg/fd, no scripts to explore, one simple command per call). - Read-only gate: pipes allowed when every segment is read-only; find (no -exec/-delete/-fprint), sort (no -o), cut, nl, tr, jq added. - hx stats: approval prompts from bash, by command. - Test fixtures moved from sort to sed, which still asks. Tests: unit + clippy green; e2e, smoke, m4-m7 green. lens_e2e failed in 2 of ~5 runs on this branch (6/6 green on main), not investigated.
hermes added 1 commit 2026-10-06 13:14:20 +00:00
hermes merged commit c29df05e0b into main 2026-10-06 13:14:45 +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#133