You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
provider-dispatch.md: invalid Grok terminal data is child-failed after a nonzero exit #132
The dropout paragraph in provider-dispatch.md says "other valid Grok terminal failures return child-failed/70, while invalid or incomplete terminal data remains malformed-output/65."
That holds only when grok exits 0. After a nonzero exit, a parse error that is not a ProviderResultError leaves providerFailure null, and the exitCode !== 0 branch classifies the run with unavailableStatus(), so the receipt is child-failed/70 with child exited with status N. run.test.ts pins this: "keeps malformed terminal data distinct after child exit 1" expects exitCode === 0 ? "malformed-output" : "child-failed".
Suggested wording: "invalid or incomplete terminal data is malformed-output/65 after a zero exit and an ordinary child-failed/70 after a nonzero exit."
Design pass, 2026-10-11 (bundled with #141, #142, #131; see the plan on #141)
New wording for provider-dispatch.md:106: after a zero exit, invalid or incomplete Grok terminal data is malformed-output/65. After a nonzero exit, it takes the ordinary failure classification: normally child-failed/70, or unavailable-model/69 when the model-error text matches. Cancellation and timeout keep precedence. The test matrix at run.test.ts:651 stays as it is and gains a malformed case that carries auth text.
Activity
ericlitman commentedon Oct 11, 2026
Design pass, 2026-10-11 (bundled with #141, #142, #131; see the plan on #141)
New wording for
provider-dispatch.md:106: after a zero exit, invalid or incomplete Grok terminal data ismalformed-output/65. After a nonzero exit, it takes the ordinary failure classification: normallychild-failed/70, orunavailable-model/69 when the model-error text matches. Cancellation and timeout keep precedence. The test matrix atrun.test.ts:651stays as it is and gains a malformed case that carries auth text.Merge pull request #150 from ericlitman/fix/runner-grok-env-and-failu…
docs(runner): state how invalid Grok terminal data is classified afte…