Location: crates/hx-core/src/agent.rs (identical-call counter, ~line 67)
What is hacky: exact match on tool, args and result; calls with a timeout arg are exempt.
Proper fix: fuzzy/normalized argument comparison when loops with varying args are observed.
Original comment: "ponytail: exact match only, and calls with a timeout arg (polling) are exempt; widen if loops vary args."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
Location: crates/hx-core/src/agent.rs (identical-call counter, ~line 67)
What is hacky: exact match on tool, args and result; calls with a `timeout` arg are exempt.
Proper fix: fuzzy/normalized argument comparison when loops with varying args are observed.
Original comment: "ponytail: exact match only, and calls with a `timeout` arg (polling) are exempt; widen if loops vary args."
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:47 +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/agent.rs (identical-call counter, ~line 67)
What is hacky: exact match on tool, args and result; calls with a
timeoutarg are exempt.Proper fix: fuzzy/normalized argument comparison when loops with varying args are observed.
Original comment: "ponytail: exact match only, and calls with a
timeoutarg (polling) are exempt; widen if loops vary args."Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).