You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turn the existing hard-coded analyzer set into a stable, configurable Wright-owned lint rule framework without changing current findings unintentionally.
Context
wright-analyzer already has three analyses (min-wait-loop, duplicate-condition, expensive-loop-check) over WIR/CFG, but the current execution path constructs a fixed analysis list. M12 should first establish the product contract that later lint CLI, agent APIs, and stability rules can reuse.
Scope
Define stable rule identity and metadata: rule ID, default severity, summary, documentation/known-limit metadata, evidence/confidence classification where applicable.
Introduce a rule registry/execution layer over existing semantic/WIR/CFG services.
Migrate the existing three analyses behind that registry.
Add deterministic configuration for enabling/disabling rules and overriding severity.
Support bounded per-rule options only where a current rule actually requires them; do not design a generic configuration language speculatively.
Preserve source provenance/spans and structured findings.
Keep the contract suitable for CLI, embedding, and agent consumers without coupling it to a specific transport/harness.
Parent: #89
Goal
Turn the existing hard-coded analyzer set into a stable, configurable Wright-owned lint rule framework without changing current findings unintentionally.
Context
wright-analyzeralready has three analyses (min-wait-loop,duplicate-condition,expensive-loop-check) over WIR/CFG, but the current execution path constructs a fixed analysis list. M12 should first establish the product contract that later lint CLI, agent APIs, and stability rules can reuse.Scope
Non-goals
Deliverables
Acceptance criteria
Relationships