miadi-orchestration-kit

Chart path

Written by T4 · Chart path (teams/README.md in this kit) from its own work. Any agent of any kind reads this, and any agent that learns something about the chart path writes it here, not in its own private memory. That is how the practice evolves where every seat can see it.

Desired outcome

Every chart an agent writes reaches one place where the people it concerns can read and steer it, and whether that place is public is decided per source.

The path, as it runs today (2026-10-03)

  1. An agent writes charts through the COAIA MCP (coaia-narrative). Every write ends in one save of a chart memory, a .jsonl file. The file is the record. Asterion only holds a projection of it.
  2. The memory reaches Asterion one of two ways:
    • The door. With COAIA_ASTERION_URL, COAIA_ASTERION_TOKEN and COAIA_ASTERION_PROJECT set on the MCP server (coaia-narrative 0.18.0 or later), each save posts the whole file to POST /api/ingest/coaia-narrative.
    • The registry sync. On gaia, asterion-coaia-sync.timer runs every 5 minutes and reads each registered file, from disk (--file) or from a repository’s origin/main (--git).
  3. One mapper (app/lib/asterion/coaia-projection.mjs in miadisabelle/asterion) turns charts into tensions, steps into action steps, beats into beats, and a chart family with beats into a thread.

See it live at /bridge and /settings on any Asterion address. List the registry from miadisabelle/asterion/app with node scripts/coaia-sync.mjs list (it needs app/.env.local, so on gaia only).

Private sources

Asterion’s public addresses (asterion.jgwill.com, asterion.tushell.com, asterion.sanctuaireagentique.com, asterion-zeta.vercel.app) answer anyone. A private project is shown only to a signed-in writer (signed in at /signin with a Miadi token, or holding the writer token).

The words

The factory used “workspace” for three different things. T4 uses one word per thing. Correct this section when William does.

word means where it lives today
repository owner/repo on GitHub everywhere
checkout one repository cloned on one host, at a path Miadi config/stc-workspaces.json (repository, localPath), shown at /stc-config, where it is called a “workspace”
chart memory one coaia-narrative .jsonl file of charts a checkout’s .coaia/, an episode folder, ~/workspace/.mino/coaia/
project Asterion’s unit: one key, one or more chart memories, public or private asterion.projects, registered with coaia-sync.mjs
seat the agent session responsible for steering a project’s charts Miadi config/stc-steering.json (seats, each a tmux session)
workspace an agent’s home, the way Mia’s ~/workspace is hers miadisabelle/workspace for Mia; the example community users follow

When Asterion moves into Miadi, /stc-config’s “workspaces” become checkouts, and “workspace” stays free for the agent’s home.

What Miadi’s /stc-config holds that Asterion must keep

Asterion knows where a chart memory is. It does not know where the work happens. /stc-config (29 entries in config/stc-workspaces.json, 2026-10-03) holds, per repository:

When Asterion moves into Miadi, a project gains its checkouts (repository, host, path) and its seat. Keep /stc-config working beside Asterion’s pages until the project page shows all three.

Steering a chart (built 2026-10-20, miadisabelle/asterion f2f577e)

Asterion does not write a chart memory: the sync would overwrite the edit, and the memory belongs to the agent that keeps it. A steer goes to that agent instead. Decided 2026-10-20 (D5 to D7, delegated by William to the witness seat, which took T4’s recommendations):

How it runs: the chart page shows “Kept by” for everyone, and for a signed-in writer on gaia a steer box that previews the brief before it sends. POST /api/tensions/<id>/steer (dry_run for the preview) opens a door of kind claude-print: claude -p in the seat’s folder with only the chart server (--strict-mcp-config), --permission-mode dontAsk and Read, Grep, Glob, a fresh --session-id, and a minimal environment. Its log and its one-server MCP config are in /srv/miadi/agent-handoff/asterion/ (mode 700). Every steer is a tension.steered event on the chart with its status and session id, and the keeper’s change returns like any other.

Agent ids: Mia node:human:1789710466321:95nnhl (door: claude-print), Mino node:agent:1790889011183:l2wej3 (no door), Kherix node:human:1790760357285:j7o5qx (hermes-api, which Asterion does not open). Find another agent’s id with its token at https://miadi.sanctuaireagentique.com/api/identity/me.

First steer, 2026-10-20: ep060 (keeper Mia, folder /a/src/coaia-narrative, server coaia-ep060). Mia’s session 82a81bf7 added the requested observation, and it was back on Asterion 38 s later.

Give an agent a door only if it should be started by a steer. Mino has none: William took its seat offline (stcbot-OFFLINE, 2026-10-04), so mino-triage names no keeper yet.

Not built: the steer’s answer shown under it on the chart (today it is the chart change plus the session’s log on gaia), and a door for an agent that is not a Claude seat started with claude -p.

Where Asterion goes (absorption into jgwill/Miadi)

Before you change the path