{
  "landingPage": "/wp-admin/admin.php?page=eu-ai-act-ready",
  "preferredVersions": {
    "php": "8.1",
    "wp": "7.0"
  },
  "plugins": [
    "eu-ai-act-ready"
  ],
  "extraLibraries": [ 
    "wp-cli" 
  ],
  "steps": [
    { 
      "step": "login", 
      "username": "admin", 
      "password": "password" 
    },
    { 
      "step": "installPlugin", 
      "pluginData": 
        {
          "resource": "wordpress.org/plugins",
          "slug": "eu-ai-act-ready" 
       },
       "options": {
        "activate": true
       }
    },

    {
      "step": "wp-cli",
      "command": "wp eval 'update_option(\"euaiactready_transparency_enabled\", 1); update_option(\"euaiactready_chatbot_transparency\", 1); update_option(\"euaiactready_media_transparency\", 1); update_option(\"euaiactready_show_in_excerpts\", 1);'"
    },

    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-ai1/1200/1200.jpg --title=\"AI Scanned Image\" --post_name=\"ai-scanned-image\""
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-ai3/1200/1200.jpg --title=\"AI Scanned Image Two\" --post_name=\"ai-scanned-image-two\""
    },

    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-ai2/1200/1200.jpg --title=\"AI Manually Marked Image\" --post_name=\"ai-manually-marked-image\""
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-ai4/1200/1200.jpg --title=\"AI Manually Marked Image Two\" --post_name=\"ai-manually-marked-image-two\""
    },

    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-scan1/1200/800.jpg --title=\"Scanned - Not AI\" --post_name=\"scanned-not-ai\""
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-scan2/1200/800.jpg --title=\"Scanned - Not AI Two\" --post_name=\"scanned-not-ai-two\""
    },

    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-unscanned1/1200/800.jpg --title=\"Unscanned Image One\" --post_name=\"unscanned-image-one\""
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-unscanned2/1200/800.jpg --title=\"Unscanned Image Two\" --post_name=\"unscanned-image-two\""
    },

    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"ai-scanned-image\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"auto\"); update_post_meta($a->ID, \"_euaiactready_ai_detection_source\", \"{\\\\\\\"confidence\\\\\\\":1,\\\\\\\"indicators\\\\\\\":[\\\\\\\"no_exif_data\\\\\\\",\\\\\\\"no_photo_exif\\\\\\\",\\\\\\\"missing_camera_info\\\\\\\",\\\\\\\"common_ai_dimension\\\\\\\",\\\\\\\"perfect_square_ai\\\\\\\",\\\\\\\"common_ai_aspect\\\\\\\",\\\\\\\"ai_keyword_filename\\\\\\\"],\\\\\\\"source\\\\\\\":\\\\\\\"AI Detection\\\\\\\"}\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"ai-scanned-image-two\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"auto\"); update_post_meta($a->ID, \"_euaiactready_ai_detection_source\", \"{\\\\\\\"confidence\\\\\\\":1,\\\\\\\"indicators\\\\\\\":[\\\\\\\"no_exif_data\\\\\\\",\\\\\\\"no_photo_exif\\\\\\\",\\\\\\\"missing_camera_info\\\\\\\",\\\\\\\"common_ai_dimension\\\\\\\",\\\\\\\"perfect_square_ai\\\\\\\",\\\\\\\"common_ai_aspect\\\\\\\",\\\\\\\"ai_keyword_filename\\\\\\\"],\\\\\\\"source\\\\\\\":\\\\\\\"AI Detection\\\\\\\"}\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"ai-manually-marked-image\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", \"1\"); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); update_post_meta($a->ID, \"_euaiactready_ai_detection_source\", \"{\\\\\\\"confidence\\\\\\\":0.3,\\\\\\\"indicators\\\\\\\":[\\\\\\\"no_exif_data\\\\\\\",\\\\\\\"no_photo_exif\\\\\\\",\\\\\\\"missing_camera_info\\\\\\\"],\\\\\\\"source\\\\\\\":\\\\\\\"No AI detected\\\\\\\"}\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"ai-manually-marked-image-two\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", \"1\"); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); update_post_meta($a->ID, \"_euaiactready_ai_detection_source\", \"{\\\\\\\"confidence\\\\\\\":0.3,\\\\\\\"indicators\\\\\\\":[\\\\\\\"no_exif_data\\\\\\\",\\\\\\\"no_photo_exif\\\\\\\",\\\\\\\"missing_camera_info\\\\\\\"],\\\\\\\"source\\\\\\\":\\\\\\\"No AI detected\\\\\\\"}\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"scanned-not-ai\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", \"0\"); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"none\"); update_post_meta($a->ID, \"_euaiactready_ai_detection_source\", \"{\\\\\\\"confidence\\\\\\\":0.3,\\\\\\\"indicators\\\\\\\":[\\\\\\\"no_exif_data\\\\\\\",\\\\\\\"no_photo_exif\\\\\\\",\\\\\\\"missing_camera_info\\\\\\\"],\\\\\\\"source\\\\\\\":\\\\\\\"No AI detected\\\\\\\"}\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"scanned-not-ai-two\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", \"0\"); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"none\"); update_post_meta($a->ID, \"_euaiactready_ai_detection_source\", \"{\\\\\\\"confidence\\\\\\\":0.3,\\\\\\\"indicators\\\\\\\":[\\\\\\\"no_exif_data\\\\\\\",\\\\\\\"no_photo_exif\\\\\\\",\\\\\\\"missing_camera_info\\\\\\\"],\\\\\\\"source\\\\\\\":\\\\\\\"No AI detected\\\\\\\"}\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"unscanned-image-one\", OBJECT, \"attachment\"); if ($a) { delete_post_meta($a->ID, \"_euaiactready_ai_generated\"); delete_post_meta($a->ID, \"_euaiactready_ai_marked_method\"); delete_post_meta($a->ID, \"_euaiactready_ai_detection_source\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"unscanned-image-two\", OBJECT, \"attachment\"); if ($a) { delete_post_meta($a->ID, \"_euaiactready_ai_generated\"); delete_post_meta($a->ID, \"_euaiactready_ai_marked_method\"); delete_post_meta($a->ID, \"_euaiactready_ai_detection_source\"); }'"
    },

    {
      "step": "wp-cli",
      "command": "wp post create --post_type=post --post_title=\"AI-Generated Weekly Update\" --post_name=\"ai-generated-weekly-update\" --post_status=publish --post_content=\"This is demo content generated with AI for testing disclosure and transparency.\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"ai-generated-weekly-update\", OBJECT, \"post\"); if ($p) { update_post_meta($p->ID, \"_euaiactready_ai_content\", \"generated\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-embed-weekly-generated/1200/800.jpg --title=\"Embedded Image - AI-Generated Weekly Update\" --post_name=\"embed-ai-generated-weekly-update\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"embed-ai-generated-weekly-update\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"ai-generated-weekly-update\", OBJECT, \"post\"); $a = get_page_by_path(\"embed-ai-generated-weekly-update\", OBJECT, \"attachment\"); if ($p && $a) { wp_update_post(array(\"ID\" => $p->ID, \"post_content\" => $p->post_content . wp_get_attachment_image($a->ID, \"large\"))); }'"
    },

    {
      "step": "wp-cli",
      "command": "wp post create --post_type=post --post_title=\"AI-Generated Product Announcement (Human-Reviewed)\" --post_name=\"ai-generated-product-announcement\" --post_status=publish --post_content=\"This is demo content generated with AI and reviewed by a human before publishing, exempt from labeling under Article 50(4).\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"ai-generated-product-announcement\", OBJECT, \"post\"); if ($p) { update_post_meta($p->ID, \"_euaiactready_ai_content\", \"generated_reviewed\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-embed-product-reviewed/1200/800.jpg --title=\"Embedded Image - AI-Generated Product Announcement\" --post_name=\"embed-ai-generated-product-announcement\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"embed-ai-generated-product-announcement\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"ai-generated-product-announcement\", OBJECT, \"post\"); $a = get_page_by_path(\"embed-ai-generated-product-announcement\", OBJECT, \"attachment\"); if ($p && $a) { wp_update_post(array(\"ID\" => $p->ID, \"post_content\" => $p->post_content . wp_get_attachment_image($a->ID, \"large\"))); }'"
    },

    {
      "step": "wp-cli",
      "command": "wp post create --post_type=post --post_title=\"Weekly Update\" --post_name=\"weekly-update\" --post_status=publish --post_content=\"This is normal demo content written without AI.\""
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-embed-weekly-none/1200/800.jpg --title=\"Embedded Image - Weekly Update\" --post_name=\"embed-weekly-update\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"embed-weekly-update\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"weekly-update\", OBJECT, \"post\"); $a = get_page_by_path(\"embed-weekly-update\", OBJECT, \"attachment\"); if ($p && $a) { wp_update_post(array(\"ID\" => $p->ID, \"post_content\" => $p->post_content . wp_get_attachment_image($a->ID, \"large\"))); }'"
    },

    {
      "step": "wp-cli",
      "command": "wp post create --post_type=post --post_title=\"Product Announcement\" --post_name=\"product-announcement\" --post_status=publish --post_content=\"This is demo content drafted with AI assistance and then edited by a human.\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"product-announcement\", OBJECT, \"post\"); if ($p) { update_post_meta($p->ID, \"_euaiactready_ai_content\", \"assisted\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-embed-product-assisted/1200/800.jpg --title=\"Embedded Image - Product Announcement\" --post_name=\"embed-product-announcement\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"embed-product-announcement\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"product-announcement\", OBJECT, \"post\"); $a = get_page_by_path(\"embed-product-announcement\", OBJECT, \"attachment\"); if ($p && $a) { wp_update_post(array(\"ID\" => $p->ID, \"post_content\" => $p->post_content . wp_get_attachment_image($a->ID, \"large\"))); }'"
    },

    {
      "step": "wp-cli",
      "command": "wp post create --post_type=page --post_title=\"AI-Generated About This Site\" --post_name=\"ai-generated-about-this-site\" --post_status=publish --post_content=\"This page is demo content generated with AI to showcase how disclosures appear on the frontend.\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"ai-generated-about-this-site\", OBJECT, \"page\"); if ($p) { update_post_meta($p->ID, \"_euaiactready_ai_content\", \"generated\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-embed-about-generated/1200/800.jpg --title=\"Embedded Image - AI-Generated About This Site\" --post_name=\"embed-ai-generated-about-this-site\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"embed-ai-generated-about-this-site\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"ai-generated-about-this-site\", OBJECT, \"page\"); $a = get_page_by_path(\"embed-ai-generated-about-this-site\", OBJECT, \"attachment\"); if ($p && $a) { wp_update_post(array(\"ID\" => $p->ID, \"post_content\" => $p->post_content . wp_get_attachment_image($a->ID, \"large\"))); }'"
    },

    {
      "step": "wp-cli",
      "command": "wp post create --post_type=page --post_title=\"AI-Generated FAQ (Human-Reviewed)\" --post_name=\"ai-generated-faq\" --post_status=publish --post_content=\"This page is demo content generated with AI and reviewed by a human before publishing, exempt from labeling under Article 50(4).\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"ai-generated-faq\", OBJECT, \"page\"); if ($p) { update_post_meta($p->ID, \"_euaiactready_ai_content\", \"generated_reviewed\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-embed-faq-reviewed/1200/800.jpg --title=\"Embedded Image - AI-Generated FAQ\" --post_name=\"embed-ai-generated-faq\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"embed-ai-generated-faq\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"ai-generated-faq\", OBJECT, \"page\"); $a = get_page_by_path(\"embed-ai-generated-faq\", OBJECT, \"attachment\"); if ($p && $a) { wp_update_post(array(\"ID\" => $p->ID, \"post_content\" => $p->post_content . wp_get_attachment_image($a->ID, \"large\"))); }'"
    },

    {
      "step": "wp-cli",
      "command": "wp post create --post_type=page --post_title=\"About This Site\" --post_name=\"about-this-site\" --post_status=publish --post_content=\"This is a normal demo page without AI.\""
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-embed-about-none/1200/800.jpg --title=\"Embedded Image - About This Site\" --post_name=\"embed-about-this-site\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"embed-about-this-site\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"about-this-site\", OBJECT, \"page\"); $a = get_page_by_path(\"embed-about-this-site\", OBJECT, \"attachment\"); if ($p && $a) { wp_update_post(array(\"ID\" => $p->ID, \"post_content\" => $p->post_content . wp_get_attachment_image($a->ID, \"large\"))); }'"
    },

    {
      "step": "wp-cli",
      "command": "wp post create --post_type=page --post_title=\"FAQ\" --post_name=\"faq\" --post_status=publish --post_content=\"This page was drafted with AI assistance and then edited by a human.\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"faq\", OBJECT, \"page\"); if ($p) { update_post_meta($p->ID, \"_euaiactready_ai_content\", \"assisted\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp media import https://picsum.photos/seed/euaiactready-embed-faq-assisted/1200/800.jpg --title=\"Embedded Image - FAQ\" --post_name=\"embed-faq\""
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$a = get_page_by_path(\"embed-faq\", OBJECT, \"attachment\"); if ($a) { update_post_meta($a->ID, \"_euaiactready_ai_generated\", 1); update_post_meta($a->ID, \"_euaiactready_ai_marked_method\", \"manual\"); }'"
    },
    {
      "step": "wp-cli",
      "command": "wp eval '$p = get_page_by_path(\"faq\", OBJECT, \"page\"); $a = get_page_by_path(\"embed-faq\", OBJECT, \"attachment\"); if ($p && $a) { wp_update_post(array(\"ID\" => $p->ID, \"post_content\" => $p->post_content . wp_get_attachment_image($a->ID, \"large\"))); }'"
    },

    {
      "step": "wp-cli",
      "command": "wp eval 'update_option(\"euaiactready_chatbot_platform\", \"tidio\"); update_option(\"euaiactready_chatbot_notice_style\", \"badge\");'"
    },

    {
      "step": "wp-cli",
      "command": "wp eval 'update_option(\"euaiactready_rss_disclosure_enabled\", 1); update_option(\"euaiactready_rss_title_prefix\", 1);'"
    },

    {
      "step": "wp-cli",
      "command": "wp eval 'update_option(\"euaiactready_assessment\", array(\"chatbot\" => \"yes\", \"ai_text\" => \"yes\", \"ai_images\" => \"yes\", \"personalisation\" => \"no\", \"translation\" => \"no\", \"synthetic_media\" => \"no\"));'"
    },

    {
      "step": "wp-cli",
      "command": "wp eval 'update_option(\"euaiactready_literacy_staff_informed\", 1); update_option(\"euaiactready_literacy_policy_documented\", 1); update_option(\"euaiactready_literacy_training_completed\", 1); update_option(\"euaiactready_literacy_review_scheduled\", 1); update_option(\"euaiactready_literacy_visitors_informed\", 1);'"
    },

    {
      "step": "wp-cli",
      "command": "wp eval '$registry = new Euaiactready_AI_Tools_Registry(); $detector = new Euaiactready_AI_Tools_Detector($registry); $detector->add_manual_tool(\"demo-ai-writer\", \"Demo AI Writer\", \"content_generation\"); $detector->scan(); update_option(\"euaiactready_ai_tools_notice_enabled\", 1); update_option(\"euaiactready_ai_tools_visibility\", array(\"manual_demo-ai-writer\" => true));'"
    },

    {
      "step": "wp-cli",
      "command": "wp eval '(new Euaiactready_Readiness())->calculate();'"
    }
  ]
}
