Repository navigation
doc: cooperative timeout contract for #6002 - #8279
Conversation
…points, hard-kill outcomes)
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 43 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. |
# Conflicts: # doc/README.md
Contract specification for #6002: cooperative timeout — invocation budget, checkpoint convention, hard-kill outcomes.
Queue task 13794 (lane code-g, direct execution per #8187).
What this is
One new file,
doc/2026-11-10_design_id6002_cooperative_timeout_contract.md, plus its index line indoc/README.md. No code, no implementation.The contract in brief
fuel_used()/time_remaining()) is contractual — the Screeps property the issue cites.{binding, tick, kind, fuel_spent, checkpoint_offered}. Partial results are discarded; the checkpoint is the only survivor, as input, not effect.Alignment
Written against the landed #5967 mapping design (its failure table is adopted verbatim, not re-decided) and the #5966 research (Wasmtime fuel per binding as the primary bound). Enforcement mechanism, fuel costs, and budget numbers are explicitly left to their owning seams (#5966, #6001, #5962) — the spec names the seam wherever it needs a number those issues have not fixed.
Refs #6002 (the issue stays open until this contract is merged, per its acceptance).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.