Skip to content

Replace stale 'supermodel watch' references with 'supermodel'#150

Merged
jonathanpopham merged 1 commit intomainfrom
fix-supermodel-watch-refs
Apr 29, 2026
Merged

Replace stale 'supermodel watch' references with 'supermodel'#150
jonathanpopham merged 1 commit intomainfrom
fix-supermodel-watch-refs

Conversation

@jonathanpopham
Copy link
Copy Markdown
Contributor

@jonathanpopham jonathanpopham commented Apr 29, 2026

Closes #149.

The `watch` subcommand was removed in #60 ("Make watch the default command"). Running `supermodel [path]` is now the daemon, but the setup wizard's exit message and several spots in the README still told users to run `supermodel watch` — which fails with `Error: unknown command "watch" for "supermodel"`.

Changes

  • `internal/setup/wizard.go:133` — "just run \`supermodel watch\`""just run \`supermodel\`"
  • `internal/setup/wizard.go:194` — "Run \`supermodel watch\` to restart at any time.""Run \`supermodel\` to restart at any time."
  • `README.md` — How it works, Works with any AI agent table, and Quick start all use the bare command now.

Test plan

  • `supermodel setup` prints "Run \`supermodel\` to restart at any time." on exit
  • No remaining occurrences: `grep -rn 'supermodel watch' .` returns nothing in tracked files

Summary by CodeRabbit

  • Documentation
    • Updated command references and setup instructions to use supermodel instead of supermodel watch across all agent-specific setup guides and quickstart examples.
    • Updated setup wizard to reflect the new command naming in on-screen instructions.

The 'watch' subcommand was removed in #60 — running 'supermodel [path]'
is now the daemon. The setup wizard's exit message and several spots
in the README still told users to run 'supermodel watch', which fails
with 'unknown command'. Reported in #149.

- internal/setup/wizard.go:133 — 'just run `supermodel watch`' → '`supermodel`'
- internal/setup/wizard.go:194 — 'Run `supermodel watch` to restart' → '`supermodel`'
- README.md — 'How it works', the agent compatibility table, and Quick
  start all updated to use the bare command.

Closes #149.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

Walkthrough

This PR fixes stale command references across documentation and UI text. After a previous change made supermodel the default (removing the watch subcommand), some user-facing guidance still incorrectly told people to run supermodel watch. This updates those references to the correct supermodel command.

Changes

Cohort / File(s) Summary
Documentation
README.md
Updated all instances of supermodel watch to supermodel in the "Map your codebase" section, the agent-compatibility setup table, and the "Quick start" code block.
Setup Wizard UI
internal/setup/wizard.go
Changed displayed command text from supermodel watch to supermodel in the "Other agents read .graph" guidance and the watch-mode restart instruction.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • greynewell

Poem

🔧 A watch command that watched no more,
Lingered in docs from times of yore—
Now supermodel stands alone and bright,
Instructions mended, guidance set right! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed Title accurately summarizes the main change: replacing outdated 'supermodel watch' command references with the correct 'supermodel' command across documentation and UI text.
Description check ✅ Passed Description covers what changed, why it matters, and lists specific files/lines modified. Test plan is provided but checkboxes are unchecked, indicating they weren't run yet.
Linked Issues check ✅ Passed Changes directly address all requirements from #149: fixes stale 'supermodel watch' references in wizard.go (2 locations) and README.md (3 sections) by replacing with 'supermodel'.
Out of Scope Changes check ✅ Passed All changes are directly scoped to fixing the 'supermodel watch' references identified in #149; no unrelated modifications to other functionality or features present.
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-supermodel-watch-refs

Review rate limit: 4/5 reviews remaining, refill in 12 minutes.

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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
README.md (1)

116-116: ⚠️ Potential issue | 🟡 Minor

Remove the watch command from the Commands table—it no longer exists.

The search across the codebase turned up zero results for any watch subcommand registration. This confirms the PR description: the watch command was removed and no longer exists. Since line 116 of README.md still documents it, users would try to run supermodel watch and get an "unknown command" error, which would be confusing. Delete this line from the documentation.

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

In `@README.md` at line 116, Remove the stale "watch [path]" entry from the
Commands table in README.md (the table row containing `watch [path] | Generate
graph files on startup, then keep them updated incrementally`) since the `watch`
subcommand no longer exists; update the table so its row is deleted and
formatting/column alignment remains correct.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@README.md`:
- Line 116: Remove the stale "watch [path]" entry from the Commands table in
README.md (the table row containing `watch [path] | Generate graph files on
startup, then keep them updated incrementally`) since the `watch` subcommand no
longer exists; update the table so its row is deleted and formatting/column
alignment remains correct.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c630ff8a-e2ba-4562-9932-6cd53622d20e

📥 Commits

Reviewing files that changed from the base of the PR and between 66c1123 and d121273.

📒 Files selected for processing (2)
  • README.md
  • internal/setup/wizard.go

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.

Setup wizard and README reference 'supermodel watch', which doesn't exist

1 participant