Skip to content

Set up Cursor Cloud dev environment for docgen - #59

Closed
jmjava wants to merge 2 commits into
cursor/wizard-focus-files-graphics-timing-afb7from
cursor/setup-dev-environment-7c19
Closed

Set up Cursor Cloud dev environment for docgen#59
jmjava wants to merge 2 commits into
cursor/wizard-focus-files-graphics-timing-afb7from
cursor/setup-dev-environment-7c19

Conversation

@jmjava

@jmjava jmjava commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Sets up and verifies a full development environment for the docgen library/CLI in Cursor Cloud, and captures durable startup guidance for future agents.

The only code/repo change is an added ## Cursor Cloud specific instructions section in AGENTS.md. All environment provisioning is handled by the VM snapshot (system deps) + the startup update script (Python deps).

Environment

  • System deps (baked into snapshot): ffmpeg, tesseract-ocr, plus build-essential, python3-dev, libcairo2-dev, libpango1.0-dev, pkg-config (required to build the manim extra).
  • Update script (Python deps refresh):
    python3 -m venv .venv
    . .venv/bin/activate
    pip install -e ".[dev,manim]"
    
  • Python 3.12.3; installs docgen editable with dev + manim extras.

Verification

Check Command Result
Lint ruff check src/ tests/ All checks passed
Tests pytest tests/ -v --tb=short 290 passed
CLI pipeline docgen initscene-compilemanim Rendered a real 11.4s h264 MP4
Validation docgen validate Ran ffmpeg/tesseract-backed checks
Wizard UI docgen wizard --port 8501 Flask dev server served interactive UI (HTTP 200)

Hello-world (offline CLI pipeline)

Scaffolded a scratch bundle, compiled a declarative scene spec, and rendered a real Manim video:

Rendered Manim frame

Wizard web UI

docgen_wizard_end_to_end.mp4

Notes

Standard commands live in README.md / pyproject.toml / CI. The new AGENTS.md section documents only non-obvious caveats (venv is not auto-activated, which commands are OpenAI-gated vs offline, the scene-compile wait_segment/timing.json dependency, and that docs/demos/ is a protected consumer bundle).

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits July 28, 2026 02:13
Extend the Flask wizard so maintainers can select repo focus files per
segment, persist them into hint front matter (context.paths), and refresh
docgen.yaml via yaml-generate. Broader file-type scanning, production Focus
tab, and pipeline steps for timestamps / scene-spec.

Improve diagram graphics with first-class scene-spec edges (arrows), richer
box/arrow styling, and hyphen-aware label↔word matching. Tighten local
timing with pause-aware word weights and silence-interval reconciliation.

Pin ruff lint select to the classic E/F gate so Ruff 0.16+ defaults do not
fail CI on the existing tree.

Co-authored-by: John Menke <jmjava@gmail.com>
Co-authored-by: jmjava <jmjava@gmail.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