{
  "description": "static injury-conditioned forbid strips the contraindicated exercise",
  "plan": {
    "version": "1.7.0",
    "plan": {
      "phases": [
        {
          "weeks": [
            {
              "order": 1,
              "days": [
                {
                  "day_of_week": 1,
                  "blocks": [
                    {
                      "type": "main",
                      "activities": [
                        { "type": "exercise", "exercise_ref": "pistol_squat" },
                        { "type": "exercise", "exercise_ref": "bench_press" }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  },
  "context": { "injuries": ["torn_meniscus"] },
  "rules": [
    {
      "id": "forbid_pistol",
      "condition": { "field": "injuries", "op": "contains", "value": "torn_meniscus" },
      "actions": [{ "type": "forbid_exercise", "exercise": "pistol_squat" }]
    }
  ],
  "options": {},
  "expect": {
    "stripped_exercises": ["pistol_squat"],
    "surviving_refs": ["bench_press"],
    "diagnostic_codes": []
  }
}
