Pure bounded projections of canonical Provider-output truncation evidence.
This module is shared by diagnostics and replay inspection so historical and malformed evidence receives the same tri-state interpretation. It never rewrites History and keeps only the most recent 64 positive references.
Summary
Functions
Validate positive assistant metadata used only as presentation fallback.
Return the bounded model-context warning suffix for a terminal child summary.
Normalize a Presenter correlation object without accepting malformed keys.
Normalize bounded child-output warning aggregates at a Presenter boundary.
Project one canonical usage Event with validated correlation fields.
Summarize successful provider_usage calls in the supplied History scope.
Build one bounded machine warning from valid positive canonical evidence.
Functions
Validate positive assistant metadata used only as presentation fallback.
Return the bounded model-context warning suffix for a terminal child summary.
Normalize bounded child-output warning aggregates at a Presenter boundary.
Project one canonical usage Event with validated correlation fields.
Summarize successful provider_usage calls in the supplied History scope.
Build one bounded machine warning from valid positive canonical evidence.