From eb8963a2f0b50fd70db492ea747aa1386cbcba2c Mon Sep 17 00:00:00 2001 From: let-sunny Date: Tue, 31 Mar 2026 21:38:25 +0900 Subject: [PATCH 1/2] fix: lower missing-interaction-state to -1 suggestion instead of disabling (#210) Keep the interaction category visible in the 6-gauge grid by reducing the uncalibrated rule to minimal score rather than disabling it entirely. Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/CUSTOMIZATION.md | 2 +- src/core/rules/rule-config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CUSTOMIZATION.md b/docs/CUSTOMIZATION.md index 6a2ca7c5..e4fe1b07 100644 --- a/docs/CUSTOMIZATION.md +++ b/docs/CUSTOMIZATION.md @@ -134,7 +134,7 @@ Override score, severity, or enable/disable individual rules: | Rule ID | Default Score | Default Severity | |---------|--------------|-----------------| -| `missing-interaction-state` | -5 | risk | +| `missing-interaction-state` | -1 | suggestion | | `missing-prototype` *(disabled)* | -3 | missing-info | diff --git a/src/core/rules/rule-config.ts b/src/core/rules/rule-config.ts index 00af905b..ec4a2b3e 100644 --- a/src/core/rules/rule-config.ts +++ b/src/core/rules/rule-config.ts @@ -127,8 +127,8 @@ export const RULE_CONFIGS: Record = { // ── Interaction ── "missing-interaction-state": { - severity: "risk", - score: -5, + severity: "suggestion", + score: -1, // uncalibrated: no metric to validate score (#210), kept at -1 to preserve category visibility enabled: true, }, "missing-prototype": { From 41351c65e662c63544581d35e5fadbd7fbb3f44b Mon Sep 17 00:00:00 2001 From: let-sunny Date: Tue, 31 Mar 2026 21:39:46 +0900 Subject: [PATCH 2/2] docs: update rule-config comment to reflect interaction score change Co-Authored-By: Claude Opus 4.6 (1M context) --- src/core/rules/rule-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/rules/rule-config.ts b/src/core/rules/rule-config.ts index ec4a2b3e..14d4d936 100644 --- a/src/core/rules/rule-config.ts +++ b/src/core/rules/rule-config.ts @@ -42,7 +42,7 @@ export const RULE_ID_CATEGORY: Record = { * - responsive-critical: -8 ~ -6 (size-constraints ΔV +15.9% at responsive viewports) * - code-quality: -7 ~ -3 (CSS classes -8~15, no pixel impact) * - token-management: -5 ~ -4 (wrong input = wrong output, irregular spacing actively causes errors) - * - interaction: -5 (wrong guess > omission, interview confirmed) + * - interaction: -1 (uncalibrated — no metric to validate, kept minimal #210) * - semantic: -4 ~ -1 (non-semantic-name upgraded per interview — causes actual implementation errors) * * Category weights removed (#196) — overall score is simple average of categories.