Pixir.Subagents.GC (pixir v0.1.12)

Copy Markdown View Source

Plans and applies fail-closed reclamation of isolated Subagent workspaces.

Parent Session Logs are the only lifecycle evidence. Reclamation never deletes or moves an NDJSON file below a .pixir/sessions directory, including child Logs embedded inside an isolated workspace snapshot.

Summary

Functions

Build and apply one reclamation plan, continuing after per-directory errors.

Build an effect-free reclamation plan for the current Workspace.

Functions

apply(opts \\ [])

@spec apply(keyword()) :: {:ok, map()} | {:error, map()}

Build and apply one reclamation plan, continuing after per-directory errors.

plan(opts \\ [])

@spec plan(keyword()) :: {:ok, map()} | {:error, map()}

Build an effect-free reclamation plan for the current Workspace.