From 7f8fdd8e868fb5fad71eacdf0c4fd0a97fe9c6ee Mon Sep 17 00:00:00 2001 From: t Date: Mon, 17 Aug 2026 23:27:46 -0600 Subject: jobs: only settle may close; e2e proof harness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close_all no longer joins pump threads from the owner thread: job:close() joins the pump, and a pump parked in an owner-posted tool batch needs the owner back in the loop, so a synchronous close at turn_end could deadlock. close_all now cancels everything, closes only already-settled jobs, and defers the rest to their own settle; jobs.active() ignores closing children so the next turn can resume the id. e2e/ reconstructs the end-to-end proof against the real binary in print mode: a scripted fixture protocol plays primary and children, and the suite asserts the product surface from process output and JSONL bytes on disk — parallel batch with unknown-agent error, lane identity, tool inheritance minus subagents.*, resume with manifest re-identification, workflow diamond, sandbox fan-out with an ephemeral structured worker, catalog round-trip, child-store isolation from the session picker. mise run e2e; check stays independent. --- e2e/run.lua | 789 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 789 insertions(+) create mode 100644 e2e/run.lua (limited to 'e2e/run.lua') diff --git a/e2e/run.lua b/e2e/run.lua new file mode 100644 index 0000000..c240813 --- /dev/null +++ b/e2e/run.lua @@ -0,0 +1,789 @@ +-- End-to-end harness: the real `panto` binary, the real rock, a scripted +-- provider. +-- +-- Every scenario builds a throwaway config layer under a fresh temp root, drops +-- e2e/fixture.lua and a symlink to this repo into an `extensions.paths` +-- directory, and runs `panto -p