Repository navigation
Description
Context
This is one shard of the test-health push in #3855. Shard e3855-ui-kit-03 covers 37 Storybook story files under packages/ui-kit/stories/. They were audited through all eight lenses in 21 clusters, in run th-20261110163718-a0e3cd.
Fixed findings, each with the proof the skill requires:
rows/ListRow,rows/QueueItemRow,rows/FileRow,rows/FilterRow,rows/ChoiceOption(StaticandMultipleStatic),evidence/SearchResultCardStatic, andprimitives/SurfaceStrongButStatic: nothing-to-observe. Each no-handler contract asserted only absences (no role, no tab stop, no.bk-row), and an empty canvas satisfies all of those. Each now first asserts the row's own text renders. Mutation killed in each: the component renders nothing without a handler.rules/NonNegotiablesNeverColourAlone: self-comparison. The "no bare coloured mark" check queried.bk-colour-only, a class nothing in the kit emits. It now requires every round dot to share its container with words. Mutation killed: the queue row's dot wrapped in its own span.screens/MorningDigestFactsBeforeAnythingAsks: weak-matcher. "The only card asks for nothing" was asserted as "somerole=buttonexists", which the card itself satisfies. It now checks the card is the FYI kind and that no asking kind is on screen. Mutation killed: the card turned into an approval.screens/ChatAnswerNoProseParagraphAnywhere: weak-matcher. The story only checked that the structured blocks were present, so an added summary paragraph passed. It now pins the body to its seven catalogued blocks. Mutation killed: a prose bubble inserted.
The authoring guide's S6 gains the rule these share: an absence assertion needs a presence beside it.
Scope
Test code under packages/ui-kit/stories/, plus the S6 sentence in docs/process/test-authoring.md.
Out of scope
Product code, the Vitest configuration, and the #2615 fix. screens/RunDetail EveryRegisterAgreesItIsStalled is deferred: three of its assertions compare fixtures with fixtures, and the stalled registers expose only colour and glyph, so a screen-level check needs a component hook first.
Acceptance criteria
bun scripts/test-health.ts batch verify --base origin/epic/3855-test-healthisok.- The batch pull request's
proofpasses on its head.
Verification
Mutation receipts and measurements are in the run directory for th-20261110163718-a0e3cd. The batch gate passed.
Contract impact
None.
Activity
schlessera commentedon Nov 11, 2026
Delivered by #3883, which merged into
epic/3855-test-healthas89d55c68f(the push in #3855). It landed in the combined merge without proof of its own; the gate, typecheck andcheck:prpassed on the combined branch. The epic's two exhaustive runs ondc2439551, 42996974186 and 42997012467, then passed. GitHub does not applyClosesfor a pull request into a non-default branch, so I'm closing this by hand. The change reachesmainwith the epic's single landing pull request.