Skip to content

Harden agent subtitle workflow for v0.0.6 - #1

Merged
ACAne0320 merged 6 commits into
mainfrom
codex/subtitle-quality-gates
Jul 17, 2026
Merged

Harden agent subtitle workflow for v0.0.6#1
ACAne0320 merged 6 commits into
mainfrom
codex/subtitle-quality-gates

Conversation

@ACAne0320

Copy link
Copy Markdown
Owner

What changed

  • Require translate check to pass completeness, budget, zero-budget, terminology, and deterministic quality gates before translation is marked done.
  • Detect copied source text, wrong target script, and repeated target runs.
  • Add bounded translate batch reads for context-safe 20-cue Agent workflows.
  • Block export on quality warnings by default and fingerprint export inputs/artifacts.
  • Reject stale or untracked workspace ASS files during burn.
  • Add fetch --max-height, expose runtime version/executable in doctor, and update the bundled Agent skills and usage docs.
  • Bump OpenBBQ to 0.0.6.

Why

A real pi + DeepSeek session could fill worksheets with English placeholders or repeated translations, report completion, manually edit derived artifacts, and burn an output that was no longer reproducible from the workspace. Long, unbounded worksheet reads and oversized video downloads amplified the failures.

Impact

The one-prompt bilingual subtitle workflow now fails safely on obvious translation corruption, keeps Agent context bounded, and preserves provenance between translation, export, and burn. Explicit draft escape hatches remain available.

Validation

  • ruff check src tests
  • ty check
  • pytest -q — 263 passed
  • CLI help/version smoke checks

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
openbbq-docs d36732c Commit Preview URL

Branch Preview URL
Jul 17 2026, 09:23 AM

@ACAne0320
ACAne0320 marked this pull request as ready for review July 17, 2026 09:24
@ACAne0320
ACAne0320 merged commit d8a3ac6 into main Jul 17, 2026
2 checks passed
@ACAne0320
ACAne0320 deleted the codex/subtitle-quality-gates branch August 2, 2026 18:47
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