Skip to content

feat(wizard): asset freshness, rebuild-from-here, in-place narration revise - #61

Merged
jmjava merged 1 commit into
mainfrom
cursor/wizard-asset-graph-revise-afb7
Aug 1, 2026
Merged

feat(wizard): asset freshness, rebuild-from-here, in-place narration revise#61
jmjava merged 1 commit into
mainfrom
cursor/wizard-asset-graph-revise-afb7

Conversation

@jmjava

@jmjava jmjava commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Continues the post-#56 checklist after PR #60 (story_end / av_sync anchors):

# Change
7 Wizard asset graph — per-step freshness (fresh / stale / missing) via mtimes; Rebuild from here cascades through validate
8 In-place narration revisemode=revise sends current editor text + revision notes (minimal edit); Regenerate stays a full rewrite
10 Richer edges — scene-spec edges gain optional style: solid|dashed and short label captions

Wizard rebuild cascade (default)

tts → timestamps → scene-retime → manim → compose → validate

LLM scene-spec remains an explicit expensive step (select it in “Rebuild from” or use Regen scene spec).

APIs

  • GET /api/segments includes assets (also GET /api/segments/<id>/assets)
  • POST /api/run-from/<step>/<id> — cascade runner
  • POST /api/run/scene-retime/<id> — offline retime-compile
  • POST /api/generate-narration accepts mode, current_narration

Test plan

  • pytest tests/ (311 passed)
  • ruff check src/ tests/
  • Unit: cascade order, stale TTS, run-from mocked cascade
  • Unit: revise prompt includes CURRENT NARRATION; API revise write
  • Unit: dashed/labeled edges FadeIn (not GrowArrow)
Open in Web Open in Cursor 

Add per-segment pipeline freshness (mtime vs upstream), cascade rebuild from
a chosen step (default offline scene-retime), and revise-mode narration that
edits the current script with feedback. Also extend scene-spec edges with
optional style/label for richer flow diagrams.

Co-authored-by: John Menke <jmjava@gmail.com>
@jmjava
jmjava marked this pull request as ready for review August 1, 2026 12:11
@cursor

cursor Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jmjava
jmjava merged commit acd5f43 into main Aug 1, 2026
5 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