Skip to content

Set up Cursor Cloud dev environment (uv) + document run notes - #3

Draft
djbhindi wants to merge 6 commits into
mainfrom
cursor/setup-dev-environment-1597
Draft

Set up Cursor Cloud dev environment (uv) + document run notes#3
djbhindi wants to merge 6 commits into
mainfrom
cursor/setup-dev-environment-1597

Conversation

@djbhindi

Copy link
Copy Markdown

What this does

Sets up the development environment for this repo in Cursor Cloud and documents how to run the local tooling. This repo (optimizer-seed) is doctrine + memory + thin tooling, not a conventional application: there is no build, no lint, and no automated test suite. The only local executable code is the Python scripts under skills/*/scripts/ (run via uv, with dependencies declared inline via PEP 723) plus the bash memory hooks in tools/.

Changes

  • Environment update script (configured via the environment, not a repo file): installs uv to /usr/local/cargo/bin (already on PATH) on VM startup. python3 and git are already present; the scripts resolve their own Python deps (httpx, pyyaml) at run time, so there is nothing else to install.
  • AGENTS.md: added a ## Cursor Cloud specific instructions section covering the runtime (uv), which scripts run fully offline vs. which require the external Softmax platform + credentials, and pointing at .runtime/ for scratch work.

Verification (all run in this environment)

  • uv installed; all five scripts load and resolve their inline deps:
    • eval_request.py, xp_dashboard.py, fetch_artifacts.py, lifecycle.py, record.py — each --help succeeds.
  • Core "record a hypothesis" loop step (record.py, fully offline) exercised end-to-end in a scratch lab under .runtime/:
    • new created 2026-08-27-vote-timing.md
    • validate passed (0 problems)
    • a deliberately invalid record (status: confirmed with empty evals) was correctly rejected with exit code 1
    • list rendered the records table
  • Local dashboard web app (xp_dashboard.py) started and served its page + /data JSON endpoint; rendered in Chrome.
  • Memory hook tools/rotate_lessons.sh ran as a safe touched-only no-op (no repo mutation).
  • Update script re-run confirmed idempotent.

Note: the loop's live steps (hosted evals, league submission) and installing a real game mixin require the external softmax/coworld CLIs, a Softmax account, and network to softmax.com — none of which are provisioned in the cloud VM. Those pieces respond only to --help here; this is documented in AGENTS.md.

Running eval dashboard web app in Chrome

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 6 commits August 27, 2026 17:56
Document that this repo has no build/lint/test suite; the only extra
dependency is uv (runs the inline-dependency Python scripts). Note which
scripts run fully offline vs which require the external Softmax platform
and credentials, and point at .runtime/ for scratch work.

Co-authored-by: Rohit Mukherjee <djbhindi@users.noreply.github.com>
- games/battleroyale/: uv project with coworld[auth] CLI, README + AGENTS
  (working agreement, coordinates, strategy), VERSION_LOG.
- player/build_player.sh + Dockerfile.doctrine: reproducible baseline build
  (pinned game source) and a one-attributable-change doctrine wrapper.
- WORKING_CONTEXT: record the Battle Royale objective and that the platform
  loop is blocked on Softmax auth.

Toolchain validated in-VM: baseline image builds, doctrine env bakes in.

Co-authored-by: Rohit Mukherjee <djbhindi@users.noreply.github.com>
- v1 = baseline (legacy doctrine) uploaded as djbhindi-battleroyale:v1.
- First hosted XP batch xreq_905820b7 (br-12, 20 eps, 1 mine + 11 random live).
- Record the br-12 roster gotcha: one entry per seat (top_n auto-fill 400s).
- Save request body under xp/ for reproducibility.

Co-authored-by: Rohit Mukherjee <djbhindi@users.noreply.github.com>
… A/B

- v1 legacy baseline: mean score 60.1, mean rank 8.4/12, 0 wins over 20 eps
  vs the live field (field mean 100.8) -> stock baseline is bottom-third.
- Standings show hunter doctrine tops the board; upload v2 = hunter (one
  attributable change legacy->hunter) and launch head-to-head A/B xreq_07ed5db8
  (v1+v2+10 random, same episodes).
- Save v1 anchor per-episode results under xp/.

Co-authored-by: Rohit Mukherjee <djbhindi@users.noreply.github.com>
- Paired A/B (xreq_07ed5db8): v2 hunter beats v1 legacy in identical episodes
  (mean score 123.2 vs 75.5, mean rank 5.65 vs 8.55, 15/20 wins, sign p~0.04).
  One attributable change (legacy->hunter) moved us bottom-third -> middle.
- Launch v2 clean anchor (xreq_fb05a394, 1 v2 + 11 random) for apples-to-apples
  placement vs the v1 anchor.
- Buffer lab lessons; save A/B results under xp/.

Co-authored-by: Rohit Mukherjee <djbhindi@users.noreply.github.com>
- v2 hunter clean anchor (xreq_fb05a394): mean rank 6.90/12, score 103.5
  (vs v1 8.40/60.1) - apples-to-apples confirms middle-of-pack.
- Record results table + verdict in VERSION_LOG; update WORKING_CONTEXT with
  next options (tune hunter / try doctrine / gated submit).

Co-authored-by: Rohit Mukherjee <djbhindi@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