Repository navigation
docs(plugins): register imap in generated plugin inventory - #130363
Merged
Merged
Conversation
The bundled imap plugin landed in #130230 without regenerating the plugin inventory docs, so pnpm plugins:inventory:check failed on main and the plugin was absent from the reference index. Regenerate, and register its operator guide in PLUGIN_DOC_ALIASES so the generated reference page links to /automation/imap (same mechanism codex and firecrawl use).
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 26, 2026 20:15
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 27, 2026
…130363) The bundled imap plugin landed in openclaw#130230 without regenerating the plugin inventory docs, so pnpm plugins:inventory:check failed on main and the plugin was absent from the reference index. Regenerate, and register its operator guide in PLUGIN_DOC_ALIASES so the generated reference page links to /automation/imap (same mechanism codex and firecrawl use).
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.
What Problem This Solves
The bundled
imapplugin landed in #130230 without regenerating the generated plugin docs. As a resultpnpm plugins:inventory:checkfails on currentmain(docs/plugins/plugin-inventory.md is stale), and the plugin is invisible in the plugin reference: no entry in the inventory, nodocs/plugins/reference/imap.mdpage, while 149 other plugins have one.This is not currently caught by PR CI —
plugins:inventory:checkis not wired into any workflow or check lane — but it is run byscripts/release-preflight.mts, so the drift would have failed the next release preflight.Why This Change Was Made
Two parts, both minimal:
pnpm plugins:inventory:gen(never hand-edited, perdocs/AGENTS.md): inventory count 58 -> 59 plus the imap entry, reference index 149 -> 150, and the new generateddocs/plugins/reference/imap.md.PLUGIN_DOC_ALIASES. The imap plugin is neither a channel nor a provider, so the generator's convention-based doc resolution (docs/channels/<id>.md,docs/providers/<id>.md,docs/plugins/<id>.md) cannot find its guide atdocs/automation/imap.md.PLUGIN_DOC_ALIASESis the existing mechanism for exactly this case —codex -> /plugins/codex-harness,acpx -> /tools/acp-agents-setup,firecrawl -> /tools/firecrawl. Addingimap -> /automation/imapgives the generated reference page a## Related docslink to the real operator guide instead of dead-ending on the manifest summary.User Impact
The imap plugin now appears in the plugin inventory and has a reference page that links to its setup guide. No runtime behavior changes; docs and one generator alias entry only.
Evidence
pnpm plugins:inventory:checknow passes (failed onmainbefore this change).pnpm check:changed --stagedgreen (typecheck, lint, format, architecture and boundary guards).+59 plugins, one inventory entry,+150 generated plugin reference pages, and the new page. No unrelated plugin churn.Related docslink renders as- [imap](/automation/imap), matching the existing lowercase alias rendering for codex/firecrawl/acpx.Follow-up worth considering separately: wiring
plugins:inventory:checkinto the changed-files lane so a future bundled plugin cannot repeat this silently. Not included here because it is a CI-policy change.