Skip to content

Set up Cloud Agent development environment - #10

Merged
bschellenberger2600 merged 1 commit into
mainfrom
cursor/setup-dev-environment-00bd
Jun 17, 2026
Merged

Set up Cloud Agent development environment#10
bschellenberger2600 merged 1 commit into
mainfrom
cursor/setup-dev-environment-00bd

Conversation

@bschellenberger2600

Copy link
Copy Markdown
Member

Summary

Sets up and verifies the full development environment for git-harness (Go library + CLI + Python/Java polyglot wrappers) for Cursor Cloud Agents.

The only code change is documentation: a new ## Cursor Cloud specific instructions section in AGENTS.md capturing the layer layout, the Python venv location, the GIT_HARNESS_CLI requirement for wrappers, and a known cloud-only test caveat.

Environment setup

  • System deps installed during setup (baked into snapshot): python3.12-venv, maven (JDK 21 already present).
  • Update script (refresh only): go mod download; create/refresh venv at ~/.venvs/git-harness; pip install -e "testkit/python[dev]".

Verification

Layer Commands Result
Go core gofmt -l, go build ./..., go vet ./..., go test -race ./... pass*
CLI go build -o bin/git-harness-cli ./cmd/git-harness-cli + JSON smoke pass
Python wrapper pytest tests/ (10 passed) + 2 sample smokes pass
Java wrapper mvn test (4) + 2 sample smokes pass
spec-kit validate_specify.sh pass

* One test, git/command_test.go::TestFetchRemote_UnauthenticatedHTTPSFailsWithoutPrompt, fails only in the cloud environment because the agent's global url.<token>.insteadOf rewrite authenticates the "unauthenticated" fetch (GitHub returns Repository not found instead of a credential prompt). This is an environment artifact, not a code bug; documented in AGENTS.md.

Hello-world (CLI end-to-end)

Detect dirty repo → git_auto_commit_dirty → verify clean → read branch/HEAD sha.

git_harness_hello_world.log
git_harness_env_verification.log

Open in Web Open in Cursor 

Co-authored-by: Ben Schellenberger <bschellenberger2600@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@bschellenberger2600, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 57 minutes and 29 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0ce7f2d8-9085-42c7-8b49-75e7b33a298a

📥 Commits

Reviewing files that changed from the base of the PR and between 34d1bcc and 267d74e.

📒 Files selected for processing (1)
  • AGENTS.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/setup-dev-environment-00bd

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bschellenberger2600
bschellenberger2600 marked this pull request as ready for review June 17, 2026 01:53
@bschellenberger2600
bschellenberger2600 merged commit a5a33de into main Jun 17, 2026
8 checks passed
@bschellenberger2600
bschellenberger2600 deleted the cursor/setup-dev-environment-00bd branch June 17, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants