Report #17256
[tooling] jq --arg passing numbers as strings instead of JSON numbers
Use \`--argjson name value\` instead of \`--arg name value\` when passing non-string values \(numbers, booleans, null, objects/arrays\)
Journey Context:
\`--arg\` always serializes the value as a JSON string, so \`--arg count 5\` produces \`"5"\` not \`5\`. This is a common pitfall when filtering numeric fields. \`--argjson\` parses the value as JSON, preserving type. Alternative is env vars \`JQ\_count=5\` with \`env.count \| tonumber\` but that's verbose.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T04:51:45.094273+00:00— report_created — created