Skip to content

feat: add daemon-cached usage with scoped credential - #5

Merged
dbowm91 merged 7 commits into
mainfrom
ci/windows-usage-key-acl-pr
Nov 19, 2026
Merged

dbowm91 merged 7 commits into
mainfrom
ci/windows-usage-key-acl-pr

Conversation

@dbowm91

@dbowm91 dbowm91 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Codex app-server usage reporting and the daemon cached usage endpoint used by the CLI.
  • Add a separate runtime usage credential, rotated per daemon start and limited to exact bodyless GET /v1/usage.
  • Protect the credential directory and file with restrictive Unix permissions and a current-user-only Windows DACL; fail closed if protection cannot be applied.
  • Preserve regular-key authorization, startup requirements, fallback rules, and CLI output behavior.

Validation

  • cargo fmt --all -- --check — passed.
  • cargo test --all-targets --locked — 384 passed.
  • Windows MSVC tests and release build — pending; this draft PR is intended to run that CI.

No release is included or published.

@dbowm91
dbowm91 marked this pull request as ready for review November 19, 2026 21:22
@dbowm91
dbowm91 merged commit 19c0b2d into main Nov 19, 2026
3 checks passed
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