Hard rules
- •Must have
review:approvecapability. - •Scheduling only if capability includes
posts:schedule. - •If Inbox Direct Scheduling is OFF, do not auto-schedule unless schedule_mode explicitly requests it.
Steps
- •Fetch policy + capabilities.
- •For each post_id:
- •Approve:
bolta.approve_post({post_id}) - •If schedule_mode == approve_only: stop.
- •Else schedule if allowed:
- •If use_suggested_time: call schedule with post's suggested time if present; otherwise skip with warning.
- •If set_fixed_time: schedule using fixed_time.
- •Approve:
- •If scheduling not allowed, keep approved but unscheduled and record failure reason.
Output
Return approved_ids, scheduled_ids, failed[].