Skip to content

docs: Update CLI Reference for Agent Runtime#130

Merged
yacosta738 merged 3 commits into
mainfrom
docs/cli-reference-audit-7351758454802832710
Mar 4, 2026
Merged

docs: Update CLI Reference for Agent Runtime#130
yacosta738 merged 3 commits into
mainfrom
docs/cli-reference-audit-7351758454802832710

Conversation

@yacosta738
Copy link
Copy Markdown
Contributor

Audited the agent-runtime source code and updated the CLI reference documentation in both English and Spanish to include previously undocumented commands (peripheral setup-uno-q) and flags (migrate openclaw --dry-run/--source, hardware info --chip, models refresh --provider). Verified with build/lint checks and visual screenshots.


PR created automatically by Jules for task 7351758454802832710 started by @yacosta738

Co-authored-by: yacosta738 <33158051+yacosta738@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 4, 2026

Deploying corvus with  Cloudflare Pages  Cloudflare Pages

Latest commit: 657aa2f
Status: ✅  Deploy successful!
Preview URL: https://e394d85a.corvus-42x.pages.dev
Branch Preview URL: https://docs-cli-reference-audit-735.corvus-42x.pages.dev

View logs

@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 4, 2026

📝 Walkthrough

Summary by CodeRabbit

Release Notes

Documentation

  • Updated CLI reference guides with new command options: --provider for models refresh, --chip for hardware commands, and --source/--dry-run for migrations
  • Documented new setup-uno-q peripheral command with --host option
  • Maintained language parity between English and Spanish CLI reference documentation

Walkthrough

This PR updates docs and journal entries to record a completed CLI reference audit and to document newly supported CLI flags: --provider, --chip, --host, --source, and --dry-run (adds peripheral setup-uno-q in the Spanish guide).

Changes

Cohort / File(s) Summary
Journal Entry
.agents/journal/scribe-journal.md
Adds "2026-05-22 - CLI Reference Audit & Update - COMPLETE" section with verification, changes, validation outputs, notes, and TODO state updates.
CLI Reference — English
clients/web/apps/docs/src/content/docs/en/guides/cli-reference.md
Adds documentation for new CLI options: --provider (models refresh), --chip (hardware discover/introspect), --host (peripheral setup-uno-q), and --source/--dry-run (migrate openclaw); includes examples.
CLI Reference — Spanish
clients/web/apps/docs/src/content/docs/es/guides/cli-reference.md
Mirrors the English updates and explicitly adds the setup-uno-q peripheral command; documents --provider, --chip, --host, --source, and --dry-run options.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • yuniel-acosta
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The PR title follows Conventional Commit style with 'docs:' prefix and clearly describes the main change of updating CLI reference documentation.
Description check ✅ Passed The PR description clearly explains the purpose (auditing agent-runtime and updating CLI docs), summarizes changes, and mentions testing/verification, but lacks structured sections from the template.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/cli-reference-audit-7351758454802832710

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 4, 2026

✅ Contributor Report

User: @yacosta738
Status: Passed (12/13 metrics passed)

Metric Description Value Threshold Status
PR Merge Rate PRs merged vs closed 88% >= 30%
Repo Quality Repos with ≥100 stars 0 >= 0
Positive Reactions Positive reactions received 9 >= 1
Negative Reactions Negative reactions received 0 <= 5
Account Age GitHub account age 3049 days >= 30 days
Activity Consistency Regular activity over time 108% >= 0%
Issue Engagement Issues with community engagement 0 >= 0
Code Reviews Code reviews given to others 383 >= 0
Merger Diversity Unique maintainers who merged PRs 2 >= 0
Repo History Merge Rate Merge rate in this repo 91% >= 0%
Repo History Min PRs Previous PRs in this repo 98 >= 0
Profile Completeness Profile richness (bio, followers) 90 >= 0
Suspicious Patterns Spam-like activity detection 1 N/A

Contributor Report evaluates based on public GitHub activity. Analysis period: 2025-03-04 to 2026-03-04

