Skip to content

feat(cli): add codexbar guard for quota automation (0.45 port)#220

Merged
Finesssee merged 1 commit into
mainfrom
port/045-cli-guard
Jul 21, 2026
Merged

feat(cli): add codexbar guard for quota automation (0.45 port)#220
Finesssee merged 1 commit into
mainfrom
port/045-cli-guard

Conversation

@Finesssee

@Finesssee Finesssee commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • Unit tests in guard.rs
  • cargo test --manifest-path rust/Cargo.toml guard
  • cargo run -p codexbar -- guard --help

No packaging/version bump (porting wave only).


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Port upstream CodexBar guard: check one provider window against a
minimum remaining threshold with stable exit codes (0/1/64/69),
JSON output, --fail-open, and bounded fetch via existing providers.
@Finesssee
Finesssee merged commit c0a7a19 into main Jul 21, 2026
1 of 2 checks passed
@github-actions

Copy link
Copy Markdown

This repository allows each user to open at most 4 pull requests per 7 days.

Closing this automatically.

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