SemText

Reference · Agent Kit

<agent-kit-test-suite>

Agent Kit element

You author the rows — one per branch — and the card renders them from the cached snapshot with a refresh stamp.

A test-suite card with per-branch rows. You author the rows — one per branch — and the card renders them from the cached snapshot with a refresh stamp. optional same-origin JSON path naming a cached snapshot for enrichment (cached-embed preset; a fixture source vetoes any `endpoint`). optional same-origin API path; NEVER fetched by this element (Live-fetch policy below) — declared for the authoring pipeline only. authored ISO-8601 stamp of the most recent sync (cached-embed preset). one of `fresh`, `stale`, `error` (cached-embed preset). `project`, `key`: `string` — the reference quartet (schema `reference` preset) — see Reference attributes below. per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2)

Children

  • <agent-kit-branch>`<agent-kit-branch>` — one per-branch stats row; author at least one (the count drives the totals chip, never a childRule). Branch attributes, all strings: - `passed` — non-negative integer (authored); totalled by the chrome chip. Non-numeric or missing totals as 0. - `failed` — non-negative integer (authored); totalled by the chrome chip. Non-numeric or missing totals as 0. The branch NAME is the row's text content — the record, extracted; the stats ride attributes (visible through the row's CSS `::after`, never part of any extracted record).

Example

agent-kit-test-suite.html
source
1 <agent-kit-test-suite kind="suite" tags="authoring"
2 org="acme" project="semtext" key="suite-authoring">
3 <agent-kit-branch passed="14" failed="0">main</agent-kit-branch>
4 <agent-kit-branch passed="13" failed="1">develop</agent-kit-branch>
5 </agent-kit-test-suite>
render
No shipped runtime for this element — the authored example renders as plain HTML.

Source: spec/schema/agent-kit/test-suite.md