Skip to content

billing: expose deposit capacity preflight - #12

Merged
halfaipg merged 1 commit into
mainfrom
codex/deposit-cap-preflight
Jul 27, 2026
Merged

billing: expose deposit capacity preflight#12
halfaipg merged 1 commit into
mainfrom
codex/deposit-cap-preflight

Conversation

@halfaipg

Copy link
Copy Markdown

Summary

  • expose today’s credited account and network usage in funding configuration
  • calculate non-negative remaining capacity for each funding asset
  • preserve locked server-side cap enforcement as the authority

Verification

  • PYTHONPATH=. .venv/bin/pytest -q grid_api (374 passed, 8 skipped)
  • focused deposit tests (21 passed)
  • fatal ruff checks and git diff --check

@halfaipg
halfaipg merged commit 54a0dd4 into main Jul 27, 2026
1 check passed
@halfaipg
halfaipg deleted the codex/deposit-cap-preflight branch July 27, 2026 19:37
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