MJ::Arcana::OutputPath
Where a caller's output_path may write: inside one directory, ~/.local/share/mj/out,
and never over an existing file.
Checked before the provider is called, because the provider bills for what it makes whether or not it can then be written: two ElevenLabs takes asked to write outside the sandbox's writable paths were billed, then failed "Read-only file system" (2026-10-21). Confined because the sandbox alone lets a caller overwrite anything under ~/.local/share/mj, the spend ledger and the libraries included (the security review, 2026-10-21).
Class methods
The path to write, given a caller's output_path: a name inside dir, or an
absolute path under it. Subdirectories are made as needed. Raises, before
anything is billed, for a path outside dir, through a symlink, or naming a file
that already exists.