# refactor\(cost\): isolate provider cost presentation \(\#259\) · lucenx/codexbar-plasma

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

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

Visibility: public

Requested revision: dbba1e5d20549c553b46be1e61dc39f4671a9614

Requested commit: dbba1e5d20549c553b46be1e61dc39f4671a9614

Commit: dbba1e5d20549c553b46be1e61dc39f4671a9614

Tree: fb75b29a3f4da64941b87f0ec855952c17fc3d04

Author: Simone

Committer: GitHub

## Message

```
refactor(cost): isolate provider cost presentation (#259)

Move provider cost classification and reset-credit validation into a pure module while keeping localized output in main.qml. Preserve balance precedence, allowance bounds, provider exceptions, and the separate Codex monthly-credit contract.

Document module ownership and test coverage in the development guide. Regenerate the translation template without changing message IDs. TODO and user guides remain current; no user-visible change requires a changelog entry.

Verification: full make check passed in KDE neon with strict QML imports and no skips, including 1278 Qt cases and 95 Python tests. Package build and isolated installed/upgrade runtime checks passed for allowance and spend views.
```

## Parents

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

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