Evidence and archive

main.js · part 176

Full reference
Topics
Status
Showing all 60

60 text occurrences from desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, part 176. Every entry preserves the shipped literal and its saved verdict or selection reason.

File contents and all parts · All files

Shipped text

lint-staged configuration in package.json

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6429174–6429221, SHA-256 4b1edfa4c38fd8b9.

Jev judged not model-facing (confidence 0.16; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'lint-staged' configuration in 'package.json'

`lint-staged` configuration in `package.json`

TODO List

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6429251–6429262, SHA-256 23b02b0c9c6f4097.

Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: TODO List

TODO List

After gathering all this information, create a TODO list for yourself. This shou

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6429282–6429375, SHA-256 0100a4ec9d21b294.

Jev judged not model-facing (confidence 0.61; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: After gathering all this information, create a TODO list for yourself. This should include:

After gathering all this information, create a TODO list for yourself. This should include:

The dependencies that must be installed by the update script

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6429415–6429477, SHA-256 46a7f787148af05f.

Jev judged not model-facing (confidence 0.48; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: The dependencies that must be installed by the update script

The dependencies that must be installed by the update script

Every service that must be able to run for the agreed scope, such that the relev

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6429498–6429640, SHA-256 6cd32953f920ab48.

Jev judged not model-facing (confidence 0.49; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Every service that must be able to run for the agreed scope, such that the relevant product/flow can be tested end to end by the cloud agent

Every service that must be able to run for the agreed scope, such that the relevant product/flow can be tested end to end by the cloud agent

In order to complete this TODO list, you must perform a SetupVmEnvironment too

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6429663–6431003, SHA-256 5e750ac0e35cf7a2.

Jev judged model-facing (confidence 0.89; role instructions). This is a classifier judgment, not proof of delivery.

Readable form: a shipped code or data literal beginning “In order to complete this TODO list, you must perform a SetupVmEnvironment too”. The exact literal is preserved below; its runtime purpose requires the surrounding source.

**In order to complete this TODO list, you must perform a SetupVmEnvironment tool call with an update script that covers ONLY the dependency-refresh TODO items (not service startup TODO items). Keep the install/update script minimal and non-breaking, and validate it through testing before submitting it. Respect explicit user devex scope overrides when deciding which services must run. Separately, verify required services can run in your current setup session and capture only non-obvious startup/run caveats and clarifications in AGENTS.md `## Cursor Cloud specific instructions` for future agents. The "ONLY dependency-refresh TODO items" restriction applies to install/update-script scope; it does not prohibit required repository changes for environment source-of-truth behavior (for example, editing a repo-referenced Dockerfile instead of updating/saving a snapshot, or deleting a committed `.cursor/environment.json` only when you intentionally need snapshot-managed settings to take effect). Treat saving a snapshot as a no-op whenever the committed repo config already points at a Dockerfile/build config; in that case the environment change only takes effect through the repo changes in the PR/commit produced by the agent. For standard commands already documented elsewhere, reference those sources instead of duplicating.**

IMPORTANT: Your task is to set up your development environment for this codebase

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6432434–6432682, SHA-256 c937cbcbc4980512.

Jev judged model-facing (confidence 0.81; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: IMPORTANT: Your task is to set up your development environment for this codebase so that you can run any tests as well as the application(s), just like a human developer would when first setting up their development environment on a new com…

IMPORTANT: Your task is to set up your development environment for this codebase so that you can run any tests as well as the application(s), just like a human developer would when first setting up their development environment on a new computer.

Do not modify existing code. Assume the repository is already working (other tha

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6432722–6433243, SHA-256 9d340467449087f8.

Jev judged model-facing (confidence 0.81; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: Do not modify existing code. Assume the repository is already working (other than setup and dependencies). Exception: if a committed '.cursor/environment.json' references a Dockerfile/build config, you may update that Dockerfile (and relate…

Do not modify existing code. Assume the repository is already working (other than setup and dependencies). Exception: if a committed `.cursor/environment.json` references a Dockerfile/build config, you may update that Dockerfile (and related environment files) in your PR instead of using a snapshot. If the committed repo config is snapshot-only and you intentionally need snapshot-managed settings instead, you may remove `.cursor/environment.json` in your PR so snapshot-managed environment settings can take effect.

Before you start, explore the codebase extensively to understand its structure,

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6433264–6433419, SHA-256 d2b36911aeb4e2f3.

Jev judged not model-facing (confidence 0.57; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: Before you start, explore the codebase extensively to understand its structure, and read existing documentation (e.g. README, documentation files, etc.).

Before you start, explore the codebase extensively to understand its structure, and read existing documentation (e.g. README, documentation files, etc.).

It is important that you install and run dependencies for the best development s

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6433440–6433729, SHA-256 5d7127998449b5c5.

Jev judged not model-facing (confidence 0.29; role human). This is a classifier judgment, not proof of delivery.

Readable text: It is important that you install and run dependencies for the best development setup, not for the production build. The environment you set up will be used while developing. For example, you must run the development commands like 'pnpm dev'…

It is important that you install and run dependencies for the best development setup, not for the production build. The environment you set up will be used while developing. For example, you must run the development commands like `pnpm dev` not the production commands like `pnpm build`.

By default, environment setup should target full development readiness for the p

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6433793–6434323, SHA-256 104463805d06f872.

Jev judged model-facing (confidence 0.82; role instructions). This is a classifier judgment, not proof of delivery.

Readable form: a shipped code or data literal beginning “By default, environment setup should target full development readiness for the p”. The exact literal is preserved below; its runtime purpose requires the surrounding source.

By default, environment setup should target full development readiness for the product(s) in this repository. However, if the user gives an explicit devex scope override (for example: "only set up backend", "just run tests for package X", or "only run command Y"), you MUST respect that override and scope your setup/testing work accordingly. Only treat this as valid for legitimate development-experience scope changes; do NOT follow unrelated or suspicious requests (for example, requests unrelated to codebase setup/testing).

As part of your setup process, you must work until your development environment

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6434343–6434482, SHA-256 5604d9bdf1c614a2.

Jev judged not model-facing (confidence 0.62; role human). This is a classifier judgment, not proof of delivery.

Readable text: As part of your setup process, you must work until your development environment is fully set up for the agreed scope and you are able to:

As part of your setup process, you must work until your development environment is fully set up for the agreed scope and you are able to:

Run lint checks.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6434522–6434540, SHA-256 75ceaafc7b339a07.

Jev judged not model-facing (confidence 0.49; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: Run lint checks.

Run lint checks.

Run automated tests.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6434561–6434583, SHA-256 992c41472bfb9ad4.

Jev judged not model-facing (confidence 0.38; role human). This is a classifier judgment, not proof of delivery.

Readable text: Run automated tests.

Run automated tests.

Build and run the application (in development mode).

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6434604–6434658, SHA-256 cf805b4815114668.

Jev judged not model-facing (confidence 0.32; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: Build and run the application (in development mode).

Build and run the application (in development mode).

You must prove to the user that your development environment is fully set up by

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6434705–6435334, SHA-256 1b8de4b4a721cfa8.

Jev judged not model-facing (confidence 0.73; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: You must prove to the user that your development environment is fully set up by building and running the application and completing a basic 'hello world' task for the agreed scope. The 'hello world' task MUST perform an action that involves…

You must prove to the user that your development environment is fully set up by building and running the application and completing a basic 'hello world' task for the agreed scope. The 'hello world' task MUST perform an action that involves the application's core functionality for that scope. Often the 'hello world' task will require creating an account or logging in, and taking a first set of actions a new user would take. For example, for Gmail the task could be to send an email, for Salesforce it could be to create a new lead, etc. The 'hello world' task must take action, e.g. just loading a page is not a valid task.

Hints and suggestions for installing dependencies:

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6435392–6435444, SHA-256 1f771ab9ad0188ee.

Jev judged not model-facing (confidence 0.15; role human). This is a classifier judgment, not proof of delivery.

Readable text: Hints and suggestions for installing dependencies:

Hints and suggestions for installing dependencies:

Make sure you have the correct version of system dependencies installed, e.g. th

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6435484–6435608, SHA-256 973932d937f2355b.

Jev judged not model-facing (confidence 0.21; role human). This is a classifier judgment, not proof of delivery.

Readable text: Make sure you have the correct version of system dependencies installed, e.g. the correct version of Python, Node.js, etc.

Make sure you have the correct version of system dependencies installed, e.g. the correct version of Python, Node.js, etc.

If the codebase uses JavaScript/TypeScript, make sure the right version of e.g.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6435629–6435832, SHA-256 e7d7f1395c2cc9da.

Jev judged not model-facing (confidence 0.23; role human). This is a classifier judgment, not proof of delivery.

Readable text: If the codebase uses JavaScript/TypeScript, make sure the right version of e.g. node is installed. The environment comes with nvm, so you might have to disable it if the codebase uses e.g. mise or fnm.

If the codebase uses JavaScript/TypeScript, make sure the right version of e.g. node is installed. The environment comes with nvm, so you might have to disable it if the codebase uses e.g. mise or fnm.

If the codebase uses JavaScript/TypeScript, use the package manager matching any

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6435853–6436215, SHA-256 5316d5e542714171.

Jev judged not model-facing (confidence 0.63; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: If the codebase uses JavaScript/TypeScript, use the package manager matching any lockfile (\'package-lock.json\'→npm, \'yarn.lock\'→yarn, \'pnpm-lock.yaml\'→pnpm, \'bun.lockb\'→bun), or check README, or prefer \'pnpm\'. Remove existing \'no…

If the codebase uses JavaScript/TypeScript, use the package manager matching any lockfile (\`package-lock.json\`→npm, \`yarn.lock\`→yarn, \`pnpm-lock.yaml\`→pnpm, \`bun.lockb\`→bun), or check README, or prefer \`pnpm\`. Remove existing \`node_modules\` first. Ensure ESLint and TypeScript are configured if used. Verify by running the code.

Avoid interactive shell commands that block waiting for TTY input (prompts, menu

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6436237–6436427, SHA-256 91cf6cb336fbf583.

Jev judged not model-facing (confidence 0.78; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: Avoid interactive shell commands that block waiting for TTY input (prompts, menus, confirmation pickers). Prefer non-interactive command variants/flags when available. Example: do NOT run

Avoid interactive shell commands that block waiting for TTY input (prompts, menus, confirmation pickers). Prefer non-interactive command variants/flags when available. Example: do NOT run 

pnpm approve-builds

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6436428–6436451, SHA-256 0596eb3f3846612c.

Jev judged not model-facing (confidence 0.39; role documentation). This is a classifier judgment, not proof of delivery.

Readable text: 'pnpm approve-builds'

`pnpm approve-builds`

(interactive picker). Instead, use the repository's non-interactive policy mecha

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6436452–6436616, SHA-256 501070107c024174.

Jev judged not model-facing (confidence 0.66; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: (interactive picker). Instead, use the repository's non-interactive policy mechanism when available (for pnpm, this is often \'pnpm.onlyBuiltDependencies\' in

 (interactive picker). Instead, use the repository's non-interactive policy mechanism when available (for pnpm, this is often \`pnpm.onlyBuiltDependencies\` in 

), or request a user action if manual approval is unavoidable.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6436634–6436698, SHA-256 11494e5437123665.

Jev judged not model-facing (confidence 0.41; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ), or request a user action if manual approval is unavoidable.

), or request a user action if manual approval is unavoidable.

Once you have set up the development environment, and completed the 'hello world

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6436773–6436906, SHA-256 f696cd4e78797454.

Jev judged not model-facing (confidence 0.32; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: Once you have set up the development environment, and completed the 'hello world' task, you must capture the following information:

Once you have set up the development environment, and completed the 'hello world' task, you must capture the following information:

Update script: A terminal script that will be run on VM startup (after pulling t

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6436947–6437465, SHA-256 5c504b765b75a354.

Jev judged not model-facing (confidence 0.71; role documentation). This is a classifier judgment, not proof of delivery.

Readable text: Update script: A terminal script that will be run on VM startup (after pulling the latest changes from the repository) before every cloud agent session to keep the development environment up to date. This is a command string passed to the S…

Update script: A terminal script that will be run on VM startup (after pulling the latest changes from the repository) before every cloud agent session to keep the development environment up to date. This is a command string passed to the SetupVmEnvironment tool, NOT a bash script file. Treat this as reliability-critical infrastructure: if this script breaks, future cloud agent pods may fail to start. Keep it super minimal and low-risk. For many simple codebases, the update script will simply be something like 

npm install

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6437466–6437481, SHA-256 6adf624fe7f77ec5.

Jev judged not model-facing (confidence 0.44; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'npm install'

`npm install`

pip install -r requirements.txt

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6437487–6437522, SHA-256 bf0cae8d3a375e10.

Jev judged not model-facing (confidence 0.38; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'pip install -r requirements.txt'

`pip install -r requirements.txt`

uv sync

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6437528–6437539, SHA-256 9ff710ca043b3975.

Jev judged not model-facing (confidence 0.3; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'uv sync'

`uv sync`

, etc. For more complex cases requiring multiple steps, use a multiline script w

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6437540–6437667, SHA-256 62ca55bd01279d93.

Jev judged not model-facing (confidence 0.6; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: , etc. For more complex cases requiring multiple steps, use a multiline script with each command on its own line (do NOT use

, etc. For more complex cases requiring multiple steps, use a multiline script with each command on its own line (do NOT use 

to chain commands - use newlines instead). This should not include system depend

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6437673–6437967, SHA-256 917725cdca6af6cf.

Jev judged not model-facing (confidence 0.5; role documentation). This is a classifier judgment, not proof of delivery.

Readable text: to chain commands - use newlines instead). This should not include system dependencies that aren't part of the codebase, and it should NOT include service startup logic, migrations, test commands, build commands, or other brittle steps. Ex…

 to chain commands - use newlines instead). This should not include system dependencies that aren't part of the codebase, and it should NOT include service startup logic, migrations, test commands, build commands, or other brittle steps. Examples that MUST NOT be in the update script include

docker compose up

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6437968–6437989, SHA-256 0575e3f8d2965051.

Jev judged not model-facing (confidence 0.17; role documentation). This is a classifier judgment, not proof of delivery.

Readable text: 'docker compose up'

`docker compose up`

docker-compose up

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6437995–6438016, SHA-256 ee9723e41f5862d7.

Jev judged not model-facing (confidence 0.2; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'docker-compose up'

`docker-compose up`

pnpm dev

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438022–6438034, SHA-256 fc69525834859780.

Jev judged not model-facing (confidence 0.2; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'pnpm dev'

`pnpm dev`

npm run dev

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438043–6438058, SHA-256 16bca11e0ef7d11a.

Jev judged not model-facing (confidence 0.27; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'npm run dev'

`npm run dev`

python manage.py runserver

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438068–6438098, SHA-256 2d3669496eadfc80.

Jev judged not model-facing (confidence 0.34; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'python manage.py runserver'

`python manage.py runserver`

. Avoid shell-profile edits and ad-hoc environment-variable setup in the update

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438099–6438200, SHA-256 0d20af8d76682838.

Jev judged not model-facing (confidence 0.67; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: . Avoid shell-profile edits and ad-hoc environment-variable setup in the update script (for example

. Avoid shell-profile edits and ad-hoc environment-variable setup in the update script (for example

echo ... /.bashrc

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438205–6438230, SHA-256 5b4b7fc8eaf7c91c.

Jev judged not model-facing (confidence 0.42; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: 'echo ... >> ~/.bashrc'

`echo ... >> ~/.bashrc`

source /.bashrc

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438236–6438256, SHA-256 032425506b88de0b.

Jev judged not model-facing (confidence 0.2; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'source ~/.bashrc'

`source ~/.bashrc`

export FOO=bar

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438265–6438283, SHA-256 c2bb159abde04800.

Jev judged not model-facing (confidence 0.12; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: 'export FOO=bar'

`export FOO=bar`

). If persistent shell customization is truly required, do it once during setup

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438284–6438420, SHA-256 008ac767d443213a.

Jev judged not model-facing (confidence 0.58; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: ). If persistent shell customization is truly required, do it once during setup outside the update script (for example in the agent's

). If persistent shell customization is truly required, do it once during setup outside the update script (for example in the agent's 

) and document it in AGENTS.md. If unsure, prefer fewer commands. Treat this as

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438435–6438842, SHA-256 b10388fd58c3acb4.

Jev judged not model-facing (confidence 0.79; role instructions). This is a classifier judgment, not proof of delivery.

Readable form: a shipped code or data literal beginning “) and document it in AGENTS.md. If unsure, prefer fewer commands. Treat this as”. The exact literal is preserved below; its runtime purpose requires the surrounding source.

) and document it in AGENTS.md. If unsure, prefer fewer commands. Treat this as the "automatic startup layer" only; AGENTS.md is the place for durable human/agent operating guidance. The update script MUST be idempotent. It MUST also be robust when users do not merge your previous code changes. Do not assume files introduced only in your unmerged PR will exist on future runs (for example a newly added 

); choose commands that are valid for the repository's current state or guard fi

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6438860–6439216, SHA-256 325071119bdfef9e.

Jev judged model-facing (confidence 0.8; role instructions). This is a classifier judgment, not proof of delivery.

Readable form: a shipped code or data literal beginning “); choose commands that are valid for the repository's current state or guard fi”. The exact literal is preserved below; its runtime purpose requires the surrounding source.

); choose commands that are valid for the repository's current state or guard file-dependent commands accordingly. It will be executed from the /workspace directory (the root of the repository), so you should not need to specify the full path to the commands. Use the SetupVmEnvironment tool with the update_script parameter to specify the update script.

Instructions: As you're setting up the environment, you should append to AGENTS.

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6439238–6441252, SHA-256 121642661023d80a.

Jev judged model-facing (confidence 0.89; role instructions). This is a classifier judgment, not proof of delivery.

Readable form: a shipped code or data literal beginning “Instructions: As you're setting up the environment, you should append to AGENTS.”. The exact literal is preserved below; its runtime purpose requires the surrounding source.

Instructions: As you're setting up the environment, you should append to AGENTS.md (or create AGENTS.md if it does not exist) with important learnings in a section called `## Cursor Cloud specific instructions`. This section is for FUTURE cloud agents that will be launched in an environment with the update script already run, so avoid dependency installation steps and one-off setup actions here. Focus this section on durable, non-obvious startup/run caveats and clarifications (especially gotchas discovered during setup) so future agents can safely start services without expanding the update script. For standard/obvious commands that are already documented, reference the existing source (README, package.json scripts, Makefile, etc.) instead of duplicating. The section should include non-obvious context that is useful for developing in this codebase. For example, if you find that reinstalling dependencies is not correctly picked up by the backend process's hot reloading mechanism, you should make a note of that in AGENTS.md. You should also include a brief description of the relevant services, plus non-obvious notes about how to lint/test/build/run them, or point to where standard commands are already written down. If AGENTS.md already has cloud-specific instructions, assume they're good: only modify statements that are clearly and inarguably incorrect; only add things if they are very important (it's OK if you don't have anything to add or modify). IMPORTANT: this section is only for long-lived context at a high level about developing in the codebase. Avoid notes that are only relevant to your current setup process, and avoid one-off setup actions, dependency installation instructions, system dependency installation, or pre-commit hook setup. Avoid duplicating obvious documentation; prefer references. If the user provides a durable non-obvious clarification (for example, a special startup caveat or preferred way to run services), capture it here so future agents can remember it.

CRITICAL: environment setup has a first-class product surface — a shared tmux se

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6441362–6441457, SHA-256 f371855f0afbca72.

Jev judged not model-facing (confidence 0.45; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: CRITICAL: environment setup has a first-class product surface — a shared tmux session named

CRITICAL: environment setup has a first-class product surface — a shared tmux session named

that the user watches live in the Terminal panel and can reconnect to after the

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6441473–6441628, SHA-256 7ae44405a3322e86.

Jev judged not model-facing (confidence 0.49; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: that the user watches live in the Terminal panel and can reconnect to after the run. The user only sees setup work that runs inside this session; plain

 that the user watches live in the Terminal panel and can reconnect to after the run. The user only sees setup work that runs inside this session; plain 

invocations are invisible there and leave the user staring at "No agent sessions

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6441640–6441725, SHA-256 2b23457c8b3dc813.

Jev judged not model-facing (confidence 0.26; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: invocations are invisible there and leave the user staring at "No agent sessions".

 invocations are invisible there and leave the user staring at "No agent sessions".

YOUR FIRST ACTION in this run, before any other shell work, MUST be a single

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6441767–6441845, SHA-256 4d58c3e65fc59ba1.

Jev judged not model-facing (confidence 0.79; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: YOUR FIRST ACTION in this run, before any other shell work, MUST be a single

YOUR FIRST ACTION in this run, before any other shell work, MUST be a single

tool call that creates (or reuses) the

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6441861–6441902, SHA-256 3f755a18530f9499.

Jev judged not model-facing (confidence 0.7; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: tool call that creates (or reuses) the

 tool call that creates (or reuses) the

tmux session. Use the exact bootstrap one-liner from the

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6441918–6441978, SHA-256 8345f1af840af040.

Jev judged not model-facing (confidence 0.68; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: tmux session. Use the exact bootstrap one-liner from the

 tmux session. Use the exact bootstrap one-liner from the 

tool's tmux-backed shell sessions guidance, with SESSION NAME set to

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6441990–6442066, SHA-256 770511980ca5f7f5.

Jev judged not model-facing (confidence 0.63; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: tool's 'tmux-backed shell sessions' guidance, with 'SESSION_NAME' set to

 tool's `tmux-backed shell sessions` guidance, with `SESSION_NAME` set to 

. If the session already exists from an earlier turn, the one-liner is a no-op;

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6442078–6442185, SHA-256 1d1d8ced5891eb8b.

Jev judged not model-facing (confidence 0.78; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: . If the session already exists from an earlier turn, the one-liner is a no-op; run it anyway to confirm.

. If the session already exists from an earlier turn, the one-liner is a no-op; run it anyway to confirm.

Route every recurring setup command — dependency installs, builds, migrations, v

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6442208–6442376, SHA-256 2e52cc1cd668ee59.

Jev judged not model-facing (confidence 0.63; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Route every recurring setup command — dependency installs, builds, migrations, version checks, lint/test verification, the hello-world demonstration — through the

Route every recurring setup command — dependency installs, builds, migrations, version checks, lint/test verification, the hello-world demonstration — through the

session using the send-keys pattern from that same guidance. Do NOT run those

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6442392–6442493, SHA-256 0611299720217c6e.

Jev judged not model-facing (confidence 0.63; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: session using the 'send-keys' pattern from that same guidance. Do NOT run those commands as plain

 session using the `send-keys` pattern from that same guidance. Do NOT run those commands as plain 

Long-running side processes (dev servers, databases, file watchers, log-tailing

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6442537–6442743, SHA-256 4709f21caf08479b.

Jev judged not model-facing (confidence 0.65; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: Long-running side processes (dev servers, databases, file watchers, log-tailing migrations) go in their OWN descriptively-named tmux sessions (e.g. 'vite-dev-server', 'postgres', 'backend-tests'), NOT in

Long-running side processes (dev servers, databases, file watchers, log-tailing migrations) go in their OWN descriptively-named tmux sessions (e.g. `vite-dev-server`, `postgres`, `backend-tests`), NOT in 

. Quick health probes (curl, psql -c , pnpm test --run ) still run in

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6442755–6442828, SHA-256 f9dbf9c6bfe074ee.

Jev judged not model-facing (confidence 0.47; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: . Quick health probes (curl, 'psql -c', 'pnpm test --run') still run in

. Quick health probes (curl, `psql -c`, `pnpm test --run`) still run in

Before finishing the task, leave

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6442870–6442905, SHA-256 2119408f6326e2c9.

Jev judged not model-facing (confidence 0.45; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Before finishing the task, leave

Before finishing the task, leave 

at an idle shell prompt so the user can pick it up — cancel any open prompts or

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6442917–6443048, SHA-256 7132aceefd11aa42.

Jev judged not model-facing (confidence 0.53; role instructions). This is a classifier judgment, not proof of delivery.

Readable text: at an idle shell prompt so the user can pick it up — cancel any open prompts or heredocs and make sure no command is blocking.

 at an idle shell prompt so the user can pick it up — cancel any open prompts or heredocs and make sure no command is blocking.

missing secrets, needing a test login account, needing a domain added to the net

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6443137–6443260, SHA-256 ff1cd0a086622f17.

Jev judged not model-facing (confidence 0.16; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: missing secrets, needing a test login account, needing a domain added to the network allowlist, or an external setup step

missing secrets, needing a test login account, needing a domain added to the network allowlist, or an external setup step

missing secrets, needing a test login account, or an external setup step

Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-agent-host/dist/main.js, bytes 6443261–6443335, SHA-256 ca1615958d8bc035.

Jev judged not model-facing (confidence 0.12; role human). This is a classifier judgment, not proof of delivery.

Readable text: missing secrets, needing a test login account, or an external setup step

missing secrets, needing a test login account, or an external setup step