Skip to content

aigovops_lantern.render

Role-lens rendering (operator, auditor, exec, dev) across markdown / JSON / table formats.

Human-facing rendering for receipts, bundles, diffs, and UCIDs.

Three render targets are supported:

  • text — Rich-styled terminal output (default)
  • markdown — plain Markdown suitable for PR comments and email
  • json — machine-readable, for downstream tooling

Lantern follows a "dignity premise": every output explains what it shows and what action (if any) the reader should consider. We do not emit raw artifact dumps without context.

render_bundle(bundle, fmt, role=None)

Render a bundle in the requested format.

render_diff(old, new, fmt, role=None)

Compare two bundles and render a role-targeted narrative.

receipt_oneliner(r)

A single line summary for log-style output.