class LittleGhost::Workspace

A Workspace gives an agent a concrete home for files. Pair it with a Sandbox to decide how those files may be read, changed, or used by commands.

workspace = LittleGhost::Workspace.new(root: "./tmp/support-run")
workspace.root # => an absolute path ending in "/tmp/support-run"

Workspaces participate in the run resource lifecycle. A custom workspace can provision storage in open and release it in close.