[docs] Self-healing documentation fixes from issue analysis - 2026-05-19#33172
Closed
github-actions[bot] wants to merge 1 commit into
Closed
[docs] Self-healing documentation fixes from issue analysis - 2026-05-19#33172github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
The engine feature comparison table in engines.md incorrectly showed engine.bare as supported (✅) for Codex and Gemini. The compiler only honors bare mode for Copilot and Claude — it emits a warning and ignores the flag for all other engines (see pkg/workflow/agent_validation.go:229 and TestSupportsBareMode in pkg/workflow/engine_config_test.go). Closes the documentation drift noted in #33081. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 20, 2026
Closed
Closed
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.serenaandengine.bare— thetools.serenahalf was already resolved (pkg/parser/mcp.go:237now returns an error), but theengine.barehalf was still drifting. The Engine Feature Comparison table indocs/src/content/docs/reference/engines.md:43claimedengine.barewas supported (✅) for Codex and Gemini. The compiler only honors bare mode for Copilot and Claude — seevalidateBareModeSupportatpkg/workflow/agent_validation.go:229andTestSupportsBareModeatpkg/workflow/engine_config_test.go:934-967, which assert that Codex and Gemini returnBareMode: falseand therefore receive a compile-time warning with no behavioral effect. The companion "Bare Mode" effects table at lines 329-334 also listed--no-system-promptfor Codex andGEMINI_SYSTEM_MD=/dev/nullfor Gemini, which are never injected (verified byTestBareMode_UnsupportedEngineWarningIntegrationatpkg/workflow/engine_args_integration_test.go:345).Changes
docs/src/content/docs/reference/engines.mdengine.barefrom ✅ to ❌ to matchpkg/workflow/copilot_engine.go:46andpkg/workflow/claude_engine.go:34(the only two engines withBareMode: true).engine.bareis honored only forcopilotandclaude.Root Cause
DDUw never compared the engine feature matrix in
docs/src/content/docs/reference/engines.mdagainst the in-codeCapabilitiesdeclarations inpkg/workflow/*_engine.go. Step 2's "Removed Features in Docs" check targets schema-driven removals (frontmatter properties that no longer exist), not capability/support-matrix entries. Step 1c saw issue #33081 closed asnot_plannedbut the daily-doc-updater rules only require cross-referencing not_planned issues against recent commits — and there were no recent commits on the bare-mode surface, so the drift fell through. Net effect: the docs/code disagreement persisted across five consecutive daily passes.💡 DDUw Improvement Suggestions
DDUw Improvement Suggestions
Add a new sub-step (proposed: Step 1e — Engine Capability Matrix Audit) to
.github/workflows/daily-doc-updater.md:docs/src/content/docs/reference/engines.mdand extract the Engine Feature Comparison table.BareMode,WebSearch,MaxTurns,NativeAgentFile, etc.) read the value from each*_engine.gofile inpkg/workflow/(look forCapabilities{...}blocks at the top ofNewXxxEngine).pkg/workflow/*_engine.goto DDUw's bash allow-list so the agent can grep capability declarations directly:"grep -n 'BareMode\\|MaxTurns\\|WebSearch\\|NativeAgentFile' pkg/workflow/*_engine.go".Additionally, broaden the not_planned cross-reference (Step 1c) so that closed-as-not_planned issues whose body cites specific source-file line numbers (e.g.
pkg/workflow/agent_validation.go:229) are verified by re-reading those lines directly, not only by checking for recent commits on the surface. Schema/parser/compiler drift items frequently sit unfixed for weeks without any new commits.Related Issues
tools.serena(x-removed but accepted) andengine.bare(docs claim ✅, compiler warns [Content truncated due to length] #33081