mark_decision_outdated
Retire a decision as outdated so it no longer surfaces in context or searches, preserving its audit history for reference. Ideal for decisions that are no longer true and have no replacement.
Instructions
v3.7.0 staleness read-side: tombstone a decision as OUTDATED so it stops surfacing in get_session_context / search_decisions / list_decisions — without deleting it. Use when a decision is simply no longer true and has NO successor (for a replacement, use supersede_decision to preserve lineage). Reversible via set_decision_flag(is_outdated=false). Writes one amendment to .codevira/decisions.jsonl; audit preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Required to retire a do_not_revert (protected) decision — surface its reasoning to the user first | |
| reason | No | Optional short note on why it's outdated | |
| decision_id | Yes | Decision id to retire (e.g. 'D000007') |