promote_rule
Promotes a coding rule to a broader scope in Axiom Meridian by deprecating the original and logging a PROMOTED history entry; creating it in the new scope requires a separate proposal.
Instructions
Promote a rule to a more general scope: marks the original as deprecated (in both SQLite and its source .md file) and records a PROMOTED rule_history entry. Does not create the rule in the new scope — that requires a separate proposal.
Access level: write. Returns: JSON with the rule_id, new_scope_id, and resulting status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | The RN-* id of the rule to promote. | |
| new_scope_id | Yes | Destination scope to promote the rule into. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |