Skip to content

Add Cloud Agent development environment setup - #113

Closed
DrunkOnJava wants to merge 4 commits into
mainfrom
cursor/setup-dev-environment-1703
Closed

DrunkOnJava wants to merge 4 commits into
mainfrom
cursor/setup-dev-environment-1703

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Aug 28, 2026 •

Copy link
Copy Markdown
Owner

Superseded by #114 (env setup rebased onto main + deps from #118). Closing in favor of the merged #114 path.

cursoragent and others added 4 commits August 28, 2026 08:38
- .cursor/environment.json: install script + viewer dev server terminal
- .cursor/install.sh: idempotent bootstrap for all three components
  (Rust stable toolchain + CLI binaries, Python maturin bindings,
  WASM viewer via wasm-pack + Vite)
- .gitignore: ignore maturin-develop native extension (*.so)

Co-authored-by: DrunkOnJava <[email protected]>
Documents toolchain requirements (Rust stable >= 1.85 for edition 2024),
one-shot setup via .cursor/install.sh, and per-component build/run/test
commands for the Rust CLIs, Python bindings, and WASM viewer — plus how to
drive the viewer for manual testing. Lets future agents skip the
toolchain-version discovery step.

Co-authored-by: DrunkOnJava <[email protected]>
- Pin wasm-pack to v0.14.0 (match CI) via deterministic release download,
  with graceful fallback to the upstream installer
- Self-verifying install: smoke-test fixture -> rvt-inspect + WASM
  network-import audit at the end of install.sh so broken builds fail setup
- Expose viewer port 5173 (ports + dev server --host) for Cloud preview
- AGENTS.md: document tools/quality.sh gate, optional corpus fetch via
  git-lfs, supply-chain tools (cargo deny/audit), and preview port

Co-authored-by: DrunkOnJava <[email protected]>
Add an 'env config lint' job that shellchecks .cursor/install.sh and
validates .cursor/environment.json against the published Cursor
environment schema (https://cursor.com/schemas/environment.schema.json).

Also fix environment.json 'ports' to the schema-required object form
({name, port}) instead of bare integers, and add a terminal description.

Co-authored-by: DrunkOnJava <[email protected]>
cursor Bot pushed a commit that referenced this pull request Aug 28, 2026
Bring .cursor/environment.json, install.sh, AGENTS.md, CI env-config
lint, and .gitignore *.so from PR #113 onto main so Cloud Agents no
longer fail with missing .cursor/install.sh.

Co-authored-by: DrunkOnJava <[email protected]>
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Heads-up: once #114 is green and merges (env setup on main + shared advisory lockfile fixes), this draft can be closed as superseded by #114.

DrunkOnJava added a commit that referenced this pull request Aug 28, 2026
## Summary

Unblocks Cloud Agent `setupStatus: INSTALL_FAILED` on `main`, which
currently lacks `.cursor/install.sh` while agents expect `bash
.cursor/environment.json` → `bash .cursor/install.sh`.

This PR brings the **environment-only** files from draft
[#113](#113)
(`cursor/setup-dev-environment-1703`) onto a clean branch based on
latest `main`, plus shared advisory lockfile fixes from
[#118](#118) so cargo
deny/audit and viewer npm audit pass.

## What's included

- `.cursor/environment.json` — install script, port `5173`,
`viewer-dev-server` terminal
- `.cursor/install.sh` — idempotent Rust (≥1.85) + Python (`maturin`) +
WASM viewer bootstrap + smoke checks
- `AGENTS.md` — Cursor Cloud specific instructions
- CI `env config lint` job (shellcheck + schema validate)
- `.gitignore` — ignore `*.so` from `maturin develop`
- Merge of `#118` deps advisory bump
(`quick-xml`/`pyo3`/`anyhow`/`crossbeam-epoch` + viewer `npm audit fix`)

## Why a separate PR

#113 already has the same env content and passed fresh-pod builds, but
`main` still fails install for new agents. Landing this slim branch
unblocks Cloud Agents without waiting on any other work on #113.

**Once #114 is green and merges, #113 can be closed as superseded.**

## Verification

- Local: `cargo deny check advisories` ok; `cargo audit` clean; `cd
viewer && npm audit --audit-level=high` → 0 vulnerabilities
- Env setup files retained alongside deps bumps (merge commit `e207d39`)

Do not merge until CI is green on the post-merge head.

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
@cursor
cursor Bot deleted the cursor/setup-dev-environment-1703 branch August 29, 2026 23:17
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
## Summary

Unblocks Cloud Agent `setupStatus: INSTALL_FAILED` on `main`, which
currently lacks `.cursor/install.sh` while agents expect `bash
.cursor/environment.json` → `bash .cursor/install.sh`.

This PR brings the **environment-only** files from draft
[#113](#113)
(`cursor/setup-dev-environment-1703`) onto a clean branch based on
latest `main`, plus shared advisory lockfile fixes from
[#118](#118) so cargo
deny/audit and viewer npm audit pass.

## What's included

- `.cursor/environment.json` — install script, port `5173`,
`viewer-dev-server` terminal
- `.cursor/install.sh` — idempotent Rust (≥1.85) + Python (`maturin`) +
WASM viewer bootstrap + smoke checks
- `AGENTS.md` — Cursor Cloud specific instructions
- CI `env config lint` job (shellcheck + schema validate)
- `.gitignore` — ignore `*.so` from `maturin develop`
- Merge of `#118` deps advisory bump
(`quick-xml`/`pyo3`/`anyhow`/`crossbeam-epoch` + viewer `npm audit fix`)

## Why a separate PR

#113 already has the same env content and passed fresh-pod builds, but
`main` still fails install for new agents. Landing this slim branch
unblocks Cloud Agents without waiting on any other work on #113.

**Once #114 is green and merges, #113 can be closed as superseded.**

## Verification

- Local: `cargo deny check advisories` ok; `cargo audit` clean; `cd
viewer && npm audit --audit-level=high` → 0 vulnerabilities
- Env setup files retained alongside deps bumps (merge commit `e12badc`)

Do not merge until CI is green on the post-merge head.

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants