docs: add Cursor Cloud dev environment setup notes to AGENTS.md#3
Draft
AiRanthem wants to merge 1 commit into
Draft
docs: add Cursor Cloud dev environment setup notes to AGENTS.md#3AiRanthem wants to merge 1 commit into
AiRanthem wants to merge 1 commit into
Conversation
Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Ai Ranthem <airanthem666@gmail.com>
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.
Ⅰ. Describe what this PR does
Documents the Cursor Cloud development environment setup for this repo under a new
## Cursor Cloud specific instructionssection inAGENTS.md. No product code is changed. The notes capture non-obvious, durable caveats discovered while bringing up the dev environment:/usr/local/go; the auto-downloadedgolang.org/toolchainmodules in this environment are stripped and lack thecovdatatool, which breaksmake test's coverage on no-test packages.make testusesenvtest(realkube-apiserver+etcd, no external cluster needed).go build main.gofails onexecuteCABindings); the gateway plugin needs CGOc-shared.memory/io/hugetlbcontrollers can't be delegated to child cgroups. Run theagent-sandbox-controlleragainst anenvtestcontrol plane instead (webhooks disabled, metrics off).Ⅱ. Does this pull request fix one issue?
NONE
Ⅲ. Describe how to verify it
Verified the full dev workflow in the cloud VM:
go build ./cmd/...— all 5 components build (controller, manager, traffic-extension, and the CGOsandbox-gateway.so).make test— fullpkg/...unit suite passes with coverage (after installing the full Go SDK).make lint—0 issues.bin/agent-sandbox-controlleragainst a liveenvtestcontrol plane with the 8 CRDs installed, appliedexamples/code_interpreter/sandboxset.yaml(replicas=2) and scaled to 3; the operator reconciled it into childSandboxandPodobjects with the correctSandboxSet → Sandbox → Podowner-reference chain.Ⅳ. Special notes for reviews
Only
AGENTS.mdis modified. The update script for future cloud agents isgo mod download; the Go SDK, envtest binaries, Docker, kind, and kubectl are provisioned in the VM snapshot.