feat(video-routing): route real shot specs across direct/parallel/sequential - #43
Draft
zedarvates wants to merge 8 commits into
Draft
feat(video-routing): route real shot specs across direct/parallel/sequential#43zedarvates wants to merge 8 commits into
zedarvates wants to merge 8 commits into
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Implements the deterministic multi-subject routing core tracked in #40 and connects it to StoryCore-style shot specifications without coupling the project to any video model.
Routing core
DIRECT,PARALLEL, andSEQUENTIALgeneration strategies;Shot-spec adapter
subject_count,characters_present,subjects, an explicit subject list, or routing metadata;metadata.multi_subject_routingwithout changing the current core Shot dataclass;Tests
Covers DIRECT/PARALLEL/SEQUENTIAL boundaries, camera-motion normalization, metadata overrides, fail-closed subject counting, score validation, and ambiguous contact metadata.
Boundary
This PR chooses generation topology only. It does not render/composite media and cannot bypass semantic, structural or temporal validators. Parallel and sequential paths explicitly require intermediate validation.
Validation status
StoryCore currently has no general Python PR workflow; its GitHub Action is path-limited to
apps/storycore-harbour/**. Keep this PR draft until the targeted Python tests are run locally/self-hosted. No new hosted GitHub workflow is added here.Next step
Run:
pytest -q tests/test_multi_subject_router.py tests/test_shot_spec_router_adapter.pyThen benchmark three fixed multi-subject fixtures against the DIRECT baseline using reproducible manifests.
Tracks #40.