Skip to content

[codex] Align admin usage revenue billing#25

Merged
cnYui merged 2 commits into
mainfrom
codex/admin-usage-revenue-audit-log-20260612
Jun 12, 2026
Merged

[codex] Align admin usage revenue billing#25
cnYui merged 2 commits into
mainfrom
codex/admin-usage-revenue-audit-log-20260612

Conversation

@cnYui

@cnYui cnYui commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Rename admin usage billing cards to revenue wording while keeping account pages in user-spend wording.
  • Limit admin revenue totals to Shop-managed API keys and exclude Local/unmanaged usage from income.
  • Lock the updated DeepSeek RMB cache-hit price at 250 nanos/token and add local JSONL charge audit logging for realtime and reconciliation apply flows.

Notes

  • This PR also includes the preceding local commit fix: make usage reconciliation ids deterministic, which was already on local main before this branch was cut and is part of the current billing context.
  • Local unrelated AGENTS.md admin-business notes were stashed and not included.

Verification

  • npm test (128 pass / 0 fail)
  • git diff --cached --check before commit

@cnYui cnYui merged commit d15729e into main Jun 12, 2026
2 checks passed
@cnYui cnYui deleted the codex/admin-usage-revenue-audit-log-20260612 branch June 12, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant