Skip to content

fix(channels): repair WeCom and ClickClack discovery - #118106

Merged
vincentkoc merged 1 commit into
mainfrom
fix/channel-discovery-docs
Aug 3, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/channel-discovery-docs

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 2, 2026 •

Copy link
Copy Markdown
Member

Summary

  • generate the public channel index from the official catalog, package manifests, and page frontmatter
  • validate missing, duplicate, wrong-tab, and intentionally hidden navigation routes
  • expose ClickClack and repair the dead WeCom and Yuanbao documentation routes
  • preserve Voice Call as an explicit related communications plugin outside the generated chat-channel list
  • keep the WeCom page limited to installation and the external plugin's version-matched documentation

Problem

OpenClaw could support a channel without showing it in the public channel index or navigation. ClickClack had a complete plugin and guide but was omitted. WeCom's catalog entry pointed to a removed documentation anchor.

The docs list was maintained independently from package manifests and the generated catalog, so nothing failed when those surfaces drifted.

Closes #118043.

User Impact

Operators can discover ClickClack, WeCom, Buzz, and SMS through the normal channel documentation surfaces. Future supported-but-hidden channels fail generation checks instead of disappearing silently.

The host-owned WeCom page intentionally does not duplicate the external plugin's credentials, callback, routing, or access-control contract. It installs the exact catalog-selected package and directs operators to documentation for the installed version.

Evidence

Exact head: a8220f2e0733336fad8353b9acf23099c108acaa.
Catalog prerequisite landed as 7fabb5564831f0e5aff2f721427ae87c435c6113.

  • catalog, bundled configuration metadata, script declaration, and glossary checks passed
  • focused catalog and release Vitest passed
  • test-project routing shard passed
  • docs formatting passed: 751 files
  • MDX validation passed: 767 files
  • internal link audit passed: 6,379 links, 0 broken
  • targeted oxfmt --check passed
  • git diff --check passed
  • structured autoreview clean
  • signed commit verified

The catalog prerequisite landed in #118097.

@vincentkoc vincentkoc self-assigned this Aug 2, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: L maintainer Maintainer-authored PR labels Aug 2, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal backlog priority with limited blast radius. labels Aug 2, 2026
@clawsweeper

clawsweeper Bot commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 11:37 AM ET / 15:37 UTC.

ClawSweeper review

What this changes

This PR generates the public channel index from catalog, manifest, and page-frontmatter metadata; validates channel navigation routes; and adds working discovery documentation for WeCom, ClickClack, Buzz, SMS, and Yuanbao.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open for maintainer review. Current main still omits ClickClack and WeCom from public channel discovery and retains the dead WeCom route; this branch repairs that gap at the catalog-to-docs ownership boundary with focused coverage. No discrete patch defect was found, but the member-authored, maintainer-labeled PR should wait for exact-head CI and approval of the generated public-index contract.

Priority: P2
Reviewed head: a8220f2e0733336fad8353b9acf23099c108acaa
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is coherent, source-backed, and regression-tested; the remaining gate is maintainer acceptance and completion of the exact-head CI lanes.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored, maintainer-labeled documentation and validation PR is outside the external-contributor real-behavior-proof gate; the PR body supplies exact-head validation claims, while exact-head CI is still completing.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored, maintainer-labeled documentation and validation PR is outside the external-contributor real-behavior-proof gate; the PR body supplies exact-head validation claims, while exact-head CI is still completing.
Evidence reviewed 6 items Current-main gap remains: Current main's public channel index lists neither ClickClack nor WeCom, and the external WeCom seed still points to the removed /plugins/community#wecom route.
Canonical repair boundary: The branch builds public docs entries from the official catalog plus bundled channel manifests, uses page frontmatter for public labels and summaries, and writes a marked generated index block.
Route-drift enforcement: The same generator checks for missing, hidden, and duplicate navigation routes in both write and check modes, so later catalog or navigation drift becomes a failing validation rather than a silent discovery regression.
Findings None None.
Security None None.

How this fits together

The official channel catalog supplies install and setup metadata for channel plugins, while the channel documentation index and navigation are the operator-facing discovery surface. The generator in this PR projects those authoritative records into the public docs and fails checks when the index or navigation drifts.

flowchart LR
  Manifests[Plugin manifests] --> Catalog[Official channel catalog]
  External[External channel seed] --> Catalog
  Frontmatter[Channel page frontmatter] --> Generator[Docs catalog generator]
  Catalog --> Generator
  Generator --> Index[Generated channel index]
  Generator --> NavCheck[Navigation route checks]
  Index --> Operators[Operator discovery]
  NavCheck --> Release[Release preflight]
