Skip to content

feat: add approved TTV generation and editorial selection - #31

Merged
kumanday merged 8 commits into
mainfrom
feat/ttv-media-integration
Oct 8, 2026
Merged

kumanday merged 8 commits into
mainfrom
feat/ttv-media-integration

Conversation

@kumanday

@kumanday kumanday commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

Add media-generated so project-local agent harnesses can exchange approved TTV generation documents, import verified assets, select takes, and compile ordinary EDLs with immutable provenance. Connect the reviewed motion-graphics storyboard to generated footage and preserve the current media workflows from main.

Changes

  • Vendor pinned contract 1.0 schemas and fixtures; exchange identical canonical JSON over files or HTTP.
  • Reject duplicate variant IDs, mismatched approvals, missing required references, and substituted reviewed keyframes. Trace keyframe-generation and provider-preparation lineage to planned assets.
  • Import and verify clips, keyframes, and references; record take selection, trims, billing, targeted regeneration, and stale-continuity decisions.
  • Preserve portrait reframe and transcript options with grading, overlays, and subtitles; hash editorial files. Scope billing observations by result, scene, and attempt.
  • Document the HyperFrames storyboard export, archived visual review evidence, existing spending permission, content-layer import, and scene-specific regeneration in the motion skill, orchestration skill, and project template.
  • Retain main's narration, motion, FCPXML, and patched dependency work. Remove the disabled AI review workflow definition as requested during integration implementation.

Evidence

Test output

bash scripts/check.sh
Ran 736 tests: OK
Ruff: All checks passed
mypy: Success, 38 source files

Verification

New regressions cover duplicate variant IDs, required reference omission and substitution, exact reviewed keyframes, scoped attempt IDs, and actual portrait rendering. Eleven shared contract cases agree with TTV, with identical schema/manifest/fixture bytes. A fresh TTV offline handoff imported, selected, rendered, and verified both the original edit and a middle-scene replacement while preserving outer takes and enforcing stale-continuity acceptance. Earlier live provider evidence is documented in docs/generated-media.md.

Checklist

  • Python unittest, Ruff, and mypy checks pass
  • Documentation and managed project guidance updated
  • Evidence section filled out
  • Rust checks in the repository template are inapplicable to this Python package.

Type of change

  • New feature
  • Bug fix
  • Documentation

Breaking changes

None to the existing renderer, verifier, narration, or FCPXML interfaces. Invalid generation approvals and selections fail before rendering.

Related issues

Companion producer: trilogy-group/ttv-pipeline#21

Additional notes

Selected generated clips need matching aspect ratios and frame rates for the existing concat renderer. Creative review metadata is maintained by the agent; the CLI validates the generation contract and approval lineage. Live GCS transfer remains unverified, and no new paid provider calls were made for this update.

Record the primary H3 Max profile and its HTTP 403 account-balance
blocker separately from passing HTTP/RQ and secondary Veo acceptance.
Include measured render results and repeatable provider-neutral commands.

Validation: fresh 696-test unittest, ruff and mypy gate at implementation
head; real HTTP/RQ two-job import/render flow; real Veo render and verify;
22-case producer/consumer parity; docs links and git diff --check.
@kumanday

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-22T22:10:13.998859Z f902afc Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 13d62a1c65

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/media_tooling/generated_media.py Outdated
Comment thread src/media_tooling/generated_media.py
Record the real H3 Max provider chain passing unchanged consumer import,
selection, rendering and verification with normal audio normalization.
Distinguish measured source and preview properties and preserve raw billing
units separately from unknown USD costs.

Validation: shipped CLI handoff/render/media-verify acceptance, explicit
approved provider/model/shot/prompt comparison, ffprobe and audio levels,
documentation links and git diff --check. No source changes.

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a7820d39c0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/media_tooling/generated_media.py Outdated
Comment thread src/media_tooling/generated_media.py
Comment thread src/media_tooling/generated_media.py Outdated

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f902afcc6d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/media_tooling/generated_media.py
Comment thread src/media_tooling/generated_media.py
Comment thread src/media_tooling/generated_media.py Outdated
Comment thread src/media_tooling/generated_media.py Outdated
Reject duplicate variant IDs, missing required references, and substituted
reviewed keyframes. Trace recorded keyframe and image preparation inputs
and scope billing by result, scene, and attempt. Preserve portrait reframe
and transcript options in immutable EDL revisions.

Connect reviewed motion-graphics storyboards, visual evidence, and existing
provider spending permission to the TTV generation workflow.

Validation: 736 tests, Ruff, mypy, shared contract parity, and a fresh
producer-to-consumer pilot rendering and verifying both edit revisions.
@kumanday kumanday changed the title feat: integrate TTV generation with editorial EDL workflows feat: add approved TTV generation and editorial selection Oct 8, 2026
@kumanday
kumanday merged commit 5900c35 into main Oct 8, 2026
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