{
  "id": "fact-window-newest-first-would-not-match",
  "title": "The same steps in the opposite order do not match, which is what fixes the window's direction",
  "covers": [
    "OAR-FACT-12"
  ],
  "rules": [
    {
      "oar": "1.0",
      "namespace": "oar.test",
      "kind": "policy",
      "anchor": "tool.pre_invoke",
      "id": "READ_THEN_DELETE",
      "effect": "block",
      "flow": [
        "read",
        "delete"
      ]
    }
  ],
  "input": {
    "capability": {
      "oar_capability_version": "1.0",
      "host": "oar.testhost",
      "anchors": {
        "core": {
          "tool.pre_invoke": "tool.pre_invoke",
          "tool.handler": "tool.handler",
          "tool.post_invoke": "tool.post_invoke",
          "agent.post_turn": "agent.post_turn",
          "agent.finalize": "agent.finalize",
          "model.input": "model.input",
          "model.output": "model.output",
          "model.tool_result": "model.tool_result"
        },
        "unsupported": []
      },
      "profiles": [],
      "activity_window": 8,
      "detectors": [],
      "expression_nodes_max": 1024,
      "supports_transform": false
    },
    "anchor": "tool.pre_invoke",
    "recent_activity": [
      "delete",
      "list",
      "read"
    ]
  },
  "expected": {
    "decision": "none",
    "applied": [
      "oar.test/READ_THEN_DELETE:passed"
    ]
  }
}
