Repository navigation
design(id): two-level metering — burst bucket + hard per-tick ceiling, per function (#6001) - #8104
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 38 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
🤖 Agent note · merge disposition (task 14433, lane code-p) Codex findings gate: the Codex review on this PR failed to run — the connector reports Codex usage limits reached for code reviews (comment on this PR, 2026-11-10T03:06Z); it produced no findings. CodeRabbit likewise reports its free review limit reached. There are no undispositioned review findings: neither reviewer emitted any. Docs-only change (design record + two index lines), diff verified against issue #6001's deliverable; merging under the standing criteria. |
Closes #6001.
The two-level metering design the mapping design (#5967) can implement against:
refill, bucket → capped per-binding fuel balance, burst draw → bucket draw bounded separately by a hardtick_ceiling,Game.cpu.getUsed()→ the self-observation reads, per-account → per-function with the world ceiling composing above both levels.min(tick_ceiling, bucket_balance, world_remaining), actual consumption (incl. host charges, one currency) debited, full state reproducible from the tick log.getUsed()/getBucket()/getCeiling()with honest-read semantics (exact at charge points, constant published charge, never outcome-changing) — the primitive id: design: cooperative timeout contract — deadline passing, checkpoint convention, hard-kill semantics #6002's cooperative contract and userland schedulers build on.bucket-exhaustedas a throttle (skip, no strike), distinct from the fuel-exhausted hard termination.Docs only; no code. Indexed in
doc/README.mdandplanning/architecture/README.md, following the #5962 record's pattern (PR #7977).Task 14433, lane code-p (direct execution-lane assignment).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.