From d4e7c9127dfdb4b2bae8057abda9dcedb258fb42 Mon Sep 17 00:00:00 2001 From: magdev Date: Mon, 2 Feb 2026 22:51:52 +0100 Subject: [PATCH] docs: Update CLAUDE.md with v0.6.0 session learnings - Added critical learning about never building local releases - CI/CD pipeline handles all release building Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index f2c98c2..2cafb0d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -696,3 +696,11 @@ if (get_option('wp_fedistream_enable_prometheus', 0) && $this->is_prometheus_act - Native WordPress template overriding support - Smaller plugin package size - Simpler debugging with standard PHP + +**Critical Learning - NEVER Build Local Releases:** + +- Attempted to run `composer update --no-dev` locally for release building +- This corrupts the development environment and creates inconsistent packages +- **All releases must be built by CI/CD pipeline only** +- The "Create releases" section in this document has been updated with this critical instruction +- To create a release: commit, tag, push - CI/CD handles the rest