Expand description
§luft-service
Presentation-free run lifecycle and query functions.
The service layer sits between the facade (luft) and the runtime /
scheduler. It provides:
- Run preparation: resolve script source (NL / workflow file / raw Lua), extract meta, assign run directories.
- Execution: build the sandboxed runtime and execute the script.
- Query: synchronous read-only operations for status, events, findings, reports, and logs.
- Phases view: build structured phase/agent trees for UI rendering.