Nudge detects read-only calls by name heuristic #216

Open
opened 2026-11-21 12:36:54 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-core/src/nudge.rs
What is hacky: read-only status inferred from tool name/first word.
Proper fix: a read-only flag in tool metadata.
Original comment: "ponytail: name/first-word heuristic; swap for per-tool metadata if tools grow a read-only flag."

Issue drafts: hx-lens and build files

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-core/src/nudge.rs What is hacky: read-only status inferred from tool name/first word. Proper fix: a read-only flag in tool metadata. Original comment: "ponytail: name/first-word heuristic; swap for per-tool metadata if tools grow a read-only flag." # Issue drafts: hx-lens and build files 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:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#216