Repository navigation
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. 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. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1218 +/- ##
=============================================
+ Coverage 84.71% 84.73% +0.01%
- Complexity 3723 3725 +2
=============================================
Files 149 149
Lines 14257 14271 +14
=============================================
+ Hits 12078 12092 +14
Misses 2179 2179
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…label generation and add integration tests
…t up-to-date content to send in case something changes between runs. Cache some data to help with performance
What?
Follow up to #1175 (review)
Enhances block container label generation by providing document-level context (post title, section hierarchy, and surrounding container blocks) to the model. This allows the AI to generate structural and editorial role labels rather than merely summarizing inner content.
Why?
Previously, the model only received the isolated text content of the target container. Without knowing where the container sits within the page or what other sections exist, the model had to rely solely on local text, often producing descriptive summaries rather than functional, navigational List View labels.
Screencast:
Screen.Recording.2026-10-24.at.6.29.58.PM.mov
Here is the example of document context in above video:
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Sonnet 4.6
Used for: Validating bug, suggesting a fix.
Changelog Entry