{
  "spec_version": 1,
  "bundle": {
    "name": "rdp-vision-ladder",
    "schema_version": 2,
    "created_at": "2026-07-30T20:38:04.671826+00:00",
    "viewport": [
      1280,
      800
    ],
    "is_program": false,
    "contains_phi": false,
    "phi_scrubbed": false,
    "encrypted": true,
    "step_count": 8,
    "action_count": 8,
    "irreversible_count": 1,
    "identity_armed_count": 5,
    "identity_unarmed_count": 0,
    "effect_count": 2,
    "api_binding_count": 0,
    "halt_point_count": 1,
    "params": [
      {
        "name": "appointment_slot",
        "type": "string",
        "required": true,
        "secret": false,
        "example": "2026-08-12 09:30",
        "choices": []
      },
      {
        "name": "visit_type",
        "type": "string",
        "required": true,
        "secret": false,
        "example": "Cardiology follow-up",
        "choices": []
      },
      {
        "name": "request_id",
        "type": "string",
        "required": true,
        "secret": false,
        "example": "REQ-DEMO-001",
        "choices": []
      }
    ],
    "provenance": {
      "compiler_version": "1.27.0",
      "certified": false,
      "certification_status": null,
      "policy_name": null,
      "expires_at": null,
      "content_digest": "1639d92d9c92aa1ba3b87b017ba9a52eae8b2d2a8cbe0e6a3c9deead52df7664",
      "source_recording_sha256": null
    }
  },
  "nodes": [
    {
      "id": "step_000",
      "index": 0,
      "kind": "action",
      "title": "click 'MRN A1001'",
      "action": "click",
      "risk": "reversible",
      "risk_explanation": "control label has no retained consequential-write signal",
      "risk_review_required": false,
      "param": null,
      "secret": false,
      "key": null,
      "resolution": {
        "rungs": [
          {
            "name": "api",
            "label": "API / tool call",
            "present": false,
            "detail": ""
          },
          {
            "name": "structural",
            "label": "DOM / accessibility selector",
            "present": false,
            "detail": ""
          },
          {
            "name": "template",
            "label": "Image template match",
            "present": true,
            "detail": "templates/step_000.png"
          },
          {
            "name": "ocr",
            "label": "OCR text match",
            "present": true,
            "detail": "MRN A1001"
          },
          {
            "name": "landmarks",
            "label": "Nearby-landmark geometry",
            "present": true,
            "detail": "2 landmark(s)"
          }
        ],
        "top_rung": "template"
      },
      "identity": {
        "applicable": true,
        "armed": true,
        "reason": null,
        "phi_free": true,
        "has_structured": false,
        "has_identifier_crop": true
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "text_present"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": [
        "identity gate"
      ]
    },
    {
      "id": "step_001",
      "index": 1,
      "kind": "action",
      "title": "click recorded visual target",
      "action": "click",
      "risk": "reversible",
      "risk_explanation": "operator-qualified override: reversible",
      "risk_review_required": false,
      "param": null,
      "secret": false,
      "key": null,
      "resolution": {
        "rungs": [
          {
            "name": "api",
            "label": "API / tool call",
            "present": false,
            "detail": ""
          },
          {
            "name": "structural",
            "label": "DOM / accessibility selector",
            "present": false,
            "detail": ""
          },
          {
            "name": "template",
            "label": "Image template match",
            "present": true,
            "detail": "templates/step_001.png"
          },
          {
            "name": "ocr",
            "label": "OCR text match",
            "present": false,
            "detail": ""
          },
          {
            "name": "landmarks",
            "label": "Nearby-landmark geometry",
            "present": true,
            "detail": "2 landmark(s)"
          }
        ],
        "top_rung": "template"
      },
      "identity": {
        "applicable": true,
        "armed": true,
        "reason": null,
        "phi_free": true,
        "has_structured": false,
        "has_identifier_crop": true
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "region_stable"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": [
        "identity gate"
      ]
    },
    {
      "id": "step_002",
      "index": 2,
      "kind": "action",
      "title": "type <appointment_slot>",
      "action": "type",
      "risk": "reversible",
      "risk_explanation": "action has no retained consequential commit signal",
      "risk_review_required": false,
      "param": "appointment_slot",
      "secret": false,
      "key": null,
      "resolution": null,
      "identity": {
        "applicable": false,
        "armed": null,
        "reason": null,
        "phi_free": false,
        "has_structured": false,
        "has_identifier_crop": false
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": []
    },
    {
      "id": "step_003",
      "index": 3,
      "kind": "action",
      "title": "click recorded visual target",
      "action": "click",
      "risk": "reversible",
      "risk_explanation": "operator-qualified override: reversible",
      "risk_review_required": false,
      "param": null,
      "secret": false,
      "key": null,
      "resolution": {
        "rungs": [
          {
            "name": "api",
            "label": "API / tool call",
            "present": false,
            "detail": ""
          },
          {
            "name": "structural",
            "label": "DOM / accessibility selector",
            "present": false,
            "detail": ""
          },
          {
            "name": "template",
            "label": "Image template match",
            "present": true,
            "detail": "templates/step_003.png"
          },
          {
            "name": "ocr",
            "label": "OCR text match",
            "present": false,
            "detail": ""
          },
          {
            "name": "landmarks",
            "label": "Nearby-landmark geometry",
            "present": true,
            "detail": "2 landmark(s)"
          }
        ],
        "top_rung": "template"
      },
      "identity": {
        "applicable": true,
        "armed": true,
        "reason": null,
        "phi_free": true,
        "has_structured": false,
        "has_identifier_crop": true
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "region_stable"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": [
        "identity gate"
      ]
    },
    {
      "id": "step_004",
      "index": 4,
      "kind": "action",
      "title": "type <visit_type>",
      "action": "type",
      "risk": "reversible",
      "risk_explanation": "action has no retained consequential commit signal",
      "risk_review_required": false,
      "param": "visit_type",
      "secret": false,
      "key": null,
      "resolution": null,
      "identity": {
        "applicable": false,
        "armed": null,
        "reason": null,
        "phi_free": false,
        "has_structured": false,
        "has_identifier_crop": false
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": []
    },
    {
      "id": "step_005",
      "index": 5,
      "kind": "action",
      "title": "click recorded visual target",
      "action": "click",
      "risk": "reversible",
      "risk_explanation": "operator-qualified override: reversible",
      "risk_review_required": false,
      "param": null,
      "secret": false,
      "key": null,
      "resolution": {
        "rungs": [
          {
            "name": "api",
            "label": "API / tool call",
            "present": false,
            "detail": ""
          },
          {
            "name": "structural",
            "label": "DOM / accessibility selector",
            "present": false,
            "detail": ""
          },
          {
            "name": "template",
            "label": "Image template match",
            "present": true,
            "detail": "templates/step_005.png"
          },
          {
            "name": "ocr",
            "label": "OCR text match",
            "present": false,
            "detail": ""
          },
          {
            "name": "landmarks",
            "label": "Nearby-landmark geometry",
            "present": true,
            "detail": "2 landmark(s)"
          }
        ],
        "top_rung": "template"
      },
      "identity": {
        "applicable": true,
        "armed": true,
        "reason": null,
        "phi_free": true,
        "has_structured": false,
        "has_identifier_crop": true
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "region_stable"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": [
        "identity gate"
      ]
    },
    {
      "id": "step_006",
      "index": 6,
      "kind": "action",
      "title": "type <request_id>",
      "action": "type",
      "risk": "reversible",
      "risk_explanation": "action has no retained consequential commit signal",
      "risk_review_required": false,
      "param": "request_id",
      "secret": false,
      "key": null,
      "resolution": null,
      "identity": {
        "applicable": false,
        "armed": null,
        "reason": null,
        "phi_free": false,
        "has_structured": false,
        "has_identifier_crop": false
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": []
    },
    {
      "id": "step_007",
      "index": 7,
      "kind": "action",
      "title": "click 'Save appointment'",
      "action": "click",
      "risk": "irreversible",
      "risk_explanation": "retained action context names a consequential state change",
      "risk_review_required": false,
      "param": null,
      "secret": false,
      "key": null,
      "resolution": {
        "rungs": [
          {
            "name": "api",
            "label": "API / tool call",
            "present": false,
            "detail": ""
          },
          {
            "name": "structural",
            "label": "DOM / accessibility selector",
            "present": false,
            "detail": ""
          },
          {
            "name": "template",
            "label": "Image template match",
            "present": true,
            "detail": "templates/step_007.png"
          },
          {
            "name": "ocr",
            "label": "OCR text match",
            "present": true,
            "detail": "Save appointment"
          },
          {
            "name": "landmarks",
            "label": "Nearby-landmark geometry",
            "present": true,
            "detail": "2 landmark(s)"
          }
        ],
        "top_rung": "template"
      },
      "identity": {
        "applicable": true,
        "armed": true,
        "reason": null,
        "phi_free": true,
        "has_structured": false,
        "has_identifier_crop": true
      },
      "effects": [
        {
          "kind": "record_written",
          "summary": "exactly 1 record(s) where request_id={request_id}, patient_mrn=MRN A1001, appointment_slot={appointment_slot}, visit_type={visit_type}, status=scheduled",
          "risk": "irreversible",
          "needs_operator_confirmation": false
        },
        {
          "kind": "field_equals",
          "summary": "record field status == scheduled",
          "risk": "irreversible",
          "needs_operator_confirmation": false
        }
      ],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "text_present"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [
        "halts if the system-of-record effect is not confirmed"
      ],
      "badges": [
        "irreversible",
        "identity gate",
        "effect check"
      ]
    },
    {
      "id": "__end__",
      "index": 8,
      "kind": "terminal",
      "title": "Success",
      "action": null,
      "risk": null,
      "risk_explanation": null,
      "risk_review_required": false,
      "param": null,
      "secret": false,
      "key": null,
      "resolution": null,
      "identity": null,
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": "success",
      "reason": "",
      "halts": [],
      "badges": []
    }
  ],
  "edges": [
    {
      "source": "step_000",
      "target": "step_001",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_001",
      "target": "step_002",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_002",
      "target": "step_003",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_003",
      "target": "step_004",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_004",
      "target": "step_005",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_005",
      "target": "step_006",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_006",
      "target": "step_007",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_007",
      "target": "__end__",
      "kind": "sequence",
      "label": "",
      "guard": null
    }
  ]
}
