Normalize muse frontmatter and consolidate shared utilities
Audit and fix muse prompt metadata: add missing titles/descriptions
(importer, joke_bot, default), assign unique colors to all 34 agents
with group-cohesive palettes (teal for entities, orange for todos),
deduplicate 3 color collisions, fix hardcoded name in messages.md,
remove SPDX headers from prompt bodies, add priority to decisionalizer
and todo review so they run after dependent agents.
Extract calc_agent_cost into think/models.py as shared utility used by
both routes.py and cortex.py. Consolidate DATE_RE definitions (remove
duplicates in formatters.py and indexer/journal.py, simplify
re.fullmatch(DATE_RE.pattern) to DATE_RE.fullmatch() across all apps).
Cache _build_agents_meta with lru_cache. Return 202 for active agent
runs instead of misleading 404. Fix speakers app cookie name bug
(selected_facet -> selectedFacet).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>