Repository navigation
docs: list database CLI in command index - #135279
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed September 1, 2026, 11:07 AM ET / 15:07 UTC. ClawSweeper reviewWhat this changesThe PR adds the active database command and its preflight and ownership subcommands to the CLI reference index, linking the command to the database schema guide. Merge readinessKeep open. This is an accurate, focused documentation discoverability fix: current main registers the database command but its CLI index still omits it, and the proposed link matches the command’s canonical documentation URL. Priority: P3 Review scores
Verification
How this fits togetherThe CLI index is the operator-facing map from OpenClaw commands to their reference documentation. The database command inspects schema compatibility and shared-state write ownership, and directs users to the database schema guide. flowchart LR
A[Operator] --> B[CLI command index]
B --> C[Database command]
C --> D[Schema compatibility check]
C --> E[Write ownership inspection]
C --> F[Database schema guide]
Before merge
Agent review detailsSecurityNone. PR surfaceDocs +5. Total +5 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Merge the focused index update so operators can discover the existing database command through the same canonical schema documentation it advertises in help output. Do we have a high-confidence way to reproduce the issue? Not applicable: the reported problem is a documentation omission, verified by comparing the current-main index with the registered command contract. Is this the best way to solve the issue? Yes. Adding the existing command to the shared CLI index and linking its canonical database guide is the smallest maintainable correction; no new command behavior or parallel documentation page is needed. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against dc797d6a1f44. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
What Problem This Solves
Fixes an issue where users looking up the CLI command index could not find the active
openclaw databasecommand, even though the command and itspreflightandownershipsubcommands are available.Why This Change Was Made
Adds
databaseto the CLI command index and full command tree, linking it to the existing database schema reference. The implementation and command contract are unchanged.User Impact
Users can discover the shared-state database inspection and ownership commands from the main CLI reference and follow the linked schema documentation.
Evidence
pnpm openclaw database --helpreportsownershipandpreflightand links to the database schema reference.pnpm docs:list;pnpm docs:check-mdx(751 files);pnpm docs:check-links(7,174 internal links, 0 broken); target-fileoxfmt --check; target-file markdownlint; andgit diff --check.75add615f42e6d7a9fb74267a8de2e0d30dc5a04