truecourse 0.5.8-windows.4 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -114,8 +114,25 @@ truecourse rules categories --disable style # Disable a category
114
114
  truecourse rules llm # Show LLM rules status
115
115
  truecourse rules llm --enable # Enable LLM rules
116
116
  truecourse rules llm --disable # Disable LLM rules
117
+
118
+ # Individual rules
119
+ truecourse rules list # List rules with on/off status
120
+ truecourse rules list --disabled # Show only disabled rules
121
+ truecourse rules disable <ruleKey> # Disable a single rule
122
+ truecourse rules enable <ruleKey> # Re-enable a single rule
123
+ truecourse rules reset [ruleKey] # Clear per-rule overrides (one or all)
117
124
  ```
118
125
 
126
+ Disabled rules are skipped at analyze time (no detection cost, no LLM
127
+ calls) and any existing violations from them are hidden from the
128
+ dashboard and `truecourse list` until re-enabled. The list of disabled
129
+ rule keys lives in `<repo>/.truecourse/config.json` under
130
+ `disabledRules`, which is intended to be committed.
131
+
132
+ In the dashboard you can also toggle rules from the Rules panel
133
+ (Shield icon in the top-right) or silence a noisy rule directly from
134
+ any violation card via the **⋮** menu → **Disable rule for this repo**.
135
+
119
136
  ### Git Hooks
120
137
 
121
138
  TrueCourse can install a pre-commit hook that blocks commits introducing new violations at or above a configured severity: