Migrate to 3.0
Tantra 3.0 removes the finish tool. Every completed child turn now delivers the child’s final assistant message to its direct parent as a reply, so a parent never waits on a result that a child wrote but did not hand over. Journal bodies and sequences are unchanged, and no store has a new migration.
What changes for models
Section titled “What changes for models”- Child agents no longer get
finish. A child delivers its result by ending its turn: the final assistant message becomes[agent <child-uuid> replied] <text>in the parent’s queue. A child with anoutput_schemareplies with the canonical JSON of itssubmit_output. - The child stays reusable after every reply. The parent sends more work with
sendand stops work withcancel_agent. Nothing closes a child. max_steps, failed, cancelled and interrupted turns still queue[agent <child-uuid> turn ended] <stable-json>. A cancel by the parent still queues nothing.- The
spawn,statusandcancel_agentdescriptions and the child guidance say this. Remove prompt text that tells children to callfinishor tells parents to wait for finished messages.
What changes for applications
Section titled “What changes for applications”- A parent now receives child text. A
viewthat hides child sessions still withholds their replies over ACP. Check any other path that shows a parent’s inputs to people who must not see child output. - A mid-level child may reply while its own children still run, and it replies again when they wake it. Use
tree_statusorwatch_treefor the state of the whole tree. - Children never reach the
finishedstatus in new sessions. They areidleafter a reply. UIs that label_tantra_finishedas done should treat an idle child withend_turnas replied. A child from a 2.x session that ended a plain turn also showsend_turn, though its parent got only a status notice. - Replies over 32 KiB of UTF-8 are cut at a character boundary and end with
[reply truncated at 32 KiB]. An empty final message becomes(no text reply). finishremains a reserved tool name for child agents.- Scripted test providers that call
finishmust end the child’s turn with text instead.
ACP and the TypeScript client
Section titled “ACP and the TypeScript client”- A reply projects as an incoming
session_messagefrom the child with_meta.tantra.reply: true, on the parent’s session. On the child’s session it is the child’s finalagent_message, or itssubmit_outputcall. tantra-acp-client2.1.0 addsMessageEntry.reply. The profile version stays 1, so older clients render replies as plain messages.
Existing data
Section titled “Existing data”- 2.x journals load unchanged. A child that finished under 2.x stays closed, still rejects
send, and its[agent X finished]input still projects with_meta.tantra.finished. - A completed child turn that a 2.x Runtime already notified is not delivered again. The notice reuses the same command ID, and the 2.x status-only text counts as delivered.
Deploy
Section titled “Deploy”Stop every 2.x worker before starting 3.0 workers. A mixed fleet works but behaves inconsistently: 2.x Runtimes still give children finish, and a 2.x ACP server hides replies.