docs(agents): document Node 24 for cloud agents

Co-authored-by: Adam Moussa <amoussa1229@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-09-27 20:18:49 +00:00
parent d80295c005
commit 900f2a6297
No known key found for this signature in database

View file

@ -37,3 +37,16 @@ explicit approval). Linting stays in CI; do not gate on it locally.
**High-blast AWS org/IAM substrate.** This repo synthesises and diffs the organisation-level CDK
stack. Always run `cdk synth` and review `cdk diff` output before raising a PR.
## Cursor Cloud specific instructions
CI pins Node 24. On this VM, `node` on `PATH` can resolve to an older binary under `/exec-daemon` ahead of nvm. Select Node 24 in the same shell before `npm` or `cdk`:
```bash
export NVM_DIR="$HOME/.nvm"
. "$NVM_DIR/nvm.sh"
nvm use 24
export PATH="$(dirname "$(nvm which 24)"):$PATH"
```
Canonical checks: `npm ci`, `npm run build`, `npx cdk synth`. `cdk diff` and `cdk deploy` talk to live AWS accounts and are not part of this environment.