@yacosta738 yacosta738 changed the title Update CLI Reference for Agent Runtime perf: Update CLI Reference for Agent Runtime Mar 4, 2026
@yacosta738 yacosta738 marked this pull request as ready for review March 4, 2026 10:46
@yacosta738 yacosta738 changed the title perf: Update CLI Reference for Agent Runtime docs: Update CLI Reference for Agent Runtime Mar 4, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.agents/journal/scribe-journal.md:
- Around line 73-93: Add missing blank lines around markdown headings and fenced
code blocks in the journal entry for "2026-05-22 - CLI Reference Audit & Update
- COMPLETE": ensure there is an empty line before and after each
top-level/sub-heading (e.g., the "Verification:", "Changes:", "Validation:", and
"Notes:" sections) and before/after any fenced code blocks mentioned in the
entry so markdownlint warnings are resolved; specifically insert blank lines
around the blocks near the end of that entry so spacing is consistent with the
rest of the file.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 9b39ae4e-4e51-4b94-889a-d6b65898aaf3

📥 Commits

Reviewing files that changed from the base of the PR and between 8019362 and b0859e0.

📒 Files selected for processing (3)
  • .agents/journal/scribe-journal.md
  • clients/web/apps/docs/src/content/docs/en/guides/cli-reference.md
  • clients/web/apps/docs/src/content/docs/es/guides/cli-reference.md
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: sonar
  • GitHub Check: pr-checks
  • GitHub Check: Cloudflare Pages
  • GitHub Check: pr-checks-build-logic
  • GitHub Check: pr-checks
🧰 Additional context used
📓 Path-based instructions (2)
**/*.{md,mdx}

⚙️ CodeRabbit configuration file

**/*.{md,mdx}: Verify technical accuracy and that docs stay aligned with code changes.
For user-facing docs, check EN/ES parity or explicitly note pending translation gaps.

Files:

  • clients/web/apps/docs/src/content/docs/en/guides/cli-reference.md
  • clients/web/apps/docs/src/content/docs/es/guides/cli-reference.md
**/*

⚙️ CodeRabbit configuration file

**/*: Security first, performance second.
Validate input boundaries, auth/authz implications, and secret management.
Look for behavioral regressions, missing tests, and contract breaks across modules.

Files:

  • clients/web/apps/docs/src/content/docs/en/guides/cli-reference.md
  • clients/web/apps/docs/src/content/docs/es/guides/cli-reference.md
🧠 Learnings (4)
📚 Learning: 2026-02-17T07:28:38.934Z
Learnt from: CR
Repo: dallay/corvus PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-02-17T07:28:38.934Z
Learning: Applies to .agents/AGENTS.md : Document agent configurations and capabilities in AGENTS.md

Applied to files:

  • .agents/journal/scribe-journal.md
📚 Learning: 2026-02-17T12:31:17.076Z
Learnt from: CR
Repo: dallay/corvus PR: 0
File: clients/agent-runtime/AGENTS.md:0-0
Timestamp: 2026-02-17T12:31:17.076Z
Learning: Applies to clients/agent-runtime/**/*.rs : Run `cargo fmt --all -- --check`, `cargo clippy --all-targets -- -D warnings`, and `cargo test` for code validation, or document which checks were skipped and why

Applied to files:

  • .agents/journal/scribe-journal.md
📚 Learning: 2026-02-17T12:31:17.076Z
Learnt from: CR
Repo: dallay/corvus PR: 0
File: clients/agent-runtime/AGENTS.md:0-0
Timestamp: 2026-02-17T12:31:17.076Z
Learning: Applies to clients/agent-runtime/src/main.rs : Preserve CLI contract unless change is intentional and documented; prefer explicit errors over silent fallback for unsupported critical paths

Applied to files:

  • .agents/journal/scribe-journal.md
📚 Learning: 2026-02-21T09:07:52.298Z
Learnt from: yacosta738
Repo: dallay/corvus PR: 62
File: .agents/journal/sentinnel-journal.md:1-1
Timestamp: 2026-02-21T09:07:52.298Z
Learning: Branding guideline: The intentional brand name for the security-first agent in the dallay/corvus repository is 'Sentinnel' (with double n). Do not treat it as a typo of 'Sentinel'. Ensure all agent-related docs and journals under .agents/journal consistently use 'Sentinnel' with double n.

Applied to files:

  • .agents/journal/scribe-journal.md
🪛 LanguageTool
clients/web/apps/docs/src/content/docs/es/guides/cli-reference.md

[grammar] ~223-~223: Elimina la puntuación
Context: ... vía USB (probe-rs). - --chip <CHIP>: Nombre del chip (ej., STM32F401RETx)....

(QB_NEW_ES_OTHER_ERROR_IDS_UNNECESSARY_PUNCTUATION)


[grammar] ~237-~237: Elimina la puntuación
Context: ...re de Corvus al Arduino. - setup-uno-q: Configura la aplicación Arduino Uno Q B...

