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
Decide the scope and the exit-code policy of the global CLI output contract #2715
Record, in an ADR, two decisions that the global CLI output contract ADR leaves open: which programs the contract covers, and how a program reports distinct outcomes through exit codes.
Problem
The ADR's issue specification puts developer tooling under contrib/dev-tools/ out of scope, yet the ADR's binary table now lists several of those tools and the AI-agent poller wait-for-pr-review, so the table and the scope statement disagree. The ADR also fixes only the exit codes 0, 1 and 2, and the existing tools answer differently when a program has several non-success outcomes: some report a timeout or a failing verdict as a result with exit 0, and one exits 1 for an outcome the caller asked about. The trade-off is between distinct numbers per outcome and a single failure code plus a kind field.
The specification is in pull request #2716, which adds docs/issues/open/2715-cli-output-contract-scope-and-exit-code-policy/ISSUE.md.
Activity
docs(issues): add specifications for #2712, #2713, #2714 and #2715
Merge #2716: docs(issues): add specifications for the wait-for-pr-rev…
docs(adrs): [torrust#2715] keep exit 2 for usage errors in no-stdout-…
docs(adrs): [torrust#2715] point the follow-up work to task T4 of the…
docs(adrs): [torrust#2715] classify package-coverage-check in the CLI…
docs(issues): [torrust#2715] add the time of day to the progress log …
docs(pr-reviews): [torrust#2715] record round 1 of the PR 2748 review
docs(adrs): [torrust#2715] require the package-coverage-check summary…
docs(pr-reviews): [torrust#2715] use canonical severity labels in the…
docs(pr-reviews): [torrust#2715] record round 2 of the PR 2748 review
docs(issues): [#2715] record maintainer decisions on scope, exit code…
docs(adrs): [#2715] scope the CLI output contract and keep exit codes…
chore(issues): archive closed issue #2715 spec to docs/issues/closed
Merge #2755: chore(issues): archive closed issue #2715 spec to docs/i…
Merge torrust#2748: docs(adrs): [torrust#2715] scope the CLI output c…