7 Commits
Author SHA1 Message Date
iceBear67 8128f9a1a2 Fix partial-move in Chat Completions session_cache_key mapping
CI / test (push) Canceled after 0s
CI / grok-linux-amd64 (push) Canceled after 0s
CI / grok-windows-amd64 (push) Canceled after 0s
CI / grok-macos-arm64 (push) Canceled after 0s
CI / release (push) Canceled after 0s
Copy the cache key before moving ConversationRequest fields so
ChatCompletionRequest::from compiles (E0382).
2026-08-16 03:45:51 +00:00
iceBear67 a968ad297c Update upstream to 5163763
CI / test (push) Canceled after 0s
CI / grok-linux-amd64 (push) Canceled after 0s
CI / grok-windows-amd64 (push) Canceled after 0s
CI / grok-macos-arm64 (push) Canceled after 0s
CI / release (push) Canceled after 0s
Forward-port the six local patches onto the two new monorepo syncs
(SOURCE_REV e6a67a54 -> 84ae1223). Resolved 0001 against the runtime
full_version() injection and 0005 against the Option-wrapped
UserPromptSubmit hook payload.
2026-08-16 03:22:31 +00:00
iceBear67 c48b60d383 Add session-stable prompt_cache_key (patch 0006)
CI / test (push) Canceled after 0s
CI / grok-linux-amd64 (push) Canceled after 0s
CI / grok-windows-amd64 (push) Canceled after 0s
CI / grok-macos-arm64 (push) Canceled after 0s
CI / release (push) Canceled after 0s
Main turns now set prompt_cache_key to the session/conv id. Responses
already sent that via the conv-id fallback; Chat Completions now puts
the same value in `user`. Recap and /btw keep sharing the parent
session key — not an agent-scoped suffix.
2026-08-16 03:13:26 +00:00
iceBear67 a7e81a33ff Add builtin-tool promotion (patch 0005)
Per-turn dispatch checklist on primary user turns, plus a post-hoc bash
discipline nudge when cat/grep/find/ls (and friends) stand in for a
dedicated tool. Both blocks are stripped from the compaction summarizer
copy only.
2026-08-16 02:56:50 +00:00
iceBear67 95ba918629 Add /rc remote control bridge (patch 0004)
Exports the work/ commit that adds the RC bridge: the ACP tee, the outbound
glance transport with reconnect and replay, the first-answer-wins interaction
race, and the /rc slash command.
2026-08-15 09:10:07 +00:00
iceBear67 dd9b41e72f Add [remote_control] config section (patch 0003)
Exports the work/ commit adding the [remote_control] config section that the
/rc bridge reads: url, api_key, auto_start and replay_buffer, with
GROK_RC_URL / GROK_RC_API_KEY overriding the file.
2026-08-15 09:10:07 +00:00
iceBear67andClaude Opus 5 618c8e31ee Set up CraftBukkit-style patch workflow for xai-org/grok-build
Upstream is a periodic one-way export of xAI's monorepo (linear
"Synced from monorepo" commits, SOURCE_REV pinning the internal SHA)
and explicitly refuses external contributions. So local changes can
never be upstreamed, and upstream re-drops the whole tree on every
sync -- structurally the same problem CraftBukkit has with Mojang.

Adopt the Spigot/BuildTools model: patches/ is the source of truth,
work/ is a disposable build artifact regenerated from upstream.rev
plus patches/.

  scripts/apply-patches.sh    ~ applyPatches.sh
  scripts/rebuild-patches.sh  ~ rebuildPatches.sh
  scripts/update-upstream.sh  forward-ports patches onto a new sync
  scripts/setup.sh            toolchain: rust 1.94.0, dotslash/protoc
  upstream.rev                ~ BuildTools versions/*.json pin

format-patch uses --zero-commit so rebases do not rewrite the From
line of every patch, and apply's git clean preserves work/target so
replaying patches does not cost a cold Rust rebuild.

Ships two [EXAMPLE PATCH] commits demonstrating a source edit and a
new-file addition; both are safe to delete.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 04:50:07 +00:00