Skip to content

[codex] Add replay capacity envelope metrics#4

Merged
WaffleBits merged 1 commit into
mainfrom
codex/runtime-capacity-envelope-20260627
Jun 27, 2026
Merged

[codex] Add replay capacity envelope metrics#4
WaffleBits merged 1 commit into
mainfrom
codex/runtime-capacity-envelope-20260627

Conversation

@WaffleBits

Copy link
Copy Markdown
Owner

Summary

  • add schema-v3 replay capacity-envelope fields for prompt/decode tokens, reserved KV pages, declared prefill/decode/KV capacity, and utilization ratios
  • add per-tick admitted prefill token and decoded token counts to make replay aggregates auditable
  • regenerate workload replay artifacts and update runtime docs

Validation

  • cargo fmt --check
  • cargo test
  • git diff --check
  • cargo run --release -- replay --input fixtures/workload.json --output artifacts/workload-replay.json
  • cargo run --release -- replay --input fixtures/workload_pressure.json --output artifacts/workload-pressure-replay.json

@WaffleBits WaffleBits added the enhancement New feature or request label Jun 27, 2026
@WaffleBits WaffleBits marked this pull request as ready for review June 27, 2026 17:14
@WaffleBits WaffleBits merged commit 0240010 into main Jun 27, 2026
1 check passed
@WaffleBits WaffleBits deleted the codex/runtime-capacity-envelope-20260627 branch June 27, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant