Location: crates/hx-core/src/tool.rs, schema check
What is hacky: only object type, required keys and primitive types; no nested/enum/format checks.
Proper fix: use the jsonschema crate.
Original comment: "ponytail: no nested/enum/format checks; swap for jsonschema crate if models send bad nested args."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
Location: crates/hx-core/src/tool.rs, schema check
What is hacky: only object type, required keys and primitive types; no nested/enum/format checks.
Proper fix: use the `jsonschema` crate.
Original comment: "ponytail: no nested/enum/format checks; swap for `jsonschema` crate if models send bad nested 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:53 +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/tool.rs, schema check
What is hacky: only object type, required keys and primitive types; no nested/enum/format checks.
Proper fix: use the
jsonschemacrate.Original comment: "ponytail: no nested/enum/format checks; swap for
jsonschemacrate if models send bad nested args."Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).