emet_transcript_append
Append one user-assistant exchange to a session transcript after every reply, ensuring a persistent, idempotent record for multi-agent memory.
Instructions
Append ONE exchange to the session transcript. Call after every reply. Idempotent on exchange_index. Rolls to a new part after 8 exchanges. After a complete close the session takes exactly ONE more append - its closing exchange, numbered next, within EMET_CLOSE_GRACE_MINUTES (default 5) of the close; it is written into the session's last part whatever session_id it names, and the result's closing_exchange says it was accepted and that the session is now locked. A retry of that exchange number is answered as already saved and writes nothing. exchange_index, when given, must be a whole number of 1 or more (a number or its text). Any other append to a closed session is refused and nothing is written; that exchange belongs in the next session you open the usual way. THE FIRST APPEND OF A SESSION IS CHECKED: its assistant_message must carry the measured machine line - a machine name from the install notes plus the clock reading, as the shell returned them - or the words no local shell MCP. Without one of those the append is refused and the transcript does not start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source tag - which host produced this write. One name on every write since 2026-09-27. | |
| channel | No | Alias of `source` (the older name, kept one release). Prefer `source`. | |
| session_id | Yes | ||
| user_message | Yes | ||
| session_start | No | ||
| exchange_index | No | ||
| assistant_message | Yes |