Feat/cesar smooth - #294
Merged
Merged
Conversation
…e redirect wrap
- steer-then-Esc queued the engine-facing [INTERRUPTED TURN REDIRECT] block as
the user's message (and wrapped it a second time); now the raw steer text is
queued and the redirect wrap happens exactly once, engine-side in dispatchInput
- Esc with typed text: 3 notices → 1 ("Interrupted — redirecting…")
- dropped the "Steering queued…" / "Queued: …" transcript lines that duplicated
the live composer chip
- second Ctrl+C now prints "Cancelled." like Esc does
- tests/unit/interrupt-quiet.test.ts pins raw-text queueing, single wrap,
single notice
⚔️ Forged by [Agon](https://github.com/KERNlang/agon)
Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
…cks visibly resume
Streaming lag:
- parseToolCalls(response) ran on EVERY chunk for CLI brains without native
tools → chunkMayCompleteToolCall gate (24-char carry-over tail); a full
scan only when the arriving text can complete a tool call
- emitPreamble(response) ran on every chunk → classifyPreambleHead latch,
settles once at the first newline (emitted block byte-identical)
- app-output-bridge: 4000-char live tail sliced at commit time (≤15×/s)
instead of on every enqueue before the 66ms throttle dropped it
- markdown _cleanCache: LRU-style oldest-key eviction instead of .clear()
at the 200 cap (was wiping every live block's cached clean text)
ASK → pick → "stopped" (session chat-1787039227533):
- the pick resumed but the follow-up send loop dropped all text → echo the
choice ("→ <label>") before the follow-up, stream follow-up text live
(streaming-chunk / streaming-end, same marker pipeline + tool-markup
suppression as the main loop, _fuEndStream in the finally)
- never drop a real pick: dead session / aborted turn surfaces the answer
instead of returning silently; fork/confirm gained the never-lose fallback
- intentional Esc no longer prints "Engine … stopped responding"
tests: cesar-ask-resume (A1-A6), cesar-stream-cost (B1-B4)
⚔️ Forged by [Agon](https://github.com/KERNlang/agon)
Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
cukas
force-pushed
the
feat/cesar-smooth
branch
from
August 18, 2026 15:25
aae4ce7 to
c4c3676
Compare
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.
No description provided.