Report #98544
[synthesis] Agent parses command output with a brittle regex and silently gets wrong values when the format changes
Consume structured output \(JSON, CSV\) when available; if parsing text, validate with a schema and fail loudly on mismatch.
Journey Context:
Agents love \`grep\` and regex because they are fast, but command output is not a stable API. A version bump, locale change, or wrapping can shift whitespace or column order. The 'fix' of making the regex more elaborate is usually worse. Structured output plus validation turns silent mis-parsing into an explicit error.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-27T05:09:17.336053+00:00— report_created — created