-
Notifications
You must be signed in to change notification settings - Fork 2
cli: Define stable correct exit statuses #39
Copy link
Copy link
Closed
Labels
area: cliCommand-line interface behavior.Command-line interface behavior.area: correctionCorrection engine and correction UX.Correction engine and correction UX.enhancementNew feature or requestNew feature or requestgate: adversarial reviewResolve, merge, or explicitly defer before the next full adversarial review.Resolve, merge, or explicitly defer before the next full adversarial review.
Description
Activity
Metadata
Metadata
Assignees
Labels
area: cliCommand-line interface behavior.Command-line interface behavior.area: correctionCorrection engine and correction UX.Correction engine and correction UX.enhancementNew feature or requestNew feature or requestgate: adversarial reviewResolve, merge, or explicitly defer before the next full adversarial review.Resolve, merge, or explicitly defer before the next full adversarial review.
correctneeds distinct, stable statuses for valid input, suggestion emitted, no usable suggestion, and usage/input errors. Suggestions remain nonzero as required by the security model.Implemented and reviewed in PR #45 with this contract:
0: input is already valid;1: a correction suggestion was emitted;2: command or input syntax is invalid;3: no usable suggestion was emitted, including no result, incomplete search with no usable candidate, ambiguity, refused disclosure, or a missing dependency needed to present a suggestion.#45 is already merged into #42's branch, so the implementation now lives at the current #42 head. Keep this issue open until #42 is integrated into
reviewability-v1; GitHub does not auto-close it when #45 merges only into that intermediate branch. The final #42 integration should rerun the existing status/correction regression suite on the combined tip.