brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
common-tddGuides quality-first TDD for new behavior, bug fixes, and test changes. Selects the smallest test layer, proves a distinct regression risk, and runs bounded RED-GREEN-REFACTOR verification.
Independent GitHub snapshot · Automated classification · Original documentation governs
A passing test is insufficient; the test must prove an owned behavior and a distinct plausible fault.
Compare against the existing suite before adding or removing cases. Ensure the scenario is not already covered upstream or in nearby layers.
Create one Test Intent Record per behavior/risk:
contract: observable contract — an application-owned result or outward side effectfault: distinct plausible fault this test catcheslayer: smallest honest unit, component, contract, integration, or E2E layercases: minimal distinct equivalence classes; use a parameterized test for equivalent inputscommand: exact focused single-run commandReject tests that duplicate existing suite coverage, assert internal mock choreography over outward side effects, depend on time/network/order, or invent numeric four-pillar scores without measured evidence.
expected_red, invalid_red, unexpected_green, or verification_infra_failed. If it is unexpected_green, inspect existing coverage and remove a redundant or weak case before implementing production code.expected_red; rerun the same command.add tests after, too small, passed first run, run the full suite again, or mock every collaborator.See references/quality-contract.md for the intent record, failure taxonomy, layer routing, and runner examples.