Reference · Agent Kit
<agent-kit-acceptance-criteria>
Agent Kit element
You author the criteria; the card renders them as a structured list. Point it at fixtures or an endpoint and it shows the cached snapshot with a last-refreshed stamp.
Children
-
<agent-kit-criterion>`<agent-kit-criterion>` — one acceptance criterion; author at least one (the count is displayed by the chrome chip, never enforced by a childRule). - `<agent-kit-given>` — the precondition; exactly one per criterion. - `<agent-kit-when>` — the action; exactly one per criterion. - `<agent-kit-then>` — the observable outcome; exactly one per criterion. -
<agent-kit-given>`<agent-kit-criterion>` — one acceptance criterion; author at least one (the count is displayed by the chrome chip, never enforced by a childRule). - `<agent-kit-given>` — the precondition; exactly one per criterion. - `<agent-kit-when>` — the action; exactly one per criterion. - `<agent-kit-then>` — the observable outcome; exactly one per criterion. -
<agent-kit-when>`<agent-kit-criterion>` — one acceptance criterion; author at least one (the count is displayed by the chrome chip, never enforced by a childRule). - `<agent-kit-given>` — the precondition; exactly one per criterion. - `<agent-kit-when>` — the action; exactly one per criterion. - `<agent-kit-then>` — the observable outcome; exactly one per criterion. -
<agent-kit-then>`<agent-kit-criterion>` — one acceptance criterion; author at least one (the count is displayed by the chrome chip, never enforced by a childRule). - `<agent-kit-given>` — the precondition; exactly one per criterion. - `<agent-kit-when>` — the action; exactly one per criterion. - `<agent-kit-then>` — the observable outcome; exactly one per criterion.
Example
agent-kit-acceptance-criteria.html
source
1
<agent-kit-acceptance-criteria org="acme" project="semtext" key="crit-extract">
2
<agent-kit-criterion>
3
<agent-kit-given>a hand-authored XHTML document</agent-kit-given>
4
<agent-kit-when>the extractor runs with JavaScript on or off</agent-kit-when>
5
<agent-kit-then>the two record sets deep-equal</agent-kit-then>
6
</agent-kit-criterion>
7
</agent-kit-acceptance-criteria>
render
No shipped runtime for this element — the authored example renders as plain HTML.
Source: spec/schema/agent-kit/acceptance-criteria.md