% Generated by roxygen2: do not edit by hand % Please edit documentation in R/explain.R \name{cog_explain} \alias{cog_explain} \title{Explain a verb result's provenance} \usage{ cog_explain(result, format = c("print", "list")) } \arguments{ \item{result}{A tibble returned by a `cog_*` verb.} \item{format}{`"print"` (default) for a human-readable cli summary; returns `result` invisibly for chaining. `"list"` returns the raw provenance list (identical to `attr(result, "provenance")`).} } \value{ Either `result` (invisibly) or the provenance list. } \description{ Prints the structured provenance attached to a tibble returned by any `cog_*` verb, or returns it as a list for downstream use (MCP tools, dashboards, JSON export). }