Skip to content

Fail closed on validate skips, empty Manim lists, and missing context - #80

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/validate-fail-closed-2ccd
Sep 7, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/validate-fail-closed-2ccd

Conversation

@jmjava

@jmjava jmjava commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Follows #79. docgen validate and a few remaining CLI skips were still reporting success on listed work that never ran.

Validate

  • narration_lint fails when a listed segment has no narration file (same contract as docgen lint)
  • story_end fails when a Manim spec has paced labels but timing.json has no words (run docgen timestamps). All-pace: none specs still skip.

CLI

  • docgen manim with an empty manim.scenes list uses pipeline_manim_scene_names() from visual_map
  • Manim visual_map rows with no class name are an error instead of a silent no-op
  • docgen image-generate --all fails when Manim segments exist but animations/specs/ is empty
  • Declared narration context paths that do not exist raise instead of being dropped

Missing recordings stay a pre-push warning.

Local: pytest tests/ → 520 passed, 1 skipped.

Milestone: milestones/validate-fail-closed.md

Open in Web Open in Cursor 

Treat missing narration and untimed paced specs as validate failures.
Use visual_map scene names when manim.scenes is empty, reject
image-generate --all with Manim segments but no specs, and error on
declared context paths that do not exist.

Co-authored-by: jmjava <jmjava@gmail.com>
@jmjava
jmjava marked this pull request as ready for review September 7, 2026 18:01
@cursor
cursor Bot merged commit e4b01e1 into main Sep 7, 2026
6 checks passed
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