Files
wyt 65286ee034 Require a complete real video production before submission
Upgrade the raw-render smoke case into a nine-second, three-scene production driven through the built OVS CLI. Prepare/reconcile, snapshot, draft, burn captions and verify the delivered file; assert full decoding, scene order, visible motion, audio across all scenes, actual caption pixels and wrong-duration rejection. Preserve optional review artifacts outside the checkout.

Wire this case into pnpm verify, already used by CI. It uses local original graphics and instrumental audio without paid services. Video duration is checked independently from AAC tail padding, within the existing delivery tolerance.

Validation: the production case and pnpm verify passed before this commit; all six source sync verification commands passed on the same candidate, with executed-case evidence and content-hash stability.

Prompt audit:
- Keep the pre-commit/PR production requirement in AGENTS as a resident repository workflow rule: a contributor must know it before invoking Git, where an on-demand production skill may never be loaded. The executable requirement belongs to pnpm verify and the sync checker; AGENTS only defines when to run it and inspect evidence.
- Keep command details and retained-artifact usage in the on-demand README; no duplicate production approval flow or Agent/Skill instruction is introduced. The user explicitly requested actual test-video production before submission.
2026-09-10 12:13:47 +08:00

28 lines
896 B
JSON

{
"name": "orkas-video-studio",
"version": "2026.9.10",
"private": true,
"type": "module",
"description": "Drive video composition, generation, and editing from your coding agent (Claude Code / Codex).",
"license": "MIT",
"packageManager": "[email protected]",
"engines": {
"node": ">=22"
},
"scripts": {
"benchmark": "pnpm --filter @orkas/video-studio-core build && node scripts/benchmark-core.mjs",
"build": "pnpm -r run build",
"test": "vitest run",
"test:video": "node scripts/test-video.mjs",
"test:video:e2e": "node scripts/test-video.mjs --e2e",
"test:watch": "vitest",
"typecheck": "pnpm -r run typecheck",
"verify": "pnpm build && pnpm typecheck && pnpm test && pnpm benchmark && pnpm test:video && pnpm test:video:e2e"
},
"devDependencies": {
"@types/node": "^22.10.0",
"typescript": "^5.7.0",
"vitest": "^2.1.0"
}
}