Location: crates/hx-core/src/subagent.rs (read-only tool list, ~line 260)
What is hacky: bash is allowed; only the prompt forbids writing.
Proper fix: replace bash with search/grep tools or enforce a sandbox.
Original comment: "Tools of a read-only child. ponytail: bash can still write; the prompt forbids it. Drop bash for a search/grep tool if models ignore that."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
Location: crates/hx-core/src/subagent.rs (read-only tool list, ~line 260)
What is hacky: `bash` is allowed; only the prompt forbids writing.
Proper fix: replace `bash` with search/grep tools or enforce a sandbox.
Original comment: "Tools of a read-only child. ponytail: `bash` can still write; the prompt forbids it. Drop `bash` for a search/grep tool if models ignore that."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes
added the core label 2026-11-21 12:36:49 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Location: crates/hx-core/src/subagent.rs (read-only tool list, ~line 260)
What is hacky:
bashis allowed; only the prompt forbids writing.Proper fix: replace
bashwith search/grep tools or enforce a sandbox.Original comment: "Tools of a read-only child. ponytail:
bashcan still write; the prompt forbids it. Dropbashfor a search/grep tool if models ignore that."Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).