WP ability security: open doors and broken windows for AI

Every ability you register is a door an AI agent can walk through. Open on purpose, or a broken window?

wp ability list --show-in-rest maps what the agent can reach, with risk flags. can-run with no user should say no. A subscriber sweep shows what the wrong role can run. validate probes the schema without running anything. A CI diff fails the build when a new ability gets exposed.

All 10 checks: WP-CLI Ability Security.

Try them in the WP-CLI practice terminal. Break nothing.