Skip to main content

Crate luft_service

Crate luft_service 

Source
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.

§Modules

ModuleResponsibility
runRun lifecycle: validate, resolve, prepare, execute
queryRead-only queries: status, events, findings, report, cancel
phasesPhase tree builder for CLI / UI rendering

Modules§

phases
service::phases — build the human-readable phase progress view for the luft phases subcommand.
query
run