CLI Reference
stb janitor
Preview and remove stale deployment objects after a retention window.
Preview deployment cleanup:
The default retention window is seven days. Preview output separates deletable and kept deployments
and explains each decision.
Apply the same eligibility rules and drop deletable physical objects:
Janitor preserves currently active relations, deployments published inside the retention window,
and deployments whose physical mappings do not safely match their recorded identity. Immediately
before cleanup, it refreshes active state and refuses to remove any relation that became active.
Janitor removes deployment-specific physical objects, not stable logical views. It requires virtual
environments and does not load the pipeline graph.

