Background
The TEE cluster deploy/test scripts under localnet/tee/scripts/rust-launcher/ (deploy-tee-cluster.sh and the test-* / env / sweep scripts) are large, were never formally reviewed, and change often. Keeping them in the public mpc repo means every tweak needs full mpc review. Move them to the internal near/mpc-private repo (tools/tee-cluster/) so this ops/testing tooling can evolve with lighter review. They already drive the mpc build + deployment, so they run against a local mpc checkout via MPC_REPO_ROOT.
User Story
As an MPC developer, I want the cluster ops/test scripts in mpc-private so I can iterate on them without full mpc-repo review, while the shared infra and test-asset generation stay in mpc.
Acceptance Criteria
Resources
Background
The TEE cluster deploy/test scripts under
localnet/tee/scripts/rust-launcher/(deploy-tee-cluster.shand thetest-*/ env / sweep scripts) are large, were never formally reviewed, and change often. Keeping them in the publicmpcrepo means every tweak needs full mpc review. Move them to the internalnear/mpc-privaterepo (tools/tee-cluster/) so this ops/testing tooling can evolve with lighter review. They already drive the mpc build + deployment, so they run against a local mpc checkout viaMPC_REPO_ROOT.User Story
As an MPC developer, I want the cluster ops/test scripts in
mpc-privateso I can iterate on them without full mpc-repo review, while the shared infra and test-asset generation stay inmpc.Acceptance Criteria
deploy-tee-cluster.sh,set-localnet-env.sh,set-testnet-env.sh,create-and-sweep-to-treasury.sh,test-migration.sh,test-verify-and-upgrade.sh,test-hash-override.sh+ how-to docs tompc-privatetools/tee-cluster/(near/mpc-private#495).mpc:single-node.sh(+readme, it generates the Rust test fixtures),common.sh, and thenode.*.tpltemplates — referenced by the moved scripts viaMPC_REPO_ROOT.mpcand repoint the testnet setup guide + trim the rust-launcher README (this PR).mpc-privateagainst a local mpc checkout (MPC_REPO_ROOT).Resources
dcap-qvlfrom mpc-contract #3642 / feat(contract): async TEE attestation verification, dropdcap-qvl#3714 / test(contract): sandbox coverage + stub verifier for async attestation #3715.