desk: Grok hook → registry, installer wiring, version-pin report, --sessions/--export (#5706 PR-D) - #5
Open
chasehuh wants to merge 1 commit into
Open
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-d-hooks-registry
branch
from
September 2, 2026 00:31
b4c9f1c to
4798315
Compare
…essions/--export (#5706 PR-D) - bin/grok-desk-hook.sh + sume-desk/grok-hooks/sume-desk.json.tmpl: Stop / StopFailure / SessionEnd / PostCompact append hook_* rows (sessionId, reason, error, compaction tokens) to ~/.cstack/state/opus-sessions.jsonl; silent, exit 0. - install.sh writes ~/.grok/hooks/sume-desk.json with the absolute hook path, links agent-holders on PATH, runs the new test suites, and prints which Grok binary actually runs (tokenmaxxing config.json grokBin pin) vs ~/.grok/bin/grok. - check-wiring.sh asserts the hook file and agent-holders. - agent-human-stream --sessions [--backend grok|claude] prints one line per row with model / exit / landed / context; --export <uuid> runs grok export into ~/.cstack/state/opus-live/<uuid>.transcript.md (global by uuid). 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-d-hooks-registry
branch
from
September 2, 2026 00:33
4798315 to
f5dd97f
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
bin/grok-desk-hook.sh+sume-desk/grok-hooks/sume-desk.json.tmpl: Stop / StopFailure / SessionEnd / PostCompact appendhook_*registry rows; silent, exit 0.install.shwrites~/.grok/hooks/sume-desk.jsonwith the absolute path.install.shlinksagent-holders, runs the new test suites, prints which Grok binary actually runs (tokenmaxxinggrokBinpin, 1.0.11) vs~/.grok/bin/grok(1.0.13).check-wiring.shasserts the hook + helper.agent-human-stream --sessions [--backend grok|claude]one-line rows;--export <uuid>→opus-live/<uuid>.transcript.md.🤖 Generated with Claude Code