docs: define v0.1 product and architecture contract
This commit is contained in:
parent
57597e7d6d
commit
c4fb0c6a01
12 changed files with 2130 additions and 64 deletions
11
docs/adr/0002-keep-exit-statuses-coarse.md
Normal file
11
docs/adr/0002-keep-exit-statuses-coarse.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
status: accepted
|
||||
---
|
||||
|
||||
# Keep exit statuses coarse
|
||||
|
||||
Shell callers need broad control-flow signals, while automation agents need
|
||||
precise diagnoses. The CLI therefore reserves exit statuses for success,
|
||||
invalid invocation, runtime failure, timeout, and interruption; the versioned
|
||||
JSON `error.code` carries the detailed failure taxonomy. This avoids maintaining
|
||||
two overlapping error classifications that could drift apart.
|
||||
Loading…
Add table
Add a link
Reference in a new issue