From a27b8c0f653c5879e9912e0e0b8a13eecea79866 Mon Sep 17 00:00:00 2001 From: Interchouette <484423+Interchouette@users.noreply.github.com> Date: Wed, 12 Aug 2026 15:39:29 +0200 Subject: [PATCH] chore: drop Cursor sandbox env wrappers from make Build into repo target/ with plain cargo; keep sandbox policy in agent rules only. --- Makefile | 2 +- README.md | 2 +- mcp/src/ops.rs | 14 ++------------ 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 001e296..dd80d7e 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ FEATURES ?= ceps-all,swagger-ui,tx-return,sign-local,sign-kms,chain-put CARGO_FEATURES := --features $(FEATURES) RUST_LOG ?= info -CARGO := env -u CARGO_TARGET_DIR -u PLAYWRIGHT_BROWSERS_PATH cargo +CARGO := cargo CLIPPY_FLAGS := -D warnings -D clippy::all diff --git a/README.md b/README.md index 4ca0373..ff5cb4e 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ make mcp-http # Streamable HTTP on :4790 → http://127.0.0.1:4790/mcp ``` ```bash -env -u CARGO_TARGET_DIR -u PLAYWRIGHT_BROWSERS_PATH make build +make build make verify-slices # same feature slices as CI ``` diff --git a/mcp/src/ops.rs b/mcp/src/ops.rs index 11948bb..f4c6034 100644 --- a/mcp/src/ops.rs +++ b/mcp/src/ops.rs @@ -196,18 +196,8 @@ pub fn api_start() -> String { Ok(f) => f, Err(e) => return format!("cannot create api log: {e}"), }; - let child = Command::new("env") - .args([ - "-u", - "CARGO_TARGET_DIR", - "-u", - "PLAYWRIGHT_BROWSERS_PATH", - "cargo", - "run", - "-p", - "ceps-rust-api", - "--release", - ]) + let child = Command::new("cargo") + .args(["run", "-p", "ceps-rust-api", "--release"]) .current_dir(&root) .env("DOTENV_DISABLE", "1") .stdout(Stdio::from(log_file.try_clone().unwrap_or(log_file)))