Loading

Decision needed

Question Recommendation
Should the public channel index become the catalog-and-frontmatter-generated contract, with release validation enforcing missing, hidden, and duplicate navigation routes? Approve the generated discovery contract: Merge after exact-head CI completes, making catalog metadata and page frontmatter the authoritative source for the supported-channel index.

Why: The branch establishes a durable documentation ownership boundary beyond a one-off route correction; the PR is member-authored and explicitly marked for maintainer handling, so acceptance of that contract requires a human maintainer decision.

Before merge

  • Resolve merge risk (P1) - Exact-head build, lint, and typecheck lanes were still in progress in the supplied check state, so merge readiness needs a final CI refresh even though no source-level blocker was found.
  • Complete next step (P2) - A coherent fix already exists on this member-authored PR; wait for exact-head CI and maintainer approval rather than creating a parallel repair.
Agent review details

Security

None.

PR surface

Tests +326, Docs +56, Other +406. Total +788 across 15 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 327 1 +326
Docs 6 92 36 +56
Config 0 0 0 0
Generated 0 0 0 0
Other 8 472 66 +406
Total 15 891 103 +788

Review metrics

Metric Value Why it matters
Production vs test delta production +564/-102, tests +327/-1 Most production growth is the explicit catalog-to-docs ownership boundary and route-validation implementation; the substantial focused test expansion covers its generated-output and navigation invariants.

Stored data model

Persistent data-model change detected: serialized state: test/official-channel-catalog.test.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #118043
Summary: This PR is the candidate fix for the remaining public-documentation portion of the canonical channel-discovery drift report; the merged prerequisite repaired catalog ownership but intentionally left this docs projection work here.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Adopt one generated public channel-index projection from the catalog and page frontmatter, retain explicit hand-authored related-plugin content outside that block, and require the paired navigation checks before release.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Adopt one generated public channel-index projection from the catalog and page frontmatter, retain explicit hand-authored related-plugin content outside that block, and require the paired navigation checks before release.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: current main's public channel index omits ClickClack and WeCom while the WeCom catalog record targets a removed route. A live docs run was not executed because this is a read-only review.

Is this the best way to solve the issue?

Yes. Generating the discovery block from the catalog and page frontmatter fixes the producer-side ownership split instead of repeatedly patching individual index entries; maintainer approval is still needed for this public documentation contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 1e06fd443033.

Labels

Label justifications:

  • P2: The change repairs an operator-facing channel-discovery regression with bounded blast radius and no evidence of data, security, or runtime availability impact.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored, maintainer-labeled documentation and validation PR is outside the external-contributor real-behavior-proof gate; the PR body supplies exact-head validation claims, while exact-head CI is still completing.

Evidence

What I checked:

  • Current-main gap remains: Current main's public channel index lists neither ClickClack nor WeCom, and the external WeCom seed still points to the removed /plugins/community#wecom route. Public docs: docs/channels/index.md. (docs/channels/index.md:19, 1e06fd443033)
  • Canonical repair boundary: The branch builds public docs entries from the official catalog plus bundled channel manifests, uses page frontmatter for public labels and summaries, and writes a marked generated index block. (scripts/write-official-channel-catalog.mjs:293, a8220f2e0733)
  • Route-drift enforcement: The same generator checks for missing, hidden, and duplicate navigation routes in both write and check modes, so later catalog or navigation drift becomes a failing validation rather than a silent discovery regression. (scripts/write-official-channel-catalog.mjs:500, a8220f2e0733)
  • Focused regression coverage: Tests assert the repository docs index/navigation are synchronized and exercise generated-index writes plus missing and hidden route detection. (test/official-channel-catalog.test.ts:152, a8220f2e0733)
  • Prerequisite provenance and release status: The catalog ownership prerequisite was merged as commit 7fabb5564831f0e5aff2f721427ae87c435c6113 on August 3, 2026; local containment shows it is on current main and no local release tag contains it. This PR remains unmerged and is therefore not implemented on main. (scripts/write-official-channel-catalog.mjs:168, 7fabb5564831)
  • Feature-history owners: History shows Vincent Koc authored both the merged catalog prerequisite and this docs-projection follow-up; shortlog assigns the largest share of relevant generator/index/test history to Peter Steinberger, with Vincent Koc the next largest contributor. (scripts/write-official-channel-catalog.mjs:293, 7fabb5564831)

