Skip to content

docs(openclaw): surface openclaw openviking status / --json in Verify section (#1904)#1924

Merged
qin-ctx merged 1 commit intovolcengine:mainfrom
r266-tech:docs/openclaw-status-verify-1904
May 9, 2026
Merged

docs(openclaw): surface openclaw openviking status / --json in Verify section (#1904)#1924
qin-ctx merged 1 commit intovolcengine:mainfrom
r266-tech:docs/openclaw-status-verify-1904

Conversation

@r266-tech
Copy link
Copy Markdown
Contributor

Summary

Surface openclaw openviking status (and its --json automation flag) in the OpenClaw plugin integration's Verify section in both docs/en/agent-integrations/03-openclaw.md and the docs/zh/... mirror.

#1904 (LinQiang391, merged 2026-05-08 by qin-ctx) made openclaw openviking setup / openclaw openviking status the canonical CLI surface for the plugin and reworked INSTALL.md / INSTALL-AGENT.md / INSTALL-ZH.md accordingly. The integration doc was not touched in that PR — its Verify section still only lists indirect manual checks (slot lookup, log follow, log cat, ov-install --current-version), none of which probe server compatibility or summarise plugin health in one command.

What's added

A small additive intro to Verify (~6 lines per language, before the existing manual checks):

  1. openclaw openviking status as the one-shot health check covering plugin registration, server connectivity, and version compatibility.
  2. --json automation note, with the explicit caveat that setup --json requires --base-url (the existing CLI rejects bare setup --json with "--json requires --base-url for non-interactive mode", so the docs need to call this out — see examples/openclaw-plugin/commands/setup.ts L498).
  3. Existing manual signals (openclaw config get plugins.slots.contextEngine, openclaw logs --follow, cat openviking.log, ov-install --current-version) are kept intact — they still help when debugging individual layers.

Source-of-truth references

  • examples/openclaw-plugin/commands/setup.ts L590-612 — .command("status").description("Show current OpenViking plugin status and connectivity") with .option("--zh", ...), .option("--json", ...). Calls getStatus(configPath), then either JSON.stringify or printStatus.
  • examples/openclaw-plugin/commands/setup.ts L444-461 — setup registers --reconfigure, --zh, --base-url, --api-key, --agent-prefix, --account-id, --user-id, --allow-offline, --force-slot, --json.
  • examples/openclaw-plugin/commands/setup.ts L498 — "--json requires --base-url for non-interactive mode" error.
  • getStatus / checkServiceHealth / formatCompatRange together cover registration + connectivity + version-compat — supports the "one-shot health check covering …" wording.

What's not changed

  • The "See also" section already links to INSTALL-AGENT.md ("Agent operator guide — for agents driving installation on behalf of a user") which is the authoritative agent-flow reference; this PR doesn't duplicate that content, only adds discoverability for the most direct verify path.
  • ## Install via ClawHub (recommended) keeps the interactive openclaw openviking setup example unchanged — the bulk of the doc is human-facing, and the new note is scoped to Verify.

Test plan

  • Verified status command behaviour against commands/setup.ts (line numbers above).
  • Verified --json requires --base-url constraint exists (setup.ts L498).
  • No competing PRs touching docs/en/agent-integrations/03-openclaw.md or docs/zh/... (gh pr list --state open --search openclaw returned 10 unrelated plugin-internal PRs).
  • Codex gpt-5.5 xhigh two-round adversarial review (round 1 needs-attention 0.86 on missing --base-url caveat for setup --json → reworked → round 2 approve).

Codex adversarial review

  • Round 1: needs-attention, conf 0.86 — original parenthetical "(also supported on openclaw openviking setup)" implied agents could append --json to bare setup for automation; in fact setup --json requires --base-url. Could read as a docs-bug nit.
  • Round 2 (after rework): approve — wording now explicitly splits "status --json for automation" vs "setup also supports --json when used with --base-url".

If something feels off about the framing or the doc placement, please feel free to close and mark accordingly.

… section

Source: PR volcengine#1904 (LinQiang391, merged 2026-05-08T09:38:05Z by qin-ctx) added
two CLI commands to the OpenViking OpenClaw plugin:

- `openclaw openviking setup` — interactive + non-interactive (`--base-url ...`)
  with `--api-key`, `--agent-prefix`, `--account-id`, `--user-id`,
  `--allow-offline`, `--force-slot`, `--reconfigure`, `--zh`, `--json`
- `openclaw openviking status` — `Show current OpenViking plugin status and
  connectivity`, with `--zh`, `--json`

The integration page docs/{en,zh}/agent-integrations/03-openclaw.md was not
touched by volcengine#1904; its Verify section still only lists indirect manual checks
(`openclaw config get plugins.slots.contextEngine`, `openclaw logs --follow`,
`cat openviking.log`, `ov-install --current-version`). None of those probe
server compatibility or give a single-command health summary.

This commit adds a small additive intro to Verify in both en + zh that:
- Documents `openclaw openviking status` as the one-shot health check
  (registration, connectivity, version compatibility — calls
  `getStatus(configPath)` + `checkServiceHealth` + `formatCompatRange` per
  examples/openclaw-plugin/commands/setup.ts L590-612).
- Calls out `--json` for automation, with the explicit caveat that
  `setup --json` requires `--base-url` (setup.ts L498 enforces this; without
  the caveat readers may attempt bare `setup --json` and hit
  `--json requires --base-url for non-interactive mode`).
- Leaves all existing manual-signal verifications in place — the original
  steps are still useful for debugging individual layers.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

1904 - Partially compliant

Compliant requirements:

  • 更新文档以反映新的 CLI 表面(在 Verify 部分展示 openclaw openviking status / --json)

Non-compliant requirements:

  • 新增 OpenViking OpenClaw 插件的 ClawHub 发布 workflow
  • 新增 openclaw openviking setup/status --json,支持自动化安装和状态检查
  • 加强 setup:健康检查、版本兼容、root key 租户检测、配置备份、slot 状态提示
  • 支持新版 OpenClaw 的源码构建,同时保留旧版本安装兼容路径
  • 发布包加入 dist/ 和 install-manifest.json,修复 ESM dist 导入问题
⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🏅 Score: 100
🧪 No relevant tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

PR Code Suggestions ✨

No code suggestions found for the PR.

@qin-ctx qin-ctx merged commit 6c58cb1 into volcengine:main May 9, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in OpenViking project May 9, 2026
@Mijamind719
Copy link
Copy Markdown
Collaborator

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants