Skip to content

fix: correct CLI command from 'sonar ingest monitor' to 'sonar monitor'#9

Merged
1a35e1 merged 1 commit into1a35e1:mainfrom
cosmicallycooked:fix/correct-monitor-command
Feb 25, 2026
Merged

fix: correct CLI command from 'sonar ingest monitor' to 'sonar monitor'#9
1a35e1 merged 1 commit into1a35e1:mainfrom
cosmicallycooked:fix/correct-monitor-command

Conversation

@cosmicallycooked
Copy link
Copy Markdown
Contributor

@cosmicallycooked cosmicallycooked commented Feb 24, 2026

Summary

The monitor command is a top-level subcommand (sonar monitor), not nested under ingest (sonar ingest monitor). This PR corrects all user-facing references to the wrong form.

Changes

File What changed
README.md Fixed 2 code examples in the quickstart section
src/commands/ingest/bookmarks.tsx Fixed timeout error message + tip text
src/commands/ingest/tweets.tsx Fixed timeout error message + tip text
src/commands/feed.tsx Fixed 3 diagnostic hints (including --watch variant)
src/commands/inbox/index.tsx Fixed 1 diagnostic hint

10 occurrences corrected across 5 files — all replaced sonar ingest monitorsonar monitor (and sonar ingest monitor --watchsonar monitor --watch).

Summary by CodeRabbit

  • Documentation
    • Updated command references throughout the application to standardize on the new "sonar monitor" command. All instances of the deprecated "sonar ingest monitor" have been replaced in usage examples, error messages, guidance text, quick action labels, and timeout instructions displayed in the user interface and README documentation to reflect the updated monitoring workflow.

The monitor subcommand lives at the top-level (sonar monitor), not under
the ingest namespace (sonar ingest monitor). Fix all user-facing references
in diagnostic tips, error messages, and the README.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 24, 2026

📝 Walkthrough

Walkthrough

Updated CLI command references across documentation and user-facing messaging, replacing deprecated "sonar ingest monitor" commands with the new "sonar monitor" command syntax consistently.

Changes

Cohort / File(s) Summary
Documentation
README.md
Updated usage examples to reflect new monitoring command syntax, removing references to deprecated ingest workflow.
UI Command Guidance
src/commands/feed.tsx, src/commands/ingest/bookmarks.tsx, src/commands/ingest/tweets.tsx, src/commands/inbox/index.tsx
Updated error messages and guidance strings to direct users to "sonar monitor" instead of "sonar ingest monitor" when displaying timeout handling and monitoring instructions.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Commands hop to the new way today,
Old "ingest monitor" bids its farewell-say,
Now "sonar monitor" takes center stage bright,
From docs down to messages, all set just right! 🌟

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and accurately summarizes the main change: correcting CLI command references from 'sonar ingest monitor' to 'sonar monitor' across user-facing documentation and error messages.

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

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

Copy link
Copy Markdown

@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.

🧹 Nitpick comments (1)
README.md (1)

36-57: Pre-existing README quality nits (out of scope for this PR but worth tracking)

A few pre-existing issues unrelated to this fix:

  • Line 36: evrythingeverything
  • Line 44: the first time this you runthe first time you run
  • Line 57: malformed link <<https://.../> — extra < and />
  • Line 73: actionalableactionable

None of these were introduced by this PR.

Would you like me to open a separate issue to track these README fixes?

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 36 - 57, Spelling and formatting issues in README.md:
correct "evrything" to "everything" in the line near the "sonar account"
example, change "the first time this you run" to "the first time you run" near
the "sonar ingest tweets" / "sonar monitor" examples, fix the malformed link by
removing the extra angle brackets so the URL is a normal Markdown link under the
"Scopes" section, and fix "actionalable"/"appite" to "actionable" where it
appears; scan the surrounding text for similar typos and update them so the
commands and headings ("sonar account", "sonar ingest tweets", "Scopes") read
correctly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@README.md`:
- Around line 36-57: Spelling and formatting issues in README.md: correct
"evrything" to "everything" in the line near the "sonar account" example, change
"the first time this you run" to "the first time you run" near the "sonar ingest
tweets" / "sonar monitor" examples, fix the malformed link by removing the extra
angle brackets so the URL is a normal Markdown link under the "Scopes" section,
and fix "actionalable"/"appite" to "actionable" where it appears; scan the
surrounding text for similar typos and update them so the commands and headings
("sonar account", "sonar ingest tweets", "Scopes") read correctly.

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2a38154 and 41f2586.

📒 Files selected for processing (5)
  • README.md
  • src/commands/feed.tsx
  • src/commands/inbox/index.tsx
  • src/commands/ingest/bookmarks.tsx
  • src/commands/ingest/tweets.tsx

@cosmicallycooked
Copy link
Copy Markdown
Contributor Author

Acknowledged, @coderabbitai — those typos (evrything, actionalable, malformed link on L57) are all pre-existing and unrelated to this PR's scope. Tracking them in a separate issue so they don't get lost. No changes needed here. Thanks for flagging!

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 24, 2026

Tip

For best results, initiate chat on the files or code changes.

@cosmicallycooked, thank you for the clarification! I appreciate you tracking those pre-existing typos in a separate issue — that's a great approach to keep this PR focused on the command correction. Looking forward to seeing those addressed in a follow-up!

    (\(\
    ( -.-)
    o_(")(")
  [Thoughtful]

@cosmicallycooked
Copy link
Copy Markdown
Contributor Author

@1a35e1 — this PR is ready for your review whenever you get a chance! Tracking issue opened: #10

@1a35e1 1a35e1 merged commit d409c1d into 1a35e1:main Feb 25, 2026
1 check passed
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.

2 participants