set_decision_flag
Update a decision's flag or tags without rewriting its text or reason. Creates a single amendment record for lightweight changes.
Instructions
v3.0.0 lightweight flag/tag update for an existing decision. Use this when you only need to toggle do_not_revert or correct a tag list — avoids supersede_decision's mandatory rewrite of the decision text + reason. Writes a single amendment record to .codevira/decisions.jsonl. For semantic rewrites use supersede_decision instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Replacement tag list (omit to leave unchanged) | |
| decision_id | Yes | Decision id to amend (e.g. 'D000007') | |
| do_not_revert | No | New flag value (omit to leave unchanged) |