From 08b45aa8a8a40bc8b093284ae1343ea5ce39735c Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 11 Oct 2026 02:55:10 +0000 Subject: [PATCH] docs: note Cloud Agent toolchain and test gates The default image's Rust 1.83 cannot compile this edition-2024 crate, and nuke's systemd unit cleanup is noisy without a user bus. Record the stable toolchain, bc, and the CI gates so later agents can build and test without rediscovering that. Signed-off-by: Cursor Agent Co-authored-by: Paul Logan --- AGENTS.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index daef5fb..ad0abd1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -249,6 +249,18 @@ Practical rule on wire: --- +## Cursor Cloud specific instructions + +wire is one Rust crate: the CLI and the relay ship together. Do not start a long-running server before building or testing. `cargo test`, `tests/it/`, `wire demo`, and `scripts/hello-world-validate.sh` each boot their own loopback relay and clean it up. + +The default Cloud Agent image ships Rust 1.83, which cannot compile this edition-2024 crate (MSRV 1.88). The environment install selects the stable toolchain with rustfmt and clippy, and installs `bc` (used by `scripts/hello-world-validate.sh`). `jq` and `curl` are already on the image; `tests/it/` needs both. + +Run the same gates as `.github/workflows/ci.yml`: `cargo fmt --all -- --check`, `cargo clippy --all-targets -- -D warnings`, and `cargo test --all-targets -- --test-threads=1`. Shell demos use `cargo build --release --bin wire`. See `CONTRIBUTING.md` and `tests/it/README.md`. + +`wire nuke` tries to disable systemd user units. In this VM that logs `Failed to connect to bus: No medium found` because there is no user systemd session. The identity wipe still completes; `tests/it/40-nuke-recovery.sh` treats that as success. + +--- + # GitNexus — Code Intelligence