# feat\(cost\): add manual identified Codex token subtotals \(\#522\) · lucenx/codexbar-plasma

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

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

Visibility: public

Requested revision: 8554f9369b813ff31a4be88b80ea11e1cd7656ca

Requested commit: 8554f9369b813ff31a4be88b80ea11e1cd7656ca

Commit: 8554f9369b813ff31a4be88b80ea11e1cd7656ca

Tree: 893ed96208a7f3e06ca2246c74e3bd4e1004341c

Author: Simone

Committer: GitHub

## Message

```
feat(cost): add manual identified Codex token subtotals (#522)

* feat(cost): add manual identified Codex token subtotals

Add an opt-in local/SSH token-only view using the official 0.75.0 contract, with bounded decoding and an independent manual process lifecycle. Preserve useful source-failure subtotals without exposing request identities.

Documentation: update usage, cost contracts, requirements, ownership, translations, synthetic screenshot and Unreleased notes; remove the completed TODO item. Verified with make check, package and synthetic Plasma smoke; local Qt/managed-dialog skips and partial QML type metadata require strict CI coverage.

* fix(cost): bound identified subprocess groups

Keep an independent GNU timeout supervisor alive after Plasma retires its source. Terminate the CLI process group at 110 seconds with a five-second kill grace before the 120-second frontend deadline; refuse an unbounded fallback when timeout is unavailable.

Verify stubborn CLI and child termination after timeout, context changes and destruction, plus quoted executable paths and recovery. Documentation: update optional requirements, usage and ownership guides, translations and Unreleased notes. The complete make check, package and synthetic Plasma SSH-failure smoke passed locally; existing local coverage skips remain for strict CI. Addresses CodeRabbit discussion_r4286254109.
```

## Parents

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

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