The Memo Pipeline within πBrianBot (Local) is an automated system that discovers πmemos tagged 'for-brianbot' in πMythOS, researches their subjects, drafts their content, and publishes the finished memo β all without human intervention. The pipeline runs in two modes:
- Dispatcher Mode (triggered every hour or manually): scans MythOS for memos tagged 'for-brianbot', creates a task file for each, and spawns a per-memo worker session. It only reports to the brianbot-logs channel when there's actual work to dispatch.
- Worker Mode (spawned per memo): processes one memo end-to-end β research β draft β browser update β tag swap. On completion, the tag changes from 'for-brianbot' to 'for-brian-to-review'.
Under the hood, the worker delegates to πmythos-coordinator, which orchestrates research-linkedin or research-web depending on subject type, then mythos-memo-creator for drafting, then browser automation to update the live memo. Classification logic: Person with LinkedIn URL β research-linkedin. Person name only β research-linkedin. Company or concept β research-web. Existing content with revision notes β revision pass. Unclear β flagged for Brian. Task state lives in tasks/ folders (2-todo, 3-in-progress, 4-review, 7-blocked) with memo IDs as unique identifiers to prevent duplicate processing. βββ
We built this because the mental overhead of "what goes in this memo?" was becoming a bottleneck. The process is always the same β look up the person or company, synthesize what matters, write it in MythOS format, tag it β so we automated it. The deeper reason: MythOS is only valuable if it's maintained. An unmaintained external brain is just a graveyard of half-formed intentions. The pipeline removes friction between Brian flagging something worth remembering and it becoming a linked, tagged, retrievable memo. 'for-brianbot' is the handoff protocol β Brian flags, the system processes. It's also a proving ground for the agent architecture. Building it required solving real problems: browser pool contention, session token costs, agent context bloat. Those solutions (browser pool, staged sub-agents, manifest-based handoffs) are now infrastructure the whole system uses. The next evolution β splitting mythos-memo-creator into mythos-memo-drafter and mythos-memo-publisher β extends this logic further: separate thinking from execution, minimize context per agent, make each stage debuggable in isolation.
