messages does for console activity what requests does for network activity: it gives a console line or an uncaught exception a name the rest of the corpus can point at. signals names a boolean about the page’s current state. Both live at the file root only; neither has a view-scoped form.
Messages
level is an exact, case-insensitive match against the record’s level, and message is an RE2 regex against its text. Either one is match-any when omitted.
The reference capture emits log, debug, info, warn, error, and exception. An uncaught exception or unhandled rejection arrives as exception, not error, so a corpus that wants exceptions must say level: EXCEPTION. The level vocabulary is open, so a typo such as WARNING matches nothing rather than being rejected.
Ambiguity
When a live record matches more than one entry, a consumer must report the ambiguity instead of picking the first match.sightmap validate warns message-conflict when two entries can match the same record and that is statically decidable: the same level (or one omitting it) with an identical or absent message.
Stack properties
properties extracts values from an exception’s stack, using the same extract object as components and requests. The only source is stack, and path is required: <frame>.<attribute>, where the frame is top (an alias for 0) or an index, and the attribute is function, file, line, or column.
Signals
A signal names an existing component or view withref and stands for the boolean of its current state: a component being present, or a view’s route being active.
ref must resolve to exactly one entity. A name that matches nothing is signal-ref-unresolved, and one that matches both a component and a view is signal-ref-ambiguous. Signal names must be unique across the corpus. This is a subset of SEP-0007: request and message refs, and windows over time, are not part of it.
Tags
Messages and signals both carrytags:
- A record’s message tags are the union across every matching entry. The classification survives an ambiguity that the name does not: a consumer that can’t say which message a record is can still say it is tagged
defect. - A signal’s tags are its own unioned with the resolved tags of the entity its
refnames.