Skip to content

Fail-closed timestamps, concat, and Anthropic base_url - #78

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/timestamps-fail-closed-2ccd
Sep 7, 2026
Merged

Fail-closed timestamps, concat, and Anthropic base_url#78
cursor[bot] merged 2 commits into
mainfrom
cursor/timestamps-fail-closed-2ccd

Conversation

@jmjava

@jmjava jmjava commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Milestone

timestamps-fail-closed — next iteration after #77.

Timing, concat, Manim, compose CLI, and wizard steps must not report success while dropping stems, muxing a partial concat, or ignoring ai.base_url for Anthropic.

Changes

  • timestamps: extract_all walks segments.all via find_segment_asset (no *.mp3 glob). Missing audio for a listed segment raises; existing timing.json is not rewritten. Orphan 01.mp3 does not satisfy stem 01-intro.
  • concat: unknown target, missing recordings, or ffmpeg failure raise ConcatError (CLI Click error). Empty concat map remains a no-op.
  • Anthropic: chat posts to {DOCGEN_AI_BASE_URL or ai.base_url}/v1/messages.
  • Manim: render raises when scenes.py or the manim binary is missing.
  • compose CLI: non-zero exit when composed count is short.
  • Wizard: generate-narration rejects repo_root escapes; manim/compose/validate fail closed.

Tests

ruff check src/ tests/ green. pytest tests/ — 501 passed, 1 skipped.

No clock / _TimedScene / compile changes; docgen benchmark not required for this PR.

Open in Web Open in Cursor 

cursoragent and others added 2 commits September 7, 2026 17:16
Track remaining silent-success bugs after #77: glob-driven timing.json
wipes, soft concat, Anthropic base_url, and CLI/wizard no-ops.

Co-authored-by: jmjava <jmjava@gmail.com>
Walk segments.all for timing instead of globbing every mp3, raise when
listed audio is missing, and stop concat on unknown targets or missing
recordings. Anthropic chat honors DOCGEN_AI_BASE_URL / ai.base_url.
Manim, compose CLI, and wizard manim/compose/validate/path checks no
longer report success on skipped work.

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