VibeDayAI Social Media Engine

Scheduler

Schedules pull from your approved-content queue and publish at the cadence you set. Pause, archive, and runway warnings included.

Status: M4–M11 SHIPPED (manual scheduling, Schedule entity + builder, week calendar + drag-drop, cadence resolver, Inngest publishing runtime, retry, stuck-processing reaper). Plus the 2026-06-15 additions below. Last updated: 2026-11-17 (posting limits on the post page and calendar)

Current status (as-built — 2026-06-15)

The publishing runtime is fully live across Facebook, Instagram, TikTok, and YouTube (YouTube is video-only). The following supersede/augment the older sections below; where they conflict, this section is authoritative:

  • Workspace time zone (post limits R2, 2026-11-17; design docs/design/post-limits.md §D2). Each workspace has one clock, its time zone, set in Settings → Account → Workspace → Time zone (a searchable list of time zones such as "America/New_York (New York, GMT−5)"; the owner and admins can change it, other members see it). Hover note: "VibeDay counts your posts per hour and per day in this time zone, and shows your calendar in it. Each recurring schedule can still keep its own time zone."

    • Where it comes from. A new workspace takes the owner's browser zone at sign-up (the trial-started page). An existing workspace took the zone most of its recurring schedules use (migration backfill; a tie goes to the newest schedule). A workspace with neither is filled from the owner's browser on their next visit, and the calendar then shows a one-time line, "Your calendar now shows New York time. Change" (until dismissed). Until it is filled, VibeDay uses New York time, and says so wherever a time is shown — never a silent guess. A stored value the system can't use falls back to New York time with a Sentry warning.
    • Calendar. The week and month boards (/calendar) show days and times in the workspace zone (before: each viewer's browser zone), named in the toolbar: "Times in New York time". "Today", "This month" and the default week are the workspace's. A viewer whose browser is in another zone gets Show in my time, which redraws the grid in their own zone (remembered per viewer in the browser; it changes only what they see). A drag keeps the post's time of day in the zone shown, DST included. A recurring schedule's own page (/schedule/[id]) still draws its week in that schedule's zone.
    • Every time picker (publish dialog "When to publish", the calendar's "Reschedule to", a schedule page's "+ Add post", the pipeline's "Schedule pipeline → Starting") shows and reads its wall clock in the workspace zone, named under the box ("New York time"); a viewer elsewhere also sees their own time ("New York time · = 11:00 PM your time", with the day when it differs). A time that doesn't exist on a DST spring-forward night moves forward by the gap (2:30 AM → 3:30 AM); a time that happens twice on a fall-back night means the first one. The "tomorrow 9:00 AM" defaults are the workspace's tomorrow. Each picker has a ? hover note.
    • New recurring schedules start in the workspace zone (/schedule/new); each schedule can still be set to its own zone.
    • From R3, posts per hour and per day are counted in this zone.
  • Posting limits: what you see (post limits R3, 2026-11-17; design docs/design/post-limits.md §4, §D7, §D8). Your plan sends up to a set number of posts each hour, each day and each billing period (counted as in "How posts are counted" below; the hour and day in the workspace time zone). When one of those is used up, a post that comes due is not sent to the accounts that are over: nothing reaches the platform and nothing is counted.

    • On the post page (Schedule section; a stopped post's History opens by itself). The account shows an amber Not posted badge (never red "Failed", and no Retry), with a hover note, and what happened, which never changes: "Your plan sends up to 4 posts an hour, and 4 went out between 2:00 and 3:00 PM." Under it, a line worked out each time the page is shown: "You can post again at 3:00 PM." and one button, Post at 3:30 PM (the first time your plan has room for it, keeping your post's minute for an hourly limit or its time of day otherwise), or "You can post now." and Post now once there is room (after an upgrade, a refunded send, or the window ending). If nothing fits in the next 35 days the button is Pick a time, which opens the publish dialog. A billing-period stop also offers See plans (Settings → Billing). The button schedules the same post again, only to the stopped accounts, through the normal scheduling path; the new one appears under Upcoming, and the stopped one stays in History as "Not posted". The times are named ("Times in New York time"). When several accounts on one post were stopped, the line and the button appear once, under the list, naming them ("TikTok and YouTube: …"). If every unsent account on a post was a limit stop, the post's own badge is amber Not posted too.
    • On the calendar. A card a limit stopped is amber and reads Not posted (limit), or, when some accounts went, e.g. "3 posted · YouTube not posted (limit)" (month view: on the chip). When your plan sets a daily limit, each day shows a chip with posts sent against it, e.g. 8 / 12 (amber when full); the chips are hidden while Show in my time draws the grid in another zone. While a plan window is used up, an amber banner says so: "Hourly limit reached: posting resumes at 3:00 PM. 2 posts are due before then." with Move them. It disappears the moment there is room.
    • Move them. Opens a sheet (from the banner, or from the "posting limit reached" notification's link, /calendar?move=limited) that works out new times when it opens: "2 posts will move · Wed 2:45 PM → 3:45 PM · Wed 2:50 PM → 4:50 PM" ("(next period)" when a move crosses into the next billing period). Move moves them all (the blocking overlay shows while it runs); any post that couldn't move is listed with the reason and stays where it was. A post with no free time in the next 35 days is listed but not moved. Cancel, Escape or a click outside closes it.
    • Dragging into a used-up window. You can still drag a post anywhere. If its new time falls in an hour, day or billing period whose posts have already gone out, the move stands and a message says so ("Today's 12 posts have gone out, so a post at 6:00 PM today won't be sent.") with Undo, which moves it back to its old time.
    • Help. The calendar's title has a ? help drawer explaining posting limits, "Not posted", the chips, the banner and Move them.
  • Platform limits (post limits R4, 2026-11-18; design docs/design/post-limits.md §D6, §D7). VibeDay also keeps every connected account below its platform's own limit, whatever your plan allows: to start, up to 50 Instagram posts, 25 Facebook posts, 15 TikTok posts and 10 YouTube uploads per account in any 24 hours (VibeDay's admins can change these). For Instagram, VibeDay also reads Instagram's own count just before sending, so posts you made with other apps are respected too.

    • When an account is at its limit the post is not sent to it (nothing reaches the platform, nothing is counted). The post page shows amber Not posted with what happened ("VibeDay sends up to 50 Instagram posts per account in 24 hours (Instagram's own limit is 100), and 50 went out to @lemonco."), a line worked out live ("You can post to @lemonco again at 9:40 AM.") and one button keeping your time of day (Post tomorrow at 9:00 AM). You get one message for that account that day.
    • When TikTok itself refuses. "TikTok says @lemonco has reached its daily limit for posts made through apps, so nothing was posted." with Post tomorrow at 4:00 PM. If TikTok has blocked the account from posting, the row is a red failure, "TikTok has blocked @lemonco from making new posts… once TikTok lifts it, retry." — no time is offered, and you get the usual "Post failed" message.
    • VibeDay's own limits — the post waits and is sent for you. YouTube gives VibeDay one daily upload budget shared by every customer (each workspace has a fair share of it), and TikTok caps how many accounts can post through VibeDay in a day. When one of those runs out, the post isn't lost: it shows amber Waiting for YouTube ("YouTube is limiting uploads through VibeDay today. We'll send this to YouTube automatically after 12:00 AM Pacific (3:00 AM your time). Nothing to do.") or Waiting for TikTok ("…This limit is VibeDay's, not yours. We'll send this to TikTok automatically tomorrow."), you're told at once (one message per day), the post's other accounts go as normal, and VibeDay sends it after the reset. It is never shown as "Post failed".
  • Declared post type (per account). The publish modal shows, and freezes, the declared post type — Feed, Reel, Story, Short — as a "Reel · 9:16"-style chip on each selected account row, so the scheduled post publishes to the exact native format you previewed (IG Story, FB Reel/Story, YouTube Short each go to their own endpoint). Frozen onto ScheduledPostTarget.postType; the publisher dispatches on it. See docs/functional/platform-preview.md.

  • Posting guardrails (pre-flight + publish-time). Before a post goes out, the asset is validated against the target platform's media spec (duration, file size, format, carousel count). The publish modal shows per-platform warnings (GuardrailWarnings) with a "post anyway" acknowledgement gate (warn, don't block). At publish time, the publisher short-circuits a doomed post — on a will_fail it skips the partner call and returns errorClass: "spec_violation" with the clear reason (src/lib/publishing/publisher.ts). See posting-guardrails.md.

  • Live failure reporting. The generation Schedule section and the week calendar now poll while any post is in flight (LiveRefresh / usePollingRefresh), so a post flips to POSTED / FAILED live — with the actionable reason + per-target Retry — without a manual reload.

  • AI-content labels (2026-10-09). Each platform's AI disclosure is set at publish time, by one rule: media VibeDay's AI generated (AI_GENERATED) is always labelled. Everything that started as the user's own media (uploads, web imports, AI_CLIPPED shorts cut from their footage, and their edits and exports) may or may not be AI, so it carries the user's declaration from the publish dialog. "Made in VibeDay" never means "AI-generated" (operator, 2026-10-09). TikTok → is_aigc ("Creator labeled as AI-generated"). For a photo post it goes on the request body, where TikTok's photo API reads it; a video keeps it in post_info (fixed 2026-10-18: AI photo posts before then reached TikTok without the label). Instagram → is_ai_generated ("AI info", Instagram Platform changelog 2026-06-22). It can only be set when the post is created, so the dialog shows an AI-generated content switch on every selected Instagram account, locked on for VibeDay-AI media; ScheduledPostTarget.settings = { aiGenerated }. On carousels it goes on the carousel container only; a Story container that rejects it is retried once without it, with a Sentry warning. AI voice-over reminder (2026-10-09, Sound toolkit Wave 1). When the post's media is a Studio Editor export whose rendered timeline (RenderJob.editState, the snapshot that was rendered) has a typed AI voice-over that's heard (an audio item with typedVoice, track not muted, volume above zero; exportHasTypedAiVoiceOver in ai-provenance.ts), the Instagram and TikTok AI-generated switches show one line: "This video has an AI voice-over." It's a reminder only; the switch stays the customer's choice and is never turned on for them. YouTube → status.containsSyntheticMedia ("altered or synthetic content", YouTube Data API videos.insert). Hardcoded true on every upload until 2026-10-10, which labelled customers' real footage; now the same rule: each selected YouTube channel's panel has an AI-generated content switch under Visibility, locked on for VibeDay-AI media, otherwise off unless the customer turns it on; ScheduledPostTarget.settings = { privacy, aiGenerated } (youtubeSyntheticMediaLabel in youtube-settings.ts). Posts scheduled before 10-10 carry only { privacy } and publish unlabelled unless the media is VibeDay-AI. No AI voice-over reminder on YouTube: its disclosure help lists realistic visuals, not AI voices. Facebook → no label yet: Meta documents is_ai_generated for Page Stories only, not Reels or feed video, which are what we publish.

  • Verified publish (no false success, 2026-08-09). Async platforms (TikTok Direct Post, Facebook video/reel) ACCEPT a post before it's actually live, so "accepted" is never shown as "Posted". Such a target sits in PROCESSING ("Publishing…") while the publish flow polls the platform's real status endpoint (confirmPublication), flipping it to POSTED only once the platform confirms it's live — or FAILED with the platform's own reason (e.g. TikTok photo_pull_failed, a spam/rate limit) if it didn't. The success notification fires only after confirmation. Instagram, Facebook photo/feed, and YouTube confirm synchronously and skip PROCESSING.

  • "Not confirmed" (2026-10-13). The confirmation poll backs off over ~38 min (CONFIRM_SCHEDULE_SECONDS in src/lib/publishing/confirm-schedule.ts; it was ~4 min, which failed a public TikTok carousel mid-processing). TikTok's docs say moderation of a public post "usually finishes within one minute" but "may take a few hours". If the platform still hasn't confirmed at the end of the window, the target shows an amber Not confirmed badge (not a red failure) with: "TikTok accepted this post but hasn't confirmed it's live yet — TikTok can take a few hours to review a post. We'll keep checking and update this automatically. Before retrying, check your TikTok profile: if the post is already there, retrying would post it twice." If nothing else on the post went out, the notification says "Post not confirmed yet", not "failed". The 15-min housekeeping cron then re-checks it by status lookup only (never a re-publish) for 72 h: if TikTok confirms, the row flips to Posted with its link, the post's status and failure note are re-derived and the workspace gets "Your TikTok post is live". If TikTok reports a failure, the note is replaced with TikTok's real reason. After 72 h the "Not confirmed" note is the final state. Facebook video/reel rows get the same treatment. Rows with the pre-fix wording ("The platform didn't confirm…") are re-checked too.

  • How posts are counted (2026-11-16). One post = one send to one connected account, of any kind: a video sent to four accounts is four. A send counts from the moment VibeDay hands it to the platform, and keeps counting unless the platform says nothing went out (its refusal, or a confirmed failure, takes the count back, in the hour, day and billing period the send was made). A send we can't confirm ("Not confirmed") keeps its count: it may have gone out. A retry is its own send. Deleting a post later does not take its count back. Settings → Billing's "Published posts" meter shows this count for the billing period.

  • A send interrupted mid-call (2026-11-16). If publishing stops while a post is being handed to a platform (the job died or a deploy landed), we can't tell whether it arrived. Ten minutes later the account shows the amber Not confirmed badge with: "We can't tell whether this reached @account: publishing stopped while it was being sent. Check @account on TikTok, and retry only if it isn't there." Same badge and Retry as the 38-minute case.

  • "Couldn't check" (2026-11-16). Just before each account's send, VibeDay takes a short per-workspace turn so two posts can never be counted at once. If that turn can't be had within 20 seconds, or the database didn't answer, that account is not sent and shows: "VibeDay couldn't check this account's posting limits just now, so nothing was posted. Retry now; it usually works." The post's other accounts are still sent.

  • Failure classification (classifyFirstFailure) buckets failures as spec_violation / token / permanent_rejection / rate_limit / permissions / network / other for the POST_FAILED telemetry + notification.

  • Stuck-progress reaper is the general in-progress backstop (function id stuck-processing-reaper, 15-min cron): ScheduledPost PROCESSING→FAILED, Publication PROCESSING→FAILED (async-confirm interrupted; the publish run heartbeats updatedAt on each confirmation poll, so a live wait is never reaped) and Generation GENERATING→FAILED after 10 min, Asset PROCESSING→FAILED after 6h.

  • Publishing is per-post deferred Inngest events (each ScheduledPost fires its own event at scheduledFor with a stale-check), NOT a polling cron.

⚠️ The older "What's NOT yet active" (M4) and "Planned (M5/M7)" / "Intended shape" placeholder blocks near the end of this doc are superseded — those features (publishing runtime, recurring schedules, calendar, OAuth connect, failure reporting) are all shipped. Treat them as historical.

Schedules (M5, top-level)

Click Schedule in the dashboard nav → land on /schedule. Each Schedule is a named, persistent, auto-publishing rule with its own:

  • Cadence — days of the week + times of day (e.g. "Mon–Fri at 9am and 5pm")
  • Time zone — IANA name; cadence times are interpreted in this TZ so a Pacific schedule keeps firing at 9am Pacific regardless of where you log in from
  • Source — Manual (you add specific approved posts) or Campaign pipeline (VibeDay auto-fills from a campaign's approved drafts)
  • Rotation policy — Once-only (each generation publishes at most once) or Reusable after N days
  • Targets — per-Schedule list of connected platform accounts. Different schedules can target different account combinations.
  • Runway warnings — alerts when the predicted content queue runs low (default: 5 days)
  • Lifecycle status — Active, Paused, No content, Completed, Archived

Building a schedule

  1. Click + New schedule on /schedule
  2. Fill in the builder:
    • Name — pick something descriptive ("Daily drumbeat", "Q4 launch push")
    • Source — Manual or Campaign pipeline (pick the source campaign if the latter)
    • Cadence — toggle days of week, add/remove times of day, pick start + optional end date, pick timezone
    • Targets — checkbox each connected account this schedule should publish to
    • Rotation — once-only (default) or reusable after a cooldown
    • Runway warning — set the threshold (default 5 days) or 0 to disable
  3. Click Create schedule → land on the schedule's detail page

Schedule lifecycle

  • Pause any active schedule from its detail page — the cadence resolver skips it and no new posts get scheduled (existing scheduled posts continue unless cancelled individually)
  • Resume a paused schedule to return it to active
  • Archive a schedule when you're done with it — keeps the history; hidden from the default list

Calendar view (M6)

The Schedule detail page (/schedule/[id]) now shows a week calendar of every scheduled post in this Schedule. Each day is a column with:

  • Date header (today highlighted in sky blue, past days dimmed)
  • Posts for that day, listed chronologically as cards
  • Each card shows: image thumbnail, platform-icon row (FB/IG/TT), scheduled time, status dot, first ~100 chars of the Instagram caption
  • Click a card → opens the post's full generation detail page

Adding posts to the schedule manually

Until the M9 cadence resolver lands, posts don't auto-fill from the cadence. Until then (and any time you want to insert a manual post):

  • Top-right "+ Add post" button on the calendar, OR
  • Click "+ Add" inside any empty future day cell

This opens a modal:

  • Approved post — radio list of READY generations not yet scheduled. For CAMPAIGN_PIPELINE schedules, filtered to that campaign's generations. For MANUAL schedules, shows all approved across the workspace.
  • When — datetime picker (your local time, must be in the future)

The schedule's configured target accounts are used automatically — you don't pick targets per post.

Calendar navigation

  • ‹ / › prev/next week
  • Today button jumps back to current week
  • URL carries ?week=YYYY-MM-DD so calendar views are deep-linkable / sharable

Drag-and-drop + click-to-edit (M7)

You can now reorganize your week visually:

  • Drag a card from one day column to another. Press and hold (or click and drag), drag over the target day, release. The card's date moves; the time of day stays the same. The target column highlights as you hover.
  • Drag is keyboard-accessible — focus a card with Tab, press Space to pick it up, arrow keys to move between days, Space again to drop.
  • Click the time on any card → popover with a datetime picker for precise time adjustments + a "Cancel scheduled post" link.

Conflict handling:

  • If you try to drop a post at the exact same minute as another scheduled post on the same account, VibeDay blocks the move and shows an error. Move it a minute or two off.
  • If you move a post within 30 minutes of another scheduled post on the same account, VibeDay allows the move but warns you with a toast. Useful for back-to-back posts; you can adjust if not intentional.

Past days dim out and reject drops. Cards with status other than SCHEDULED (PROCESSING, COMPLETED, FAILED) aren't draggable — only scheduled-but-not-yet-published posts can be moved.

Cadence resolver + runway prediction (M9)

Campaign-pipeline schedules auto-fill themselves. When you create one with a source campaign, VibeDay walks the next 7 days of your cadence and creates a ScheduledPost for each slot, pulling READY generations from that campaign in order. The resolver runs:

  • Immediately when you create or resume a schedule (so the calendar fills in within seconds — no waiting)
  • Once daily at 00:15 UTC for every ACTIVE schedule across the system (catches anything new approved overnight, advances the 7-day window each day)
  • On demand via the Refresh queue button on the schedule detail page — useful after you approve a batch of drafts and want them slotted in now instead of waiting for the cron

Manual schedules don't auto-fill. You add posts yourself from the calendar's + Add button. The resolver still runs to compute your runway based on the upcoming posts you've added.

Runway prediction

The new Runway panel at the top of every schedule detail page shows:

  • Runway in days — how long your current queue will keep publishing before you run out. Color-coded: green = healthy, amber = below your warning threshold, red = empty.
  • Upcoming post count — total SCHEDULED posts queued for this schedule
  • Slots / week — your cadence rhythm
  • Last checked — when the resolver last ran

The runway is the first cadence slot you can't fill. Example: cadence "Mon/Wed/Fri at 9 AM" = 3 slots/week. If you have 6 approved generations queued, runway = 2 weeks.

Rotation policy

  • Once-only: each approved generation publishes exactly once and is then retired from the pool. CANCELLED posts free the generation back up.
  • Reusable after N days: a generation can be re-scheduled after a cooldown window. Use this for evergreen content you're happy to re-share.

Notifications

When your runway drops below your threshold (default 5 days), VibeDay sends a Schedule queue running low notification (in-app + email by default). When it hits 0, you get Schedule out of content and the status flips to OUT_OF_CONTENT. The moment you approve more content and the resolver runs, status flips back to ACTIVE. The low-warning is rate-limited to once per 20 hours per schedule so the daily cron doesn't spam you.

Publishing runtime (M10)

When a scheduled time arrives, VibeDay publishes for you:

  • Each ScheduledPost fires its own deferred Inngest event at the exact scheduledFor time — no big polling cron, no minute-by-minute scan
  • Per-target publish: a post targeting Facebook + Instagram makes two independent platform calls; each gets its own Publication row with the result
  • Per-target outcomes show up on the generation detail page under Schedule: each target row gets a POSTED / FAILED badge, and POSTED rows include a View → link to the live post on Facebook / Instagram / TikTok
  • Failures don't take down the whole post — partial-success is COMPLETED with the failed targets listed; full-failure flips to FAILED
  • The publisher distinguishes between temporary errors (a rate limit, a network failure, a platform server error — the post says what happened, and you retry it with Retry or ask your assistant to; VibeDay doesn't re-send these on its own, except for YouTube's daily limit, below), permanent errors (copyright rejection — recorded, no retry), and token errors (flips the account to needs reconnect and sends a notification). Instagram connections are renewed automatically before their 60-day expiry (daily job, 2026-10-16), so a connected Instagram account no longer quietly stops working at day 60.

Cancel + reschedule still work cleanly: cancel flips DB status so the deferred event no-ops when it fires; reschedule sends a fresh event for the new time, and the old event's stale-check skips it.

Publish now is greyed out while the post's video is rendering (2026-10-03, operator decision). On a post whose own video or image is still being made (a Studio Editor export, or anything else still processing), Publish now is disabled, with a note beside it: "You can't post yet: your video is still rendering. It usually takes 1–5 minutes — this button turns on by itself when it's ready." ("image" and "a few seconds" for an image), and a ? hover note explaining that Schedule for later stays open. The page refreshes itself when the render lands, which turns the button on; no reload needed. Writing captions and Schedule for later stay available throughout. Every way of posting this post right away follows the same rule: the publish dialog (its Publish now option is off and any opener lands on Schedule), the preview's "Publish to your platforms" button, a time within the next 2 minutes, a calendar move to right now, and Retry on a failed target (shown greyed with the reason). The server refuses the same cases, so nothing gets around it. If the render failed, Publish now stays off (and scheduling is refused too) with the note "your video didn't finish rendering. Open it in the Editor and Publish or Export again. If it keeps failing, contact support@vibeday.com."

Scheduling a post whose video is still exporting (2026-10-03). A post made in the Studio Editor exists while its export is still rendering. Scheduling it for a later time is fine: if the post comes due before the export is ready, it waits for the export — the top of the post says "Waiting to post: your video is still exporting", the Schedule list keeps it under Upcoming with a "waiting for the video to finish exporting" pill, and the editor's publish track shows Posting · After the render. As soon as the export is ready, each platform's crop is made and the post goes out. The wait is bounded at 45 minutes (longer than the export's own deadline). If the export fails, or still isn't ready by then, nothing is posted, the post is marked failed, and the page says so in plain words ("Not posted: the export didn't finish" + Open it in the Editor and export again / publish again when it's ready) — never "Generate media first". Publishing a post whose export already failed is refused up front with the same next step.

No double posts (2026-10-03). While a publish of a post to an account is under way (due and not yet out, waiting for its export or a platform's version, or posting), publishing the same post to that account again is refused — the dialog shows "Already publishing to TikTok (@you): started 3 minutes ago" and disables Publish; untick that account to post elsewhere meanwhile. A deliberate re-post stays possible: if the post went out to an account in the last 24 hours, Publish now asks you to tick "Post it again" first ("This was posted to TikTok (@you) 12 minutes ago"). Scheduling for a later time needs no confirmation. The server enforces both rules (schedulePostAction → src/lib/scheduling/publish-guard.ts), so a second tab or a stale page can't get round them.

Note on App Review (updated 2026-08-23): these scopes are approved and live — Meta pages_manage_posts / instagram_business_content_publish (verified in the App Review dashboard) and TikTok video.publish (app approved 2026-05-28, Content Posting audit approved 2026-07-31, public posting verified 2026-08-10). The only Meta items still Not approved are pages_manage_engagement (FB comment replies) and Human Agent (>24h DM replies) — see docs/technical/meta-app-review-resubmit-2026-08.md; neither blocks publishing. The paragraph below describes how the runtime behaves when a scope IS missing, which remains accurate for any future un-approved scope. Until they're approved, the platform APIs reject our requests with permission errors — the runtime correctly surfaces those as FAILED publications with the message "App Review pending; posts will start going through automatically once approval lands." The moment the scopes land, everything works without code changes.

Polish (M11)

A few quality-of-life additions that round out the publishing flow:

  • Retry failed targets. Every FAILED Publication on the generation detail page now has an inline Retry button. Click it and VibeDay re-fires just that target through the publish runtime — no need to reschedule the whole post or worry about double-publishing the targets that already succeeded. The post's status updates automatically (a partial-failure that becomes fully successful flips back to Completed).
  • Multi-platform per-post preview. The generation detail page now shows side-by-side mockups of what the post will look like on Facebook, Instagram, and TikTok — using the platform-specific caption that the publisher will actually send (with hashtags appended). Catches issues like "the Facebook caption is fine but the Instagram one is empty" before you schedule.
  • Schedule list filtering. The schedule list now has Active / All / Archived tabs with row counts. Default is Active so you only see what's running today; flip to All for paused + out-of-content schedules, Archived for the historical record.
  • Stuck-publish recovery. If the publisher crashes mid-publish or a deploy interrupts it, a 15-minute background reaper finds posts stuck in PROCESSING > 10 minutes and flips them to FAILED with a clear "publish timed out — click Retry" message. So a deploy can never leave a post in limbo.

Not yet live

  • Month view + brand/campaign/platform filters on the calendar — follow-up

What's shipped (M4)

Once you've approved a generation (status: READY) and connected at least one platform account (Settings → Platform connections), the generation detail page shows a Schedule card.

Scheduling a single post

  1. On a READY generation, open the Publish split-button → Schedule for later (or use the "schedule for later" link under the platform preview).
  2. A modal opens:
    • When to publish — a datetime picker (your local time, must be in the future). It starts empty so the time is always a deliberate choice — a pre-filled default previously let a post get scheduled for a time the user never picked. A "Use tomorrow 9:00 AM" shortcut fills a sensible default in one click.
    • Publish to — checkbox list of every connected, ACTIVE platform account (Facebook Pages, Instagram accounts, TikTok accounts)
  3. Pick a time and at least one account. The Schedule button stays disabled until a valid future time is set, and once set it echoes the exact time (e.g. "Schedule for Fri, Aug 7 · 9:00 AM") so the outcome is unmistakable before you commit.
  4. The scheduled post appears under Upcoming in the generation's Schedule card, and on the Calendar (/calendar) alongside every other scheduled post. A "View on calendar →" link on the Schedule card jumps straight to its week.

Calendar vs Schedules (two surfaces)

The Publish nav splits scheduling into two distinct surfaces:

  • Calendar (/calendar) — a workspace-wide view of every scheduled post, whether you scheduled it individually (a one-off) or it came from a recurring schedule (auto). Toggle Week (full cards with thumbnails) or Month (a 6-week grid of compact chips — no thumbnails, so a busy month loads instantly). Preset tabs sit above a filter bar — narrow by source, platform, status, brand, campaign, or who scheduled it (all URL-encoded, so a filtered view is shareable). Built-in tabs All · Mine, plus saved views: set up any filter combo and hit “+ Save view” to keep it as a named tab you can re-apply in one click (saved to your account, synced across your devices; delete with the ×). Tag any post into a campaign from its Schedule card so it can be filtered on the calendar (optional — a post can stand on its own). In Week view you can drag a scheduled post to another day to reschedule it (keeps the time; only SCHEDULED posts are draggable, and you can't drop into the past), or click a post's time to reschedule/cancel with a picker. Posts scheduled by someone who has since left the team stay on the calendar, attributed as a former member. Approvers also see an amber "N awaiting approval" chip that jumps to the pending-approval list (unapproved posts aren't on the calendar — a gate blocks them until approved). This is where a one-off post lives (it isn't tied to any recurring Schedule).
  • Schedules (/schedule) — the recurring cadence rules that auto-pull approved drafts and publish them on a repeating schedule. A separate concept from the Calendar (which shows the resulting posts).

Cancelling

Each upcoming scheduled post has a Cancel link. Click it → confirm → the row flips to CANCELLED and is moved to the History section. The post will not publish.

Re-scheduling

Cancel and create a new schedule. (Direct reschedule lands in a follow-up.)

Status badges on scheduled posts

  • SCHEDULED (sky blue) — queued for the future
  • PROCESSING (amber) — currently being published (M6+)
  • COMPLETED (green) — published successfully (M6+)
  • FAILED (red) — publish failed; the failure reason shows below the row (M6+)
  • CANCELLED (grey) — cancelled by user before publish

What's NOT yet active

  • The actual publishing doesn't fire yet — M6 wires the Inngest runtime that picks up SCHEDULED rows at their scheduled time and calls the platform API. Until then, rows sit in SCHEDULED status.
  • Recurring schedules (cadence — "post 2x daily forever") land in M5.
  • Calendar / queue views at /schedule land in M8.

Planned (M5 — recurring posting plans)

You'll be able to set up a Posting Plan that auto-publishes from your approved topic queue on a cadence:

  • "Post 2x daily at 9am and 5pm, M-F, forever"
  • "Post once a week on Sunday at 6pm"
  • "Post daily for the next 30 days"

Each plan has its own target accounts (Plan A → Instagram only, Plan B → Facebook + TikTok), brand / campaign filters (only pull from a specific brand or campaign's approved generations), and rotation rules (default: each generation is published only once; you can mark specific ones for reuse).

Queue depth notifications (M7)

VibeDay calculates how many days of approved content your active plans have available. When the runway drops below the threshold (default: 5 days), you'll get:

  • An in-app banner on the dashboard
  • An email warning you to approve more drafts or add to the topic pipeline

Failure reporting (M7)

When a publish fails, you'll get:

  • Email with the platform's actual error message
  • A suggested fix where possible (e.g., "TikTok rejected the post for copyright. Disable this topic or edit the content.")
  • The failed scheduled post stays visible with the failure reason so you can retry or skip

For the technical shape (DB models, eligibility resolver, action catalog), see docs/technical/data-model.md and docs/technical/server-actions.md.

The scheduler is where you take a READY generation and queue it to publish on a specific date and time to specific platform accounts.

Intended shape

  • Schedule a generation: from the generation detail page, pick a date + time + target platform account(s) → creates a ScheduledPost
  • Calendar view: week / month grid of upcoming publishes
  • Queue view: linear list of upcoming, processing, completed, failed publishes
  • Per-target publication tracking: each scheduled post can target multiple platform accounts; we track success / failure per target with retries

Dependencies (must land first)

  • OAuth flows (Sprint 4) — Meta + TikTok OAuth callbacks at /api/oauth/[platform]/callback/. Without connected platform accounts, there's nothing to publish to.
  • Platform Account model — encrypted token storage already in the schema (PlatformAccount), but the connect flow isn't built yet.
  • Inngest publish job — background job that pulls due ScheduledPost rows, decrypts tokens, calls the platform API, writes Publication rows with externalPostId.

Eligibility for scheduling

Only generations with status: READY will be scheduling-eligible. DRAFT generations must be approved first (already in place — see generations.md).

A future eligibility rule (Sprint 5+) will block re-publishing a topic that's already been posted from a previous generation.


This placeholder will be replaced with full documentation when the scheduler ships.

YouTube daily capacity (pre-audit)

Until Google's API audit raises VibeDay's quota, YouTube accepts about 6 VibeDay publishes per day platform-wide. A post that hits the ceiling is not lost and nothing is wrong with it — its YouTube target shows "YouTube's daily publishing capacity is used up for today… will retry automatically tomorrow", and VibeDay re-publishes it automatically shortly after midnight Pacific when YouTube resets. The same applies when a channel hits YouTube's own per-channel daily upload cap. Other platforms in the same post are unaffected and publish normally.

If your subscription isn't active

Scheduled posts go out only while your workspace has an active subscription or trial.

  • Your subscription or trial has ended. Recurring schedules stop adding posts, and a post that comes due is not published. Each destination shows it as failed, with the reason: "This workspace has no active subscription. Choose a plan in Settings → Billing & usage, then connect your accounts and schedule your posts again."
  • A payment didn't go through. Posts you had already scheduled still go out for the first two weeks while the payment is being retried. After two weeks unpaid they stop until the open invoice is paid from Settings → Billing & usage.
  • Connecting a social account needs an active subscription too.

Nothing you have made is deleted by any of this.


Still stuck?

Email support@vibeday.com with what you're trying to do and a screenshot if it helps — we'll write back within one business day.