Set up Cursor Cloud dev environment for docgen - #59
Closed
jmjava wants to merge 2 commits into
Closed
Conversation
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>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up and verifies a full development environment for the
docgenlibrary/CLI in Cursor Cloud, and captures durable startup guidance for future agents.The only code/repo change is an added
## Cursor Cloud specific instructionssection inAGENTS.md. All environment provisioning is handled by the VM snapshot (system deps) + the startup update script (Python deps).Environment
ffmpeg,tesseract-ocr, plusbuild-essential,python3-dev,libcairo2-dev,libpango1.0-dev,pkg-config(required to build themanimextra).docgeneditable withdev+manimextras.Verification
ruff check src/ tests/pytest tests/ -v --tb=shortdocgen init→scene-compile→manimdocgen validatedocgen wizard --port 8501Hello-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, thescene-compilewait_segment/timing.jsondependency, and thatdocs/demos/is a protected consumer bundle).To show artifacts inline, enable in settings.