READ-ONLY PACKAGE PREVIEW

wp-wpcli-and-ops/examples/native-cli-evidence.json

Version 34da134e184e.bb1 · GPL-2.0-or-later. This preview displays packaged text and does not execute code. Treat the contents as untrusted instructions.

← Return to resource and package checksum

{
  "format": 1,
  "executed_at": "2026-10-04T10:51:10.664995+00:00",
  "environment": {
    "wordpress": "7.1.2",
    "php": "8.3.35",
    "database": "11.4.13-MariaDB-ubu2404",
    "seeded_options": [
      {
        "name": "bb_probe_yes",
        "autoload": "yes",
        "bytes": 10
      },
      {
        "name": "bb_probe_on",
        "autoload": "on",
        "bytes": 20
      },
      {
        "name": "bb_probe_auto_on",
        "autoload": "auto-on",
        "bytes": 30
      },
      {
        "name": "bb_probe_auto",
        "autoload": "auto",
        "bytes": 40
      },
      {
        "name": "bb_probe_no",
        "autoload": "no",
        "bytes": 50
      },
      {
        "name": "bb_probe_off",
        "autoload": "off",
        "bytes": 60
      },
      {
        "name": "bb_probe_auto_off",
        "autoload": "auto-off",
        "bytes": 70
      }
    ]
  },
  "node": "v22.23.3",
  "wp_cli": {
    "version": "2.12.0",
    "source": "https://github.com/wp-cli/wp-cli/releases/download/v2.12.0/wp-cli-2.12.0.phar",
    "sha512": "be928f6b8ca1e8dfb9d2f4b75a13aa4aee0896f8a9a0a1c45cd5d2c98605e6172e6d014dda2e27f88c98befc16c040cbb2bd1bfa121510ea5cdf5f6a30fe8832",
    "sha256": "ce34ddd838f7351d6759068d09793f26755463b4a4610a5a5c0a97b68220d85c",
    "bytes": 7142777,
    "checksum_source": "https://github.com/docker-library/wordpress/blob/b962e97ba0d6cfd8784a521fb9d05fc89aa180a9/cli/php8.3/alpine/Dockerfile"
  },
  "images": {
    "wordpress": {
      "tag": "wordpress:7.1.2-php8.3-apache",
      "id": "sha256:4abf7a450ee477dde967584f8174d7e03221d224c4971a0c38d84e7254426e64",
      "digests": [
        "wordpress@sha256:4abf7a450ee477dde967584f8174d7e03221d224c4971a0c38d84e7254426e64"
      ]
    },
    "database": {
      "tag": "mariadb:11.4",
      "id": "sha256:1292844148b311e4ed4300022a996d39083f415a963e970cf47cad1b3b18e3a6",
      "digests": [
        "mariadb@sha256:1292844148b311e4ed4300022a996d39083f415a963e970cf47cad1b3b18e3a6"
      ]
    },
    "node": {
      "tag": "node:22-trixie-slim",
      "id": "sha256:b26b04c123d9ff8ab646ceb18b9d75a1173acf64b9a401094b906d27b29338d4",
      "digests": [
        "node@sha256:b26b04c123d9ff8ab646ceb18b9d75a1173acf64b9a401094b906d27b29338d4"
      ]
    }
  },
  "observations": 30,
  "cases": [
    {
      "name": "wp-cli-version",
      "observed": "WP-CLI 2.12.0",
      "expected": "WP-CLI 2.12.0",
      "status": "passed"
    },
    {
      "name": "perf-missing-cli",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "perf-missing-cli-process-exit",
      "observed": 0,
      "expected": 0,
      "status": "passed"
    },
    {
      "name": "ops-missing-cli",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "ops-missing-cli-process-exit",
      "observed": 0,
      "expected": 0,
      "status": "passed"
    },
    {
      "name": "perf-wrong-path",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "ops-wrong-path",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "ops-core-version",
      "observed": "7.1.2",
      "expected": "7.1.2",
      "status": "passed"
    },
    {
      "name": "ops-single-site",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "ops-siteurl",
      "observed": "http://bb-v43-cli-wp",
      "expected": "http://bb-v43-cli-wp",
      "status": "passed"
    },
    {
      "name": "perf-installed",
      "observed": true,
      "expected": true,
      "status": "passed"
    },
    {
      "name": "perf-core-version",
      "observed": "7.1.2",
      "expected": "7.1.2",
      "status": "passed"
    },
    {
      "name": "core-active-autoload-values",
      "observed": [
        "yes",
        "on",
        "auto-on",
        "auto"
      ],
      "expected": [
        "yes",
        "on",
        "auto-on",
        "auto"
      ],
      "status": "passed"
    },
    {
      "name": "synthetic-active-autoload-bytes",
      "observed": 100,
      "expected": 100,
      "status": "passed"
    },
    {
      "name": "upstream-cli-seeded-bytes-excludes-auto-values",
      "observed": 30,
      "expected": 30,
      "status": "passed"
    },
    {
      "name": "upstream-helper-underreports-active-bytes",
      "observed": 1578,
      "expected": 1578,
      "status": "passed"
    },
    {
      "name": "doctor-uninstalled",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "profile-uninstalled",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "file-presence-signals",
      "observed": [
        true,
        true,
        true,
        true
      ],
      "expected": [
        true,
        true,
        true,
        true
      ],
      "status": "passed"
    },
    {
      "name": "marker-plugins-not-activated",
      "observed": [],
      "expected": [],
      "status": "passed"
    },
    {
      "name": "actual-custom-content-directory",
      "observed": "/tmp/custom-wp-content",
      "expected": "/tmp/custom-wp-content",
      "status": "passed"
    },
    {
      "name": "actual-custom-marker-files",
      "observed": [
        true,
        true
      ],
      "expected": [
        true,
        true
      ],
      "status": "passed"
    },
    {
      "name": "upstream-custom-directory-false-negatives",
      "observed": [
        false,
        false,
        false,
        false
      ],
      "expected": [
        false,
        false,
        false,
        false
      ],
      "status": "passed"
    },
    {
      "name": "adapted-helper-autoload-equals-core-sql",
      "observed": 30136,
      "expected": 30136,
      "status": "passed"
    },
    {
      "name": "adapted-helper-resolves-custom-directory",
      "observed": "/tmp/custom-wp-content",
      "expected": "/tmp/custom-wp-content",
      "status": "passed"
    },
    {
      "name": "adapted-custom-directory-presence-signals",
      "observed": [
        true,
        true,
        true,
        true
      ],
      "expected": [
        true,
        true,
        true,
        true
      ],
      "status": "passed"
    },
    {
      "name": "adapted-default-directory-resolved",
      "observed": "/var/www/html/wp-content",
      "expected": "/var/www/html/wp-content",
      "status": "passed"
    },
    {
      "name": "adapted-default-no-marker-signals",
      "observed": [
        false,
        false,
        false,
        false
      ],
      "expected": [
        false,
        false,
        false,
        false
      ],
      "status": "passed"
    },
    {
      "name": "adapted-missing-cli-fails-readiness",
      "observed": false,
      "expected": false,
      "status": "passed"
    },
    {
      "name": "adapted-bad-path-fails-readiness",
      "observed": false,
      "expected": false,
      "status": "passed"
    }
  ],
  "reports": {
    "perf-missing-cli": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": false,
          "info": {
            "ok": false,
            "status": null,
            "error": {
              "message": "spawnSync wp ENOENT",
              "code": "ENOENT"
            },
            "stdout": "",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": null,
          "coreVersion": null
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": null,
          "hasObjectCacheDropin": null,
          "hasAdvancedCacheDropin": null,
          "hasQueryMonitorPlugin": null,
          "hasPerformanceLabPlugin": null
        },
        "notes": [
          "WP-CLI not available on PATH. Run in the intended environment (container/ssh) or install WP-CLI."
        ],
        "_runs": []
      }
    },
    "ops-missing-cli": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "wpcli_inspect",
          "version": "0.1.0"
        },
        "wpCli": {
          "available": false,
          "info": {
            "ok": false,
            "status": null,
            "error": {
              "message": "spawnSync wp ENOENT",
              "code": "ENOENT"
            },
            "stdout": "",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wordpress": {
          "path": "/var/www/html",
          "url": null,
          "isInstalled": null,
          "coreVersion": null,
          "isMultisite": null,
          "siteurl": null,
          "home": null
        },
        "notes": [
          "WP-CLI not available on PATH. Install WP-CLI or run inside the intended container/environment."
        ]
      }
    },
    "perf-bad-path": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/not-a-wordpress-install",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": false,
          "coreVersion": null
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": null,
          "hasObjectCacheDropin": null,
          "hasAdvancedCacheDropin": null,
          "hasQueryMonitorPlugin": null,
          "hasPerformanceLabPlugin": null
        },
        "notes": [
          "WordPress not detected at the given --path/--url (check wp-config.php and targeting)."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/not-a-wordpress-install core is-installed",
            "ok": false,
            "status": 1,
            "error": null
          }
        ]
      }
    },
    "ops-bad-path": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "wpcli_inspect",
          "version": "0.1.0"
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wordpress": {
          "path": "/not-a-wordpress-install",
          "url": null,
          "isInstalled": false,
          "coreVersion": null,
          "isMultisite": null,
          "siteurl": null,
          "home": null
        },
        "notes": [
          "WordPress not detected at the given path/url. Check --path/--url (multisite) and that wp-config.php is present."
        ]
      }
    },
    "ops-valid": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "wpcli_inspect",
          "version": "0.1.0"
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wordpress": {
          "path": "/var/www/html",
          "url": null,
          "isInstalled": true,
          "coreVersion": "7.1.2",
          "isMultisite": false,
          "siteurl": "http://bb-v43-cli-wp",
          "home": "http://bb-v43-cli-wp"
        },
        "notes": []
      }
    },
    "perf-valid": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 28558,
          "hasObjectCacheDropin": false,
          "hasAdvancedCacheDropin": false,
          "hasQueryMonitorPlugin": false,
          "hasPerformanceLabPlugin": false
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html option list --autoload=on --format=total_bytes",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-presence": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 28558,
          "hasObjectCacheDropin": true,
          "hasAdvancedCacheDropin": true,
          "hasQueryMonitorPlugin": true,
          "hasPerformanceLabPlugin": true
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html option list --autoload=on --format=total_bytes",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-custom-content": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 28558,
          "hasObjectCacheDropin": false,
          "hasAdvancedCacheDropin": false,
          "hasQueryMonitorPlugin": false,
          "hasPerformanceLabPlugin": false
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html option list --autoload=on --format=total_bytes",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-adapted-custom-content": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2",
          "contentDirectory": "/tmp/custom-wp-content",
          "pluginDirectory": "/tmp/custom-wp-content/plugins"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 30136,
          "hasObjectCacheDropin": true,
          "hasAdvancedCacheDropin": true,
          "hasQueryMonitorPlugin": true,
          "hasPerformanceLabPlugin": true
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html eval echo array_sum(array_map('strlen', wp_load_alloptions()));",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html eval echo json_encode(['content'=>WP_CONTENT_DIR,'plugins'=>WP_PLUGIN_DIR]);",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-adapted-default-content": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": true,
          "coreVersion": "7.1.2",
          "contentDirectory": "/var/www/html/wp-content",
          "pluginDirectory": "/var/www/html/wp-content/plugins"
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": 30136,
          "hasObjectCacheDropin": false,
          "hasAdvancedCacheDropin": false,
          "hasQueryMonitorPlugin": false,
          "hasPerformanceLabPlugin": false
        },
        "notes": [
          "Tip: install WP-CLI doctor: `wp package install wp-cli/doctor-command`.",
          "Tip: install WP-CLI profile: `wp package install wp-cli/profile-command`."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/var/www/html core is-installed",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html core version",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html doctor --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html profile --help",
            "ok": false,
            "status": 1,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html eval echo array_sum(array_map('strlen', wp_load_alloptions()));",
            "ok": true,
            "status": 0,
            "error": null
          },
          {
            "cmd": "--allow-root --path=/var/www/html eval echo json_encode(['content'=>WP_CONTENT_DIR,'plugins'=>WP_PLUGIN_DIR]);",
            "ok": true,
            "status": 0,
            "error": null
          }
        ]
      }
    },
    "perf-adapted-missing-cli": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/var/www/html",
          "url": null
        },
        "wpCli": {
          "available": false,
          "info": {
            "ok": false,
            "status": null,
            "error": {
              "message": "spawnSync wp ENOENT",
              "code": "ENOENT"
            },
            "stdout": "",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": null,
          "coreVersion": null
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": null,
          "hasObjectCacheDropin": null,
          "hasAdvancedCacheDropin": null,
          "hasQueryMonitorPlugin": null,
          "hasPerformanceLabPlugin": null
        },
        "notes": [
          "WP-CLI not available on PATH. Run in the intended environment (container/ssh) or install WP-CLI."
        ],
        "_runs": []
      }
    },
    "perf-adapted-bad-path": {
      "process_exit": 0,
      "report": {
        "tool": {
          "name": "perf_inspect",
          "version": "0.1.0"
        },
        "target": {
          "path": "/not-a-wordpress-install",
          "url": null
        },
        "wpCli": {
          "available": true,
          "info": {
            "ok": true,
            "status": 0,
            "error": null,
            "stdout": "OS:\tLinux 6.12.111+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28) x86_64\nShell:\t\nPHP binary:\t/usr/local/bin/php\nPHP version:\t8.3.35\nphp.ini used:\t\nMySQL binary:\t\nMySQL version:\t\nSQL modes:\t\nWP-CLI root dir:\tphar://wp-cli.phar/vendor/wp-cli/wp-cli\nWP-CLI vendor dir:\tphar://wp-cli.phar/vendor\nWP_CLI phar path:\tphar:///fixture/wp-cli.phar\nWP-CLI packages dir:\t\nWP-CLI cache dir:\t/root/.wp-cli/cache\nWP-CLI global config:\t\nWP-CLI project config:\t\nWP-CLI version:\t2.12.0",
            "stderr": "",
            "args": [
              "--allow-root",
              "--info"
            ]
          }
        },
        "wp": {
          "isInstalled": false,
          "coreVersion": null
        },
        "commands": {
          "doctor": {
            "available": false
          },
          "profile": {
            "available": false
          }
        },
        "perfSignals": {
          "autoloadTotalBytes": null,
          "hasObjectCacheDropin": null,
          "hasAdvancedCacheDropin": null,
          "hasQueryMonitorPlugin": null,
          "hasPerformanceLabPlugin": null
        },
        "notes": [
          "WordPress not detected at the given --path/--url (check wp-config.php and targeting)."
        ],
        "_runs": [
          {
            "cmd": "--allow-root --path=/not-a-wordpress-install core is-installed",
            "ok": false,
            "status": 1,
            "error": null
          }
        ]
      }
    }
  },
  "autoload_cross_check": {
    "autoload_values": [
      "yes",
      "on",
      "auto-on",
      "auto"
    ],
    "total_bytes": 30136,
    "excluded_bytes": 1578,
    "seeded_bytes": 100
  },
  "custom_content_truth": {
    "content_dir": "/tmp/custom-wp-content",
    "object_cache_exists": true,
    "query_monitor_file_exists": true
  },
  "source_hashes": {
    "perf.mjs": "5031a0ce0b81074cbf0fb69be5a60b8031de78f33fe2d6325c0d022165d6b688",
    "ops.mjs": "156d432ad3867fa9e8d53d09c0614350c4d9e2f6909b861779de9b137e0857c1",
    "setup-cli-fixture.php": "a4dac17c948ed6b8146960984cd9793ff3f308454ff10bc208ed00bf716640e6",
    "run-cli-fixture.py": "a30ea157743d0a563728f9e95a6079bade808012f76e564be16f105567bdc043",
    "perf-adapted.mjs": "345b9755174127c5c77e50d3ecf14cfbe4b96130b282341184740872b0f6d0b2"
  },
  "scope": "Actual upstream native helper execution, dependency/target checks, synthetic autoload values and file-presence signals. No AI client, speed benchmark, migration, persistent cache, multisite or production site tested.",
  "observed_upstream_limitations": [
    "WP-CLI 2.12.0 autoload=on excluded auto/auto-on values in the synthetic fixture",
    "Upstream helper assumes default wp-content and plugin paths; configured content directory produced false negatives"
  ],
  "adapted_helper_verified": true,
  "runtime_tested": false,
  "native_helpers_executed": true,
  "internal_network": true,
  "published_ports": false,
  "production_mounts_or_networks": false,
  "credentials_saved_or_exported": false,
  "external_ai_calls": false
}