Skip to content

v3.3.0

Latest

Choose a tag to compare

@gfazioli gfazioli released this 16 Nov 13:25

A coding agent's notes no longer travel with the plugin: php bones deploy leaves the agent instruction files out of the package by default.

bones

  • deploy leaves the agent instruction files out (#140). Up to 3.2.0 the default skip list named README.md and the Dockerfile but none of them, and a web server hands out a plugin's files as they are: a CLAUDE.md in the package, with whatever it says about the code, could be read at wp-content/plugins/<plugin>/CLAUDE.md on every site that installed the plugin. A deploy.php filter was no remedy when the package is built without WordPress, in a Docker build or a CI job, since deploy.php only runs when WordPress is loaded. Now the package never holds, wherever they are and vendor/ included:
    • AGENTS.md and AGENTS.override.md (Codex, Cursor, Copilot and most others), AGENT.md;
    • CLAUDE.md and CLAUDE.local.md (Claude Code), a CLAUDE.md link to AGENTS.md too;
    • GEMINI.md (Gemini CLI).
  • Their folders, .claude/, .codex/, .cursor/, .github/, never shipped: the deploy skips every dot entry.

Upgrading

composer update wpbones/wpbones. Nothing to change. To ship one of these files anyway, take it out with the wpbones_console_deploy_default_skip_files_folders filter.

Docs: What the deploy leaves out

Full Changelog: v3.2.0...v3.3.0