[
  {
    "id": "21st-576ca9a8dddb-study-0",
    "source": "design-engineering/state-management/recipes/multi-step-form.md",
    "anchor": "ownership-and-event-flow",
    "sourceSha256": "b6d2497c71d5554bb53b2d801ca22049d1d0bea9baf2fd0ca48042e7f927457e",
    "title": "Gather · A plan in three steps · updateVisit",
    "principle": "The flow owns the entire draft and current step, so hiding a fieldset does not discard its values.",
    "application": "A single retained draft survives step navigation. The current step drives heading, progress, active fields and actions; validation blocks advance and routes focus to the first invalid field. This binding describes the authored study; it is not verification of the original.",
    "code": [
      {
        "file": "vendor/21st-studies/records/21st-576ca9a8dddb/script.js",
        "symbol": "updateVisit",
        "explanation": "This named function is part of the exact inline runtime in the downloadable HTML. codeFiles records the matching authored source hash."
      }
    ],
    "checks": [
      {
        "id": "21st-576ca9a8dddb-0-updateVisit",
        "action": "Use Try a sample plan, choose Back, select Clay study, then advance and review. Use Back once more.",
        "expected": "The name, date, time and guest count remain; the review shows Clay study. Returning to details keeps the same entered draft.",
        "status": "not_executed"
      }
    ],
    "runtime_verified": false
  },
  {
    "id": "21st-576ca9a8dddb-study-1",
    "source": "design-engineering/state-management/recipes/multi-step-form.md",
    "anchor": "platform-specific-guidance",
    "sourceSha256": "b6d2497c71d5554bb53b2d801ca22049d1d0bea9baf2fd0ca48042e7f927457e",
    "title": "Gather · A plan in three steps · renderVisit",
    "principle": "Step context and first-invalid-field focus follow the same accepted step transition as the progress indicator.",
    "application": "A single retained draft survives step navigation. The current step drives heading, progress, active fields and actions; validation blocks advance and routes focus to the first invalid field. This binding describes the authored study; it is not verification of the original.",
    "code": [
      {
        "file": "vendor/21st-studies/records/21st-576ca9a8dddb/script.js",
        "symbol": "renderVisit",
        "explanation": "This named function is part of the exact inline runtime in the downloadable HTML. codeFiles records the matching authored source hash."
      }
    ],
    "checks": [
      {
        "id": "21st-576ca9a8dddb-1-renderVisit",
        "action": "With the required details blank, activate Review plan. Fill them and advance. Then save the plan and choose Edit plan.",
        "expected": "Blank values block advance and focus the first invalid field with an associated error. Valid advance focuses the step heading. Completion is local, and Edit plan returns to retained details.",
        "status": "not_executed"
      }
    ],
    "runtime_verified": false
  },
  {
    "id": "21st-576ca9a8dddb-study-2",
    "source": "design-engineering/component-contract.md",
    "anchor": "contract-template",
    "sourceSha256": "79e496160e28ab26397d2c5b68075fd14c732d13002ff6c6e41c031d86cac039",
    "title": "Gather · A plan in three steps · renderVisitErrors",
    "principle": "Validity, draft lifetime and completion meaning are explicit; a local demo acknowledgement is not a booking or persistence response.",
    "application": "A single retained draft survives step navigation. The current step drives heading, progress, active fields and actions; validation blocks advance and routes focus to the first invalid field. This binding describes the authored study; it is not verification of the original.",
    "code": [
      {
        "file": "vendor/21st-studies/records/21st-576ca9a8dddb/script.js",
        "symbol": "renderVisitErrors",
        "explanation": "This named function is part of the exact inline runtime in the downloadable HTML. codeFiles records the matching authored source hash."
      }
    ],
    "checks": [
      {
        "id": "21st-576ca9a8dddb-2-renderVisitErrors",
        "action": "Enter a long name, switch steps, and complete the flow at 320px with reduced motion enabled.",
        "expected": "The summary wraps the name, actions remain reachable, no movement is needed, and the page says that nothing is booked. This is a proposed check, not execution evidence.",
        "status": "not_executed"
      }
    ],
    "runtime_verified": false
  }
]