(QB_NEW_ES_OTHER_ERROR_IDS_UNNECESSARY_PUNCTUATION)


[grammar] ~238-~238: Elimina la puntuación
Context: ...espliega bridge GPIO). - --host <IP>: Dirección IP de Uno Q. Ejemplo: ``...

(QB_NEW_ES_OTHER_ERROR_IDS_UNNECESSARY_PUNCTUATION)


[grammar] ~253-~253: Elimina la puntuación
Context: ...abajo de OpenClaw. - --source <PATH>: Ruta opcional al espacio de trabajo de ...

(QB_NEW_ES_OTHER_ERROR_IDS_UNNECESSARY_PUNCTUATION)

🪛 markdownlint-cli2 (0.21.0)
.agents/journal/scribe-journal.md

[warning] 76-76: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


[warning] 80-80: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 92-92: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


[warning] 100-100: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)

🔇 Additional comments (7)
.agents/journal/scribe-journal.md (2)

101-101: LGTM!

TODO item correctly marked as DONE, consistent with the completed audit documented above.


73-93: Verification complete: CLI flags confirmed as documented.

The journal entry is accurate. Both migrate openclaw --dry-run and --source flags exist and are properly implemented in clients/agent-runtime/src/lib.rs (lines 150-161) and clients/agent-runtime/src/main.rs (lines 314-325), with full handler implementation in migration.rs including test coverage for dry-run behavior.

clients/web/apps/docs/src/content/docs/en/guides/cli-reference.md (4)

160-160: LGTM! Accurate documentation of --provider flag.

The documented behavior matches the source implementation: defaults to configured provider, then falls back to "openrouter". Based on learnings: clients/agent-runtime/**/*.rs code shows ModelCommands::Refresh accepts optional provider parameter.


223-223: LGTM! Accurate documentation of --chip flag.

Correctly documents the hardware info --chip option with appropriate example. Based on learnings: clients/agent-runtime/src/lib.rs defines HardwareCommands::Info with chip parameter defaulting to "STM32F401RETx".


237-238: LGTM! Accurate documentation of setup-uno-q command.

The setup-uno-q command and --host flag are correctly documented. Based on learnings: clients/agent-runtime/src/lib.rs defines PeripheralCommands::SetupUnoQ with optional host parameter.


253-254: Documentation is accurate; both flags are properly implemented.

The --source and --dry-run flags for migrate openclaw are defined in the CLI parser (clients/agent-runtime/src/lib.rs and main.rs, lines 150-160 and 314-324 respectively) with correct types and #[arg(long)] attributes. Migration logic respects both: --source defaults to ~/.openclaw/workspace, and --dry-run validates without writing data. No action needed.

clients/web/apps/docs/src/content/docs/es/guides/cli-reference.md (1)

160-160: LGTM! Excellent EN/ES parity maintained.

All new CLI options are accurately translated and maintain 1:1 correspondence with the English version:

  • models refresh --provider
  • hardware info --chip
  • peripheral setup-uno-q --host
  • migrate openclaw --source and --dry-run

The Spanish translations are technically accurate and the glossary consistency noted in the journal (e.g., "Simulación" for dry-run) is properly applied. As per coding guidelines: EN/ES parity verification confirms the documentation stays aligned across languages.

Note: Static analysis grammar warnings about "unnecessary punctuation" are false positives - they're flagging markdown code block formatting, not actual Spanish grammar issues.

Also applies to: 223-223, 237-238, 253-254

Comment thread .agents/journal/scribe-journal.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
.agents/journal/scribe-journal.md (1)

97-98: ⚠️ Potential issue | 🟡 Minor

Add a blank line after the TODO heading (markdownlint MD022).

Line 97 heading should be followed by an empty line before the list starts on Line 98.

Proposed fix
 ## TODO
+
 - [x] Verify CLI reference against actual code implementation - DONE (gaps found)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.agents/journal/scribe-journal.md around lines 97 - 98, Add a single blank
line after the "## TODO" heading so the heading is followed by an empty line
before the list (fixing markdownlint MD022); locate the "## TODO" heading in
.agents/journal/scribe-journal.md and insert one empty line between that heading
and the subsequent "- [x] Verify CLI reference..." list item.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.agents/journal/scribe-journal.md:
- Line 73: Update the journal header "## 2026-05-22 - CLI Reference Audit &
Update - COMPLETE" to the actual execution date of this PR (replace 2026-05-22
with 2026-03-04) so the audit chronology is accurate; locate the header line in
.agents/journal/scribe-journal.md and change only the date portion of that
header string.

