Document and validate automatic usage reporting

This commit is contained in:
2026-11-22 21:06:39 +00:00
parent a0608a53ee
commit a0cdd3d7c5
13 changed files with 188 additions and 30 deletions

View File

@@ -44,9 +44,15 @@ application binding's position. The same occurrence stream selects reporting
mode independently of the prepared application value. The invocation's mode
accessor reads the reporter's selection under its existing state mutex.
Captured invocation features contribute application-wide flags through the same
parser and alias views. The installer deduplicates handles and validates the
prospective registry atomically. Each invocation prepares feature values, starts
features after successful command input checking, and retains returned report
producers only until finalization. Generated builtins do not start features.
The reporter owns invocation-scoped visibility, message formatting, managed
report rendering, delivery observations, and finalization. It presents queued
messages after the handler returns, then a failed outcome's explanation, and
messages after the handler returns, then feature reports, then a failed outcome's explanation, and
closes its handles before `Execute` returns. It records rendering and write
errors separately for result and diagnostic destinations; the returned
`Outcome.Presentation` exposes those observations independently from the