Restore validation exit for input-too-large errors
This changed expectation codifies the package default of returning usage error 2 for input-too-large, but clet still emits that code for oversized stdin in MarkdownContentResolver and for oversized --initial, and specs/clet-spec.md requires those cases to exit 65. In practice clet md --json with >8 MiB on stdin, or a known command with an oversized --initial, now takes the wrong exit-code path for scripts/agents that distinguish validation failures from bad CLI usage; keep a clet-specific exit-code mapper instead of accepting the package fallback.
Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in #186 (comment)
This changed expectation codifies the package default of returning usage error 2 for
input-too-large, but clet still emits that code for oversized stdin inMarkdownContentResolverand for oversized--initial, andspecs/clet-spec.mdrequires those cases to exit 65. In practiceclet md --jsonwith >8 MiB on stdin, or a known command with an oversized--initial, now takes the wrong exit-code path for scripts/agents that distinguish validation failures from bad CLI usage; keep a clet-specific exit-code mapper instead of accepting the package fallback.Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in #186 (comment)