Add UAT guardrails to pipeline YAML and fix playbook test

- animation.yaml: enforce audio architecture + provider comparison in
  proposal stage, Layer 3 skill gate + clip duration in assets stage
- video-reference-analyst.md: Step 6 is now a hard redirect forcing
  stage-by-stage pipeline execution
- Fix test_compatible_with_manifest for nested compatible_playbooks dict
This commit is contained in:
calesthio
2026-04-04 13:29:24 -07:00
parent 93de8effbe
commit fc6ff2248a
3 changed files with 33 additions and 3 deletions

View File

@@ -239,7 +239,10 @@ class TestStylePlaybooks:
def test_compatible_with_manifest(self):
manifest = load_pipeline("animated-explainer")
available = list_playbooks()
for name in manifest.get("compatible_playbooks", []):
compat = manifest.get("compatible_playbooks", {})
# compatible_playbooks is a dict with recommended/also_works lists
playbook_names = compat.get("recommended", []) + compat.get("also_works", [])
for name in playbook_names:
assert name in available, f"Manifest references unavailable playbook: {name}"