Repository navigation
feat(jobs): route streams to sidecars as profile data - #184
Merged
Merged
Conversation
A stream a rule can neither copy nor re-encode but a file of its own can hold (a text subtitle for a browser) is now planned as a sidecar instead of dropped: Sidecar/StreamRule.sidecar declare it, _decide_stream routes it on the ENC "no" edge with no map, no note and no output position, and jobs.plan_sidecars/sidecar_suffix expose the plan to batch. The prediction and confirm_drops count such a stream as neither kept nor dropped. No shipped profile declares a sidecar yet, so --to web is unchanged until the batch step can write one (spec-subtitle-sidecars.md). Closes #178 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Change
profiles.Sidecar(frozen) andStreamRule.sidecar: Sidecar | None = None.jobs._decide_stream: on the ENC "no" edge a sidecar-accepted stream gets no map, codec, note or output position. One helper (_sidecar_of) is shared with_predict_unmapped(soverify_success/confirm_dropsdo not treat it as dropped or kept) andplan_sidecars.jobs.PlannedSidecar,plan_sidecars,sidecar_suffix,SIDECAR_NAME_PLACEHOLDER; decisions recorded in the spec's Decision log.WEBunchanged; lands in feat(profiles): write web's text subtitles as WebVTT sidecars #181).Verification
scripts\verify.py: lint, format, 1435 tests green; all existing argv pins untouched.Closes #178
🤖 Generated with Claude Code