# fix\(usage\): preserve quotas with malformed plan metadata \(\#243\) · lucenx/codexbar-plasma

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

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

Visibility: public

Requested revision: 9defb0f9ca047f629cbf0b4e1195ba54d1dba71c

Requested commit: 9defb0f9ca047f629cbf0b4e1195ba54d1dba71c

Commit: 9defb0f9ca047f629cbf0b4e1195ba54d1dba71c

Tree: 0dc647ab516705de9d6e3c1d611c3768058f74fe

Author: Simone

Committer: GitHub

## Message

```
fix(usage): preserve quotas with malformed plan metadata (#243)

Build the Codex plan label from the validated login method already selected for account identity. Reading the raw metadata again could throw during formatting, discarding healthy quotas and named accounts, or suppress a valid fallback.

Add production-parser regression coverage and retain independent exception-containment checks. Update the usage guide and Unreleased. TODO, CLI contracts, configuration, translations, packaging, and README remain unchanged.
```

## Parents

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

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