Repository navigation
Conversation
… measured KV capacity and memory: the 49,152 knee replayed on one machine's captures is deleted, with the second fitting path it needed Under the derived half start (#5610) an epoch lives (W/2)/a acts and re-prefills ~W/2, so amortized prefill per act is ~2a whatever W is; W only moves the turnover act's spike. Replay at half start (M5 captures, 2026-10-29, Aiko): 49,152 vs the 60,672 slot: median view prefill 41,420 vs 32,122 chars, mean 40,382 vs 47,746, turnovers 29 vs 21. Deleted: WORKING_WINDOW_TOKENS, ContextBudget::working_window(_when) and its test, prompt_fit_served, the working-window-exceeded rebuild in contribute.rs, the faculty's working_window(); the tool surface's warning reads the served window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Oct 30, 2026
…ver deleted bare (agrees with ONE-BUDGET contract 7; #5612 folds into L3) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
Author
|
Held in the 2026-10-30 triage: ONE-BUDGET contract 7 says the 49,152 knee becomes a measured prefill-cost term, not a bare deletion, and the replay in this PR's own body showed a bare slot-sized window raised mean view prefill (47,746 vs 40,382 chars). The window becomes L3's measured decision (HOW-A-MIND-GETS-WHAT-SHE-NEEDS section 5); this PR folds into that work. |
joelteply
added a commit
that referenced
this pull request
Oct 31, 2026
…e; the window knee folds into L3 (#5615) * Render receipt: a render is not a send (the receipt binds at successful submission); an unreadable stored whole is a typed Unavailable to the allocator, never an implicit pointer; wakes need submission, Whole, Resident/Loaded and a matching hash and incarnation (Codex) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * HOW-A-MIND: the 49,152 knee is replaced by L3's measured decision, never deleted bare (agrees with ONE-BUDGET contract 7; #5612 folds into L3) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It serves the minds by sizing every resident's window from her own node's measured capacity rather than a number replayed on one machine. Goal 7, slice 6 of #5607.
Why:
WORKING_WINDOW_TOKENS = 49_152was a knee replayed on the M5's captures on 10-28. On any other machine (a 3090, an M4 32 GB, an unknown box) it is that box's constant.The math under #5610's derived start:
ais her measured append per act.Replay at half start (M5 captures, Aiko, 2026-10-29):
Change: her window is
binding.context_window, the served slot. The serving plan computes it on her node from that engine's measured KV capacity and memory, and it's narrowed only by the provider's measured feedback. Deleted:WORKING_WINDOW_TOKENS;ContextBudget::working_window(_when)and its test;prompt_fit_served;working_window().Deploy order: after #5610, as its own deploy, measured on its own.
Measured
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo