{
    "name": "agenticdaisy/agentic-daisy-ai-agent-firewall",
    "description": "Agent Firewall by Agentic Daisy - intercepts AI agent write actions in WordPress and applies deterministic policies with approval queue and rollback.",
    "type": "wordpress-plugin",
    "license": "GPL-2.0-or-later",
    "authors": [
        {
            "name": "Agentic Daisy"
        }
    ],
    "require": {
        "php": ">=8.1"
    },
    "require-dev": {
        "antecedent/patchwork": "^2.2",
        "brain/monkey": "^2.6",
        "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
        "dg/bypass-finals": "^1.11",
        "php-stubs/wordpress-tests-stubs": "^6.6",
        "phpstan/phpstan": "^2.1",
        "phpunit/phpcov": "^8.2",
        "phpunit/phpunit": "^9.6",
        "roots/wordpress": "^6.9",
        "squizlabs/php_codesniffer": "^3.10",
        "szepeviktor/phpstan-wordpress": "^2.0",
        "wp-coding-standards/wpcs": "^3.1",
        "wp-phpunit/wp-phpunit": "^6.9",
        "yoast/phpunit-polyfills": "^4.0"
    },
    "autoload": {
        "psr-4": {
            "AgentFirewall\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "AgentFirewall\\Tests\\": "tests/"
        }
    },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "roots/wordpress-core-installer": true
        },
        "sort-packages": true
    },
    "extra": {
        "wordpress-install-dir": "vendor/wordpress/wordpress"
    },
    "scripts": {
        "lint": [
            "phpcs -n",
            "phpstan analyse --no-progress"
        ],
        "lint:fix": "phpcbf",
        "test:unit": "phpunit --testsuite Unit",
        "test:coverage": "phpunit --testsuite Unit --coverage-text --coverage-clover build/coverage/clover.xml",
        "test:integration": "phpunit -c phpunit-integration.xml.dist",
        "test": "@test:unit"
    },
    "scripts-descriptions": {
        "lint": "PHPCS (WordPress-Extra) + PHPStan Level 8; zero errors required.",
        "test:unit": "Headless PHPUnit unit suite with Brain Monkey; must finish < 5s.",
        "test:integration": "WP_UnitTestCase suite; requires a WordPress test install."
    }
}
