Commit a26508038e8 for woocommerce

commit a26508038e85d3bf662af2d0395b585caf2ebb10
Author: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Date:   Fri Dec 4 13:35:41 2026 +0800

    Add agent notes on older WooCommerce releases to the Analytics package (#71784)

diff --git a/.markdownlintignore b/.markdownlintignore
index 73532d966cb..cbe8adddebe 100644
--- a/.markdownlintignore
+++ b/.markdownlintignore
@@ -9,3 +9,4 @@ packages/php/woocommerce-analytics/CHANGELOG.md
 plugins/woocommerce/packages/action-scheduler/CLAUDE.md
 plugins/woocommerce/tests/php/src/CLAUDE.md
 plugins/woocommerce/src/Internal/Abilities/CLAUDE.md
+packages/php/woocommerce-analytics/CLAUDE.md
diff --git a/packages/php/woocommerce-analytics/AGENTS.md b/packages/php/woocommerce-analytics/AGENTS.md
new file mode 100644
index 00000000000..5d5aa07b199
--- /dev/null
+++ b/packages/php/woocommerce-analytics/AGENTS.md
@@ -0,0 +1,6 @@
+# WooCommerce Analytics package
+
+Jetpack also bundles this package, so this code runs on stores whose WooCommerce is older than trunk (the README lists WooCommerce 3.0+).
+
+- Before relying on a Core behavior (order saves, HPOS sync, hooks, data store methods), find the release it first shipped in. If that release is newer than the oldest WooCommerce this package supports, don't rely on it, or guard it.
+- When a change depends on Core behavior, test it on an older WooCommerce release, not only on trunk.
diff --git a/packages/php/woocommerce-analytics/CLAUDE.md b/packages/php/woocommerce-analytics/CLAUDE.md
new file mode 100644
index 00000000000..43c994c2d36
--- /dev/null
+++ b/packages/php/woocommerce-analytics/CLAUDE.md
@@ -0,0 +1 @@
+@AGENTS.md
diff --git a/packages/php/woocommerce-analytics/changelog/docs-analytics-agents-md b/packages/php/woocommerce-analytics/changelog/docs-analytics-agents-md
new file mode 100644
index 00000000000..0efe4aabb6a
--- /dev/null
+++ b/packages/php/woocommerce-analytics/changelog/docs-analytics-agents-md
@@ -0,0 +1,3 @@
+Significance: patch
+Type: changed
+Comment: Add agent notes on supporting WooCommerce releases older than trunk; no production change.