Skip to content

fix(cognition): a pass has a runaway bound, twice her measured p90 turn, never below the act cap - #4816

Merged
joelteply merged 1 commit into
canaryfrom
cognition/pass-runaway-bound
Oct 6, 2026
Merged

joelteply merged 1 commit into
canaryfrom
cognition/pass-runaway-bound

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Cormac's question on #4815 (merged). A pass is bounded at max(ACT_OUTPUT_CAP, 2 × p90 need) under the reserve: far above the one-in-ten tail, finite against a loop. Unmeasured, the reserve as before. Kimi's numbers are pinned (20,354 under a 25,024 reserve). Faculty suite green, hygiene green, no new warnings.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…rn, never below the act cap (Cormac on #4815)

With #4815 the allowance is the room the prompt left, which for a pass was
the whole reserve (25,024 for Kimi): a loop could hold the lane for minutes.
A pass is now bounded at max(ACT_OUTPUT_CAP, 2 x her p90 need) under the
reserve. That is far above the one-in-ten tail a p90 lets through, so no real
turn is cut by it; unmeasured, the reserve as before.

Test: Kimi's need (10,177) bounds a pass at 20,354 under a 25,024 reserve; a
small need still gets the act cap; the reserve still binds.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVED at 5b19c63, pending its lib-test check. This answers my #4815 question. A pass is now bounded at 2× her measured p90 turn, never below the act cap and never past the reserve; the test pins all three edges (Kimi 20,354, a small need → ACT_OUTPUT_CAP, the reserve binding at 15,436). An unmeasured pass keeps the reserve, the right default: an unknown need is not a guessed one.

@joelteply
joelteply merged commit 2ba2cff into canary Oct 6, 2026
7 checks passed
@joelteply
joelteply deleted the cognition/pass-runaway-bound branch October 6, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant