prolog-rlm should support text streaming #336
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm#336
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Streaming is not currently implemented
ADARD skill should be used to enumerate the correct method for implemtation
research branch: research/text-streaming (research record RLM-RESEARCH-336: #349)
Then implement once operator approval is complete.
Research record posted: RLM-RESEARCH-336 'Text streaming through the completion boundary' — #349 (branch
research/text-streaming, approval state PENDING).Verified gap map (main @
466bde0): SSE transport + chainmodel_stream/chain_streamexist withinclude_usage,[DONE]enforcement, cancellation propagation and live OpenRouter coverage; UI v1 already advertisesstreaming_textand reducestext_deltaframes. What is missing is any producer above the chain boundary:rlm_completiondispatches onlymodel_complete_execute, and canonicalagent_event(model_delta, ...)has zero producers.Recommended method (enumerated in the record): opt-in trusted
text_delta_handlercompletion option dispatching throughmodel_stream_executeinside the existing async worker, with the validatedstream_result.responseremaining authoritative, delta/final consistency, exactly-once usage, and conservative mid-stream cancellation. Rejected: replay pseudo-streaming, a second event-bus subsystem, model-controlledstream, durable raw-delta persistence.Verification:
prolog-verifygate green at the PR head — research-approval validator PASS (21 records), static load PASS, deterministic suite PASS (1179 tests), whitespace clean, slice scope limited toresearch/+.prolog/.Awaiting operator approval to start the design phase.
Implemented and merged.
2962d89(PR #350). Remote nix/paid/tree-sitter CI lanes remain runner-broken (pre-existing, #340 et al.); identical commands verified locally.Closing.