

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1234567# Validate Fix8> **HARD GATE** — Fix must not regress. Run full test suite and manual UAT before declaring success.91011Prove the fix works. "I think it works" is not evidence. Run the suite, show the output, then harden against recurrence.1213> **Two-commit red/green policy (e45s08)** — Bug fixes follow the same two-commit discipline as `develop-tdd`: first commit adds/adjusts the failing test (`test(<scope>): …`), second commit applies the fix (`fix(<scope>): …`). Do not squash RED and GREEN before review.1415## Checklist1617### 1. Re-run the originally failing test1819```bash20# Run the specific test that captured the bug21<test command for the failing test>22```2324- [ ] Previously failing test now passes2526### 2. Run the full test suite2728```bash29# Run all tests — no filtering30<full test command from CLAUDE.md>31```3233- [ ] All tests pass (zero regressions)3435### 3. Type check3637```bash38<typecheck command>39```4041- [ ] No type errors introduced4243### 4. Lint4445```bash46<lint command>47```4849- [ ] No lint violations introduced5051### 5. Harden against recurrence5253For every bug fixed, add at least one prevention layer:5455| Mechanism | When to use |56|-----------|-------------|57| Type guard | Input could be the wrong shape |58| Schema validation (Zod, Pydantic, etc.) | External data crossing a boundary |59| Invariant assertion | Internal state that must always hold |60| Lint rule | Pattern that's easy to repeat by mistake |61| Environment check at startup | Missing config causes silent failure |6263- [ ] At least one hardening mechanism added64- [ ] Hardening mechanism is tested6566### 5b. Generalize-fix (HARD GATE — e80s04 / GH #98)6768Sweep the **defect class** across the codebase after local hardening — see [REFERENCE-generalize-fix.md](REFERENCE-generalize-fix.md).6970- [ ] Defect class documented (not just the one-line root cause)71- [ ] Grep sweep run and `match_count` recorded72- [ ] `verify-generalize-sweep.sh` passes on the artifact7374### 6. Update the bug file and registry.yaml7576Find the most recent `specs/bugs/BUG-*.md` file and append the resolution:7778```markdown79## Resolution8081**Fixed:** [date]82**Root cause confirmed:** [one sentence]83**Fix applied:** [what was changed]84**Hardening added:** [type guard / schema / assertion / lint rule]85**Evidence:** all tests pass (`<verify command>`)86**Commit:** `fix(<scope>): <description>`87```8889Also update the corresponding row in `specs/bugs/registry.yaml`: set `status` to `fixed`, fill in `files_changed`, `approach`, `risk_level`, `commit_message`, and any other resolution fields.9091- [ ] specs/bugs/BUG-*.md updated with resolution92- [ ] specs/bugs/registry.yaml row updated with resolution fields9394### 7. Behavioral Proof (HARD GATE)9596Mechanical verification (tests passing) is only half the fix. You must prove **behavioral correctness**.9798- [ ] Manually demonstrate the fixed behavior (e.g., via `run_shell_command` or `web_fetch`)99- [ ] Compare the output/state against the "Expected Behavior" in the bug file100- [ ] Show the user evidence of the behavior, not just the test logs101102## Rules103104- **Loop until behavioral correctness is verified**: if any checklist item fails, or if the behavior is still incorrect despite passing tests, return to step 1 and run all checks again from the top — do not declare done until every item is green and the behavior is proven correct in a single run.105- **Never use `@ts-ignore`, `as any`, or `// eslint-disable`** to "fix" a bug — these suppress the symptom without fixing the root cause106- **Never mark the task done if any test is still failing**107- **The verify command from specs/bugs/BUG-*.md or the active epic task `verify` field must pass**108109Suggest next skill: `audit-code` → `commit-message`.110111## Verify112113→ verify: `grep -q 'generalize-fix' skills/validate-fix/SKILL.md && test -x scripts/verify-generalize-sweep.sh && bash scripts/verify-generalize-sweep.sh --self-test && echo OK`114115---116117# Generalize-fix (e80s04 / GH #98)118119After local hardening in `validate-fix`, sweep the **defect class** across the codebase.120121## Steps1221231. **Classify** — name the pattern (e.g. `unscoped org query`, `fail-open verify`, `hardcoded package manager`).1242. **Sweep** — grep for sibling instances; record `match_count` and `grep_pattern`.1253. **Resolve** — patch all matches in this PR **or** file one tracking issue listing every remaining instance.1264. **Artifact** — write sweep evidence before declaring done:127128```bash129cat > specs/verifications/generalize-sweep-BUG-YYYY-MM-DD-slug.json <<EOF130{131 "defect_class": "fail-open-verify",132 "grep_pattern": "\\\\|\\\\| echo",133 "match_count": 0,134 "sweep_scope": "skills/*/SKILL.md",135 "patched_in_pr": [],136 "tracked_issues": []137}138EOF139bash scripts/verify-generalize-sweep.sh specs/verifications/generalize-sweep-*.json140```141142## Security classes143144When the defect class is security- or gate-relevant:145146- Add a row to `security-review` CWE fixture table (see `skills/security-review/SKILL.md` § CWE mapping mandate).147- If security-impact was MEDIUM+: add regression test, false-positive exclusion rule, and threat-model update (HIGH+).148
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| danielvm-git/bigpowers.cursor/rules/simple-english.mdc · 139 | Cursor rules | styletypesgitdatabase+6 | 47/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/assess-impact.mdc · 139 | Cursor rules | testtesting-strategydeployment | 66/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/audit-plan.mdc · 139 | Cursor rules | buildteststylegit | 74/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/build-epic.mdc · 139 | Cursor rules | buildgit | 58/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/change-request.mdc · 139 | Cursor rules | no sections | 48/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/commit-message.mdc · 139 | Cursor rules | lint-formatstyletypesgit+3 | 82/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/compose-workflow.mdc · 139 | Cursor rules | styledo-notagent-behaviour | 65/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/context7-mcp.mdc · 139 | Cursor rules | style | 54/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/deepen-architecture.mdc · 139 | Cursor rules | testtesting-strategydo-not | 57/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/define-language.mdc · 139 | Cursor rules | lint-formatdo-not | 65/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/define-success.mdc · 139 | Cursor rules | no sections | 4/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/delegate-task.mdc · 139 | Cursor rules | git | 62/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/deploy.mdc · 139 | Cursor rules | setupbuildtestdeployment | 77/100 | 14 days ago | |
| danielvm-git/bigpowers.windsurf/rules/verify-work.md · 139 | Windsurf rules | buildtestlint-formatagent-behaviour | 74/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/develop-tdd.mdc · 139 | Cursor rules | teststylearchtesting-strategy+5 | 85/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/diagnose-root.mdc · 139 | Cursor rules | no sections | 39/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/diagnose-stall.mdc · 139 | Cursor rules | no sections | 44/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/dispatch-agents.mdc · 139 | Cursor rules | git | 54/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/edit-document.mdc · 139 | Cursor rules | no sections | 39/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/elaborate-spec.mdc · 139 | Cursor rules | test | 58/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| danielvm-git/bigpowers.windsurf/rules/organize-workspace.md · 139 | Windsurf rules | buildstylegitdeployment+2 | 89/100 | 14 days ago | |
| danielvm-git/bigpowers.windsurf/rules/guard-git.md · 139 | Windsurf rules | stylearchgitsecurity+2 | 89/100 | 14 days ago | |
| danielvm-git/bigpowers.windsurf/rules/quick-fix.md · 139 | Windsurf rules | teststylegitdeployment+1 | 85/100 | 14 days ago | |
| danielvm-git/bigpowers.windsurf/rules/develop-tdd.md · 139 | Windsurf rules | teststylearchtesting-strategy+5 | 85/100 | 14 days ago | |
| danielvm-git/bigpowers.windsurf/rules/extract-design.md · 139 | Windsurf rules | lint-formatstyledependenciesui | 82/100 | 14 days ago | |
| danielvm-git/bigpowers.windsurf/rules/commit-message.md · 139 | Windsurf rules | lint-formatstyletypesgit+3 | 82/100 | 14 days ago | |
| danielvm-git/bigpowers.windsurf/rules/session-state.md · 139 | Windsurf rules | lint-formatstyleagent-behaviour | 82/100 | 14 days ago | |
| danielvm-git/bigpowers.windsurf/rules/setup-environment.md · 139 | Windsurf rules | setupstylesecuritydo-not+1 | 81/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/danielvm-git-bigpowers-windsurf-rules-validate-fix)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.