host.march — Scroll's access to the operating system.
Since March 0.8.0 every checked operation (environment, files, processes, Vault) returns an outer Result(_, CapError) saying whether the launch authority permitted it. Scroll's main requests everything it uses in its needs clause, so a refusal means the server was launched with a narrowed grant it cannot work under: these wrappers stop with a clear message rather than threading CapError through the whole server. The inner results (File.FileError, ProcessError, ...) are returned unchanged.
Functions
fnappendappend(path : String, data : String) : Result((), File.FileError) do must(File.append(path, data)) end#
fnargvargv() : List(String) do must(System.argv()) end#