pub fn render_configuration_warning(
sequence: u64,
code: &str,
message: &str,
path: &str,
) -> StringExpand description
What:
Render one configuration-warning event as a line-terminated JSON object.
Why:
A warning about configuration itself (a legacy file left beside the JSONC
file) belongs on the machine stream as an event,
never as free prose there.
Unlike the incumbent’s per-policy warn-unsafe warning it has no policy or
trigger,
so it carries a path instead.
In TS you’d write (pseudocode):
function renderConfigurationWarning(sequence: number, code: string, message: string, path: string): string;