← Grok Build uploaded repos on a no-read prompt

Grok Build released code: the tree search

What the desk found, and did not find, in the public xai-org/grok-build repository about uploading a repository's contents. Read from a shallow clone of the default branch.

Scope. Commit 2bdd1d6a6369de0e8c68132ea4539e9abd9e14a8 (29 September 2026), the state of the repo when the desk cloned it on 4 October 2026. This is the cleaned-up released code. It cannot show what version 0.2.93 did on 12 July, and a missing string here is not evidence about that build.

1. Search for the flag name

grep -rn 'disable_codebase_upload\|Codebase upload skipped' .

(no matches)

2. Search for git-bundle code

grep -rniE 'git bundle|git-bundle|"bundle"' crates

crates/codegen/xai-grok-telemetry/src/external/providers.rs:953:        let pem = ders_to_pem_bundle(&[der.clone(), der]).expect("bundle");
crates/codegen/xai-grok-tools/src/versions.rs:61:/// Architecturally a "bundle" — a convenience mapping from a label to per-tool version defaults.

3. The session-state upload function

crates/codegen/xai-grok-shell/src/upload/trace.rs, lines 70-92:

}
/// `restorable_turn_number` is not advanced without a cloud archive.
pub(crate) async fn upload_session_state(
    _ctx: &PromptTraceContext,
    _phase: &str,
    session_copy_rx: oneshot::Receiver<
        anyhow::Result<crate::session::persistence::SessionStateCopy>,
    >,
    wait: UploadWait,
) -> super::turn::UploadOutcome {
    match wait {
        UploadWait::Confirm => {
            let _ = session_copy_rx.await;
        }
        UploadWait::Defer { deadline } => {
            let _ = tokio::time::timeout(blocking_attempt_budget(deadline), session_copy_rx).await;
        }
    }
    super::turn::UploadOutcome::Failed {
        reason: "session_state_upload_unavailable",
        status_code: None,
    }
}

4. Upload modules still present

crates/codegen/xai-grok-shell/src/upload:
drain.rs
gcs.rs
manifest.rs
memory.rs
memory_tests.rs
mod.rs
trace.rs
trace_turns.rs
turn.rs

crates/codegen/xai-grok-workspace/src/upload:
environment.rs
mod.rs