AGENTS.md: Add CLAUDE.md symlinks, architecture decisions, and common pitfalls#75507
AGENTS.md: Add CLAUDE.md symlinks, architecture decisions, and common pitfalls#75507youknowriad merged 2 commits intotrunkfrom
Conversation
…falls Add CLAUDE.md symlinks at root, packages/components, and packages/ui so Claude Code can pick up existing agent context (it only reads CLAUDE.md). Expand root AGENTS.md with two new sections: - Architectural decisions: package layering, block data model, data layer, styles system, and modularity - Common pitfalls: lib/compat targeting, private APIs in bundled packages, block-editor WP-agnosticism, and scripts package genericity Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
aduth
left a comment
There was a problem hiding this comment.
Makes sense; I've seen similar setups in other projects 👍
There was a problem hiding this comment.
Symlinks are a bit tricky on Windows host OS. Git's default configuration doesn't work properly with symlinks.
Instead, how about adding @AGENTS.md to CLAUDE.md? This seems to be the official way to do it. Many people have reported this format working correctly in this issue. anthropics/claude-code#6235 (comment)
- Replace symlinks with @AGENTS.md references for Windows compatibility - Change "post-aware" to "post-type-aware" for editor package description - Fix scripts reference to use packages/build Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cf92c95 to
c7ceb1b
Compare
Developed in #10968. Props ellatrix, adamsilverstein, youknowriad. See #64595. --- I've included a log of the Gutenberg changes with the following command: git log --reverse --format="- %s" 59a08c5496008ca88f4b6b86f38838c3612d88c8..7a11a53377a95cba4d3786d71cadd4c2f0c5ac52 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy - Remove unnecessary block deprecation from experimental tabs (WordPress/gutenberg#75208) - Block Editor: The insertBlock(s) actions should receive the same arguments (WordPress/gutenberg#75197) - Storybook: Always load design tokens in Design System section (WordPress/gutenberg#74899) - Default all initial suggested results to 20 for navigation link ui (WordPress/gutenberg#75186) - Navigation overlay: remove experiment (WordPress/gutenberg#74968) - Move AwarenessState to @wordpress/core-data (WordPress/gutenberg#75216) - RichText: Avoid stale active formats when deleting the text (WordPress/gutenberg#75227) - Fix <CollaboratorsPresence> type imports (WordPress/gutenberg#75232) - Block Editor: Add l10n context to 'Manage allowed blocks' string (WordPress/gutenberg#75239) - Fixed: Custom colors are now reflected in the editor for heading blocks (WordPress/gutenberg#75234) - Real-time Collaboration: Fix revision restore bug (WordPress/gutenberg#75233) - Real-time collaboration: Update 'sync.providers' filter inline comments (WordPress/gutenberg#75248) - Real-time collaboration: Make the collaborators presense button translatable (WordPress/gutenberg#75252) - Fix: Navigation Overlay Close Block: Add missing @SInCE tag WordPress/gutenberg#75247 (WordPress/gutenberg#75250) - Cover: Add new "fullheight" icon, and use for Cover (WordPress/gutenberg#75240) - Real-time collaboration: Remove @wordpress/sync from bundled packages and add private APIs (WordPress/gutenberg#74671) - Navigation Link: Clarify Link To invalid and draft state messages (WordPress/gutenberg#74054) - Docs: Simplifying Gutenberg versions table (WordPress/gutenberg#75209) - UI: Remove Box component abstraction (WordPress/gutenberg#74986) - Docs: Remove private GitHub team links in repository management (WordPress/gutenberg#75255) - UI: Add `Textarea` primitive (WordPress/gutenberg#74707) - Components: Add usage guidance for agents and Storybook (WordPress/gutenberg#74815) - Theme: Update elevation tokens to use abbreviated size names (WordPress/gutenberg#75103) - Navigation link: fix resetting link from the tools panel (WordPress/gutenberg#75228) - List View Support: Only render list view on top level block with support (WordPress/gutenberg#75166) - Gallery: Add lightbox support (WordPress/gutenberg#62906) - Workflows: Ignore icons manifest for manual backports (WordPress/gutenberg#75245) - Add new `adaptiveSelect` DataForm control (WordPress/gutenberg#74937) - Site Editor Pages: QuickEdit as a modal (WordPress/gutenberg#75173) - Add block rename keyboard shortcut (WordPress/gutenberg#74454) - Playlist block: Remove border (WordPress/gutenberg#75202) - Widget Area: Disable renaming and visibility support (WordPress/gutenberg#75279) - @wordpress/theme: add missing CHANGELOG entries (WordPress/gutenberg#75281) - Storybook: Add Stories for LetterSpacingControl component (WordPress/gutenberg#73480) - Remove the client from the awareness state when they disconnect (WordPress/gutenberg#75253) - Fix awareness timeout documentation unit (WordPress/gutenberg#75284) - Add global setting to enable real-time collaboration (WordPress/gutenberg#75286) - Notes: Pressing Escape should cancel adding a note (WordPress/gutenberg#75288) - Real-time Collaboration: Change users to collaborators (WordPress/gutenberg#75237) - Add timestamp when publishing next versions (WordPress/gutenberg#75293) - Storybook: Preserve export order for stories (WordPress/gutenberg#75295) - ToggleControl: Prevent console warning for `__nextHasNoMarginBottom` (WordPress/gutenberg#75296) - Quick edit: Make footer sticky (WordPress/gutenberg#75297) - DataForm Regular layout: label always uppercase (WordPress/gutenberg#75292) - @wordpress/ui: add Dialog component (WordPress/gutenberg#75183) - Navigation Link: Go to page link and edit page for inspector sidebar (WordPress/gutenberg#75262) - SiteEditor Pages: prevent QuickEdit modal from being triggered in list layout via URL param (WordPress/gutenberg#75300) - Link Control: Fix validation timing (WordPress/gutenberg#75267) - Publishing packages: fix next timestamp (WordPress/gutenberg#75301) - Add storybook for ColorPaletteControl (WordPress/gutenberg#74425) - Post Comments Form: Migrate to text-align block support (WordPress/gutenberg#75322) - Post Comments Count: Migrate to text-align block support (WordPress/gutenberg#75321) - Optimize tabsList computation with useRef for comparison (WordPress/gutenberg#75219) - Accordion block: Add list view support (WordPress/gutenberg#75271) - Media Fields: Filter author field to only show users with authoring capabilities (WordPress/gutenberg#75328) - Fields: Fix `authorField` query (WordPress/gutenberg#75298) - Slot: fix ref forwarding (WordPress/gutenberg#75274) - wp-env: Add --config option for custom config files (WordPress/gutenberg#75087) - Update Emotion for React 19 compat (WordPress/gutenberg#75324) - Block Visibility: Show keyboard shortcut hint in context menu (WordPress/gutenberg#75334) - Updated Typo in template-activate file (WordPress/gutenberg#75333) - wp-env: fix status command (WordPress/gutenberg#75325) - Playlist block:Inherit more CSS (WordPress/gutenberg#75256) - DataViews: Add onReset prop for view persistence reset (WordPress/gutenberg#75093) - Notes: Add a keyboard shortcut for creating a new note (WordPress/gutenberg#75287) - Storybook: Fix missing props on certain components (WordPress/gutenberg#75316) - Pattern Editing: Allow click through to List View (WordPress/gutenberg#75246) - Block Bindings: Have block fields panel reflects bound attribute value (WordPress/gutenberg#72096) - Fix: ISO 8601 compliant year formatting in TimePicker (WordPress/gutenberg#75343) - Prevent fatal error when the inline CSS duotone variable is an array (WordPress/gutenberg#75283) - Bugfix: Set the removed users to empty for awareness (WordPress/gutenberg#75337) - Button: prevent outline flicker when focused and active at the same time (WordPress/gutenberg#75346) - Real-time collaboration: Always target autosave revision (WordPress/gutenberg#75105) - In-editor revisions: add visual diffing (WordPress/gutenberg#75049) - iAPI Router: Update cached styles for re-fetched pages (WordPress/gutenberg#75097) - Add tests for the awareness code in core-data (WordPress/gutenberg#75074) - Add tests for the awareness code in sync (WordPress/gutenberg#75077) - Lock save button during Client Side Media processing and uploading (WordPress/gutenberg#74951) - Real-time Collaboration: Fix broken unit tests for awareness (WordPress/gutenberg#75362) - Boot: Fix mobile admin bar covering single-page mode headers (WordPress/gutenberg#75339) - Design System: Add guidelines for save and submit UX (WordPress/gutenberg#74811) - Featured Image: fix select-default-value (WordPress/gutenberg#75358) - Breadcrumbs: Improve loading state rendering (WordPress/gutenberg#75383) - Block Editor: Remove formatting controls restriction private API (WordPress/gutenberg#75382) - Link Control: Validate on submit (WordPress/gutenberg#75310) - Rich Text: Remove min-width inline style causing flex layout issues (WordPress/gutenberg#75370) - Tabs: Tidy up UI for controls (WordPress/gutenberg#75309) - Core Block Reference: Fix object empty inner key processing (WordPress/gutenberg#75391) - Improve sync performance metrics (WordPress/gutenberg#75029) - DataForm: update panel trigger (WordPress/gutenberg#75290) - Block Editor: Fix Columns block horizontal spacing when setting vertical gap (WordPress/gutenberg#75355) - DataViews Filters: Fix styling of long values in filter dropdown (WordPress/gutenberg#75369) - Try swapping tabs (WordPress/gutenberg#75194) - RichText: move useFormatTypes to rich-text package (WordPress/gutenberg#75387) - Make all navigation overlay close buttons work (WordPress/gutenberg#75384) - Block Editor: Improve Background panel UI in Global Styles (WordPress/gutenberg#75230) - Tabs: Update Tabs block icons (WordPress/gutenberg#75376) - Accordion: Move Accordion icons to Icon library (WordPress/gutenberg#75380) - Fix: Changing URL in link after changing text outside the popover resets it (WordPress/gutenberg#75342) - Update icon manifest acronyms. (WordPress/gutenberg#75418) - Code Modernization: Use null coalescing operator in additional `isset() ternaries. (WordPress/gutenberg#75419) - Pattern Editing: Move List View selectors to private-selectors (WordPress/gutenberg#75414) - DataViews: Use public ColorPicker instead of internal Picker export (WordPress/gutenberg#75394) - Abilities: Allow nested namespace ability names (2-4 segments) (WordPress/gutenberg#75393) - Fix: Remove backport changelog committed by mistake (WordPress/gutenberg#75441) - Block Visibility: Simplify toolbar for hidden blocks (WordPress/gutenberg#75335) - Block Visibility: Centralize modal state in block-editor store (WordPress/gutenberg#75367) - Allow grid to use style variation blockGap values for columns calculation (WordPress/gutenberg#75360) - Langauge Format: Add missing attribute definiton (WordPress/gutenberg#75422) - Block transform command: pass the block icon src rather than a BlockIcon component (WordPress/gutenberg#75365) - Note: Remove block highlight when deleting parent note (WordPress/gutenberg#75453) - Core Data: Improve blocks cache in useEntityBlockEditor (WordPress/gutenberg#75400) - MediaEdit: Support ordered values and reordering of items (WordPress/gutenberg#75207) - Writing flow: fix select all with full formatting (WordPress/gutenberg#64934) - Filter navigation category patterns to only show in navigation-overlay template part context (WordPress/gutenberg#75276) - Update Testing Library for React 19 compat (WordPress/gutenberg#75340) - Writing Flow: Fix block selection from partially selected RichText (WordPress/gutenberg#75449) - Notes: Fix sidebar display logic for small screens (WordPress/gutenberg#75454) - Post editor: iframe: check inserted rather than registered block versions (WordPress/gutenberg#75187) - Block Visibility: Disable visibility toggle for children of sections (WordPress/gutenberg#75447) - Notes: Update shortcut category (WordPress/gutenberg#75461) - Add dedicated navigation-overlay icon (WordPress/gutenberg#75249) (WordPress/gutenberg#75426) - Docs: Rename Interactivity API's 'API Reference' to 'Directives and Store' (WordPress/gutenberg#74974) - DataForm: Fix color picker styles (WordPress/gutenberg#75427) - Post Excerpt Block: Remove REST API filter for excerpt length in post excerpt block (WordPress/gutenberg#75299) - Move experimental PR out of backport log (WordPress/gutenberg#75465) - Add paste logging to writing flow (WordPress/gutenberg#73885) - Real-time collaboration: Sync post content and undefined `blocks` value (WordPress/gutenberg#75437) - Gutenberg plugin: always enforce the iframe in the post editor (WordPress/gutenberg#75475) - New Block: Icon Block (WordPress/gutenberg#71227) - Tabs: Improve tab keyboard nav (WordPress/gutenberg#75471) - Pre-populate Navigation Page Creator with Search Text (WordPress/gutenberg#75154) - Block Library: Hide navigation-overlay template parts from inserter (WordPress/gutenberg#75478) - Tabs: Add text and background color support (WordPress/gutenberg#75482) - Preserve existing URLInput defaults (WordPress/gutenberg#75392) - UI: Remove unnecessary jest.setTimeout from Select test (WordPress/gutenberg#75444) - Fix missed dimension token migration in UI package (WordPress/gutenberg#75446) - Render default density selector last in design tokens CSS (WordPress/gutenberg#75474) - Navigation: Improved help text in create a page flow (WordPress/gutenberg#75349) - Fix gap token migration guide in changelog (WordPress/gutenberg#75492) - Block Visibility: Disable Apply button on non-dirty state (WordPress/gutenberg#75494) - Real-time Collaboration: Use Y.text for title, content and excerpt (WordPress/gutenberg#75448) - DataForm: Style SummaryButton in panel layout with `is-disabled` classname (WordPress/gutenberg#75470) - Gallery: Add list view block support (WordPress/gutenberg#75407) - Types: consistently use the React namespace (WordPress/gutenberg#75499) - Enhance block appender labels to reflect default block type (WordPress/gutenberg#71502) - Import Yjs correctly (WordPress/gutenberg#75500) - Add testsEnvironment option and split Gutenberg wp-env configs (WordPress/gutenberg#75341) - Add `clearEntityRecordEdits` action to core-data (WordPress/gutenberg#75397) - Tabs: Stabilize Tabs blocks (WordPress/gutenberg#75424) - Simplify Tabs Menu Item editing (WordPress/gutenberg#75416) - Fix LinkControl URL Normalization (WordPress/gutenberg#75488) - Navigation Submenu: Restore openSubmenusOnClick to usesContext for backward compatibility. (WordPress/gutenberg#75435) - Tabs: Add `@since 7.0.0` annotations (WordPress/gutenberg#75521) - Story types: fix StoryFns used as React components (WordPress/gutenberg#75472) - Tabs: fix incorrect fixtures (WordPress/gutenberg#75523) - AGENTS.md: Add CLAUDE.md symlinks, architecture decisions, and common pitfalls (WordPress/gutenberg#75507) - Use contextual snackbar text when activating a theme from preview (WordPress/gutenberg#75385) - Pick user fields instead of spreading the entire object (WordPress/gutenberg#75528) - Real-time collaboration: Move PHP code to compat / backports directory (WordPress/gutenberg#75366) - Icons: Fix incorrect attributes for SVG (WordPress/gutenberg#75273) - Icons: Make full height icon label title case (WordPress/gutenberg#75524) - Respect deprecated openSubmenusOnClick value on frontend rendering (WordPress/gutenberg#75439) - useRef: always supply initial value (WordPress/gutenberg#75513) - Code Modernization: Replace isset() checks with null coalescing operator (WordPress/gutenberg#75425) - Prefix usages of JSX namespaces with React.JSX (WordPress/gutenberg#75508) - Cleanup: Remove unnecessary array check in `WP_Theme_JSON_Gutenberg` (WordPress/gutenberg#75515) - Real-time collaboration: Add collaborators cursor awareness (WordPress/gutenberg#75398) - Post Comments Link: Migrate to Text-Align Block Support (WordPress/gutenberg#75332) - Post time to read: Migrate to Text-Align Block Support (WordPress/gutenberg#75541) - ExternalLink: Prevent Twemoji from replacing arrow (WordPress/gutenberg#75538) - Duotone: add sgomes as owner (WordPress/gutenberg#75519) - Use null coalescing operator for common isset patterns (WordPress/gutenberg#75487) - Term Description: Migrate to Text-Align Block Support (WordPress/gutenberg#75542) - Create sub-sized images (WordPress/gutenberg#74566) - Add EXIF metadata tests for Client Side Media (WordPress/gutenberg#74909) - Add AVIF, WebP and MozJPEG output encoding support (WordPress/gutenberg#75081) - Post Terms: Migrate to Text-Align Block Support (WordPress/gutenberg#75545) - Tabs: Make Example preview translatable (WordPress/gutenberg#75555) - List View tab: Ensure it's populated when first selecting a container block (WordPress/gutenberg#75558) - Fix auto draft bug for Y.text titles (WordPress/gutenberg#75560) - Border Support: Fix editor split border style fallback (WordPress/gutenberg#75546) - Block Editor: Avoid unnecessary state churn in controlled inner blocks reducers (WordPress/gutenberg#75458) - Block Lock: Disable Apply button on non-dirty state (WordPress/gutenberg#75495) - Post Terms: Avoid unbound queries when the post context isn't available (WordPress/gutenberg#75536) - wp-env Playground: improve mapping and core source handling (WordPress/gutenberg#75527) - DataForm: add edit variant (WordPress/gutenberg#75462) - Tabs: Improve Tab Panel accessibility (WordPress/gutenberg#75484) - Tabs: Remove name editing UI (WordPress/gutenberg#75554) - useBlockSync: stop reconstructing controlled inner blocks (WordPress/gutenberg#75562) - Notes: Fix new note creation from the List View (WordPress/gutenberg#75566) - Navigation: Update overlay template part naming to "Navigation Overlay" (WordPress/gutenberg#75564) - Update usage of RefObject types (React 19 compat) (WordPress/gutenberg#75567) - useMergeRefs: migrate to TypeScript (WordPress/gutenberg#75569) - Improve link preview badges (WordPress/gutenberg#75318) - Add getDimensionsClassesAndStyles function and related tests (WordPress/gutenberg#74524) - Informational Parity between Inspector Link Preview and on Canvas Link Preview (WordPress/gutenberg#75399) - Icons Registry: Don't expose "internal" icons (WordPress/gutenberg#75526) - ui/Button: fix disabled styles and variable composition (WordPress/gutenberg#75568) - Tabs: Set explicit font-family on tab buttons (WordPress/gutenberg#75537) - Interactivity API: Export `watch` from `@preact/signals`'s `effect` (WordPress/gutenberg#75563) - iAPI router: Move internal properties to a private store (WordPress/gutenberg#70882) - Post Excerpt: Add text columns support (WordPress/gutenberg#75587) - Update gutenberg to match core after WordPress/gutenberg#75360 sync (WordPress/gutenberg#75594) - Block Visibility: Show viewport icons and tooltip in list view for hidden blocks (WordPress/gutenberg#75404) - [Real-time collaboration] Refine collaborator overlay with Avatar component integration (WordPress/gutenberg#75595) - Media Utils: Auto-select uploaded files in media modal experiment (WordPress/gutenberg#75597) - Try enabling paragraphs to be added to contentOnly patterns (WordPress/gutenberg#73222) - Implement WebAssembly support detection and fallbacks (WordPress/gutenberg#74827) - Icon block: Skip serialization and increase default size (WordPress/gutenberg#75553) - In-editor Revisions: Update success notice message (WordPress/gutenberg#75411) - Stabilize PHP-Only Block Registration (WordPress/gutenberg#75543) - Add comments around expandRevision functionality (WordPress/gutenberg#75573) - Tab Block: Ensure label formatting works correctly (WordPress/gutenberg#75548) - Tabs: Fix saved HTML (WordPress/gutenberg#75580) - [Real-time collaboration] Fix <CollaboratorsPresence> layout issue (WordPress/gutenberg#75599) - Notes: Fix block toolbar click action (WordPress/gutenberg#75614) - Commands: Add category property to command registration (WordPress/gutenberg#75612) - fix tab color-reset-all-filter (WordPress/gutenberg#75606) - Fix selection restoration after entity navigation (WordPress/gutenberg#75371) - Tabs: Sanitize tab_id (WordPress/gutenberg#75615) - Inherit text color for tabs-menu-item blocks (WordPress/gutenberg#75621) - Auto-switch viewport based on Overlay Visibility setting when entering overlay editor (WordPress/gutenberg#75386) - Fix: Show and hook up submenu visibility for Page Lists within Navigation Blocks (WordPress/gutenberg#75531) - Remove useEffect guard rail to enforce minimum width. (WordPress/gutenberg#75624) - Navigation: select list view tab on contentOnly. Alternative with explicit solution (WordPress/gutenberg#75578) - Navigation overlay: added basic e2e tests (WordPress/gutenberg#75581) - Revert Tabs block to experimental block (WordPress/gutenberg#75572) - List Block: Prevent content loss when merging into a fresh empty list item (WordPress/gutenberg#74382) - Fix Overlay core patterns not showing on design tab (WordPress/gutenberg#75618) - Rename Verse block to Poetry (WordPress/gutenberg#74121) - Fix Navigation block button showing "View custom" instead of "View link" for external URLs (WordPress/gutenberg#75571) - Removed Unused Global Documentation (WordPress/gutenberg#75631) - Real-time collaboration: Add sync connection status handling (WordPress/gutenberg#75066) - Add e2e test for selection restoration after pattern entity navigation (WordPress/gutenberg#75575) - Remove the Icon Block and Icon SVG API from experiments (WordPress/gutenberg#75576) - Block editor cross origin isolation: attempt to gracefully deal with race conditions (WordPress/gutenberg#75600) - Update diff package (WordPress/gutenberg#75644) - Upload Media: rebase of 75547 (WordPress/gutenberg#75646) - Block Editor: Allow disabling content-only editing for unsynced patterns (WordPress/gutenberg#75457) - Real-Time Collaboration: Add e2e tests for RTC (WordPress/gutenberg#75598) - Update the y-protocols versin and remove the unncessary types (WordPress/gutenberg#75657) - Pattern Editing: Add "Edit section" button to unsynced pattern toolbar (WordPress/gutenberg#75602) - PHP-Only Block Registration: Remove client-side schema validation (WordPress/gutenberg#75623) - Navigation: Add 'expectedDeprecated' annotations (WordPress/gutenberg#75659) - Site Editor: make QuickEdit stable + change template to select (WordPress/gutenberg#75565) - Icon Block: Move default width rule to theme.json instead of block.json (WordPress/gutenberg#75653) - Add e2e test for loading settings in site editor preload spec (WordPress/gutenberg#75661) - Update Ariakit packages (WordPress/gutenberg#75620) - Upgrade Playwright to v1.58 (WordPress/gutenberg#75632) - GitHub actions: Exclude lib/theme.json from backport changelog check (WordPress/gutenberg#75666) - theme.json: Enable width support for icon block by default (WordPress/gutenberg#75665) - Icons: Trim list of public icons further (WordPress/gutenberg#75630) - Update Navigation block tests to use non-deprecated API (WordPress/gutenberg#75660) - Update navigation block tests to use gutenberg version of block_core_navigation_block_tree_has_block_type - works on old wp versions (WordPress/gutenberg#75673) - Update copy (WordPress/gutenberg#75663) - Commands: Display category labels and enforce category icons (WordPress/gutenberg#75669) - Heading Block: Fix preview display (WordPress/gutenberg#75675) - Iframe: memoize src URL globally keyed by resolvedAssets (WordPress/gutenberg#75619) - ContrastChecker: Fix check for button block colors (WordPress/gutenberg#71959) - Writing flow: skip non-empty blocks on arrow key nav (WordPress/gutenberg#75141) - Comments Link: fix transforms textAlign (WordPress/gutenberg#75676) - Add initialSearchState to avoid console warnings from LinkControl inputValue change (WordPress/gutenberg#75643) - Migrate `EditorSnackbar` and `EditorNotices` components to the `@wordpress/notices` package (WordPress/gutenberg#74384) - Add minimum cap check to sync endpoint (WordPress/gutenberg#75681) - Fix: Hide link controls in sidebar when submenus open on click (WordPress/gutenberg#75637) - Set snackbar position to center (WordPress/gutenberg#75294) - Gallery: Fix PHP warning in random order image reordering (WordPress/gutenberg#75678) - DateCalendar, DateRangeCalendar: use lighter gray for disabled dates (WordPress/gutenberg#75683) - Pass unsupported formats directly to the server (WordPress/gutenberg#74910) - RTC: Compact on request with encodeStateAsUpdate (WordPress/gutenberg#75682) - Icons: Generate manifest PHP file based on JSON file (WordPress/gutenberg#75684) - ui/IconButton: make icon always 24px regardless of `size` prop (WordPress/gutenberg#75677) - Gallery: Skip interactivity directives when no images have lightbox enabled (WordPress/gutenberg#75680) - DataForm: Fix focus loss and refactor Card layout (WordPress/gutenberg#75689) - Remove IS_GUTENBERG_PLUGIN checks for collaborative editing (WordPress/gutenberg#75699) git-svn-id: https://develop.svn.wordpress.org/trunk@61680 602fd350-edb4-49c9-b593-d223f7449a82
Developed in WordPress/wordpress-develop#10968. Props ellatrix, adamsilverstein, youknowriad. See #64595. --- I've included a log of the Gutenberg changes with the following command: git log --reverse --format="- %s" 59a08c5496008ca88f4b6b86f38838c3612d88c8..7a11a53377a95cba4d3786d71cadd4c2f0c5ac52 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy - Remove unnecessary block deprecation from experimental tabs (WordPress/gutenberg#75208) - Block Editor: The insertBlock(s) actions should receive the same arguments (WordPress/gutenberg#75197) - Storybook: Always load design tokens in Design System section (WordPress/gutenberg#74899) - Default all initial suggested results to 20 for navigation link ui (WordPress/gutenberg#75186) - Navigation overlay: remove experiment (WordPress/gutenberg#74968) - Move AwarenessState to @wordpress/core-data (WordPress/gutenberg#75216) - RichText: Avoid stale active formats when deleting the text (WordPress/gutenberg#75227) - Fix <CollaboratorsPresence> type imports (WordPress/gutenberg#75232) - Block Editor: Add l10n context to 'Manage allowed blocks' string (WordPress/gutenberg#75239) - Fixed: Custom colors are now reflected in the editor for heading blocks (WordPress/gutenberg#75234) - Real-time Collaboration: Fix revision restore bug (WordPress/gutenberg#75233) - Real-time collaboration: Update 'sync.providers' filter inline comments (WordPress/gutenberg#75248) - Real-time collaboration: Make the collaborators presense button translatable (WordPress/gutenberg#75252) - Fix: Navigation Overlay Close Block: Add missing @SInCE tag WordPress/gutenberg#75247 (WordPress/gutenberg#75250) - Cover: Add new "fullheight" icon, and use for Cover (WordPress/gutenberg#75240) - Real-time collaboration: Remove @wordpress/sync from bundled packages and add private APIs (WordPress/gutenberg#74671) - Navigation Link: Clarify Link To invalid and draft state messages (WordPress/gutenberg#74054) - Docs: Simplifying Gutenberg versions table (WordPress/gutenberg#75209) - UI: Remove Box component abstraction (WordPress/gutenberg#74986) - Docs: Remove private GitHub team links in repository management (WordPress/gutenberg#75255) - UI: Add `Textarea` primitive (WordPress/gutenberg#74707) - Components: Add usage guidance for agents and Storybook (WordPress/gutenberg#74815) - Theme: Update elevation tokens to use abbreviated size names (WordPress/gutenberg#75103) - Navigation link: fix resetting link from the tools panel (WordPress/gutenberg#75228) - List View Support: Only render list view on top level block with support (WordPress/gutenberg#75166) - Gallery: Add lightbox support (WordPress/gutenberg#62906) - Workflows: Ignore icons manifest for manual backports (WordPress/gutenberg#75245) - Add new `adaptiveSelect` DataForm control (WordPress/gutenberg#74937) - Site Editor Pages: QuickEdit as a modal (WordPress/gutenberg#75173) - Add block rename keyboard shortcut (WordPress/gutenberg#74454) - Playlist block: Remove border (WordPress/gutenberg#75202) - Widget Area: Disable renaming and visibility support (WordPress/gutenberg#75279) - @wordpress/theme: add missing CHANGELOG entries (WordPress/gutenberg#75281) - Storybook: Add Stories for LetterSpacingControl component (WordPress/gutenberg#73480) - Remove the client from the awareness state when they disconnect (WordPress/gutenberg#75253) - Fix awareness timeout documentation unit (WordPress/gutenberg#75284) - Add global setting to enable real-time collaboration (WordPress/gutenberg#75286) - Notes: Pressing Escape should cancel adding a note (WordPress/gutenberg#75288) - Real-time Collaboration: Change users to collaborators (WordPress/gutenberg#75237) - Add timestamp when publishing next versions (WordPress/gutenberg#75293) - Storybook: Preserve export order for stories (WordPress/gutenberg#75295) - ToggleControl: Prevent console warning for `__nextHasNoMarginBottom` (WordPress/gutenberg#75296) - Quick edit: Make footer sticky (WordPress/gutenberg#75297) - DataForm Regular layout: label always uppercase (WordPress/gutenberg#75292) - @wordpress/ui: add Dialog component (WordPress/gutenberg#75183) - Navigation Link: Go to page link and edit page for inspector sidebar (WordPress/gutenberg#75262) - SiteEditor Pages: prevent QuickEdit modal from being triggered in list layout via URL param (WordPress/gutenberg#75300) - Link Control: Fix validation timing (WordPress/gutenberg#75267) - Publishing packages: fix next timestamp (WordPress/gutenberg#75301) - Add storybook for ColorPaletteControl (WordPress/gutenberg#74425) - Post Comments Form: Migrate to text-align block support (WordPress/gutenberg#75322) - Post Comments Count: Migrate to text-align block support (WordPress/gutenberg#75321) - Optimize tabsList computation with useRef for comparison (WordPress/gutenberg#75219) - Accordion block: Add list view support (WordPress/gutenberg#75271) - Media Fields: Filter author field to only show users with authoring capabilities (WordPress/gutenberg#75328) - Fields: Fix `authorField` query (WordPress/gutenberg#75298) - Slot: fix ref forwarding (WordPress/gutenberg#75274) - wp-env: Add --config option for custom config files (WordPress/gutenberg#75087) - Update Emotion for React 19 compat (WordPress/gutenberg#75324) - Block Visibility: Show keyboard shortcut hint in context menu (WordPress/gutenberg#75334) - Updated Typo in template-activate file (WordPress/gutenberg#75333) - wp-env: fix status command (WordPress/gutenberg#75325) - Playlist block:Inherit more CSS (WordPress/gutenberg#75256) - DataViews: Add onReset prop for view persistence reset (WordPress/gutenberg#75093) - Notes: Add a keyboard shortcut for creating a new note (WordPress/gutenberg#75287) - Storybook: Fix missing props on certain components (WordPress/gutenberg#75316) - Pattern Editing: Allow click through to List View (WordPress/gutenberg#75246) - Block Bindings: Have block fields panel reflects bound attribute value (WordPress/gutenberg#72096) - Fix: ISO 8601 compliant year formatting in TimePicker (WordPress/gutenberg#75343) - Prevent fatal error when the inline CSS duotone variable is an array (WordPress/gutenberg#75283) - Bugfix: Set the removed users to empty for awareness (WordPress/gutenberg#75337) - Button: prevent outline flicker when focused and active at the same time (WordPress/gutenberg#75346) - Real-time collaboration: Always target autosave revision (WordPress/gutenberg#75105) - In-editor revisions: add visual diffing (WordPress/gutenberg#75049) - iAPI Router: Update cached styles for re-fetched pages (WordPress/gutenberg#75097) - Add tests for the awareness code in core-data (WordPress/gutenberg#75074) - Add tests for the awareness code in sync (WordPress/gutenberg#75077) - Lock save button during Client Side Media processing and uploading (WordPress/gutenberg#74951) - Real-time Collaboration: Fix broken unit tests for awareness (WordPress/gutenberg#75362) - Boot: Fix mobile admin bar covering single-page mode headers (WordPress/gutenberg#75339) - Design System: Add guidelines for save and submit UX (WordPress/gutenberg#74811) - Featured Image: fix select-default-value (WordPress/gutenberg#75358) - Breadcrumbs: Improve loading state rendering (WordPress/gutenberg#75383) - Block Editor: Remove formatting controls restriction private API (WordPress/gutenberg#75382) - Link Control: Validate on submit (WordPress/gutenberg#75310) - Rich Text: Remove min-width inline style causing flex layout issues (WordPress/gutenberg#75370) - Tabs: Tidy up UI for controls (WordPress/gutenberg#75309) - Core Block Reference: Fix object empty inner key processing (WordPress/gutenberg#75391) - Improve sync performance metrics (WordPress/gutenberg#75029) - DataForm: update panel trigger (WordPress/gutenberg#75290) - Block Editor: Fix Columns block horizontal spacing when setting vertical gap (WordPress/gutenberg#75355) - DataViews Filters: Fix styling of long values in filter dropdown (WordPress/gutenberg#75369) - Try swapping tabs (WordPress/gutenberg#75194) - RichText: move useFormatTypes to rich-text package (WordPress/gutenberg#75387) - Make all navigation overlay close buttons work (WordPress/gutenberg#75384) - Block Editor: Improve Background panel UI in Global Styles (WordPress/gutenberg#75230) - Tabs: Update Tabs block icons (WordPress/gutenberg#75376) - Accordion: Move Accordion icons to Icon library (WordPress/gutenberg#75380) - Fix: Changing URL in link after changing text outside the popover resets it (WordPress/gutenberg#75342) - Update icon manifest acronyms. (WordPress/gutenberg#75418) - Code Modernization: Use null coalescing operator in additional `isset() ternaries. (WordPress/gutenberg#75419) - Pattern Editing: Move List View selectors to private-selectors (WordPress/gutenberg#75414) - DataViews: Use public ColorPicker instead of internal Picker export (WordPress/gutenberg#75394) - Abilities: Allow nested namespace ability names (2-4 segments) (WordPress/gutenberg#75393) - Fix: Remove backport changelog committed by mistake (WordPress/gutenberg#75441) - Block Visibility: Simplify toolbar for hidden blocks (WordPress/gutenberg#75335) - Block Visibility: Centralize modal state in block-editor store (WordPress/gutenberg#75367) - Allow grid to use style variation blockGap values for columns calculation (WordPress/gutenberg#75360) - Langauge Format: Add missing attribute definiton (WordPress/gutenberg#75422) - Block transform command: pass the block icon src rather than a BlockIcon component (WordPress/gutenberg#75365) - Note: Remove block highlight when deleting parent note (WordPress/gutenberg#75453) - Core Data: Improve blocks cache in useEntityBlockEditor (WordPress/gutenberg#75400) - MediaEdit: Support ordered values and reordering of items (WordPress/gutenberg#75207) - Writing flow: fix select all with full formatting (WordPress/gutenberg#64934) - Filter navigation category patterns to only show in navigation-overlay template part context (WordPress/gutenberg#75276) - Update Testing Library for React 19 compat (WordPress/gutenberg#75340) - Writing Flow: Fix block selection from partially selected RichText (WordPress/gutenberg#75449) - Notes: Fix sidebar display logic for small screens (WordPress/gutenberg#75454) - Post editor: iframe: check inserted rather than registered block versions (WordPress/gutenberg#75187) - Block Visibility: Disable visibility toggle for children of sections (WordPress/gutenberg#75447) - Notes: Update shortcut category (WordPress/gutenberg#75461) - Add dedicated navigation-overlay icon (WordPress/gutenberg#75249) (WordPress/gutenberg#75426) - Docs: Rename Interactivity API's 'API Reference' to 'Directives and Store' (WordPress/gutenberg#74974) - DataForm: Fix color picker styles (WordPress/gutenberg#75427) - Post Excerpt Block: Remove REST API filter for excerpt length in post excerpt block (WordPress/gutenberg#75299) - Move experimental PR out of backport log (WordPress/gutenberg#75465) - Add paste logging to writing flow (WordPress/gutenberg#73885) - Real-time collaboration: Sync post content and undefined `blocks` value (WordPress/gutenberg#75437) - Gutenberg plugin: always enforce the iframe in the post editor (WordPress/gutenberg#75475) - New Block: Icon Block (WordPress/gutenberg#71227) - Tabs: Improve tab keyboard nav (WordPress/gutenberg#75471) - Pre-populate Navigation Page Creator with Search Text (WordPress/gutenberg#75154) - Block Library: Hide navigation-overlay template parts from inserter (WordPress/gutenberg#75478) - Tabs: Add text and background color support (WordPress/gutenberg#75482) - Preserve existing URLInput defaults (WordPress/gutenberg#75392) - UI: Remove unnecessary jest.setTimeout from Select test (WordPress/gutenberg#75444) - Fix missed dimension token migration in UI package (WordPress/gutenberg#75446) - Render default density selector last in design tokens CSS (WordPress/gutenberg#75474) - Navigation: Improved help text in create a page flow (WordPress/gutenberg#75349) - Fix gap token migration guide in changelog (WordPress/gutenberg#75492) - Block Visibility: Disable Apply button on non-dirty state (WordPress/gutenberg#75494) - Real-time Collaboration: Use Y.text for title, content and excerpt (WordPress/gutenberg#75448) - DataForm: Style SummaryButton in panel layout with `is-disabled` classname (WordPress/gutenberg#75470) - Gallery: Add list view block support (WordPress/gutenberg#75407) - Types: consistently use the React namespace (WordPress/gutenberg#75499) - Enhance block appender labels to reflect default block type (WordPress/gutenberg#71502) - Import Yjs correctly (WordPress/gutenberg#75500) - Add testsEnvironment option and split Gutenberg wp-env configs (WordPress/gutenberg#75341) - Add `clearEntityRecordEdits` action to core-data (WordPress/gutenberg#75397) - Tabs: Stabilize Tabs blocks (WordPress/gutenberg#75424) - Simplify Tabs Menu Item editing (WordPress/gutenberg#75416) - Fix LinkControl URL Normalization (WordPress/gutenberg#75488) - Navigation Submenu: Restore openSubmenusOnClick to usesContext for backward compatibility. (WordPress/gutenberg#75435) - Tabs: Add `@since 7.0.0` annotations (WordPress/gutenberg#75521) - Story types: fix StoryFns used as React components (WordPress/gutenberg#75472) - Tabs: fix incorrect fixtures (WordPress/gutenberg#75523) - AGENTS.md: Add CLAUDE.md symlinks, architecture decisions, and common pitfalls (WordPress/gutenberg#75507) - Use contextual snackbar text when activating a theme from preview (WordPress/gutenberg#75385) - Pick user fields instead of spreading the entire object (WordPress/gutenberg#75528) - Real-time collaboration: Move PHP code to compat / backports directory (WordPress/gutenberg#75366) - Icons: Fix incorrect attributes for SVG (WordPress/gutenberg#75273) - Icons: Make full height icon label title case (WordPress/gutenberg#75524) - Respect deprecated openSubmenusOnClick value on frontend rendering (WordPress/gutenberg#75439) - useRef: always supply initial value (WordPress/gutenberg#75513) - Code Modernization: Replace isset() checks with null coalescing operator (WordPress/gutenberg#75425) - Prefix usages of JSX namespaces with React.JSX (WordPress/gutenberg#75508) - Cleanup: Remove unnecessary array check in `WP_Theme_JSON_Gutenberg` (WordPress/gutenberg#75515) - Real-time collaboration: Add collaborators cursor awareness (WordPress/gutenberg#75398) - Post Comments Link: Migrate to Text-Align Block Support (WordPress/gutenberg#75332) - Post time to read: Migrate to Text-Align Block Support (WordPress/gutenberg#75541) - ExternalLink: Prevent Twemoji from replacing arrow (WordPress/gutenberg#75538) - Duotone: add sgomes as owner (WordPress/gutenberg#75519) - Use null coalescing operator for common isset patterns (WordPress/gutenberg#75487) - Term Description: Migrate to Text-Align Block Support (WordPress/gutenberg#75542) - Create sub-sized images (WordPress/gutenberg#74566) - Add EXIF metadata tests for Client Side Media (WordPress/gutenberg#74909) - Add AVIF, WebP and MozJPEG output encoding support (WordPress/gutenberg#75081) - Post Terms: Migrate to Text-Align Block Support (WordPress/gutenberg#75545) - Tabs: Make Example preview translatable (WordPress/gutenberg#75555) - List View tab: Ensure it's populated when first selecting a container block (WordPress/gutenberg#75558) - Fix auto draft bug for Y.text titles (WordPress/gutenberg#75560) - Border Support: Fix editor split border style fallback (WordPress/gutenberg#75546) - Block Editor: Avoid unnecessary state churn in controlled inner blocks reducers (WordPress/gutenberg#75458) - Block Lock: Disable Apply button on non-dirty state (WordPress/gutenberg#75495) - Post Terms: Avoid unbound queries when the post context isn't available (WordPress/gutenberg#75536) - wp-env Playground: improve mapping and core source handling (WordPress/gutenberg#75527) - DataForm: add edit variant (WordPress/gutenberg#75462) - Tabs: Improve Tab Panel accessibility (WordPress/gutenberg#75484) - Tabs: Remove name editing UI (WordPress/gutenberg#75554) - useBlockSync: stop reconstructing controlled inner blocks (WordPress/gutenberg#75562) - Notes: Fix new note creation from the List View (WordPress/gutenberg#75566) - Navigation: Update overlay template part naming to "Navigation Overlay" (WordPress/gutenberg#75564) - Update usage of RefObject types (React 19 compat) (WordPress/gutenberg#75567) - useMergeRefs: migrate to TypeScript (WordPress/gutenberg#75569) - Improve link preview badges (WordPress/gutenberg#75318) - Add getDimensionsClassesAndStyles function and related tests (WordPress/gutenberg#74524) - Informational Parity between Inspector Link Preview and on Canvas Link Preview (WordPress/gutenberg#75399) - Icons Registry: Don't expose "internal" icons (WordPress/gutenberg#75526) - ui/Button: fix disabled styles and variable composition (WordPress/gutenberg#75568) - Tabs: Set explicit font-family on tab buttons (WordPress/gutenberg#75537) - Interactivity API: Export `watch` from `@preact/signals`'s `effect` (WordPress/gutenberg#75563) - iAPI router: Move internal properties to a private store (WordPress/gutenberg#70882) - Post Excerpt: Add text columns support (WordPress/gutenberg#75587) - Update gutenberg to match core after WordPress/gutenberg#75360 sync (WordPress/gutenberg#75594) - Block Visibility: Show viewport icons and tooltip in list view for hidden blocks (WordPress/gutenberg#75404) - [Real-time collaboration] Refine collaborator overlay with Avatar component integration (WordPress/gutenberg#75595) - Media Utils: Auto-select uploaded files in media modal experiment (WordPress/gutenberg#75597) - Try enabling paragraphs to be added to contentOnly patterns (WordPress/gutenberg#73222) - Implement WebAssembly support detection and fallbacks (WordPress/gutenberg#74827) - Icon block: Skip serialization and increase default size (WordPress/gutenberg#75553) - In-editor Revisions: Update success notice message (WordPress/gutenberg#75411) - Stabilize PHP-Only Block Registration (WordPress/gutenberg#75543) - Add comments around expandRevision functionality (WordPress/gutenberg#75573) - Tab Block: Ensure label formatting works correctly (WordPress/gutenberg#75548) - Tabs: Fix saved HTML (WordPress/gutenberg#75580) - [Real-time collaboration] Fix <CollaboratorsPresence> layout issue (WordPress/gutenberg#75599) - Notes: Fix block toolbar click action (WordPress/gutenberg#75614) - Commands: Add category property to command registration (WordPress/gutenberg#75612) - fix tab color-reset-all-filter (WordPress/gutenberg#75606) - Fix selection restoration after entity navigation (WordPress/gutenberg#75371) - Tabs: Sanitize tab_id (WordPress/gutenberg#75615) - Inherit text color for tabs-menu-item blocks (WordPress/gutenberg#75621) - Auto-switch viewport based on Overlay Visibility setting when entering overlay editor (WordPress/gutenberg#75386) - Fix: Show and hook up submenu visibility for Page Lists within Navigation Blocks (WordPress/gutenberg#75531) - Remove useEffect guard rail to enforce minimum width. (WordPress/gutenberg#75624) - Navigation: select list view tab on contentOnly. Alternative with explicit solution (WordPress/gutenberg#75578) - Navigation overlay: added basic e2e tests (WordPress/gutenberg#75581) - Revert Tabs block to experimental block (WordPress/gutenberg#75572) - List Block: Prevent content loss when merging into a fresh empty list item (WordPress/gutenberg#74382) - Fix Overlay core patterns not showing on design tab (WordPress/gutenberg#75618) - Rename Verse block to Poetry (WordPress/gutenberg#74121) - Fix Navigation block button showing "View custom" instead of "View link" for external URLs (WordPress/gutenberg#75571) - Removed Unused Global Documentation (WordPress/gutenberg#75631) - Real-time collaboration: Add sync connection status handling (WordPress/gutenberg#75066) - Add e2e test for selection restoration after pattern entity navigation (WordPress/gutenberg#75575) - Remove the Icon Block and Icon SVG API from experiments (WordPress/gutenberg#75576) - Block editor cross origin isolation: attempt to gracefully deal with race conditions (WordPress/gutenberg#75600) - Update diff package (WordPress/gutenberg#75644) - Upload Media: rebase of 75547 (WordPress/gutenberg#75646) - Block Editor: Allow disabling content-only editing for unsynced patterns (WordPress/gutenberg#75457) - Real-Time Collaboration: Add e2e tests for RTC (WordPress/gutenberg#75598) - Update the y-protocols versin and remove the unncessary types (WordPress/gutenberg#75657) - Pattern Editing: Add "Edit section" button to unsynced pattern toolbar (WordPress/gutenberg#75602) - PHP-Only Block Registration: Remove client-side schema validation (WordPress/gutenberg#75623) - Navigation: Add 'expectedDeprecated' annotations (WordPress/gutenberg#75659) - Site Editor: make QuickEdit stable + change template to select (WordPress/gutenberg#75565) - Icon Block: Move default width rule to theme.json instead of block.json (WordPress/gutenberg#75653) - Add e2e test for loading settings in site editor preload spec (WordPress/gutenberg#75661) - Update Ariakit packages (WordPress/gutenberg#75620) - Upgrade Playwright to v1.58 (WordPress/gutenberg#75632) - GitHub actions: Exclude lib/theme.json from backport changelog check (WordPress/gutenberg#75666) - theme.json: Enable width support for icon block by default (WordPress/gutenberg#75665) - Icons: Trim list of public icons further (WordPress/gutenberg#75630) - Update Navigation block tests to use non-deprecated API (WordPress/gutenberg#75660) - Update navigation block tests to use gutenberg version of block_core_navigation_block_tree_has_block_type - works on old wp versions (WordPress/gutenberg#75673) - Update copy (WordPress/gutenberg#75663) - Commands: Display category labels and enforce category icons (WordPress/gutenberg#75669) - Heading Block: Fix preview display (WordPress/gutenberg#75675) - Iframe: memoize src URL globally keyed by resolvedAssets (WordPress/gutenberg#75619) - ContrastChecker: Fix check for button block colors (WordPress/gutenberg#71959) - Writing flow: skip non-empty blocks on arrow key nav (WordPress/gutenberg#75141) - Comments Link: fix transforms textAlign (WordPress/gutenberg#75676) - Add initialSearchState to avoid console warnings from LinkControl inputValue change (WordPress/gutenberg#75643) - Migrate `EditorSnackbar` and `EditorNotices` components to the `@wordpress/notices` package (WordPress/gutenberg#74384) - Add minimum cap check to sync endpoint (WordPress/gutenberg#75681) - Fix: Hide link controls in sidebar when submenus open on click (WordPress/gutenberg#75637) - Set snackbar position to center (WordPress/gutenberg#75294) - Gallery: Fix PHP warning in random order image reordering (WordPress/gutenberg#75678) - DateCalendar, DateRangeCalendar: use lighter gray for disabled dates (WordPress/gutenberg#75683) - Pass unsupported formats directly to the server (WordPress/gutenberg#74910) - RTC: Compact on request with encodeStateAsUpdate (WordPress/gutenberg#75682) - Icons: Generate manifest PHP file based on JSON file (WordPress/gutenberg#75684) - ui/IconButton: make icon always 24px regardless of `size` prop (WordPress/gutenberg#75677) - Gallery: Skip interactivity directives when no images have lightbox enabled (WordPress/gutenberg#75680) - DataForm: Fix focus loss and refactor Card layout (WordPress/gutenberg#75689) - Remove IS_GUTENBERG_PLUGIN checks for collaborative editing (WordPress/gutenberg#75699) Built from https://develop.svn.wordpress.org/trunk@61680 git-svn-id: http://core.svn.wordpress.org/trunk@60988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
Did anyone here eval either the CLAUDE.md file or the ai-generated additions to the AGENTS.md file before merging this? |
|
I think the contents of that AGENTS.md would be helpful to humans, not only to AI. Nothing in there is AI-specific, and I for one would have benefited enormously from reading these clear cut guidelines when I started contributing to the project. Some of that stuff took me quite a while to figure out ��� So what I'd like to propose is adding these to the README.md, either instead of AGENTS, because agents already do read readmes (and we could reserve AGENTS for anything AI-specific that might need adding later) or duplicating it across both files. I know the README already has links to extensive docs, but those are very fluffy in style so it helps a lot to have concise guidelines too. |
|
@tellthemachines I agree and for me it's really unclear what should be the difference between README.md and AGENTS.md I feel like it could be the exact same file. @justlevine not sure exactly how to do that personally, can you help? |
|
In our experience we found that human-facing and AI-facing documentation have different requirements, both in terms of information discovery (an agent and a human may "scan" and read the codebase in different ways) and in terms of structure/wording (documentation for agents needs to be a lot more explicit about what has to be done and especially what should not be done, in a writing style that is very different from documenation aimed at humans). |
|
@youknowriad an eval is basically just a WordPress test report. You give an llm+harness a task and see how it behaves, then apply your context hack and give it the same task and see if the results are improved (accuracy, token count, time, whatever you were trying to "address" in the first place). I think these changes were autogenerated by AI, which is itself problematic, but assuming they had been written with intent:
Fun litmus: if the friction you're experiencing doesn't feel like it's worth the effort of a basic eval, it's probably not worth addressing via AGENTS.md - especially not in a public repo.
@ciampo I don't want to be a jerk, but is this experience based on using Claude Code on this repo (where the AGENTS.md had no effect other than polluting discovery when the model greps for context on its own for the last 4 months)?
To my knowledge, almost everything you wrote in this sentence is demonstratable incorrect. At best we can say that the authors have different goals when writing docs that conflict with what's most helpful for users/llms, resulting in lower signal to noise. It's also true that most folks suck at writing docs < inline docs + doc blocks < self-documenting code, which is why:
That's what leads us to findings like (preprint:
while
I've shared this (and other research etc previously) in https://core.trac.wordpress.org/ticket/63901 where I recommend we
Would love for you to take a skim and share your thoughts there, so we can push the conversation forward 🙇 ( Again I'm trying really hard and likely failing really hard at not sounding like a jerk. |
At least for the AGENTS files we added to
This is specifically referring to this section, which was revealed as a gap in the iterative process explained above. I think this was the third iteration of this wording, until the agent actually stopped the user for confirmation instead of silently proceeding to build what the user asked for. The test prompt in this case was "Write a login form component (WP compatible) that uses components and form validation primitives from the |
|
Thanks for sharing @mirka , that sounds like a great process, and indeed that resulting (I'm assuming you confirmed that the testers where using harnesses that supported nested I guess my follow up questions are:
|
|
This PR was indeed pushed by Claude Code but I have suggested all the additions myself. If you have suggestions and improvements please open PRs |
|
Acknowledging that it's probably not an exact science, I do agree that in hindsight it does make sense to document in the PRs what the actual prompts were that the changes improved against. It at least documents what the intended use case was, and that there was some attempt to verify that an improvement was observable. Perhaps similar to the "measure first, optimize second" rule of performance improvements. |
|
The main difference is that AI is a tool to help developers, performance is something that impact users. What's important is the actual user benefits, and that we ship good features. I'd love to be able to automate these evals, but we shouldn't forget that all of this is "busy work" that has no immediate value for the users. |
That section is the only part of any of the AGENTS.md files in gutenberg that reads like it's aimed at AI specifically, and that's just due to the way it is worded: "When a human asks...". The actual information contained in the paragraph is still just as useful for humans as AI. I can't find anything in the README of the UI package that explicitly says that these components are not to be used yet and we should use the ones from the components package instead. I might not be the sharpest knife in the drawer, but the way our AI docs in AGENTS.md files are written is much easier for me to parse than the corresponding README.md files. Maybe some of us need that extra level of explicitness. This is an open source project that should be welcoming of contributions from many different people with different skill level, and having explicit instructions about the most basic things in the docs can only be beneficial for everyone. |
Exactly... just because AGENTS.md is coded in natural language, it doesn't make it any less of a tool configuration for your LLM harness. We didn't start migrating to typescript until committers had grown comfortable committing with it, nor would we change our phpcs/eslint configs without seeing what the value or impact of the new smells would be. I'd like to believe we wouldn't blindly merge in a new build process because it "looks like what we've seen elsewhere", and if we didn't have an automated way to test it, contributors and reviewers would submit a Test Report. And unlike failures for those tests, because inference isnt idempotent, contributors don't have an easy way to tell it's the config that's broken (or written exclusively for those with company sponsored CC Max $200 plans), they're just left paying significantly more money to produce significantly worse results.
As previously moted my suggestion is to immediately revert this, and ideally all AGENTS.md files from WordPress/* repos until committers have the know how to review and test them (same as any other tool) I can open up a Gutenberg-specific issue+pr if you insist, but considering the research, studies, and best practices for FOSS arent gutenberg-specific, I'd much rather keep the conversation centralized on the Trac ticket I linked. LMK and I'll can try to do it next week (after the b1 hecticness) 🙇 |
If this is referring to my review comment in #75507 (review), I'll clarify that the text of that comment was directed specifically at the change to link agent files (i.e. with symlinks and later |
What?
Improves the AGENTS.md setup for coding agents working on Gutenberg.
Why?
Claude Code only reads
CLAUDE.md, notAGENTS.md, so it was getting zero project context. The existingAGENTS.mdalso lacked sections on architectural decisions and common pitfalls, which are high-value for reducing agent mistakes.How?
packages/components/, andpackages/ui/pointing to their respectiveAGENTS.mdfiles.lib/compat/targeting, private APIs in bundled packages,block-editorWP-agnosticism, and@wordpress/scriptsgenericity.Testing Instructions
ls -la CLAUDE.mdshould show-> AGENTS.mdCLAUDE.mdAGENTS.mdfor accuracy🤖 Generated with Claude Code