magpie/app/db
Alan Weinstock c2f036ab21 feat: Plan C — BlogPostStrategy and migration 017
Adds blog_post campaign type that publishes directly to the CircuitForge
website via Directus CMS. Implements PostingStrategy ABC with:
- supports_dupe_guard() → False (blog posts run on demand, no weekly guard)
- execute() → wraps publish_blog_post() from directus.py
- tags stored as JSON string in DB, decoded at post time

Migration 017 adds slug, tags, seo_description columns to campaign_variants.
Poster merges variant blog fields into extra dict before strategy execution.
Seed script updated with blog campaign (id=9, target=blog/main).
Registry updated; 6 new unit tests added.
2026-05-25 14:43:43 -07:00
..
migrations feat: Plan C — BlogPostStrategy and migration 017 2026-05-25 14:43:43 -07:00
__init__.py feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
store.py feat: Plan C — BlogPostStrategy and migration 017 2026-05-25 14:43:43 -07:00