For agentic workers: implement this plan in order. Keep the branch isolated. Do not touch unrelated content, especially existing snippet edits.
Goal: Add a repo-root helper that dispatches Publish Social Snippets, starts the self-hosted runner when needed, and reports the workflow result.
Architecture: Keep the wrapper thin. Let it normalize arguments, manage the local runner process, and orchestrate gh workflow run plus run watching. Keep the actual publishing behavior inside the existing workflow and Python publisher.
Phase 1 Rules:
--platform value only.scripts/publish_social.py platform rewrite.Files:
Add: publish-socials.sh
--date, --ref, --runner, and --platform.--date to today.--ref to main.--runner to self-hosted.bsky to the workflow’s Bluesky name.twitter to X.mastodon, threads, instagram, linkedin, nostr, and pixelfed.~/dev/gurupanguji.github.io/actions-runner/run.sh is already active.github-hosted mode.gh workflow run "Publish Social Snippets" --repo gurupanguji/gurupanguji.github.io --ref <ref> -f date=<date>.-f platform=<single-platform> only when a platform is specified.Files:
Modify: .github/workflows/publish_social.yml
runs-on from the dispatch input
date and platform dispatch inputs
Files:
publish-socials.shModify: .github/workflows/publish_social.yml
shellcheck if available.bash -n publish-socials.sh.