Repository navigation
Framing by importance, volatile by content: active-work + room-board leave the stable head - #2359
Merged
Merged
Conversation
…work and room-board leave the stable head debug/prompt-reuse (the replay scorer, #2350) on tonight's live captures: the worst consecutive-turn pairs scored 4-10% predicted reuse, and every divergence excerpt named the same spans — [active-work] flapping between "card X [Claimed]" and "[work] Your claim on card X…", and [room-board] churning card states — at ~char 7,900 of 90-185k-char prompts. A mutating span parked at the TOP of the prompt invalidates the KV of everything behind it; these two sources were the single largest remaining re-prefill cause. Root cause: SaliencePolicy::StandingFraming conflated two axes — selection priority (the attention floor; correct for these sources) and stable-tier PLACEMENT (correct only for byte-stable content). GroundingSource now carries volatile_content: importance keeps the floor, placement follows content stability. active-work and room-board serialize in the volatile tail nearest generation, where their mutation costs only itself; roster/doctrine/map/wall stay in the cacheable head. Expected receipt: cached/total on inference.prefill.complete climbing from ~0-30% toward the stable-head+conversation share on consecutive same-room turns (which FOCUS, #2358, now makes the common case). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
Replay scorer convicted both on live captures (worst pairs 4-10% reuse, divergence at ~char 7,900 of 90-185k prompts). New GroundingSource::volatile_content decouples the attention floor from stable-tier placement. Receipt to watch: cached% climbing on consecutive same-room turns.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo