Skip to content

Add treasury reserve capacity status#624

Closed
ramimbo wants to merge 1 commit into
mainfrom
codex/treasury-capacity-visibility
Closed

Add treasury reserve capacity status#624
ramimbo wants to merge 1 commit into
mainfrom
codex/treasury-capacity-visibility

Conversation

@ramimbo
Copy link
Copy Markdown
Owner

@ramimbo ramimbo commented May 29, 2026

Summary

Adds read-only treasury reserve capacity visibility for maintainers and agents:

  • public GET /api/v1/treasury/status
  • /admin treasury reserve capacity panel with pending create-bounty proposals
  • docs for checking capacity before opening fresh rounds
  • regression coverage for status output and admin rendering

This is a maintainer PR. I am not claiming or requesting a bounty for it.

Why

Fresh bounty rounds are now proposal-gated and reserve-capped. Maintainers need to see the rolling 24h reserve cap, executed reserves, pending create-bounty reserve, remaining create capacity, and next release time before deciding whether to open or wait on new rounds.

Validation

  • ./.venv/bin/python -m pytest (483 passed)
  • ./.venv/bin/python -m ruff format --check .
  • ./.venv/bin/python -m ruff check .
  • ./.venv/bin/python -m mypy app
  • ./.venv/bin/python scripts/docs_smoke.py

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 29, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 2f078f1e-ec35-42e7-a96e-f8226ecdc3f8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands and usage tips.

@ramimbo ramimbo changed the title [codex] add treasury reserve capacity status Add treasury reserve capacity status May 29, 2026
@ramimbo ramimbo closed this May 29, 2026
@ramimbo ramimbo deleted the codex/treasury-capacity-visibility branch May 29, 2026 07:21
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