{
  "id": "miadi-679-endpoint-deprecation",
  "title": "Miadi endpoints deprecation 260920 (issue 679)",
  "description": "The 18 surfaces listed in jgwill/Miadi#679, grouped by stream, linked to the replacements the issue names, converging on the talking circle that will decide them.",
  "nodes": [
    {
      "id": "issue",
      "label": "Issue 679: 18 surfaces under review",
      "type": "event",
      "direction": "east",
      "description": "jgwill/Miadi#679, opened 2026-09-20. A list of routes and pages to decide on later, meant to prepare a talking circle. Agents may comment on the issue.",
      "tags": [
        "jgwill/Miadi#679",
        "needs-decomposition"
      ]
    },
    {
      "id": "s_agents",
      "label": "Agent start and sessions",
      "type": "beat",
      "direction": "south"
    },
    {
      "id": "s_knowledge",
      "label": "Knowledge and memory",
      "type": "beat",
      "direction": "south"
    },
    {
      "id": "s_workflow",
      "label": "Workflow and STC",
      "type": "beat",
      "direction": "south"
    },
    {
      "id": "s_story",
      "label": "Story and chronicle",
      "type": "beat",
      "direction": "south"
    },
    {
      "id": "s_ava",
      "label": "Ava and consultation",
      "type": "beat",
      "direction": "south"
    },
    {
      "id": "s_open",
      "label": "Open questions",
      "type": "beat",
      "direction": "south"
    },
    {
      "id": "i01",
      "label": "1 app/api/agent/execute",
      "type": "scene",
      "direction": "south",
      "description": "Replace app/api/agent with steer/tide and a secure way to start an agent terminal of our choosing: pi, claude, codex, copilot, agy.",
      "tags": [
        "lean:replace"
      ]
    },
    {
      "id": "i03",
      "label": "3 app/api/session",
      "type": "scene",
      "direction": "south",
      "description": "Does not give access to sessions. Look at packages/hooks-interpretation. Replace with a session surface tied to ceremonies that can start a session on tide with steering and annotation.",
      "tags": [
        "lean:replace"
      ]
    },
    {
      "id": "i05",
      "label": "5 app/api/spiral-agents",
      "type": "scene",
      "direction": "north",
      "description": "Does not serve where we are. Keep an archive of the intention, capabilities, and agents, then remove.",
      "tags": [
        "lean:archive"
      ]
    },
    {
      "id": "i08",
      "label": "8 app/agent-demo",
      "type": "scene",
      "direction": "west",
      "description": "Really old.",
      "tags": [
        "lean:retire"
      ]
    },
    {
      "id": "i09",
      "label": "9 app/agent-workflow",
      "type": "scene",
      "direction": "west",
      "description": "Even older than agent-demo.",
      "tags": [
        "lean:retire"
      ]
    },
    {
      "id": "i11",
      "label": "11 app/ai-test",
      "type": "scene",
      "direction": "west",
      "description": "Probably not good either.",
      "tags": [
        "lean:retire"
      ]
    },
    {
      "id": "i02",
      "label": "2 app/api/rag/*",
      "type": "scene",
      "direction": "south",
      "description": "Being replaced by QMD and honcho (jgwill/medicine-wheel honcho package, 2026-09-19). Envision a bridge where a local low-cost agent queries context7 across libraries by request context. Consider miadi-review-service content and runtime/swarmvault/miadi.",
      "tags": [
        "lean:replace"
      ]
    },
    {
      "id": "i06",
      "label": "6 app/api/memory/spiral",
      "type": "scene",
      "direction": "west",
      "description": "Unknown origin, never used. Removed unless a strong argument to keep it appears.",
      "tags": [
        "lean:retire"
      ]
    },
    {
      "id": "i07",
      "label": "7 app/api/database-intelligence",
      "type": "scene",
      "direction": "west",
      "description": "Never heard of it. Kept only with a good reason.",
      "tags": [
        "lean:retire"
      ]
    },
    {
      "id": "i04",
      "label": "4 app/api/workflow/qstash",
      "type": "scene",
      "direction": "west",
      "description": "Never delivered or used. Reimplement later if the need is real.",
      "tags": [
        "lean:retire"
      ]
    },
    {
      "id": "i14",
      "label": "14 app/stc-monitor",
      "type": "scene",
      "direction": "south",
      "description": "The webhook at app/api/workflow/webhook writes STCISSUE.md and .coaia/*.jsonl and this page displays them, which is a stub. Investigate miadisabelle/asterion#9 and contribute there.",
      "tags": [
        "lean:replace"
      ]
    },
    {
      "id": "i12",
      "label": "12 app/storytelling",
      "type": "scene",
      "direction": "south",
      "description": "Outdated. Align with the NCP. Meant to bring jgwill/storytelling into Miadi (npm and pypi 'storytelling' reserved). Look at jgwill/narintel. app/test-story-generation follows this point.",
      "tags": [
        "lean:replace"
      ]
    },
    {
      "id": "i13",
      "label": "13 app/live-story-monitor",
      "type": "scene",
      "direction": "south",
      "description": "A demo. Integrate with app/chronicle, app/ceremony, app/ceremonial-diary, or the point-3 session replacement, as a place to mark story forms and narrative beats for point 12.",
      "tags": [
        "lean:replace"
      ]
    },
    {
      "id": "i15",
      "label": "15 ava/consultations",
      "type": "scene",
      "direction": "east",
      "description": "Should be developed further.",
      "tags": [
        "lean:develop"
      ]
    },
    {
      "id": "i16",
      "label": "16 app/consultation-peek",
      "type": "scene",
      "direction": "east",
      "description": "Could feed on app/tide but was never connected. Open question: does it relate to point 15?",
      "tags": [
        "lean:investigate"
      ]
    },
    {
      "id": "i10",
      "label": "10 app/chatbot",
      "type": "scene",
      "direction": "north",
      "description": "Might keep. Depended on flowise; its integration would be reorganized.",
      "tags": [
        "lean:keep"
      ]
    },
    {
      "id": "i17",
      "label": "17 app/lattice",
      "type": "scene",
      "direction": "east",
      "description": "No lattice that made sense had been seen. This lattice, built from issue 679, is the test case.",
      "tags": [
        "lean:investigate"
      ]
    },
    {
      "id": "i18",
      "label": "18 app/redstones",
      "type": "scene",
      "direction": "north",
      "description": "Might be reused. Use not yet known.",
      "tags": [
        "lean:keep"
      ]
    },
    {
      "id": "r_tide",
      "label": "steer/tide secure agent launcher",
      "type": "insight",
      "direction": "south",
      "description": "One secure path to start pi, claude, codex, copilot, or agy terminals, with steering and annotation."
    },
    {
      "id": "r_knowledge",
      "label": "QMD + honcho + context7 bridge",
      "type": "insight",
      "direction": "south",
      "description": "Knowledge access without RAG: QMD search, honcho memory, context7 library docs through a local agent, plus review-service content."
    },
    {
      "id": "r_asterion",
      "label": "asterion#9 STC tracking",
      "type": "insight",
      "direction": "south",
      "description": "miadisabelle/asterion#9"
    },
    {
      "id": "r_story",
      "label": "storytelling + narintel to interactive TV series",
      "type": "insight",
      "direction": "south",
      "description": "Take miadi-chronicle story forms and narrative beats and turn them into an interactive TV series canonical version (jgwill/mamu#2)."
    },
    {
      "id": "r_chronicle",
      "label": "Chronicle and ceremony surfaces",
      "type": "insight",
      "direction": "south",
      "description": "app/chronicle, app/ceremony, app/ceremonial-diary as the place where agents take part in episodes."
    },
    {
      "id": "circle",
      "label": "Talking circle on issue 679",
      "type": "bottleneck",
      "direction": "north",
      "description": "Every item converges here. The circle decides; the leans are Guillaume's first reading, not decisions."
    },
    {
      "id": "decide",
      "label": "Decisions per surface",
      "type": "branch",
      "direction": "north",
      "description": "The circle's outcome splits into four paths."
    },
    {
      "id": "o_retire",
      "label": "Retire",
      "type": "moment",
      "direction": "west",
      "description": "Remove the route or page."
    },
    {
      "id": "o_archive",
      "label": "Archive intention, then remove",
      "type": "moment",
      "direction": "west",
      "description": "Keep a record of what it meant and could do (point 5)."
    },
    {
      "id": "o_replace",
      "label": "Replace",
      "type": "moment",
      "direction": "south",
      "description": "Build the named replacement, then deprecate the old surface."
    },
    {
      "id": "o_keep",
      "label": "Keep and reorganize",
      "type": "moment",
      "direction": "north",
      "description": "Keep, with its integration revised (points 10, 15, 18)."
    }
  ],
  "edges": [
    {
      "id": "e01",
      "source": "issue",
      "target": "s_agents",
      "type": "leads_to"
    },
    {
      "id": "e02",
      "source": "issue",
      "target": "s_knowledge",
      "type": "leads_to"
    },
    {
      "id": "e03",
      "source": "issue",
      "target": "s_workflow",
      "type": "leads_to"
    },
    {
      "id": "e04",
      "source": "issue",
      "target": "s_story",
      "type": "leads_to"
    },
    {
      "id": "e05",
      "source": "issue",
      "target": "s_ava",
      "type": "leads_to"
    },
    {
      "id": "e06",
      "source": "issue",
      "target": "s_open",
      "type": "leads_to"
    },
    {
      "id": "e07",
      "source": "s_agents",
      "target": "i01",
      "type": "leads_to"
    },
    {
      "id": "e08",
      "source": "s_agents",
      "target": "i03",
      "type": "leads_to"
    },
    {
      "id": "e09",
      "source": "s_agents",
      "target": "i05",
      "type": "leads_to"
    },
    {
      "id": "e10",
      "source": "s_agents",
      "target": "i08",
      "type": "leads_to"
    },
    {
      "id": "e11",
      "source": "s_agents",
      "target": "i09",
      "type": "leads_to"
    },
    {
      "id": "e12",
      "source": "s_agents",
      "target": "i11",
      "type": "leads_to"
    },
    {
      "id": "e13",
      "source": "s_knowledge",
      "target": "i02",
      "type": "leads_to"
    },
    {
      "id": "e14",
      "source": "s_knowledge",
      "target": "i06",
      "type": "leads_to"
    },
    {
      "id": "e15",
      "source": "s_knowledge",
      "target": "i07",
      "type": "leads_to"
    },
    {
      "id": "e16",
      "source": "s_workflow",
      "target": "i04",
      "type": "leads_to"
    },
    {
      "id": "e17",
      "source": "s_workflow",
      "target": "i14",
      "type": "leads_to"
    },
    {
      "id": "e18",
      "source": "s_story",
      "target": "i12",
      "type": "leads_to"
    },
    {
      "id": "e19",
      "source": "s_story",
      "target": "i13",
      "type": "leads_to"
    },
    {
      "id": "e20",
      "source": "s_ava",
      "target": "i15",
      "type": "leads_to"
    },
    {
      "id": "e21",
      "source": "s_ava",
      "target": "i16",
      "type": "leads_to"
    },
    {
      "id": "e22",
      "source": "s_open",
      "target": "i10",
      "type": "leads_to"
    },
    {
      "id": "e23",
      "source": "s_open",
      "target": "i17",
      "type": "leads_to"
    },
    {
      "id": "e24",
      "source": "s_open",
      "target": "i18",
      "type": "leads_to"
    },
    {
      "id": "e25",
      "source": "i01",
      "target": "r_tide",
      "type": "causality",
      "label": "replaced by"
    },
    {
      "id": "e26",
      "source": "i03",
      "target": "r_tide",
      "type": "causality",
      "label": "replaced by"
    },
    {
      "id": "e27",
      "source": "i03",
      "target": "r_chronicle",
      "type": "leads_to",
      "label": "tied to ceremonies"
    },
    {
      "id": "e28",
      "source": "i02",
      "target": "r_knowledge",
      "type": "causality",
      "label": "replaced by"
    },
    {
      "id": "e29",
      "source": "i14",
      "target": "r_asterion",
      "type": "causality",
      "label": "replaced by"
    },
    {
      "id": "e30",
      "source": "i12",
      "target": "r_story",
      "type": "causality",
      "label": "replaced by"
    },
    {
      "id": "e31",
      "source": "i13",
      "target": "r_chronicle",
      "type": "causality",
      "label": "integrates into"
    },
    {
      "id": "e32",
      "source": "i13",
      "target": "r_story",
      "type": "leads_to",
      "label": "marks beats for"
    },
    {
      "id": "e33",
      "source": "r_chronicle",
      "target": "r_story",
      "type": "leads_to",
      "label": "feeds"
    },
    {
      "id": "e34",
      "source": "i16",
      "target": "r_tide",
      "type": "echoes",
      "label": "could feed on"
    },
    {
      "id": "e35",
      "source": "i16",
      "target": "i15",
      "type": "echoes",
      "label": "relates to?"
    },
    {
      "id": "e36",
      "source": "r_tide",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e37",
      "source": "r_knowledge",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e38",
      "source": "r_asterion",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e39",
      "source": "r_story",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e40",
      "source": "i05",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e41",
      "source": "i08",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e42",
      "source": "i09",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e43",
      "source": "i11",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e44",
      "source": "i06",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e45",
      "source": "i07",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e46",
      "source": "i04",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e47",
      "source": "i15",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e48",
      "source": "i10",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e49",
      "source": "i17",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e50",
      "source": "i18",
      "target": "circle",
      "type": "leads_to"
    },
    {
      "id": "e51",
      "source": "circle",
      "target": "decide",
      "type": "leads_to"
    },
    {
      "id": "e52",
      "source": "decide",
      "target": "o_retire",
      "type": "leads_to"
    },
    {
      "id": "e53",
      "source": "decide",
      "target": "o_archive",
      "type": "leads_to"
    },
    {
      "id": "e54",
      "source": "decide",
      "target": "o_replace",
      "type": "leads_to"
    },
    {
      "id": "e55",
      "source": "decide",
      "target": "o_keep",
      "type": "leads_to"
    }
  ],
  "metadata": {
    "author": "Mia, from jgwill/Miadi#679",
    "created_at": "2026-09-23T08:22:15+00:00",
    "updated_at": "2026-09-23T08:22:15+00:00",
    "tags": [
      "deprecation",
      "talking-circle",
      "jgwill/Miadi#679"
    ],
    "direction_alignment": "east"
  }
}
