Skip to main content

Module alert_render

Module alert_render 

Source

Structs§

AlertDiagnostic
A diagnostic accepted from one document-version-verified producer snapshot.
AlertEngine
Session-owned alert delta state. A host may retain one engine for its session registry.
AlertIdentity
Canonical identity used for de-duplication, ordering ties, and rendered tracking.
AlertObservation
One complete, accepted snapshot from a single diagnostics producer.
RenderedAlert
The server-rendered result of one finalized block.

Enums§

AlertSeverity

Constants§

ALERT_ELLIPSIS
EXCLUDED_FINALIZATION_COMMANDS
Commands in this closed list are transport or maintenance traffic, not agent-visible tool responses. Keep additions explicit so a new command cannot silently consume a pending alert.
MAX_ALERT_LINE_CHARS
The rendered reminder is intentionally short enough to preserve the response it annotates. Gate 6 will replace this product constant with its ruled value.
MAX_RENDERED_ALERT_LINES

Functions§

is_excluded_finalization_command
normalize_alert_message
The sole alert-message normalizer: first line, trim, whitespace-run collapse, and NFC-style composition. It deliberately does not rewrite paths, numbers, or quotation marks.