chore: add Cursor Cloud Agents environment configuration
Merged
MS
2mo ago+5+5+0123456789-0-0-0123456789
Summary
Adds Cursor Cloud Agents environment configuration for sourcebot-dev/sourcebot, enabling fresh cloud agents to boot Sourcebot and run visible UI E2E tests.
Changes
.cursor/environment.json
- Install script: Sets up Docker, git submodules, builds Zoekt binaries, installs yarn dependencies, creates minimal config.json
- Start script: Starts Docker daemon and containers, runs database migrations, starts
yarn dev, waits for port 3000 readiness - Ports: Exposes port 3000 (Next.js web app)
AGENTS.md
- Added brief "Cloud Agent E2E Testing" section with merge policy
Testing Evidence
Successfully tested full boot and UI E2E workflow:
- Docker containers (PostgreSQL, Redis) started ✅
- Database migrations applied ✅
yarn devboots successfully ✅- HTTP 200 on localhost:3000 ✅
- Onboarding flow completed ✅
- Code search functional ✅
- Repositories page shows synced repo ✅
Environment build bld-20260921-b52e2c36-3cd1-4d63-a44b-f3023c1edfc6 completed successfully.
Note
DO NOT MERGE without Michael's explicit approval.
To show artifacts inline, enable in settings.


Summary by cubic
Adds Cursor Cloud Agents environment configuration so fresh cloud agents can boot Sourcebot and run visible UI E2E tests without coordinator intervention.
- The install script sets up Docker, submodules, Zoekt binaries, yarn dependencies, and a minimal
config.json; the start script boots Docker containers, runs migrations, startsyarn dev, and waits for port 3000 readiness. Docker operations moved to start since containers can't be created during environment builds. AGENTS.mdis reverted toorigin/mainper maintainer decision; this PR only contains.cursor/environment.json.- Environment setup only; do not merge without maintainer approval.
Summary by CodeRabbit
- Chores
- Improved development environment setup and startup workflows.
- Automated required service initialization and application readiness checks.
- No user-facing product changes are included in this update.