Skip to main content

Module receipt

Module receipt 

Source
Expand description

Render receipts written by native / desktop surfaces. Cross-platform render receipts (diagnostics, not a critical path).

Renderers write after paint; host reads when it wants. Separate from the config map so receipt writes never bump __meta_nonce__.

History is a ring per instance (cap 32) so intermittent failures stay visible after the latest upsert.

Structs§

ReceiptStore
In-memory + optional disk bag of receipts, keyed by group → instance → history.
SkippedElement
Element the renderer could not paint (capability / parse).
WidgetRenderReceipt
What a renderer actually painted for one widget instance.

Constants§

RECEIPTS_FILE_NAME
On-disk filename under the app data / widgets dir.
RECEIPTS_STORE_NAME
Prefs / file basename for the receipt bag (outside config DataMap).

Functions§

receipts_path
Default disk path under an app data dir.