"Allow always" rules are plain globs #212

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

Location: crates/hx-core/src/permit.rs, rule generation/matching
What is hacky: * globs on the full command line, not argument-aware.
Proper fix: argument-aware rule matching (flags, paths).
Original comment: "ponytail: patterns are * globs on the full command line; add argument-aware rules if needed."

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

Location: crates/hx-core/src/permit.rs, rule generation/matching What is hacky: `*` globs on the full command line, not argument-aware. Proper fix: argument-aware rule matching (flags, paths). Original comment: "ponytail: patterns are `*` globs on the full command line; add argument-aware rules if needed." 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:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#212