Skip to main content

cli_ctx

Function cli_ctx 

Source
pub fn cli_ctx() -> CommitContext<'static>
Expand description

Provenance bundle for every CLI-initiated mutation. Actor::Cli + memstead-cli@<CARGO_PKG_VERSION>. The Tool: trailer stays None: CLI subcommands aren’t MCP tools and the commit subject (memstead: create …) already carries the action verb — a second taxonomy would drift.

Only used by mem-repo write paths today; filesystem-mem write paths assemble their own provenance directly. The function therefore only compiles when mem-repo is enabled.