From 2d4981b3870f2aee75d03006eea6318c501fe47b Mon Sep 17 00:00:00 2001 From: t Date: Fri, 21 Aug 2026 10:43:08 -0600 Subject: Expose workflow status to other extensions --- spec/test_init.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec') diff --git a/spec/test_init.lua b/spec/test_init.lua index eb8777a..bb42c57 100644 --- a/spec/test_init.lua +++ b/spec/test_init.lua @@ -236,6 +236,8 @@ return { { "background workflows survive turn_end and interruption cancels them", function() activate_bare(function(handle, ok, err) assert(ok, tostring(err)) + assert(handle.ext.workflows == workflow.workflows, + "extensions can inspect background workflow status") local tool = handle.tools_by_name["subagents.lua"] handle.queue({ output = "finished", settle = 3 }) local id = tool.handler({ source = [[ -- cgit v1.3