Purpose
-------
FS-509 regression coverage for the lint rule registry and ``--explain`` flag.
Responsibilities
----------------
- Validate that every rule in ``_DEFAULT_RULES`` has a ``RuleInfo`` entry.
- Validate ``get_rule_info()`` and ``list_rules()`` API surface.
- Validate that ``--explain`` produces human-readable and JSON output.
- Validate that ``--explain`` for an unknown rule returns exit code 1.
Diagnostics
-----------
Domain: LINTER-TESTS
Levels:
L2 — test lifecycle
L3 — assertion details
L4 — deep tracing
Contracts
---------
- Tests are read-only introspection of the rule registry; no files
are written.