Skip to content

docs(plugins): register imap in generated plugin inventory - #130363

Merged
steipete merged 1 commit into
mainfrom
steipete/imap-plugin-inventory-docs
Aug 26, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/imap-plugin-inventory-docs

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The bundled imap plugin landed in #130230 without regenerating the generated plugin docs. As a result pnpm plugins:inventory:check fails on current main (docs/plugins/plugin-inventory.md is stale), and the plugin is invisible in the plugin reference: no entry in the inventory, no docs/plugins/reference/imap.md page, while 149 other plugins have one.

This is not currently caught by PR CI — plugins:inventory:check is not wired into any workflow or check lane — but it is run by scripts/release-preflight.mts, so the drift would have failed the next release preflight.

Why This Change Was Made

Two parts, both minimal:

  1. Regenerate the three generated artifacts with pnpm plugins:inventory:gen (never hand-edited, per docs/AGENTS.md): inventory count 58 -> 59 plus the imap entry, reference index 149 -> 150, and the new generated docs/plugins/reference/imap.md.
  2. Register the operator guide in 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 at docs/automation/imap.md. PLUGIN_DOC_ALIASES is the existing mechanism for exactly this case — codex -> /plugins/codex-harness, acpx -> /tools/acp-agents-setup, firecrawl -> /tools/firecrawl. Adding imap -> /automation/imap gives the generated reference page a ## Related docs link 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:check now passes (failed on main before this change).
  • pnpm check:changed --staged green (typecheck, lint, format, architecture and boundary guards).
  • Regeneration diff verified to be imap-only: +59 plugins, one inventory entry, +150 generated plugin reference pages, and the new page. No unrelated plugin churn.
  • Generated Related docs link renders as - [imap](/automation/imap), matching the existing lowercase alias rendering for codex/firecrawl/acpx.

Follow-up worth considering separately: wiring plugins:inventory:check into the changed-files lane so a future bundled plugin cannot repeat this silently. Not included here because it is a CI-policy change.

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).
@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@steipete
steipete marked this pull request as ready for review August 26, 2026 20:15
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Aug 26, 2026
@steipete
steipete merged commit 066f5eb into main Aug 26, 2026
169 of 170 checks passed
@steipete
steipete deleted the steipete/imap-plugin-inventory-docs branch August 26, 2026 20:33
@steipete

Copy link
Copy Markdown
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant