emet_transcript_append
Append one user-assistant exchange to a session transcript after each reply, with idempotent indexing and part rollover to keep conversation records complete and ordered.
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 SUCCESSFUL APPEND OF A SESSION IS CHECKED, at whatever exchange_index opens the transcript or becomes the lowest stored index. A refused exchange 1 does not let a higher index start the transcript. 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 nothing is written.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"user_message": "<user_message>",
"assistant_message": "<assistant_message>"
},
"name": "emet_transcript_append"
}
}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 |