Skip to content
Back to skills

Seeded Bug

ASecurity

Use when adding an assertion kind, changing the verifier, or proving flowctl catches a class of defect. Adds a switchable defect to fixture-app and an accuracy test showing a correct run reports it as failed.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 16, 2026
testinggo

Security analysis

A100/100

Scanned November 16, 2026

npx -y skills add connext-solutions/flowctl --skill seeded-bug --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Seeded Bug?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Seeded Bug
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/connext-solutions-seeded-bug/badge)](https://www.skillsdirectory.com/skills/connext-solutions-seeded-bug)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: seeded-bug
description: Use when adding an assertion kind, changing the verifier, or proving flowctl catches a class of defect. Adds a switchable defect to fixture-app and an accuracy test showing a correct run reports it as failed.
---

# Add a seeded bug

flowctl's "accurate" goal is measured here: every assertion kind should catch at least one defect that no
other assertion catches, and the clean app must pass. Every kind is covered today, including `url` (`redirectWrong`) and `value`
(`formNotReset`); the coverage list is in `packages/fixture-app/AGENTS.md`.

1. **Name the defect** a real app could ship (wrong status, nothing saved, wrong record changed, toast on
   failure, missing validation, visible to the wrong role…). Pick the assertion that should be the *only*
   thing catching it.
2. **Add the mode** to `BUG_MODES` in `packages/fixture-app/src/server.ts` with a JSDoc `@remarks` line.
   Implement it as a branch on `bug === '<mode>'` (server) or `window.BUG` (page script in `pages.ts`).
3. **Cover it with a flow.** Extend a sample flow in `packages/fixture-app/flows/` or add one (tag `fixture`).
   The assertion is written from the intended behaviour, never from what the buggy app shows.
4. **Map it** in `CAUGHT_BY` (`packages/core/test/seeded-bugs.accuracy.test.ts`), or in the exploration
   accuracy test if it is about exploration.
5. **Prove the assertion is load-bearing:** temporarily delete that one assertion and run
   `bun run test:accuracy` — the new mode must now be reported `passed` (missed). Restore it; it must be `failed`.
   If it is still caught without the assertion, another assertion catches it: pick a sharper defect.
6. Run `bun run test:accuracy`: the clean app passes, every mode fails. Add the row to `packages/fixture-app/README.md`.

Never weaken, rename or delete an existing mode to make a test pass.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.