{
  "ok": true,
  "app": "client-intake",
  "contract": {
    "contract_id": "client_intake_app",
    "system_id": "client_intake_app",
    "display_name": "OWC Client Intake App",
    "owner": "Client Intake project",
    "owned_records": [
      "first-contact events",
      "lead source",
      "initial client shell",
      "intake notes",
      "self-service link handoff",
      "next-step routing to measure, sample, quote, or portal"
    ],
    "may_request_from_accounts_core": [
      "staff actor permissions",
      "same-day edit rule",
      "client duplicate/match context",
      "portal invite eligibility"
    ],
    "must_not_own": [
      "measure calendar logic",
      "quote math",
      "installer assignment",
      "trade account proof approval"
    ],
    "required_core_response_fields": [
      "actor_account_id",
      "can_create_client",
      "can_edit_same_day_client",
      "duplicate_review_required",
      "audit_actor"
    ],
    "handoff_inputs": [
      {
        "from_system_id": "people_access_core",
        "payload": "staff access decision and duplicate client context"
      }
    ],
    "handoff_outputs": [
      {
        "to_system_id": "measure_app",
        "payload": "measure request shell when requested"
      },
      {
        "to_system_id": "people_access_core",
        "payload": "client created, intake note, and portal invite audit events"
      }
    ],
    "required_audit_events": [
      "client_intake_started",
      "client_shell_created",
      "duplicate_match_reviewed",
      "self_service_link_created"
    ],
    "production_gate": "Ship after Accounts roles, duplicate review, and client PII view logging are working."
  }
}