Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(scenario-catalog): make every UI citation name one collected case
cyhaa051476edcb
diff --git a/docs/plans/model-hub-usage-metering.md b/docs/plans/model-hub-usage-metering.mdindex 0ab62adfa..1d7c2650e 100644--- a/docs/plans/model-hub-usage-metering.md+++ b/docs/plans/model-hub-usage-metering.md@@ -1241,7 +1241,7 @@ have in common — a rule per catalog would be a policy each new catalog could c| --- | --- | --- || Catalog ID | `path::MH-USAGE-024` | the case's own name || Readable full name | `path::taskCommandPreview quotes an argv part …` | the full name with `' > '` flattened to `' '` |-| File only | `path` | the file being collected at all |+| File only | `path` | the file being collected at all — *deleted in round 5, below* |Two shapes that resolve to a running case and still prove nothing are rejected explicitly: arow citing a **sibling row's ID** (checked against the whole catalog's ID set, including@@ -1282,3 +1282,62 @@ early and shifts the ones before it), and — where the headers can leave the actree — labels every figure with the header at its own position. Four mutations were runagainst it and all four fail: dropping `role="table"`, removing the model row's placeholdercell, removing the stacked labels, and reordering `SOURCE_COLUMNS`.++### Stage 2, round 5 (head `28baeb512`) — class A, fifth appearance++One P2 finding, and it is class A again: **a row can read `covered` while nothing executable+is tied to *that row*.** Heads 1, 3, 4, 5. Each round's fix was correct about the level it+was shown and defined the property by what the existing rows happened to say — which is what+produced the next level.++| Head | What the gate accepted | The question it was actually answering |+| --- | --- | --- |+| 1 | a commented-out declaration | does the cited case run |+| 3 | a regex literal read as division | the same, one layer deeper |+| 4 | rows selected through `status_legend` | which rows get asked |+| 5 | a file-only citation | what counts as an answer |++Round 4 accepted the file-only shape **because three legacy rows used it**. The reviewer+showed why that cannot hold: `MEMORY-LIST-006` and `MEMORY-LIST-007` both cited+`MemorySearchPanel.test.tsx` and nothing else, so deleting either row's case leaves the other+row keeping the file collected and *both* rows green. A file runs for reasons that have+nothing to do with the citing row.++**Terminal rule, with no free parameter left for an adversary to probe:** a citation must+name a case, and that name must resolve to **exactly one** case the collector observes in the+cited file — for **every** citation a row makes, not for one key. The shape is deleted rather+than weakened; there is no ID heuristic bolted onto a bare file.++**The member the reviewer had not reached, which is where the rot was.** `memory_repair`+states its UI half as `ui_contract: {test, case, inputs}`, so reading `row.test` alone left+all five of its fully-written citations unasked — the round-4 legend hole again, in a+different key. Four of the five were dead. `git log -S` traces three to `d6ea9ee0f`+(#1401, merged 2026-08-14), which deleted 623 lines from `SettingsMemoryPage.test.tsx` and+368 from `MemoryStatusPanel.test.tsx`; nothing read `ui_contract`, so the false claims sat+there for five days. Those three `ui_contract` blocks are deleted — `status`,+`expected_outputs`, and `related_tests` untouched, since only the case-level claim was+provably false and asserting anything more about another capability's semantics is not mine+to assert.++`related_tests` and `canonical_tests` stay unread, and that is **the same rule rather than an+exception to it**: they name a file and no case, so they cannot evidence a row — and they do+not claim to. "Related" is a pointer.++Two mechanics follow from measurement rather than from taste:++- **Containment, not prefix.** `[MEMORY-LIST-004][MEMORY-LIST-006] browses …` is one case+ answering two scenarios, each citing it by its own ID, so an ID is not always first. The+ looseness is bounded by the pre-existing uniqueness count — a name reaching two cases fails+ for the same reason as one reaching none.+- **Parameterized cases without emulating printf.** `vitest list` *does* expand `it.each`, so+ a citation's terms are the template's literal head plus each `inputs` entry, all contained+ in one collected name. The literal tail is dropped rather than parsed because the count is+ what decides: for `accepts the declared failure %s with result %s` with+ `[memory_repair_failed, timed_out]`, one collected case carries all three terms and the+ other seven carry two.++The three bare-file rows were fixable as citations alone — their cases already carry their+IDs, which §4 of the scenario-testing standard has required all along, so a bare-file row was+the standard not being followed rather than a second legitimate convention. Zero test renames.+Coverage went 20 rows / 1 legend-selected catalog → **22 citations across 22 rows**, and the+standard now states the property so the next catalog writes citations that pass.diff --git a/standards/scenario-testing/STANDARD.md b/standards/scenario-testing/STANDARD.mdindex 56d979351..0dff6b72e 100644--- a/standards/scenario-testing/STANDARD.md+++ b/standards/scenario-testing/STANDARD.md@@ -182,6 +182,17 @@ Every scenario-backed automated test should expose the scenario ID in a searchab- test metadata/decorator- or a nearby scenario mapping constant+Every citation a row makes must name a **case**, and that name must resolve to+exactly one case the suite collects in the cited file — in whichever key the row+states its evidence, `test` and any layer-specific key alike. A citation that+names only a file is not evidence for the row that makes it: the file stays+collected for whatever else cites it, so deleting the one case that answered+this row leaves the row reading `covered` with nothing executable tied to it.+That is not hypothetical — it is how four dead citations survived a test-file+rewrite unnoticed for five days. A pointer key such as `related_tests` may name+bare files precisely because it claims no coverage; anything that does claim+coverage names its case.+## 5. Harness Design Rules### Preferred Designdiff --git a/tests/scenarios/memory_list/catalog.yaml b/tests/scenarios/memory_list/catalog.yamlindex a52a6e15d..eb2eba94d 100644--- a/tests/scenarios/memory_list/catalog.yaml+++ b/tests/scenarios/memory_list/catalog.yaml@@ -48,10 +48,10 @@ scenarios:status: coveredkind: happy_pathlayer: contract- test: ui/src/components/settings/memory/MemorySearchPanel.test.tsx+ test: ui/src/components/settings/memory/MemorySearchPanel.test.tsx::[MEMORY-LIST-006]- id: MEMORY-LIST-007name: Non-empty Search query preserves relevance search behaviorstatus: coveredkind: compatibilitylayer: contract- test: ui/src/components/settings/memory/MemorySearchPanel.test.tsx+ test: ui/src/components/settings/memory/MemorySearchPanel.test.tsx::[MEMORY-LIST-007]diff --git a/tests/scenarios/memory_repair/catalog.yaml b/tests/scenarios/memory_repair/catalog.yamlindex cd424b758..f7114e47c 100644--- a/tests/scenarios/memory_repair/catalog.yaml+++ b/tests/scenarios/memory_repair/catalog.yaml@@ -62,9 +62,6 @@ scenarios:expected_outputs:- A completed-with-warnings response containing the frozen unhealthy projection- A follow-up public status read that remains available and reports degraded cascade health- ui_contract:- test: ui/src/components/settings/SettingsMemoryPage.test.tsx- case: renders an unhealthy Repair completion as warningsrelated_tests:- tests/test_memory_repair.py::test_repair_runs_sync_beside_live_sidecar_and_projects_health- ui/src/components/settings/SettingsMemoryPage.test.tsx@@ -86,9 +83,6 @@ scenarios:- Exactly one internal Repair invocation across both public Repair requests- A 409 memory_operation_in_progress response without invoking internal Clear- A completed joined response and available follow-up status- ui_contract:- test: ui/src/components/settings/SettingsMemoryPage.test.tsx- case: prevents a second Repair request while the first is pendingrelated_tests:- tests/test_memory_repair.py::test_repair_is_retained_joined_and_holds_lease_after_caller_cancel- ui/src/components/settings/SettingsMemoryPage.test.tsx@@ -138,9 +132,6 @@ scenarios:- repair_available remains exactly false before and after the attempted mutation- A 409 memory_runtime_unsupported failure from the public Repair route- An available follow-up Memory status result- ui_contract:- test: ui/src/components/settings/memory/MemoryStatusPanel.test.tsx- case: only exposes Repair index when the backend capability is explicitly availablerelated_tests:- tests/test_ui_memory_routes.py::test_memory_settings_are_direct_loopback_only_and_write_only- tests/test_ui_memory_routes.py::test_memory_settings_projects_only_admitted_repair_capabilitydiff --git a/tests/scenarios/message_delivery/catalog.yaml b/tests/scenarios/message_delivery/catalog.yamlindex 837c2267a..03a3e0e61 100644--- a/tests/scenarios/message_delivery/catalog.yaml+++ b/tests/scenarios/message_delivery/catalog.yaml@@ -163,7 +163,7 @@ scenarios:status: coveredkind: regressionlayer: contract- test: ui/src/components/workbench/Composer.attachmentRetry.test.tsx+ test: ui/src/components/workbench/Composer.attachmentRetry.test.tsx::MESSAGE-DELIVERY-025- id: MESSAGE-DELIVERY-101name: Unresolved fallback-capable delivery fences only later FIFO submissionsstatus: covereddiff --git a/ui/scripts/scenarioCatalog.mjs b/ui/scripts/scenarioCatalog.mjsindex cfbc4fa48..b01f65458 100644--- a/ui/scripts/scenarioCatalog.mjs+++ b/ui/scripts/scenarioCatalog.mjs@@ -35,24 +35,52 @@ const citedPath = (testRef) => testRef.split('::')[0];export const isUiEvidence = (testRef) => UI_SUFFIXES.has(path.extname(citedPath(testRef)));/**- * Every catalog row whose evidence is a UI case, whatever its legend looks like.+ * Every UI citation the catalog's rows make, whatever key it sits in.*- * The row set is the rows that *cite* a UI file, never the rows a legend marks as- * needing a test. `status_legend` maps a status to a description string in every- * catalog here but one, so reading `test_required` off it selected the rows of- * that single catalog and passed the other three in silence — the same failure- * this gate exists to prevent, one level up. A citation is the row's own claim,- * exists in every catalog, and no legend shape can switch it off.+ * Two questions this has been asked wrong twice, and the answer to both is that+ * the row's own claim decides, never a schema position:*- * `cited` is null for a row that names a file and no case in it.+ * *Which rows?* The ones that **cite** a UI file — never the ones a legend marks+ * as needing a test. `status_legend` maps a status to a description string in+ * every catalog here but one, so reading `test_required` off it selected that+ * single catalog's rows and passed the other three in silence.+ *+ * *Which citations?* Every one, not `test` alone. A row states UI evidence in+ * two places — `test` names the case that owns the row, and `ui_contract` names+ * the UI half of a row owned by a pytest scenario — and reading only the first+ * left five fully-written citations unasked, which is the legend hole again in+ * another key. It cost four of those five: three named cases #1401 deleted on+ * 2026-08-14, unnoticed because nothing read them.+ *+ * `related_tests` and `canonical_tests` stay unread, and that is the same rule+ * rather than an exception to it: they name a file and no case, so they cannot+ * evidence a row, and they do not claim to — "related" is a pointer, not a+ * coverage claim.+ *+ * `cited` is null for a citation that names a file and no case in it, which+ * `resolveUiEvidence` reports rather than resolves.*/export const uiEvidenceRows = (catalog) =>- (catalog.scenarios ?? [])- .filter((row) => typeof row.test === 'string' && isUiEvidence(row.test))- .map((row) => {+ (catalog.scenarios ?? []).flatMap((row) => {+ const citations = [];+ if (typeof row.test === 'string' && isUiEvidence(row.test)) {const [file, cited = null] = row.test.split('::');- return { id: row.id, file, cited };- });+ citations.push({ id: row.id, file, cited });+ }+ const contract = row.ui_contract;+ if (contract && typeof contract.test === 'string' && isUiEvidence(contract.test)) {+ citations.push({+ id: row.id,+ file: contract.test,+ cited: typeof contract.case === 'string' ? contract.case : null,+ // A parameterized case is named at run time, so the catalog writes the+ // template and the substitutions it means separately. Both are terms of+ // one citation; see `citedTerms`.+ inputs: (contract.inputs ?? []).map(String),+ });+ }+ return citations;+ });/** A collected case's own name, without the `describe` path vitest prefixes to it. */const caseName = (fullName) => fullName.split(' > ').at(-1);@@ -61,25 +89,53 @@ const caseName = (fullName) => fullName.split(' > ').at(-1);* The names a citation may be written against: the case's own, and its full path* with vitest's separator flattened to the space the catalogs write instead.*- * Two conventions are in use — a catalog ID that the case name begins with, and- * the case's readable full name — and both are a prefix of one of these. One- * matching rule covers them because that is what they have in common, rather- * than a rule per catalog, which is a policy each new catalog could contradict.+ * Two conventions are in use — a catalog ID the case name carries, and the+ * case's readable full name — and one containment rule covers both, rather than+ * a rule per catalog, which is a policy each new catalog could contradict.+ * Containment and not a prefix because an ID is not always first: one case can+ * carry two scenarios (`[MEMORY-LIST-004][MEMORY-LIST-006] browses …`), and each+ * of them cites it by its own ID. What bounds the looseness is the count below —+ * exactly one collected case may match — so a citation loose enough to reach two+ * cases fails for the same reason as one that reaches none.*/const citableNames = (entry) => [caseName(entry.name), entry.name.replaceAll(' > ', ' ')];+/**+ * The terms one citation names, all of which the collected name must contain.+ *+ * A parameterized case has no name until vitest substitutes its row, so the+ * catalog writes the template and its `inputs` in separate keys. Taking the+ * template's literal head plus each input keeps this out of the business of+ * emulating a format string: `%` opens a substitution, everything before the+ * first one is literal, and the inputs are what the substitutions were. The+ * literal tail is dropped rather than parsed, which costs nothing because the+ * count is what decides — for `accepts the declared failure %s with result %s`+ * with `[memory_repair_failed, timed_out]`, one collected case carries all+ * three terms and the other seven carry two.+ */+const citedTerms = (row) => [row.cited.split('%')[0], ...(row.inputs ?? [])];+const sameFile = (collectedFile, file) => {const normalized = collectedFile.replaceAll('\\', '/');return normalized === file || normalized.endsWith(`/${file}`);};/**- * What is wrong with these rows, given everything vitest collected — nothing if- * every citation resolves to a case the suite would execute.+ * What is wrong with these citations, given everything vitest collected — nothing+ * if each names exactly one case the suite would execute.*- * Zero is the interesting count: a case that is commented out, skipped, named at- * run time by `it.each`, sitting in an unreachable branch, or merely quoted in a- * string is absent from a collection, so it cannot stand as a row's evidence.+ * Zero is the interesting count: a case that is commented out, skipped, sitting+ * in an unreachable branch, or merely quoted in a string is absent from a+ * collection, so it cannot stand as a row's evidence.+ *+ * A citation must **name a case**, which is the whole rule and the reason there+ * is no file-only shape left. Accepting a bare file made the gate ask whether the+ * file runs, and a file runs for reasons that have nothing to do with the citing+ * row: `MEMORY-LIST-006` and `MEMORY-LIST-007` both named `MemorySearchPanel`+ * and nothing else, so deleting either one's case left the other keeping the+ * file collected and both rows green. That is this gate's own failure — a row+ * reading `covered` with nothing executable tied to *it* — so the file is+ * reported rather than resolved, and the row states which case carries it.** `ids` is the whole catalog's ID set, which is what makes a borrowed citation* legible: a row naming a *sibling row's* ID resolves to a real running case and@@ -89,14 +145,11 @@ export const resolveUiEvidence = (rows, collected, ids = new Set(rows.map((row)const problems = [];for (const row of rows) {const where = row.catalog ? `${row.catalog} ${row.id}` : row.id;- const inFile = collected.filter((entry) => sameFile(entry.file, row.file));if (row.cited === null) {- // The row cites a file and names no case inside it, so the only claim there- // is to check is the one it makes: that vitest executes that file. Which- // case carries the row is the catalog's to say, and this one does not say.- if (inFile.length === 0) {- problems.push(`${where}: vitest collects no case from ${row.file}, so the file it cites is not executable evidence`);- }+ problems.push(+ `${where} cites ${row.file} and no case in it; a file is evidence for no row in particular — `+ + 'name the case that carries this one, since any other row citing the same file keeps it collected',+ );continue;}if (row.cited !== row.id && ids.has(row.cited)) {@@ -105,11 +158,15 @@ export const resolveUiEvidence = (rows, collected, ids = new Set(rows.map((row));continue;}- const matches = inFile.filter((entry) => citableNames(entry).some((name) => name.startsWith(row.cited)));+ const terms = citedTerms(row);+ const matches = collected+ .filter((entry) => sameFile(entry.file, row.file))+ .filter((entry) => citableNames(entry).some((name) => terms.every((term) => name.includes(term))));if (matches.length !== 1) {problems.push(- `${where}: vitest collects ${matches.length} cases named \`${row.cited}…\` in ${row.file}, expected exactly one — `- + 'a commented-out, skipped, parameterized, unreachable or merely quoted case is not executable evidence',+ `${where}: vitest collects ${matches.length} cases named \`${terms.join('` + `')}\` in ${row.file}, expected exactly one — `+ + 'a commented-out, skipped, unreachable or merely quoted case is not executable evidence, and a name '+ + 'reaching several cases identifies none of them',);}}diff --git a/ui/scripts/scenarioCatalog.test.mjs b/ui/scripts/scenarioCatalog.test.mjsindex 5fec6c0ed..836446d12 100644--- a/ui/scripts/scenarioCatalog.test.mjs+++ b/ui/scripts/scenarioCatalog.test.mjs@@ -87,6 +87,7 @@ describe('UI evidence resolution', () => {{ name: 'suite > MH-ROW-C: runs', file: `/checkout/${FIXTURE_FILE}` },{ name: 'suite > MH-ROW-C: runs again', file: `/checkout/${FIXTURE_FILE}` },{ name: 'TaskDetail > command task > states the timeout', file: `/checkout/${FIXTURE_FILE}` },+ { name: 'suite > [MH-ROW-X][MH-ROW-F] one case answering two rows', file: `/checkout/${FIXTURE_FILE}` },];const row = (id, extra = {}) => ({ id, cited: id, file: FIXTURE_FILE, ...extra });@@ -103,29 +104,73 @@ describe('UI evidence resolution', () => {// The other convention in the checkout: the case's readable full name, which// the catalogs write with vitest's separator flattened to a space.expect(resolveUiEvidence([row('SCT-018', { cited: 'TaskDetail command task states the timeout' })], collected)).toEqual([]);- // A row that names a file and no case in it claims only that the file runs.- expect(resolveUiEvidence([row('MH-ROW-E', { cited: null })], collected)).toEqual([]);- expect(resolveUiEvidence([row('MH-ROW-E', { cited: null, file: 'absent.test.tsx' })], collected)).toHaveLength(1);+ // An ID the case name carries without leading with it, which is why the rule+ // is containment: one case can answer two scenarios, and each of them cites+ // it by its own ID.+ expect(resolveUiEvidence([row('MH-ROW-F', { cited: '[MH-ROW-F]' })], collected)).toEqual([]);+ // A citation naming a file and no case in it is evidence for no row in+ // particular — whatever else cites the file keeps it collected, so the row+ // would read `covered` with nothing tied to itself. Reported, not resolved.+ expect(resolveUiEvidence([row('MH-ROW-E', { cited: null })], collected)).toHaveLength(1);});- it('asks about every row that cites a UI file, whatever its legend looks like', () => {- // The legend shape is the hole this closes: `status_legend` is a description- // string in every catalog but one, so selecting rows by `test_required` asked- // about one catalog and passed the rest without saying so. A citation is the- // row's own claim and reads the same in both shapes.+ it('resolves a parameterized case through the inputs the citation names', () => {+ // A case named at run time has no name to cite, so the catalog writes the+ // template and its substitutions in separate keys. Both are terms of one+ // citation, and the count is still what decides.+ const collected = [+ { name: 'parse > accepts the declared failure memory_repair_failed with result failed', file: '/checkout/parse.test.ts' },+ { name: 'parse > accepts the declared failure memory_repair_failed with result timed_out', file: '/checkout/parse.test.ts' },+ ];+ const cited = (inputs) => [{+ id: 'MEMORY-REPAIR-004',+ file: 'parse.test.ts',+ cited: 'accepts the declared failure %s with result %s',+ inputs,+ }];++ expect(resolveUiEvidence(cited(['memory_repair_failed', 'timed_out']), collected)).toEqual([]);+ // The template alone reaches every row of the table, which identifies none of+ // them — the same failure as reaching no case at all.+ expect(resolveUiEvidence(cited([]), collected)).toHaveLength(1);+ });++ it('asks about every UI citation a row makes, whatever key it sits in and whatever its legend looks like', () => {+ // Two holes of one shape, each found a round apart. The legend: `status_legend`+ // is a description string in every catalog but one, so selecting rows by+ // `test_required` asked about that catalog and passed the rest without saying+ // so. The key: reading `test` alone left every `ui_contract` unasked, and four+ // of the five in the checkout named a case that no longer existed. A citation+ // is the row's own claim, so the answer to both is to read them all.const scenarios = [{ id: 'MH-UI', status: 'covered', test: 'ui/src/a.test.tsx::MH-UI' },{ id: 'MH-SCRIPT', status: 'covered', test: 'ui/scripts/a.test.mjs::MH-SCRIPT' },{ id: 'MH-FILE', status: 'covered', test: 'ui/src/b.test.tsx' },{ id: 'MH-PY', status: 'covered', test: 'tests/test_a.py::test_a' },+ {+ id: 'MH-CONTRACT',+ status: 'covered',+ test: 'tests/test_b.py::test_b',+ ui_contract: { test: 'ui/src/c.test.tsx', case: 'holds the frozen contract' },+ },+ // A pointer, not a claim: it names a file and no case, so it evidences no+ // row and does not say it does. Unread for the same reason a file-only+ // citation is rejected, rather than as an exception to it.+ { id: 'MH-RELATED', status: 'covered', test: 'tests/test_c.py::test_c', related_tests: ['ui/src/d.test.tsx'] },{ id: 'MH-GAP', status: 'gap', test: null },];- const asked = ['MH-UI', 'MH-SCRIPT', 'MH-FILE'];+ const asked = ['MH-UI', 'MH-SCRIPT', 'MH-FILE', 'MH-CONTRACT'];+ const rowsOf = (catalog) => uiEvidenceRows({ ...catalog, scenarios });- expect(uiEvidenceRows({ status_legend: { covered: { test_required: true } }, scenarios }).map((row) => row.id)).toEqual(asked);- expect(uiEvidenceRows({ status_legend: { covered: 'executable evidence exists' }, scenarios }).map((row) => row.id)).toEqual(asked);- expect(uiEvidenceRows({ scenarios }).map((row) => row.id)).toEqual(asked);- expect(uiEvidenceRows({ scenarios }).find((row) => row.id === 'MH-FILE').cited).toBe(null);+ expect(rowsOf({ status_legend: { covered: { test_required: true } } }).map((row) => row.id)).toEqual(asked);+ expect(rowsOf({ status_legend: { covered: 'executable evidence exists' } }).map((row) => row.id)).toEqual(asked);+ expect(rowsOf({}).map((row) => row.id)).toEqual(asked);+ // The shape the resolver then rejects, and the one it reads a case out of.+ expect(rowsOf({}).find((row) => row.id === 'MH-FILE').cited).toBe(null);+ expect(rowsOf({}).find((row) => row.id === 'MH-CONTRACT')).toMatchObject({+ file: 'ui/src/c.test.tsx',+ cited: 'holds the frozen contract',+ });expect(isUiEvidence('tests/test_a.py::test_a')).toBe(false);});});diff --git a/ui/scripts/validate-scenario-catalog.mjs b/ui/scripts/validate-scenario-catalog.mjsindex cb9f80a26..50f8cb8fd 100644--- a/ui/scripts/validate-scenario-catalog.mjs+++ b/ui/scripts/validate-scenario-catalog.mjs@@ -1,7 +1,7 @@#!/usr/bin/env node/**- * Gate: every scenario-catalog row evidenced by a UI case resolves to exactly one- * case vitest collects, in the file the row cites.+ * Gate: every UI citation a scenario catalog makes names exactly one case vitest+ * collects, in the file the citation points at.** This runs from `npm test`, which is the UI suite's own CI step, because that is* where the collector lives. The Python catalog checker owns everything it can@@ -53,7 +53,7 @@ const main = () => {});const rows = catalogs.flatMap((catalog) => catalog.rows);if (rows.length === 0) {- console.log('scenario catalogs: no rows are evidenced by a UI case');+ console.log('scenario catalogs: no row cites a UI case');return;}@@ -63,13 +63,16 @@ const main = () => {const collected = collectCases({ files });const problems = catalogs.flatMap((catalog) => resolveUiEvidence(catalog.rows, collected, catalog.ids));if (problems.length > 0) {- console.error(`\nUI-evidenced scenario rows that do not resolve to a collected vitest case:\n`);+ console.error(`\nScenario-catalog UI citations that do not name a collected vitest case:\n`);for (const problem of problems) console.error(` - ${problem}`);console.error('');process.exitCode = 1;return;}- console.log(`scenario catalogs: ${rows.length} UI-evidenced rows resolve to a collected vitest case`);+ console.log(+ `scenario catalogs: ${rows.length} UI citations across `+ + `${new Set(rows.map((row) => row.id)).size} rows each name one collected vitest case`,+ );};main();