Skip to main content

cli_ctx_with_note

Function cli_ctx_with_note 

Source
pub fn cli_ctx_with_note(note: Option<String>) -> CommitContext<'static>
Expand description

Provenance bundle carrying an optional agent-authored --note. The note rides into the same payload slot the MCP note parameter uses; the engine’s require_notes policy gate fires NOTE_MISSING symmetrically across both surfaces.