Skip to content

docs(adr): record whr exit-code table (ADR 0013) - #78

Merged
wstein merged 1 commit into
mainfrom
docs/70-whr-exit-codes
Oct 13, 2026
Merged

wstein merged 1 commit into
mainfrom
docs/70-whr-exit-codes

Conversation

@wstein

@wstein wstein commented Oct 13, 2026

Copy link
Copy Markdown
Owner

ADR 0013 and contracts/cli/exit-codes.json: the whr exit-code table (owner decisions H12:c, H15:b: a fresh table; legacy and dev-script tables are reference only).

Table: 0 ok, 64 usage, 65 not_found, 66 unauthenticated, 67 forbidden, 68 conflict, 69 incompatible_contract, 70 needs_human, 71 timeout, 72 interrupted, 73 partial_failure, 74 internal; 75-79 reserved. Remote statuses 0-255 pass through for interactive commands.

Evidence (exact head 3c6dbd5, one commit on origin/main 2fdd851)

  • Independent review: Opus (claude-opus-5-5) CLEAR after one fix round.
  • make check: exit 0, 818 tests, 0 raw failures, 0 errors, manifest-qualified GREEN (clean pinned checkout, python -I -B, HEAD unmoved).

Owner confirmation requested (also in the ADR): the 64-79 CLI range; the 74 internal catch-all; accepting that remote statuses (0-255) overlap the CLI range, so for ssh (no --json) a status in 64-79 is ambiguous by design (spec 006 FR-019).

Non-blocking nit for speckit-plan input: ADR line 58 should also name agent attach with --json.

Refs #70

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@wstein
wstein merged commit 7a821af into main Oct 13, 2026
0 of 2 checks passed
@wstein
wstein deleted the docs/70-whr-exit-codes branch October 13, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant