mark_decision_outdated
Tombstone a decision as outdated so it stops appearing in context searches, without deleting it. Preserves audit trail and is reversible.
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') |