---

Duplicate comments:
In @.agents/journal/scribe-journal.md:
- Around line 97-98: Add a single blank line after the "## TODO" heading so the
heading is followed by an empty line before the list (fixing markdownlint
MD022); locate the "## TODO" heading in .agents/journal/scribe-journal.md and
insert one empty line between that heading and the subsequent "- [x] Verify CLI
reference..." list item.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: ebd87226-ce16-424e-bb3a-7e50af793cda

📥 Commits

Reviewing files that changed from the base of the PR and between b0859e0 and 657aa2f.

📒 Files selected for processing (1)
  • .agents/journal/scribe-journal.md
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: sonar
  • GitHub Check: Cloudflare Pages
🧰 Additional context used
🧠 Learnings (5)
📚 Learning: 2026-02-17T07:28:38.934Z
Learnt from: CR
Repo: dallay/corvus PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-02-17T07:28:38.934Z
Learning: Applies to .agents/AGENTS.md : Document agent configurations and capabilities in AGENTS.md

Applied to files:

  • .agents/journal/scribe-journal.md
📚 Learning: 2026-02-17T12:31:17.076Z
Learnt from: CR
Repo: dallay/corvus PR: 0
File: clients/agent-runtime/AGENTS.md:0-0
Timestamp: 2026-02-17T12:31:17.076Z
Learning: Applies to clients/agent-runtime/**/*.rs : Run `cargo fmt --all -- --check`, `cargo clippy --all-targets -- -D warnings`, and `cargo test` for code validation, or document which checks were skipped and why

Applied to files:

  • .agents/journal/scribe-journal.md
📚 Learning: 2026-02-17T12:31:17.076Z
Learnt from: CR
Repo: dallay/corvus PR: 0
File: clients/agent-runtime/AGENTS.md:0-0
Timestamp: 2026-02-17T12:31:17.076Z
Learning: Applies to clients/agent-runtime/src/main.rs : Preserve CLI contract unless change is intentional and documented; prefer explicit errors over silent fallback for unsupported critical paths

Applied to files:

  • .agents/journal/scribe-journal.md
📚 Learning: 2026-02-17T12:31:17.076Z
Learnt from: CR
Repo: dallay/corvus PR: 0
File: clients/agent-runtime/AGENTS.md:0-0
Timestamp: 2026-02-17T12:31:17.076Z
Learning: Applies to clients/agent-runtime/.github/**/*.{yml,yaml} : For workflow/template-only changes, ensure YAML/template syntax validity

Applied to files:

  • .agents/journal/scribe-journal.md
📚 Learning: 2026-02-21T09:07:52.298Z
Learnt from: yacosta738
Repo: dallay/corvus PR: 62
File: .agents/journal/sentinnel-journal.md:1-1
Timestamp: 2026-02-21T09:07:52.298Z
Learning: Branding guideline: The intentional brand name for the security-first agent in the dallay/corvus repository is 'Sentinnel' (with double n). Do not treat it as a typo of 'Sentinel'. Ensure all agent-related docs and journals under .agents/journal consistently use 'Sentinnel' with double n.

Applied to files:

  • .agents/journal/scribe-journal.md
🪛 markdownlint-cli2 (0.21.0)
.agents/journal/scribe-journal.md

[warning] 97-97: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


---

## 2026-05-22 - CLI Reference Audit & Update - COMPLETE
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Correct the journal date to match this PR timeline.

Line 73 uses 2026-05-22, which is in the future relative to this PR creation date (March 4, 2026). Please update it to the actual execution date to keep audit chronology accurate.

Proposed fix
-## 2026-05-22 - CLI Reference Audit & Update - COMPLETE
+## 2026-03-04 - CLI Reference Audit & Update - COMPLETE
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## 2026-05-22 - CLI Reference Audit & Update - COMPLETE
## 2026-03-04 - CLI Reference Audit & Update - COMPLETE
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.agents/journal/scribe-journal.md at line 73, Update the journal header "##
2026-05-22 - CLI Reference Audit & Update - COMPLETE" to the actual execution
date of this PR (replace 2026-05-22 with 2026-03-04) so the audit chronology is
accurate; locate the header line in .agents/journal/scribe-journal.md and change
only the date portion of that header string.

@yacosta738 yacosta738 merged commit 3d09cd0 into main Mar 4, 2026
15 of 16 checks passed
@yacosta738 yacosta738 deleted the docs/cli-reference-audit-7351758454802832710 branch March 4, 2026 10:56
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 4, 2026

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant