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).
create-testDefine or implement regression proof: test strategy, black-box or integration tests, KPIs, thresholds, audits, or missing tests.
Independent GitHub snapshot · Automated classification · Original documentation governs
Start with the user need or business rule that must always hold, not files, coverage, or internal calls. Inspect for facts; ask only for business decisions that cannot be discovered.
Establish:
Never invent a metric or threshold; record the gap. Match the proof's inputs and environment to the context it claims to model. A subprocess that represents normal runtime must not inherit test-only environment variables.
Prefer the highest reliable boundary:
Mock only beyond the verified boundary. For database or migration work, read integration patterns. When proving a process manager, worker, container entrypoint, or deployed artifact, use the real container or operating-system image. Verify worker replacement, signal handling, and graceful shutdown only when those boundaries apply.
For strategy or audit only, return the contract, prioritized scenarios, proof method, and blind spots. Judge tests by failures caught, not assertion or coverage counts. Ask which states the proof covers and whether it includes the most fragile states.
A refactor keeps behavior. Capture a characterization baseline and observe it green on the unchanged code and after the refactor. Never break working behavior to watch a refactor test fail. If the baseline cannot run, name what is missing instead of lowering the proof standard.
A performance claim needs a measurement that could contradict it. Measure unchanged and changed code with the same tool, environment, and data set. Name the tool and workload. Report the results and run-to-run spread, not one best run. For a hard maximum, define valid samples and repetitions before measuring, then judge the worst valid sample. Measure every required process or worker. Report setup separately from the measured interval. Profile before optimizing. An unmeasured performance claim remains unproven.
Follow project layout and the development loop. Add the smallest important proof, observe it fail, make approved source changes, then observe it pass. Assert outcomes, state, events, metrics, and error contracts rather than calls. Run focused and relevant suites. Report what the evidence proves and what it does not cover.