Repository navigation
Conversation
Quest-Claim: 1aae0fdccdb3b506
This was referenced Nov 22, 2026
Collaborator
Author
|
Closing on the maintainer's pick in (Written by Claude Opus 5.5) |
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.
Claims quest/m1/cursor-reviewer.md.
Stopped before any code. The maintainer decided on 2026-11-22 (/quest-run) to switch this quest from the Cursor CLI to Google's Antigravity CLI (
agy) on their Ultra plan. Two reasons: they use Cursor only through a Grok subscription, and Cursor's plan does not include Gemini 4 Carbon. The branch holds only the claim commit; no source change was written. This body records what the Cursor probes found that a/quest-planreplan for anagyharness should know. The quest file is unchanged.Findings that carry over
HOMEdoes not keep out workspace-scoped config. Cursor ran the checkout's hooks as the user, outside its sandbox, with every isolating flag set. That covered.cursor/hooks.jsonand also.claude/settings.jsonand.claude/settings.local.json, since Cursor reads Claude Code's hook format too. A harness CLI can load other CLIs' config formats, so plant every format (.claude/,.codex/,.agents/,.gemini/,AGENTS.md,GEMINI.md, ...), not only its own.beforeReadFile,beforeShellExecution, andPreToolUsefired even when ask mode then refused the shell call. A test that plants only session-start hooks would miss them..git/(such asclone/.git/quest/review/ws), Cursor walked up to the repository root and loaded the root's hooks and rules. Run from a directory in no repository, it loaded no ancestor hooks but did load ancestor.cursor/rules/*.mdcandAGENTS.md. So a workspace under the user's real home can pick up their rules, and one under a shared/tmpcan pick up rules (and, with a planted/tmp/.git, hooks) another local user planted. Probeagy's walk-up the same way before picking where it runs.src/.cursor/rulesandsrc/AGENTS.mdincluded. That is a candidate design ifagyalso scopes config to its workspace.agyconfines reads before claiming parity.git logincluded, so the reviewer could not rungit diffand would need the change as a file or in the prompt. It also could not runsecret-tool, so it could not read the keyring canary. Check whatagy's read-only mode allows.~/.cursor/chats/<hash of workspace path>/<chat id>. A--resume <id>from a different directory silently started an empty chat under the same id, with no error. Testagy's resume across a changed working directory.~/.config/cursor/auth.jsonholds only{"storedIn":"os-secret-store"}).cursor-agent statusfrom a cleanHOMEstill printedLogged in as. Over ssh it printedNot logged in(exit 0) despite an unlocked Secret Service on the session bus, untilDISPLAYorWAYLAND_DISPLAYwas set;XDG_SESSION_TYPE,XDG_CURRENT_DESKTOP, andDESKTOP_SESSIONdid not help. Check howagystores and finds its login, and whether a hostile checkout can reach other keyring entries.npx -y typescript-language-server --stdioin the workspace with the full environment. npm would honor a checkout'snode_modules/.bin,.npmrcregistry, andnode-options. Hidden--disable-codebase-refstopped it, and the planted binary did not run with it. Plant apackage.jsonandnode_modules/.bin/typescript-language-serverforagytoo.quest eval runwould report anagyreviewer at a lower-bound$0.00until token-max reads its transcripts or quest prices the usage the CLI reports.Isolation probes
Cursor CLI
2026.11.19-f005e9d(nixpkgscursor-cli0-unstable-2026-11-19, run ascursor-agent),grok-4.7-low, on the maintainer's Linux workstation. Each run got a fresh marker directory. Every plant touches a marker named for it when it runs, and each rule,AGENTS.md,CLAUDE.md, and skill asks the reply to carry a codeword. The prompt asked for the codewords, to read a file in the checkout and a canary file outside it, to rungit log, atouch, andsecret-tool lookupof a canary keyring entry (stored before and cleared after). The "reviewer" flags were--mode ask --sandbox enabled --disable-project-configs --disable-indexing --disable-codebase-ref --trust, withHOME,XDG_CONFIG_HOME,CURSOR_CONFIG_DIR, andCURSOR_DATA_DIRin an empty directory.--trust --force --approve-mcpsHOME, checkout workspaceHOME, empty workspace outside any repo.cursor/hooks.json(sessionStart,beforeReadFile,beforeShellExecution).claude/settings.json,.claude/settings.local.jsonhooks (SessionStart,PreToolUse)src/.cursor/hooks.json,src/.claude/settings.json.cursor/mcp.jsonstdio server.mcp.jsonstdio servernode_modules/.bin/typescript-language-server.cursor/rules/*.mdc,AGENTS.md,CLAUDE.mdsrc/.cursor/rules,src/AGENTS.mdsrc/.cursor/skills.claude/,.agents/,.codex/,.grok/skills~/.cursor/hooks.json,~/.claude/settings.jsonhooks~/.cursor/mcp.json~/.cursor/skills~/.claude/CLAUDE.md,~/.claude/skills,~/.agents/skillstouch,git log,secret-tool lookupNotes:
.cursor/skillsfiles, andbeforeSubmitPromptandstophooks never fired in print mode in any run.src/index.tsand globbed the checkout: no marker, no codeword. A third run, from a non-repository directory whose ancestors held.cursor/hooks.json,.claude/settings.json,.cursor/rules/*.mdc, andAGENTS.md, loaded the ancestors' rule andAGENTS.mdcodewords and ran none of their hooks..claude/settings.jsonenabledPluginsnaming the cachedgithub@claude-plugins-officialplugin was planted, but its MCP server is HTTP, so no marker shows whether it loaded. That plugin's config sendsBearer ${GITHUB_PERSONAL_ACCESS_TOKEN}, expanded from the environment, so plugins and MCP configs a checkout enables can exfiltrate environment variables without running a process.loadProjectHooksdefaults to true and no caller passes false), and no flag or variable in this release turns them off.HOMEfills to about 11 MB on first run: Cursor downloads marketplace plugins (Cloudflare, Gmail, Google Calendar, X, Mercury, GitHub) and built-in skills into it, plus Node's compile cache.The plant script, as last run
Gemini 4 Carbon through Cursor
cursor-agent models, CLI2026.11.19-f005e9d, 2026-11-21):gemini-4-carbon-low,gemini-4-carbon-medium,gemini-4-carbon-high, with noxhigh. Internally they are modelgemini-4-carbonwith parameterscontext=300kandreasoning_effort, shown asGemini 4 Carbon 300K Low. Effort rides on the id's suffix:--model 'gemini-4-carbon[effort=low]'failed withCannot use this model. These are Cursor's ids;agywill have its own.initanduserevents, with exit 1, noresultevent, and this on stderr:ActionRequiredError: Gemini 4 Carbon is not included in your weekly usage Buy credits or switch to a Grok model to continue.Claude Haiku 5.5, Gemini 3.8 Flash, and GPT-5.4 Nano failed the same way. Only Grok 4.7 and Composer 2.5 ran.--exclude-workspace-contextis server-gated: it failed after three reconnect and retry cycles withRetriableError: [invalid_argument] Workspace context exclusion is not allowed for this user, team, or selected model.model[effort=...]for Carbon,--exclude-workspace-contextis unusable, and--disable-codebase-ref(not in the Plan) is the flag that stops the LSP.Other Cursor details, should Cursor come back
--trust; without it they printWorkspace Trust Requiredand exit 1.--new-session-id <uuid>assigns the chat id up front.cursor-agent statustakes about 1 s and exits 0 whether logged in (✓ Logged in as ...) or not (Not logged in).cursor-agent modelswhile logged out printsError: Authentication required. Run 'agent login', pass --api-key/--auth-token, or set CURSOR_API_KEY/CURSOR_AUTH_TOKEN.--output-format stream-jsonprintssystem/init(withsession_id,model, andapiKeySource: "login"),user,tool_call(started/completed),connection, andretryevents. The turn ends in{"type":"result","subtype":"success","is_error":false,"result":"...","session_id":"...","usage":{"inputTokens","outputTokens","cacheReadTokens","cacheWriteTokens","reasoningTokens"}}, withinputTokensexcluding cache reads.--allowed-toolsand--exclude-tools(internal only, untested),--single-turn, and--system-prompt <file>(team only).Waiting
agy) with/quest-plan, carrying over the findings above. Until then this draft holds the claim; close it or reuse its branch as the replan decides.Models
Size: L
Implementer: Claude Code, claude-opus-5-5, unknown effort
(Written by Claude Opus 5.5)
🤖 Generated with Claude Code