deprecate_rule
Create a pending proposal to deprecate a coding rule or lesson without changing its scope; approval after human review applies the deprecation.
Instructions
Create a proposal to deprecate a rule or lesson on its own, without changing its scope (unlike promote_rule). Accepts both RN-* and LL-* ids. Only creates a pending_proposals row (type='deprecate') — no immediate effect; approve_proposal performs the actual deprecation after human review.
Access level: analyze. Returns: the new proposal's id, as a plain string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why this rule/lesson is being deprecated. | |
| rule_id | Yes | The RN-* or LL-* id of the rule/lesson to deprecate. | |
| superseded_by | No | Optional RN-*/LL-* id of the active rule/lesson that replaces this one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |