[docs] Self-healing documentation fixes from issue analysis - 2026-05-18#32915
Merged
Conversation
…ywright The 2026-02-05 'how workflows work' blog post showed tools.serena as a built-in MCP tool example, but the schema has marked tools.serena as REMOVED (with x-removed: true) and PR #32909 made the parser reject it at compile time. Users copying the example would now get a hard compile error. Replaced with tools.playwright (mode: cli) — a still-valid built-in MCP tool — to keep the three-tool illustration intact. The mcp-servers prose mention of serena is unchanged because Serena remains accessible as an external server via shared/mcp/serena.md import.
pelikhan
approved these changes
May 18, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR replaces an outdated tools.serena example in a blog post with a valid tools.playwright example. The serena built-in was removed (per PR #32909) and the parser now rejects it at compile time, so the blog example would have failed for users copying it. The surrounding prose (which still mentions serena as an extension via imports) is left intact.
Changes:
- Replace the
serena: {mode: remote, version: latest}block in the three-tool YAML illustration withplaywright: {mode: cli}so the example continues to compile against the current schema.
Show a summary per file
| File | Description |
|---|---|
| docs/src/content/docs/blog/2026-02-05-how-workflows-work.md | Replaces removed serena built-in MCP example with the still-valid playwright (CLI mode) example. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 0
Contributor
Author
There was a problem hiding this comment.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · ● 3.7M
This was referenced May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Self-Healing Documentation Fixes
This PR was automatically created by the Daily Documentation Healer workflow.
Gaps Fixed
tools.serenaexample in blog post —docs/src/content/docs/blog/2026-02-05-how-workflows-work.mdshowedtools.serena(withmode: remote,version: latest) as a built-in MCP example. The schema markstools.serenaasREMOVED(x-removed: true) and PR Reject removedtools.serenain parser and align with schema #32909 made the parser reject it at compile time. Users copying the example would now hit a hard compile error directing them to importshared/mcp/serena.mdinstead. Replaced the entry with a validtools.playwrightexample (mode: cli) so the three-tool illustration remains intact. The reference pagedocs/src/content/docs/reference/serena.mdalready documents the migration, so no further change was needed.Root Cause
DDUw Step 2 ("Removed Features in Docs") scans for properties present in docs but absent from the schema.
tools.serenais still present in the schema as a property — only with"x-removed": trueand aREMOVED:description prefix. A simple property-exists check would not flag it. The scan needs to also flag any schema property whose description starts withREMOVED:or whosex-removedflag istrue, regardless of whether the property name itself still appears in the schema.Additionally, the gap sits in a blog post, and the existing scan focuses on
docs/src/content/docs/reference/,setup/, andguides/. Blog posts (docs/src/content/docs/blog/) hold concrete code examples that can age out the same way reference examples do, so they should be in scope when the check is for invalid example syntax.💡 DDUw Improvement Suggestions
DDUw Improvement Suggestions
Add a schema-removed property scan to
.github/workflows/daily-doc-updater.mdStep 2, alongside the existing Removed Features in Docs bullet:Concrete grep pattern for the workflow to run:
Also widen Step 1's documentation directory list: add
docs/src/content/docs/blog/to the directories scanned for invalid example code. Blog posts are historical commentary, but the code examples inside them must still compile against the current schema — otherwise the post becomes a trap for new readers who copy from it.Other Closed-Issue Outcomes (No Action Needed)
For full transparency, the other documentation issues closed in the last 7 days were verified and required no additional fixes in this run:
piandopencodeto engine_config description (missing built-in engines) #32418 (engine_config:pi,opencode) — already addressed by previous healer PRs [docs] Self-healing documentation fixes from issue analysis - 2026-05-16 #32496 and [docs] Self-healing documentation fixes from issue analysis - 2026-05-17 #32714; schema descriptions andengines.mdrows are complete..lock.ymlin the Quick Start #32421 (definefrontmatter, explain.lock.ymlin Quick Start) — closednot_planned; the Quick Start atdocs/src/content/docs/setup/quick-start.mdxalready definesfrontmatterinline in Step 4 (per merged PR docs: define frontmatter and demystify jargon in Quick Start #29352, 2026-04-30) and explains the.md/.lock.ymlsplit in the same step. No additional code change motivates new doc work.not_planned;add-wizardprompts for engine choice in Step 2 and Step 4 demonstratesengine: claude(per merged PR around 2026-05-13, "Improve Claude onboarding parity in Quick Start"). No code change in the 7-day window motivates further restructuring.inline-sub-agentsandmax-effective-tokensto canonical frontmatter reference #31968 (inline-sub-agents,max-effective-tokensin frontmatter reference) — addressed by merged PR docs: sync frontmatter-full.md and cli.md with schema/CLI surface changes from #32200 and #32213 #32236; both fields are present infrontmatter.md(lines 543, 556) andfrontmatter-full.md.pkg/errorutilspec,pkg/cliandpkg/parserdependency drift) — addressed by merged PR Add missingerrorutilpackage spec and align dependency sections in package READMEs #32822.pkg/linterspackage spec and completepkg/clidependency list #32136 and Documentpkg/testutildependency onpkg/constantsin package spec #31950 respectively.ArtifactNameconstants inpkg/constants/{constants,job_constants}.goare present in the Quick Reference table ofdocs/src/content/docs/reference/artifacts.md. No drift detected.Related Issues
No specific issue is closed by this PR — the gap was identified by direct cross-reference against
pkg/parser/schemas/main_workflow_schema.jsonand merged PR #32909.