Likely related people:

  • steipete: Shortlog identifies Peter Steinberger as the largest historical contributor across the generator, its tests, and the public channel index; current-main history also shows a recent touch to the index. (role: recent adjacent contributor; confidence: medium; commits: a6f9da8bdb65; files: docs/channels/index.md, scripts/write-official-channel-catalog.mjs, test/official-channel-catalog.test.ts)
  • vincentkoc: Vincent Koc authored the merged catalog-ownership prerequisite and the current catalog-to-docs follow-up, making them the clearest source-level contact for the new validation contract. (role: feature contributor; confidence: high; commits: 7fabb5564831, a8220f2e0733; files: scripts/write-official-channel-catalog.mjs, docs/channels/index.md, docs/channels/wecom.md)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Let the current exact-head build, lint, and typecheck lanes complete.
  • Confirm that the generated public-index ownership contract is the intended long-term docs direction.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (4 earlier review cycles)
  • reviewed 2026-08-02T18:51:14.299Z sha 6b4b6a0 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-03T14:32:51.881Z sha 5f5ac8ede566e4adffef6e1de666f8436247b91c :: needs maintainer review before merge. :: none
  • reviewed 2026-08-03T14:42:16.111Z sha 173b1518f83160797af1c080348007f515842014 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-03T15:27:31.300Z sha 85fa66f4f2a23e8ce5a9e18f0ec1f1e104322495 :: needs maintainer review before merge. :: none

@vincentkoc
vincentkoc force-pushed the fix/channel-catalog-discovery branch from 0f0d616 to bb30532 Compare August 3, 2026 13:59
@vincentkoc
vincentkoc force-pushed the fix/channel-discovery-docs branch 2 times, most recently from d3aa57f to 8777397 Compare August 3, 2026 14:01
@vincentkoc
vincentkoc force-pushed the fix/channel-catalog-discovery branch 2 times, most recently from c559601 to 53e2355 Compare August 3, 2026 14:20
@vincentkoc
vincentkoc force-pushed the fix/channel-discovery-docs branch from 8777397 to 5f5ac8e Compare August 3, 2026 14:21
@vincentkoc
vincentkoc force-pushed the fix/channel-catalog-discovery branch from 53e2355 to 6a6c836 Compare August 3, 2026 14:35
@vincentkoc
vincentkoc force-pushed the fix/channel-discovery-docs branch from 5f5ac8e to 173b151 Compare August 3, 2026 14:35
Base automatically changed from fix/channel-catalog-discovery to main August 3, 2026 15:17
@openclaw-barnacle openclaw-barnacle Bot added channel: signal Channel integration: signal size: XL and removed size: L labels Aug 3, 2026
@vincentkoc
vincentkoc force-pushed the fix/channel-discovery-docs branch from 173b151 to 85fa66f Compare August 3, 2026 15:20
@vincentkoc
vincentkoc marked this pull request as ready for review August 3, 2026 15:20
@vincentkoc
vincentkoc force-pushed the fix/channel-discovery-docs branch from 85fa66f to 4cd1eee Compare August 3, 2026 15:28
@openclaw-barnacle openclaw-barnacle Bot added size: L and removed channel: signal Channel integration: signal size: XL labels Aug 3, 2026
@vincentkoc
vincentkoc force-pushed the fix/channel-discovery-docs branch from 4cd1eee to a8220f2 Compare August 3, 2026 15:29
@vincentkoc
vincentkoc merged commit f9baa3e into main Aug 3, 2026
106 of 107 checks passed
@vincentkoc
vincentkoc deleted the fix/channel-discovery-docs branch August 3, 2026 15:42
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 3, 2026
* origin/main:
  fix(channels): generate discovery docs from catalog (#118106)
  fix(gateway): clear stale terminal state when channel recovery starts (#118728)
vincentkoc added a commit that referenced this pull request Aug 3, 2026
* origin/fix/daytona-hydrate-cache-fallback:
  fix(ci): require Docker only for routed workloads
  fix(channels): generate discovery docs from catalog (#118106)
  fix(gateway): clear stale terminal state when channel recovery starts (#118728)
  style(ci): format hydration workflow assertions
  fix(ci): route Docker-required hydration explicitly
  fix(ci): hardlink unprivileged pnpm installs
  fix(ci): co-locate unprivileged pnpm storage
  fix(ci): allow unprivileged Crabbox hydration

# Conflicts:
#	CHANGELOG.md
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 4, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 4, 2026
* origin/main:
  fix(channels): generate discovery docs from catalog (openclaw#118106)
  fix(gateway): clear stale terminal state when channel recovery starts (openclaw#118728)
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 P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generated channel discovery drifts from package manifests

1 participant