Repository navigation
Add Cloud Agent development environment setup - #113
Closed
DrunkOnJava wants to merge 4 commits into
Closed
DrunkOnJava wants to merge 4 commits into
DrunkOnJava wants to merge 4 commits into
Conversation
- .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]>
Owner
Author
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]>
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]>
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.
Superseded by #114 (env setup rebased onto main + deps from #118). Closing in favor of the merged #114 path.