AI CLI First-Run Traps: A Date-Pinned Nine-CLI Census A census of nine AI coding CLIs, dated August 24, 2026, found that first-run behaviors vary widely and are often undocumented, with a confirmed Cursor CLI flaw allowing arbitrary command execution before a trust prompt, and aider's telemetry prompt defaulting to [Yes] on Enter. The census, which examined trust prompts, telemetry consent, mid-task Enter behavior, and disk writes, highlights that several tools (ZCode, Kimi CLI, parts of Gemini CLI and Antigravity) do not document their first-run behavior, and that the same keystroke (Enter) can have opposite effects in different CLIs. The AI CLI first run is the one moment where you have made no deliberate choice at all — and it is exactly where coding agents differ most. Before your first real prompt, a CLI may have asked you to trust a folder, defaulted a telemetry answer, written a device-identifier file to your home directory, and decided what the Enter key does while an agent is mid-task. This census pins down those behaviours for nine CLIs, each cell tied to a source read on August 24, 2026. The stakes are concrete. A confirmed Cursor CLI flaw let a hostile repository execute arbitrary commands before the trust prompt ever appeared. aider’s opt-in analytics prompt brackets its default as Yes , so the reflex keystroke that dismisses every other dialog opts you into telemetry. And pressing Enter while an agent works queues your message in one CLI and interrupts the turn in another — the same key, opposite defaults. Just as important is what could not be established. For several of these tools, a security-conscious adopter cannot determine from the vendor’s own documentation what happens on first run. That gap is not padding to hide — it is a headline result of this census, and it gets its own section and its own column value below. - 01Enter means yes at the one prompt whose default is documented.Across the nine CLIs checked, a folder or workspace trust prompt is confirmed for five. Only Claude Code’s prompt has a documented default option — “Yes, proceed” is highlighted and Enter accepts it; the other four document their prompts without stating where the default lands. Qwen Code documents the mechanics in detail but ships the entire gate disabled. - 02The documentation gap is itself a headline finding.ZCode, Kimi CLI, and parts of Gemini CLI’s and Antigravity’s first-run story cannot be established from vendor documentation. This census records those cells as not documented rather than inferring them from a sibling tool. - 03Telemetry consent inverts the trust-prompt pattern once.aider frames analytics as opt-in, yet its consent prompt defaults the bracketed answer to Yes — a reflexive Enter opts you in. Most other CLIs surface no in-terminal telemetry decision at first launch at all. - 04The same keystroke means opposite things mid-task.Claude Code’s documented behaviour is that Enter queues a message while the agent works and Esc interrupts. Codex CLI is reported to do the reverse since Steer Mode became the default: Enter sends immediately and interrupts, Tab queues. - 05State lands outside your project before you decide anything.Every CLI that documents its storage writes to the home directory on or before first use — session transcripts, history files, trust stores, and in ZCode’s case a device-identifier telemetry file its own docs warn you never to copy between machines. 01 — Method & ScopeFirst-run behaviour only , and nothing inferred. This census owns one life-cycle moment: what a CLI does before the user has made a single deliberate choice. Two sibling censuses already cover the neighbouring territory, and this post cross-links them rather than restating them. Headless and unattended permission defaults — what happens when nobody answers a prompt — belong to the headless-permissions census /blog/coding-agent-permission-defaults-census . Retention windows, training defaults, and opt-out mechanics belong to our census of what each vendor’s data terms actually say /blog/coding-agent-data-terms-census-2026 . Here, we only note that a toggle exists and how it is surfaced at first launch. Four dimensions were checked for each CLI: the folder or workspace trust prompt wording, default option, what it gates , telemetry and terms-of-service consent mechanics at first launch, composer behaviour when you type while the agent is already working, and what gets written to disk outside the project directory. The discipline is borrowed from the same dated-source-or-nothing method /blog/agent-framework-fetch-ssrf-validation-census we used for the SSRF-validation census: every cell traces to a dated source retrieved on August 24, 2026, and any cell that could not be settled from those sources reads “not documented” — never a guess extrapolated from a sibling tool’s behaviour. for you. A trust prompt you Enter through, a telemetry answer pre-filled, a session transcript written to your home directory — all of it happens before the first task. Reading the vendor’s own account of that moment is the cheapest security review you will ever do. When there is no account to read, that absence is the review’s finding. 02 — The CensusThe first-run matrix, nine CLIs across four dimensions. The matrix below is the census. Rows are grouped by how much of the first-run story the vendor actually documents, leading with the CLIs whose behaviour is established from primary sources. A cell marked “Not documented” means the dimension could not be settled from the vendor’s documentation or public trackers in this pass — it does not mean the mechanic is absent. | CLI | Folder-trust prompt | Telemetry / consent at first launch | Mid-task Enter | Written outside the project | |---|---|---|---|---| | Documented from primary sources | |||| | Claude Code | ~/.claude — cross-session history and per-project transcripts; relocatable via CLAUDE CONFIG DIR . github.com/openai/codex 9696 https://github.com/openai/codex/issues/9696 majesticlabs.dev · config.toml guide https://majesticlabs.dev/blog/202607/codex-cli-configuration-guide allaboutcoding.ghinda.com · session storage https://allaboutcoding.ghinda.com/where-ai-coding-clis-store-session-logs/ ~/.codex — trust state in config.toml , per-session rollout files, history; relocatable via CODEX HOME . forum.cursor.com · workspace-trust thread https://forum.cursor.com/t/trust-for-interactive-cursor-agent-or-auto-trust-new-workspaces-in-cli/162011 manifold.security · pre-trust execution https://www.manifold.security/blog/cursor-cli-worktree-pre-trust-execution allaboutcoding.ghinda.com · session storage https://allaboutcoding.ghinda.com/where-ai-coding-clis-store-session-logs/ --trust flag records the same decision in interactive sessions as of the 2026-07-20 release. A pre-trust code-execution flaw was fixed in 2026.07.23-e383d2b . ~/.cursor/chats/