# Classify provider command results through commandOutcome · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/53829227c4a0f6c589543a73d0642e849dfdbe82)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 53829227c4a0f6c589543a73d0642e849dfdbe82

Requested commit: 53829227c4a0f6c589543a73d0642e849dfdbe82

Commit: 53829227c4a0f6c589543a73d0642e849dfdbe82

Tree: b6b6e691d58f870cc9eae59623c662f6a237dbed

Author: Simone

Committer: Simone

## Message

```
Classify provider command results through commandOutcome

Successful codexbar runs could print to stderr (glibc loader diagnostics do),
and the provider enable/disable, set-api-key, and descriptor action handlers
consulted stderr before trusting a parsed, error-free payload with exit 0.
Those successful mutations were then reported as failures: the switch visually
reverted, the shared revision stayed stale, and a saved API key surfaced the
loader noise as the error text.

The precedence rule now lives once in ProviderConfigProtocol.commandOutcome
and keeps every historical winner pair except the buggy one; timeout codes,
non-zero exits, structured error/cancel envelopes, and standalone stderr all
retain their prior ordering. The three handlers keep only localization.

```

## Parents

- [154b8838b6643d4fb9fa36c688b579fe35282a53](https://git.cafe/lucenx/codexbar-plasma/commit/154b8838b6643d4fb9fa36c688b579fe35282a53?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/53829227c4a0f6c589543a73d0642e849dfdbe82?format=markdown)
