fix: remove duplicate cast entry in squad -h output#1428
Merged
Conversation
Consolidate the two 'cast' help entries into a single entry with unified description showing it displays the current session cast (project + personal agents) and accepts --name/--role flags for adding agents. Closes #1423 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
🟡 Impact Analysis — PR #1428Risk tier: 🟡 MEDIUM 📊 Summary
🎯 Risk Factors
📦 Modules Affectedroot (1 file)
squad-cli (1 file)
This report is generated automatically for every PR. See #733 for details. |
Contributor
🛫 PR Readiness Check
PR Scope: 📦🔧 Mixed (product + infrastructure)
|
| Status | Check | Details |
|---|---|---|
| ❌ | Single commit | 3 commits — consider squashing before review |
| ✅ | Not in draft | Ready for review |
| ❌ | Branch up to date | dev is 2 commit(s) ahead — rebase recommended |
| ❌ | Copilot review | No Copilot review yet — it may still be processing |
| ✅ | Changeset present | Changeset file found |
| ✅ | Scope clean | No .squad/ or docs/proposals/ files |
| ✅ | No merge conflicts | No merge conflicts |
| ✅ | Copilot threads resolved | 0 active Copilot thread(s) resolved (2 outdated skipped) |
| ✅ | CI passing | All checks passing |
Files Changed (2 files, +7 −3)
| File | +/− |
|---|---|
.changeset/fix-duplicate-cast-help.md |
+5 −0 |
packages/squad-cli/src/cli-entry.ts |
+2 −3 |
Total: +7 −3
This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the top-level squad -h output by removing the duplicate cast command entry and consolidating it into a single, canonical help line that reflects the current cast behavior.
Changes:
- Removes the second
castlisting from theCommands:section ofsquad -h. - Updates the remaining
casthelp text to a unified description and moves thehirealias note into the usage line.
Show a summary per file
| File | Description |
|---|---|
| packages/squad-cli/src/cli-entry.ts | Consolidates cast help output so it appears once and has a unified description/usage line. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 2
- Review effort level: Low
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
castcommand appeared twice insquad -houtput (v0.11.0):cast Show roster, or add a new agent (alias: hire)cast Show current session cast (project + personal agents)Fix
Consolidated into a single entry with a unified description that accurately reflects the command's behavior — showing the current session cast (project + personal agents) with the
--name/--roleflags for adding agents noted in the usage line.Closes #1423