-- The e2e fixture extension: one scripted provider protocol plus the handful of -- tools a child may call. Loaded by e2e/run.lua into a throwaway config layer, -- never by a real session. -- -- The protocol interprets a prompt as a tiny script, so one fixture plays every -- role the scenarios need — primary and child alike. The first LINE of the most -- recent plain user prompt is the script; everything after it is data (a -- workflow step's prompt arrives with its dependency sections appended, and -- those must not be parsed). The script is split on ";;" into one step per -- round, a round being one assistant message already in the conversation, and a -- step may hold several "&&"-joined commands. -- -- say answer with -- tool call a tool (repeat with && for one batch) -- results answer with every tool result in the last user message -- find "found " / "missing " over the history -- tag