← ClaudeAtlas

scheduled-publish-preflightlisted

Preflight for any scheduled, unattended, or cron-fired publishing run (ThumbGate content engine, social fan-out, longform syndication, outreach sends) BEFORE drafting or posting anything. Establishes the real date, detects whether this session is on Igor's Mac or an ephemeral cloud container, probes publish capability for real, and checks today's other runs for a duplicate beat including UNMERGED branches and open PRs. Use this whenever a run is about to write a content log row, pick a persona/beat, choose a branch or campaign id, or record a channel as Blocked — and especially when you are tempted to reuse a date or a blocker reason from a previous run instead of re-deriving it. Pairs with the blocked-run-still-ships skill, which governs what a run must produce once this preflight says publishing is impossible.
IgorGanapolsky/mac-yolo-safeguards · ★ 3 · AI & Automation · score 69
Install: claude install-skill IgorGanapolsky/mac-yolo-safeguards
# Scheduled publish preflight Scheduled runs fail in a specific, boring way: they inherit stale assumptions from the previous run and then build an entire run on top of them. Four consecutive ThumbGate runs (2026-08-05 → 2026-08-10) burned their budget this way. Every failure below actually happened; none of them were caught by the run that made them. Run these four checks first. They cost about a minute together and they protect everything downstream. ## 1. Establish the date from the clock, never from the repo ```bash date -u +%Y-%m-%d ``` Cross-check it against the date in your system context. If they disagree, stop and say so — do not pick one silently. **Why this is first:** on 2026-08-10 a run read the branch `content/2026-08-06-am` and the last log row (`2026-08-05`), inferred "today is 2026-08-06," and was wrong by four days. That single bad inference produced a wrong campaign id, a wrong branch name, a wrong PR title, wrong dates in every log row — and, worst, it made the run read the *wrong* morning run in check 4, so it duplicated that day's persona and meme. A whole run had to be closed and redone. Repo artifacts tell you what happened last time, never what time it is now. The most recent branch or log row is a lagging indicator, and on a run that fires late or after a gap it is guaranteed to mislead. ## 2. Detect where you are actually executing ```bash uname -s -m; hostname echo "$CLAUDE_CODE_REMOTE / $CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE" ls ~/.config/g