Repository navigation
feat(handoff): posting.json per film; a posting dispatch is draft-only - #15
Merged
Merged
Conversation
…-only posting.anyrouter.dev is taking over the nightly schedule. It dispatches render-video with requested_by=posting and reads <tag>/posting.json out of the posting-drafts artifact. That run counts as unattended: draft Release only, no YouTube, no regen, no force. The GitHub schedule stays until posting is live. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
posting.json copy (X, LinkedIn, YouTube description) linked bare anyrouter.dev for model-drop films, which had no link hook. 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.
What changes
posting.anyrouter.dev is taking over the nightly film schedule (duyet/anyrouter#6688). This PR is the additive half of the contract. The GitHub
schedule:stays until posting dispatches on its own, so there is never zero or two schedulers.render-video.ymlgets arequested_byinput (ownerdefault, orposting). A posting dispatch is aworkflow_dispatchnobody pressed, solib/publish.mjsisUnattended()now treatsREQUESTED_BY=postinglikeschedule: draft Release only, no YouTube, no replace. The decide step refusesregenandforcefor it.lib/handoff.mjswritesposting.jsonbesidepost.mdin eachposting-draftsfolder (schemaanyrouter.posting-film/v1).draftis posting'sAgentDraftJSON keyed on the Release tag, with the film as a sha256-keyed media item. Beside it are the film file name, sha256, bytes, frame size, the cover name andmodel_ids(new optional kind hookmodelIds, set on model-drop). Copy links point atkind.link, never the draft Release, which is not public.posting reads
<tag>/posting.jsonout of the artifact with ranged reads (no full zip download), so the artifact name and layout are now a contract (README).Order
wf_model_videodispatches withrequested_by: posting, polls, imports.schedule:the hour the owner enableswf_model_video.youtube.ymlonce posting's YouTube publish is verified.Verification
node --test: 202 pass, 0 fail. New cases: a posting dispatch is refused YouTube, non-draft and replace, then makes exactly one draft Release;posting.jsonholds only AgentDraft keys, the right sha256, and no github.com link; the workflow refuses regen and force for posting. Mutation check: removing theREQUESTED_BYclause fails the posting dispatch test.🤖 Generated with Claude Code