Reference · SemText · Knowledge & documents
<sem-guard-rails>
SemText element
You wrap sem-guard-rail children in it. The collection sorts nothing and invents nothing — the rails you wrote, in the order you wrote them.
Example
sem-guard-rails.html
source
1
<sem-guard-rails id="gr-api" kind="api">
2
<sem-guard-rail severity="block" scope="public endpoints">
3
Never return raw provider errors; wrap them in the error envelope.
4
</sem-guard-rail>
5
<sem-guard-rail severity="warn">
6
Pagination defaults to 50 items — page explicitly in production.
7
</sem-guard-rail>
8
</sem-guard-rails>
render
No shipped runtime for this element — the authored example renders as plain HTML.
Source: spec/schema/sem-guard-rails.md