Skip to content

Fail closed when scene-compile leaves wait_segment YAML - #165

Merged
jmjava merged 1 commit into
mainfrom
cursor/wait-segment-yaml-upgrade
Sep 11, 2026
Merged

Fail closed when scene-compile leaves wait_segment YAML#165
jmjava merged 1 commit into
mainfrom
cursor/wait-segment-yaml-upgrade

Conversation

@jmjava

@jmjava jmjava commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Leftover Docs/UX: clarify compose vs vhs — stale rendered/*.mp4 causes freeze guard failures #12: scene-compile upgraded wait_segment only in memory, then compile_scene_class rejected the leftover YAML. Compile now writes wait_word back and fails closed if it cannot.
  • Added corpus case legacy_wait_segment so the upgrade path is scored on the real _TimedScene clock. Baseline updated only for that new case; existing scores are unchanged.
  • Direct compile_scene_class still rejects leftover wait_segment. Did not hand-edit docs/demos specs.

Test plan

  • test_retime_compile_spec_upgrades_wait_segment_yaml
  • test_persist_upgraded_wait_segment_yaml_fails_closed_on_row_count_mismatch
  • test_legacy_wait_segment_upgrades_before_compile
  • test_compile_rejects_wait_segment (unchanged reject)
  • docgen benchmark green vs updated baseline.json
  • CI lint / unit / benchmark / validate

Made with Cursor

…rejects.

Upgrade row-level wait_segment to wait_word and write the spec back; add a corpus case so that path is benchmarked.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jmjava
jmjava merged commit 660ace9 into main Sep 11, 2026
7 checks passed
@jmjava
jmjava deleted the cursor/wait-segment-yaml-upgrade branch September 11, 2026 20:09
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.

1 participant