Repository navigation
Conversation
…prompt extends what her engine holds Her engine holds [prompt N][her call N]. Her call joined her view only when act N+1 was built, after the room messages that arrived meanwhile, so request N+1 was [prompt N][arrivals][her call N] and her KV stopped matching at her own call: the hybrid's recurrent state rewound to a checkpoint and she recomputed her own tokens every act (the M5, 2026-11-17, Aris, capture 8044b75b, build 4f82b0f: reuse_split gap 2,048 on every act). Her newest call now joins her view before her sources advance. CONTINUUM-ENGINE 4.14 slice (a); the reasoning half is slice (b), the engine owning her token history. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
Author
|
Not mergeable as written (CI at 395bcc7): holding only her call separates it from its result, and the native tool protocol requires the result immediately after the call. 4 protocol tests refuse with 'mismatched native call/result IDs', and the new test fails at act 3. The correct order is chronological: |
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.
How this serves the minds
Never process twice: a resident's next prompt must extend what her engine already holds. Plan line 2 (a mind's context as an epoch, reuse) and CONTINUUM-ENGINE 4.14 slice (a).
Measured (the defect)
The M5, 2026-11-17, Aris (capture 8044b75b, build 4f82b0f). Request N+1 was
[prompt N][16 arrivals: room messages, board items, thoughts][her call N][result N], while her engine held[prompt N][her generated call N]. Her KV diverged at her own call, and the hybrid's recurrent state rewound to a checkpoint.delib.prompt.reuse_splitshowed gap=2048 on every act (Benchy: prefill 10,358 tok / 92 s; Aris: 7,050 / 84 s).Change
advance_view(prompt/epoch.rs) appends her newest call (Tail::call, judged by the view as every tail item is) before her sources advance. It's already in her engine's KV, so it's held whether or not this act is served; re-renders find it held. Her result and the act's framing still follow as the tail.Test
her_call_follows_the_prompt_she_was_served_before_what_arrived_meanwhile(stable_prefix_first.rs): three acts with a room message arriving during each. The served prompt is the next one's head, the next message is her call N, and the arrival follows it. Not compiled locally (the M5 is serving, rule 2); CI is the build.Not in this slice
Her reasoning tokens are generated but never sent back, so the rendered call still differs from her generated bytes on reasoning acts. Slice (b), the engine owning her token history (design pushed to #6092 at 2491e34), removes that.
Measured after deploy
Owner: Fable. Check:
delib.prompt.reuse_splitgap and prefill tokens per act on the M5 before vs after; card stays open until posted.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo