""" permanence.domains.meridian.tasks — social-drama task templates. The task TEMPLATE DEFINITIONS themselves live in ``permanence.tasks.task_bank.TaskBank._build_templates`` for historical reasons (the bank holds both Meridian and DevTools templates in one method). This module exposes a Meridian-only surface by filtering the bank down to the set of task ids the Meridian domain owns. If we later physically move each template dict entry into this file, callers do not change. Exposed: task_templates() -> Dict[str, TaskTemplate] MERIDIAN_TASK_IDS: frozenset[str] """ from __future__ import annotations from typing import Any, Dict MERIDIAN_TASK_IDS = frozenset({ "task_correction", "task_conflict", "task_launch", "task_crisis", "task_cascade", "task_server_outage", "task_db_migration", }) def task_templates() -> Dict[str, Any]: from ...tasks.task_bank import TaskBank bank = TaskBank() available = set(bank.all_task_ids()) return { tid: bank.get(tid) for tid in MERIDIAN_TASK_IDS if tid in available }