Some checks failed
ClawSweeper Dispatch / dispatch (push) Has been cancelled
CodeQL / Security High (actions) (push) Has been cancelled
CodeQL / Security High (channel-runtime-boundary) (push) Has been cancelled
CodeQL / Security High (core-auth-secrets) (push) Has been cancelled
CodeQL / Security High (mcp-process-tool-boundary) (push) Has been cancelled
CodeQL / Security High (network-ssrf-boundary) (push) Has been cancelled
CodeQL / Security High (plugin-trust-boundary) (push) Has been cancelled
CodeQL / Security High (process-exec-boundary) (push) Has been cancelled
Docs Sync Publish Repo / sync-publish-repo (push) Has been cancelled
Docs / docs (push) Has been cancelled
OpenClaw Stable Main Closeout / Resolve stable release closeout inputs (push) Has been cancelled
OpenClaw Stable Main Closeout / Verify stable main closeout (push) Has been cancelled
Workflow Sanity / no-tabs (push) Has been cancelled
Workflow Sanity / actionlint (push) Has been cancelled
Workflow Sanity / generated-doc-baselines (push) Has been cancelled
CI / runner-admission (push) Has been cancelled
CI / preflight (push) Has been cancelled
CI / security-fast (push) Has been cancelled
CI / pnpm-store-warmup (push) Has been cancelled
CI / build-artifacts (push) Has been cancelled
CI / native-i18n (push) Has been cancelled
CI / ${{ matrix.check_name }} (push) Has been cancelled
CI / ${{ matrix.checkName }} (push) Has been cancelled
CI / checks-node-compat-node22 (push) Has been cancelled
CI / check-bundled-channel-config-metadata (push) Has been cancelled
CI / check-dependencies (push) Has been cancelled
CI / check-guards (push) Has been cancelled
CI / check-lint (push) Has been cancelled
CI / check-prod-types (push) Has been cancelled
CI / check-shrinkwrap (push) Has been cancelled
CI / check-test-types (push) Has been cancelled
CI / check-additional-boundaries-a (push) Has been cancelled
CI / check-additional-boundaries-bcd (push) Has been cancelled
CI / check-additional-extension-bundled (push) Has been cancelled
CI / check-additional-extension-channels (push) Has been cancelled
CI / check-additional-extension-package-boundary (push) Has been cancelled
CI / check-additional-runtime-topology-architecture (push) Has been cancelled
CI / check-session-accessor-boundary (push) Has been cancelled
CI / check-session-transcript-reader-boundary (push) Has been cancelled
CI / check-docs (push) Has been cancelled
CI / skills-python (push) Has been cancelled
CI / macos-swift (push) Has been cancelled
CI / ios-build (push) Has been cancelled
CI / ci-timings-summary (push) Has been cancelled
Native App Locale Refresh / Refresh native fa (push) Has been cancelled
Native App Locale Refresh / Refresh native fr (push) Has been cancelled
Native App Locale Refresh / Refresh native hi (push) Has been cancelled
Native App Locale Refresh / Refresh native id (push) Has been cancelled
Native App Locale Refresh / Refresh native it (push) Has been cancelled
Native App Locale Refresh / Refresh native ja-JP (push) Has been cancelled
Control UI Locale Refresh / plan (push) Has been cancelled
Control UI Locale Refresh / Refresh ${{ matrix.locale }} (push) Has been cancelled
Control UI Locale Refresh / Commit control UI locale refresh (push) Has been cancelled
Live Media Runner Image / Build live media runner image (push) Has been cancelled
Native App Locale Refresh / Refresh native ar (push) Has been cancelled
Native App Locale Refresh / Refresh native de (push) Has been cancelled
Native App Locale Refresh / Refresh native es (push) Has been cancelled
Native App Locale Refresh / Refresh native ko (push) Has been cancelled
Native App Locale Refresh / Refresh native nl (push) Has been cancelled
Native App Locale Refresh / Refresh native pl (push) Has been cancelled
Native App Locale Refresh / Refresh native pt-BR (push) Has been cancelled
Native App Locale Refresh / Refresh native ru (push) Has been cancelled
Native App Locale Refresh / Refresh native sv (push) Has been cancelled
Native App Locale Refresh / Refresh native th (push) Has been cancelled
Native App Locale Refresh / Refresh native tr (push) Has been cancelled
Native App Locale Refresh / Refresh native uk (push) Has been cancelled
Native App Locale Refresh / Refresh native vi (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-CN (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-TW (push) Has been cancelled
Native App Locale Refresh / Commit native locale refresh (push) Has been cancelled
Plugin Init Scaffold Validation / Validate provider scaffold (push) Has been cancelled
Plugin NPM Release / preview_plugins_npm (push) Has been cancelled
Plugin NPM Release / Validate release publish approval (push) Has been cancelled
Plugin NPM Release / preview_plugin_pack (push) Has been cancelled
Plugin NPM Release / publish_plugins_npm (push) Has been cancelled
Sandbox Common Smoke / sandbox-common-smoke (push) Has been cancelled
Website Installer Sync / static (push) Has been cancelled
Website Installer Sync / linux-docker (push) Has been cancelled
Website Installer Sync / macos-installer (push) Has been cancelled
Website Installer Sync / windows-installer (push) Has been cancelled
Website Installer Sync / sync-website (push) Has been cancelled
Adolf is a fork/vendored clone of github.com/openclaw/openclaw (v2026.6.11), free to diverge. Tree copied sans upstream .git; upstream remote added for future syncs. Node pinned to 24 (.nvmrc); engines already require >=22.19. Preserves docs/ARCHITECTURE.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2
129 lines
5.6 KiB
Markdown
129 lines
5.6 KiB
Markdown
# OpenClaw Documentation Overlay
|
|
|
|
Use this reference only for OpenClaw docs work. It layers OpenClaw-specific page
|
|
types, navigation, preservation, and validation rules on top of the general
|
|
technical-documentation skill.
|
|
|
|
## Reader Model
|
|
|
|
- Lead with the task the reader is trying to complete.
|
|
- Give one recommended path before alternatives.
|
|
- Keep main docs focused on the common path; move dense contracts and rare
|
|
debugging detail to linked reference or troubleshooting pages.
|
|
- Explain production risks exactly where the reader can make the mistake.
|
|
- Link concepts, guides, references, CLI pages, SDK docs, testing, and
|
|
troubleshooting so readers can continue without rereading.
|
|
|
|
## Page Types
|
|
|
|
Choose the page type before writing or reviewing:
|
|
|
|
- Overview: route readers to the right product area, integration path, or guide.
|
|
- Quickstart: get a new user to a working result with the fewest safe steps.
|
|
- Topic page: explain a major OpenClaw entity or surface end to end.
|
|
- Guide: walk through one workflow from prerequisites to production readiness.
|
|
- API/SDK/CLI reference: define every object, method, command, option, response,
|
|
error, enum, default, and version rule in scope.
|
|
- Testing guide: show sandbox setup, fixtures, simulated failures, and live-mode
|
|
differences.
|
|
- Troubleshooting guide: map observable symptoms to checks, causes, and fixes.
|
|
- Governance file: keep agent/contributor policy concrete, scoped, and aligned
|
|
with current OpenClaw repo behavior.
|
|
|
|
## Topic Pages
|
|
|
|
Use this shape for major-entity pages:
|
|
|
|
1. Title naming the entity or surface.
|
|
2. Unheaded opening that says what it is, what it owns, and what it does not own.
|
|
3. Requirements, only when setup needs accounts, versions, permissions, plugins,
|
|
operating systems, or credentials.
|
|
4. Quickstart with the recommended path and smallest reliable verification.
|
|
5. Configuration with task-critical options inline and exhaustive details linked
|
|
to reference docs.
|
|
6. Major subtopics organized by reader intent, not under a generic "Subtopics"
|
|
heading.
|
|
7. Troubleshooting with observable failures and concrete checks.
|
|
8. Related links to guides, references, commands, concepts, and adjacent topics.
|
|
|
|
## Guides
|
|
|
|
Use this shape for workflow pages:
|
|
|
|
1. Title naming the outcome, not the implementation detail.
|
|
2. Opening that states what the reader can accomplish.
|
|
3. Before you begin: accounts, keys, permissions, versions, tools, and
|
|
assumptions.
|
|
4. Choose a path, only when the reader must decide.
|
|
5. Steps with verb-led headings, commands, expected output, and checks.
|
|
6. Test with the smallest reliable proof that the workflow works.
|
|
7. Production readiness: security, retries, limits, observability, migrations,
|
|
and cleanup.
|
|
8. Troubleshooting near the workflow that causes the failures.
|
|
9. See also links to concepts, references, SDK docs, and adjacent guides.
|
|
|
|
## Docs IA And Navigation
|
|
|
|
- Read `docs/docs.json` before navigation changes.
|
|
- Keep topic pages and common workflows on the main reader path.
|
|
- Put exhaustive contracts, generated references, maintainer-only detail, and
|
|
support material under `Reference` or another clearly scoped support page.
|
|
- Keep generated `plugins/reference/*` children and redirect-only pages out of
|
|
visible navigation unless explicitly required.
|
|
- For moved pages, include a keep/drop/move/destination matrix in the handoff.
|
|
- Add "Read when" hints for docs-list routing when creating or changing pages
|
|
that participate in the docs index.
|
|
|
|
## Source-Backed Content
|
|
|
|
- CLI docs must match current flags, output, errors, and examples.
|
|
- API/SDK docs must include fields, defaults, enum values, constraints, nullable
|
|
behavior, lifecycle states, errors, and recovery guidance.
|
|
- Config docs must align exported types, schema/help output, metadata, baselines,
|
|
and current docs.
|
|
- Dependency-backed behavior must be verified from upstream docs, source, or
|
|
types before documenting defaults, timing, errors, or API behavior.
|
|
- Separate current behavior, shipped behavior, planned behavior, and maintainer
|
|
intent.
|
|
|
|
## Examples
|
|
|
|
- Prefer complete copy-pasteable commands and snippets.
|
|
- Use realistic variable names and values.
|
|
- Mark placeholders with angle-bracket names such as `<API_KEY>`.
|
|
- Show expected success output when it helps verification.
|
|
- Keep one conceptual unit per code block and use language-specific fences.
|
|
- Avoid examples that hide setup, auth, error handling, or cleanup.
|
|
- Never expose real secrets, live config, phone numbers, private videos, or
|
|
credentials.
|
|
|
|
## Preservation Reviews
|
|
|
|
For rewrites or splits:
|
|
|
|
- Identify source units before rewriting: headings, paragraphs, tables, examples,
|
|
CLI/API contracts, warnings, and troubleshooting facts.
|
|
- Map each retained unit to a destination page or section.
|
|
- Do not treat a broad "covered" row as proof for dense source material; use
|
|
line- or claim-level evidence when the source unit is dense.
|
|
- For dropped content, state whether it is obsolete, duplicated elsewhere,
|
|
unsupported, or moved to a reference/support page.
|
|
- When a docs-audit artifact is used, verify it is mapped audit data with
|
|
non-empty `mappings[]`, not only inventory or reindexed JSON.
|
|
|
|
## Validation
|
|
|
|
Choose the narrowest proof that covers the touched surface:
|
|
|
|
- `pnpm docs:list`
|
|
- `pnpm docs:check-mdx`
|
|
- `pnpm docs:check-links`
|
|
- `pnpm docs:check-i18n-glossary`
|
|
- `pnpm format:docs:check` or `pnpm lint:docs`
|
|
- `git diff --check`
|
|
- generated-doc or inventory checks when generated references, plugin catalogs,
|
|
labeler, or docs scripts changed
|
|
- behavior tests or command probes when docs claim runtime behavior
|
|
|
|
If proof is blocked, say exactly which command was not run and why.
|