# Grok plan submission: real-app comparison

## Environment

Linux web client, real T3 dev server and real Grok CLI 1.0.77 (50ca579fa996),
Claude Haiku 5.5 (`claude-haiku-5-5`), Full access, Low reasoning.
Independent fresh T3 homes, started with `T3CODE_DEV_SEED=0 vp run dev`.
Synthetic empty git workspace, registered using seed.sh; no copied database.
Light theme. Recordings: 1280 x 800. Final stills: 1440 x 1100 on both sides.
Sidebar and thread details are collapsed using their normal UI controls.

Base: 51cdf232652db8cdcea806f9a9e27d7460868579.
Head: df1b7f5b8ee793333c2cbd533e589139cc69c3b2.
No application source was edited on either side.

## Authentication prerequisite

Direct launch on head failed before the turn: `ACP agent did not advertise
configured authentication method "xai.api_key"`. Grok advertised only
`grok.com`, matching the triage report. Both successful comparison runs use
grok-auth-bridge.py as the provider Binary path. It starts the installed real
Grok executable, appends `xai.api_key` to initialize.authMethods, and forwards
all other JSON-RPC lines without changes. It neither simulates a model nor
changes x.ai/exit_plan_mode requests or responses. Existing environment supplies
the API key. This is an authentication compatibility workaround, not part of
the proposed application fix.

## Setup and browser actions

1. Run seed.sh from each checkout with that checkout's T3 home and a synthetic
   workspace. Add a Grok instance in Settings > Providers. Set its Binary path
   to grok-auth-bridge.py; select Grok / Claude Haiku 5.5.
2. Open a new thread in the synthetic project. Collapse the sidebar and thread
   details using the buttons labelled `Toggle main sidebar` and
   `Toggle thread details panel`.
3. Fill `[contenteditable=true]` with the prompt below. Begin recording, click
   `[aria-label="Submit message"]`, and let the turn finish without making an
   approval decision. These same browser actions were run on both commits.
4. Observe the proposed-plan card and the final assistant reply. Blur the
   composer before still captures. Each final still was compared with another
   capture more than 500 ms later and the pixels were identical.

Prompt:

> Use your enter_plan_mode tool to enter plan mode, then plan: make a file called does_planMwork.txt containing one line. When the plan is ready, submit it for my approval with exit_plan_mode.

## Observed result

Base: the plan card appeared, followed by "you chose Abandon in the approval
dialog. Plan mode is off now". No approval dialog was displayed or answered.

Head: the plan card appeared, followed by "the client captured it, and it is
waiting for your feedback or an implementation request". No abandonment claim.
The file was not created on either side; git status remained clean.

The recordings cover submission through the final reply. The model's plan text
is naturally different between runs; the prompt, provider, model, project and
interaction are the same. No unit-test result is used as proof.
