cadrumo.application.operator_output package

Operator-facing CLI/JSON output boundary shared by the CLI transport and the wizard.

The CLI’s --json transport (entrypoints.cli.common) sits ABOVE the setup wizard (application.wizard) in the accepted hexagonal direction, so the wizard cannot import entrypoints.cli.common.emit_envelope(). Both surfaces nonetheless owe the operator the same guarantee: a persistent sandbox-active Notice on every command result while the active profile bucket is a discardable sandbox, in both JSON and text mode. This package is the shared home for that guarantee, sitting below both consumers.

emit_operator_json_success() is the SOLE sanctioned direct caller of emit_json_success() for an operator-facing command result; sandbox_notice_for_active_bucket() and sandbox_banner_line() are its text-mode counterparts for callers that render lines directly rather than through the JSON envelope.

See also

emit_envelope()

CLI transport funnel; delegates its JSON branch here and reuses sandbox_notice_for_active_bucket() for its text-mode banner.

application.wizard.commands

Setup-wizard success/save-exit emitters; route through the same two functions rather than calling emit_json_success() directly.

Submodules