# fix: close audited CLI result and cost history edge cases \(\#543\) · lucenx/codexbar-plasma

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

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

Visibility: public

Requested revision: ba0bb9667aa3383153e0fddc5d78f47790afc7ae

Requested commit: ba0bb9667aa3383153e0fddc5d78f47790afc7ae

Commit: ba0bb9667aa3383153e0fddc5d78f47790afc7ae

Tree: 0c4e4a349a1bd61f0ec915c0e42cd5af9878f1ec

Author: Simone

Committer: GitHub

## Message

```
fix: close audited CLI result and cost history edge cases (#543)

- Treat a DataSource reply without an exit status as a failure in provider
  settings, rosters, Diagnostics and notification actions (Guards.exitCode),
  and word a missing status like missing data instead of "code NaN".
- Keep a provider write error visible when an in-flight list completes after it.
- Clear an earlier AI Insights verdict when the API key prompt is cancelled.
- Skip empty cost records in the model history budget, flag unanchored scans
  that stop early, and reject impossible calendar dates as a cost scan day.
- Never end truncated display or diagnostic text on half a surrogate pair.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
```

## Parents

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

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