|
| 1 | +"""Logos seed data — initial tasks for the Hypostas agent army.""" |
| 2 | + |
| 3 | +import logging |
| 4 | + |
| 5 | +from pulse.src.logos.schemas import Task |
| 6 | +from pulse.src.logos.store import LogosStore |
| 7 | + |
| 8 | +logger = logging.getLogger("pulse.logos.seed") |
| 9 | + |
| 10 | +SEED_TASKS = [ |
| 11 | + # GNOSIS |
| 12 | + dict(title="Add Stripe live keys to Vercel", description="Configure production Stripe keys in Vercel environment variables for Gnosis payments", project="gnosis", agent="mira", priority=5, tags=["payments", "blocking"]), |
| 13 | + dict(title="Post Reddit reply in r/23andme", description="Engage with DNA testing community about Gnosis platform capabilities", project="gnosis", agent="iris", priority=4, tags=["distribution"]), |
| 14 | + dict(title="Implement Sprint 4 UX improvements from Sage suggestions", description="Apply Sage's UX audit findings to improve Gnosis user flows", project="gnosis", agent="mira", priority=3, tags=["ux"]), |
| 15 | + dict(title="Write 3 more SEO blog posts for Gnosis", description="Create SEO-optimized content targeting key Gnosis search terms", project="gnosis", agent="lyra", priority=2, tags=["content", "seo"]), |
| 16 | + # ANIMA |
| 17 | + dict(title="Run Supabase migrations 003-008", description="Execute pending database migrations for Anima backend schema updates", project="anima", agent="mira", priority=5, tags=["database", "blocking"]), |
| 18 | + dict(title="Configure DNS: anima.hypostas.com CNAME to Vercel", description="Set up DNS CNAME record pointing anima.hypostas.com to Vercel deployment", project="anima", agent="mira", priority=5, tags=["dns", "blocking"]), |
| 19 | + dict(title="Add Stripe + admin env vars to Cloudflare Worker", description="Configure Stripe and admin environment variables in the Cloudflare Worker deployment", project="anima", agent="mira", priority=5, tags=["payments", "blocking"]), |
| 20 | + dict(title="Set up Apple Developer account and TestFlight", description="Register Apple Developer account and configure TestFlight for Anima iOS beta", project="anima", agent="mira", priority=4, tags=["ios"]), |
| 21 | + dict(title="Implement Sprint 4 retention features (voice calibration, proactive reach-out)", description="Build voice calibration and proactive outreach features for user retention", project="anima", agent="mira", priority=3, tags=["features"]), |
| 22 | + dict(title="Write Echo demo tweet thread", description="Create a compelling Twitter thread demonstrating Echo capabilities", project="anima", agent="lyra", priority=3, tags=["marketing"]), |
| 23 | + # AETHER |
| 24 | + dict(title="Run Supabase migration 002 for 3D world persistence", description="Execute migration to add 3D world state persistence tables", project="aether", agent="mira", priority=4, tags=["database"]), |
| 25 | + dict(title="Polish Chrome extension 3D rendering", description="Improve visual quality and performance of Chrome extension 3D views", project="aether", agent="mira", priority=3, tags=["frontend"]), |
| 26 | + dict(title="Build domain-as-world persistence layer", description="Implement backend persistence for domain-mapped 3D world state", project="aether", agent="mira", priority=3, tags=["backend"]), |
| 27 | + dict(title="Design B2B domain claiming flow", description="Design the UX flow for businesses to claim and customize their domain world", project="aether", agent="vera", priority=2, tags=["monetization"]), |
| 28 | + # PULSE / SOMA |
| 29 | + dict(title="Wire Logos pressure into Soma drives system", description="Integrate Logos backlog pressure as a signal in the Soma drive engine", project="pulse", agent="iris", priority=3, tags=["infrastructure"]), |
| 30 | + dict(title="Build Mira autonomous task executor loop", description="Implement the autonomous loop that lets Mira pick and execute tasks from the Logos backlog", project="pulse", agent="iris", priority=4, tags=["agent-army", "critical"]), |
| 31 | +] |
| 32 | + |
| 33 | + |
| 34 | +def seed(store: LogosStore | None = None) -> int: |
| 35 | + """Seed the backlog with initial tasks if the DB is empty. |
| 36 | +
|
| 37 | + Returns the number of tasks created. |
| 38 | + """ |
| 39 | + s = store or LogosStore() |
| 40 | + if not s.is_empty(): |
| 41 | + logger.info("Logos backlog already seeded — skipping") |
| 42 | + return 0 |
| 43 | + |
| 44 | + for task_data in SEED_TASKS: |
| 45 | + task = Task( |
| 46 | + title=task_data["title"], |
| 47 | + description=task_data["description"], |
| 48 | + project=task_data["project"], |
| 49 | + agent=task_data["agent"], |
| 50 | + priority=task_data["priority"], |
| 51 | + tags=task_data["tags"], |
| 52 | + ) |
| 53 | + s.create_task(task) |
| 54 | + |
| 55 | + logger.info(f"Seeded Logos backlog with {len(SEED_TASKS)} tasks") |
| 56 | + return len(SEED_TASKS) |
0 commit comments