Skip to content

Phase 9C.3: formalize clip prepare/export lifecycle - #74

Merged
FernandoAbishai merged 1 commit into
mainfrom
phase/9c3-clip-prepare-export-lifecycle
Sep 7, 2026
Merged

Phase 9C.3: formalize clip prepare/export lifecycle#74
FernandoAbishai merged 1 commit into
mainfrom
phase/9c3-clip-prepare-export-lifecycle

Conversation

@FernandoAbishai

Copy link
Copy Markdown
Owner

Summary

  • make Prepare an explicit gate before clip export
  • invalidate prepared/failed/exported clips when output-affecting clip or timeline state changes
  • make retry use the current durable draft instead of replaying stale export targets
  • harden direct/batch export against stale snapshots, cancel races, and pre-job remove/edit windows
  • preserve project v1 save/reopen behavior and keep backend/schema/provider unchanged

Safety invariants

  • draft cannot direct/batch export
  • packaged is the prepared/export-ready state
  • exporting is claimed durably before the first export await
  • batch re-reads each planned draft immediately before submission
  • output-affecting timeline mutations demote packaged/failed/exported clips and are blocked while a clip exports
  • cancel keeps busy state until polling observes a terminal job
  • export folder is frozen while export is active

Validation

  • all 22 frontend test:* scripts PASS
  • npm run smoke:golden-creator-path PASS
  • npm run lint PASS
  • npm run build:frontend PASS
  • git diff --check PASS
  • independent blocker/high review on CURRENT tree: no blocker/high findings

Copilot AI lite review requested due to automatic review settings September 7, 2026 08:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@FernandoAbishai
FernandoAbishai merged commit b832c9e into main Sep 7, 2026
2 checks passed
@FernandoAbishai
FernandoAbishai deleted the phase/9c3-clip-prepare-export-lifecycle branch September 7, 2026 09:01
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