desk: human stream fidelity for Grok — decode byte-array tool output, real 1.0.11 fixtures, usage line, model in registry (#5706 PR-B) - #4
Open
chasehuh wants to merge 1 commit into
Conversation
chasehuh
force-pushed
the
desk/5706-b-formatter
branch
from
September 2, 2026 00:31
75b5b3c to
eccf012
Compare
chasehuh
force-pushed
the
desk/5706-c-long-session
branch
from
September 2, 2026 00:31
77ac9ae to
aa41b0b
Compare
… real 1.0.11 fixtures, usage line, model in registry (#5706 PR-B)
- Grok tool results ({"type":"Bash","output":[bytes]}, GrepSearch stdout bytes,
ReadFile FileContent/FileNotFound, Todo, MCP OkayOutput, Monitor) decode to text
instead of printing byte arrays.
- run_terminal_command / monitor / get_command_or_subagent_output / spawn_subagent
and target_file/target_directory render as $ cmd / ⏳ / 🧵 / path lines; tool_use
blocks in the Messages wire use 🔧 like the ACP path.
- (thinking) width 160 (AGENT_HUMAN_STREAM_THINK_WIDTH), tool output width 200.
- 📊 turns/wall/api/cost/tokens/stop line from result|end; registry end rows carry
those fields; session rows carry the model from system.init (was null on
712/836 Grok rows).
- ACP streaming-json: per-token thought/text deltas coalesced into lines; session
id taken from the terminal end event; tool_call_update output decoded.
- <live_log>.final.md written with the final text.
- Fixtures replaced with shapes captured from Grok Build 1.0.11.
Refs sumelabs/sume#5706
chasehuh
force-pushed
the
desk/5706-b-formatter
branch
from
September 2, 2026 00:33
eccf012 to
f6e0462
Compare
chasehuh
force-pushed
the
desk/5706-c-long-session
branch
from
September 2, 2026 00:33
aa41b0b to
c833868
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.
Implements sumelabs/sume#5706 (desk Grok Build harness at Codex-class long-session resolution). Stacked: A → C → B → D → E; merge in that order (each PR bases on the previous branch). After landing on main:
cd ~/.cstack/src && git stash && git pull && git stash drop && ./install.sh --sume-com ~/sume/sume-com(the desk tree has the same Fable 5.1 edits uncommitted; PR-A carries them as its first commit).What
{"type":"Bash","output":[bytes]}, GrepSearch bytes, ReadFile, Todo, MCP, Monitor) decode to text;run_terminal_command/monitor/target_filerender as$ cmd/ ⏳ / path lines; 🔧 for tool_use in the Messages wire.system.init(was null on 712/836 Grok rows).streaming-jsonper-token deltas coalesced; session id fromend;<live>.final.md.🤖 Generated with Claude Code