docmontage: add direct_clip_search tool for fast provider-agnostic clip acquisition

Adds a lightweight alternative to the corpus_builder + clip_search pipeline
that skips CLIP embeddings, motion scores, and index files. Uses the same
StockSource adapter protocol so it works with all providers (Pexels,
Archive.org, NASA, Wikimedia, Unsplash). Asset-director skill now documents
both fast path (direct search) and standard path (corpus + CLIP retrieval).
Pipeline manifest updated to make corpus tools optional.
This commit is contained in:
calesthio
2026-04-12 14:23:14 -07:00
parent 61fa591aa4
commit 0999eaddc7
3 changed files with 622 additions and 12 deletions
+10 -8
View File
@@ -90,28 +90,30 @@ stages:
- brief
produces:
- asset_manifest
required_tools:
required_tools: [] # fast path needs only direct_clip_search; standard path needs corpus_builder + clip_search
optional_tools:
- direct_clip_search
- corpus_builder
- clip_search
optional_tools:
- music_gen
tools_available:
- direct_clip_search
- corpus_builder
- clip_search
- music_gen
checkpoint_required: true
human_approval_default: false
review_focus:
- Corpus size is at least 8x the slot count
- Every slot has exactly one picked clip with score >= 0.22
- No clip_id is picked for two slots (exclude_ids enforced)
- diversify ran clean on the final timeline
- rejected_picks log has reasons for passes
- Every slot has exactly one picked clip
- No clip_id is picked for two slots
- Provenance (provider, original_url, license) present on every asset
- "Standard path: corpus size >= 8x slot count, scores >= 0.22, diversify ran clean"
- "Fast path: thumbnails inspected, cross-act reuse noted, gaps filled"
- rejected_picks log has reasons for passes (standard path)
success_criteria:
- Schema-valid asset_manifest artifact
- One video asset per scene slot
- metadata.corpus_stats present
- metadata.corpus_stats present (standard path) OR metadata.search_stats present (fast path)
- name: edit
skill: pipelines/documentary-montage/edit-director