Skip to content

Add backward-compatibility guardrail to AGENTS.md#3588

Draft
triple0t wants to merge 2 commits into
developfrom
pay-825-verifyadd-agentsmd-bc-guardrail-google-listings-ads-google
Draft

Add backward-compatibility guardrail to AGENTS.md#3588
triple0t wants to merge 2 commits into
developfrom
pay-825-verifyadd-agentsmd-bc-guardrail-google-listings-ads-google

Conversation

@triple0t

@triple0t triple0t commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

What

Adds an AGENTS.md with a Backward Compatibility section. It tells AI coding agents and contributors to treat any change to a public or externally exposed signature — classes, interfaces, methods, hooks, REST endpoints — as high-risk, and to state the backward-compatibility impact in the PR description. It also warns against implementing or type-hinting WooCommerce core Internal\ APIs, which core may change in any release.

Why

This plugin runs on live merchant stores, and its public surface is used by other extensions, themes, and site code. A silent change to a shared signature can fatal those consumers on load. WooCommerce Core added the same guardrail after such a change forced a release to be reverted; this brings the plugin in line.

Docs-only change — no runtime code is affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant