Skip to content

docs: add Cursor Cloud dev environment setup notes to AGENTS.md - #762

Draft
ffantl-ld wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-11bb
Draft

docs: add Cursor Cloud dev environment setup notes to AGENTS.md#762
ffantl-ld wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-11bb

Conversation

@ffantl-ld

Copy link
Copy Markdown
Contributor

Summary

Sets up and verifies the development environment for ldcli in Cursor Cloud, and records durable, non-obvious setup notes for future agents under a new ## Cursor Cloud specific instructions section in AGENTS.md.

No application/source code was modified — only documentation.

What was verified

Service Lint Test Build Run
ldcli CLI (Go) golangci-lint run ./... make test make build ./ldcli config --set ... / dev-server start
Dev server UI (React/Vite) npm run lint npm test (vitest) ✅ npm run build served via dev-server at /ui/

Hello-world action: set + listed CLI config (persisted to config.yml), started the dev-server (Go HTTP + SQLite + embedded React UI), confirmed the API (GET /dev/projects[]) and loaded the interactive LaunchDevly UI in a browser.

Notes captured in AGENTS.md

  • golangci-lint v1.63.4 auto-downgrades its build toolchain to go1.22.2 via go install, which then refuses to run against this repo's go.mod target (1.24.3). Install with GOTOOLCHAIN=$(go env GOVERSION) go install ....
  • dev-server start requires --access-token even to boot, but only contacts LaunchDarkly on project sync — a placeholder token is enough to run the server/UI/API offline.
  • Local SQLite DB path and UI script locations.

Update script (configured separately, not in repo)

go mod download
npm --prefix internal/dev_server/ui ci
GOTOOLCHAIN=$(go env GOVERSION) go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4

devserver_ui_demo.mp4
LaunchDevly UI loaded

Open in Web Open in Cursor 

Co-authored-by: Francisco Fantl <ffantl-ld@users.noreply.github.com>
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