Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:start -->
# GitNexus — Code Intelligence

Expand Down
Loading