Skip to content

fix: remove duplicate cast entry in squad -h output#1428

Merged
bradygaster merged 3 commits into
devfrom
bradygaster-squad-1423-fix-duplicate-cast-help
Jun 30, 2026
Merged

fix: remove duplicate cast entry in squad -h output#1428
bradygaster merged 3 commits into
devfrom
bradygaster-squad-1423-fix-duplicate-cast-help

Conversation

@bradygaster

Copy link
Copy Markdown
Owner

Summary

The cast command appeared twice in squad -h output (v0.11.0):

  • Line ~207: cast Show roster, or add a new agent (alias: hire)
  • Line ~258: 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/--role flags for adding agents noted in the usage line.

Closes #1423

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>
Copilot AI review requested due to automatic review settings June 30, 2026 19:47
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

🟡 Impact Analysis — PR #1428

Risk tier: 🟡 MEDIUM

📊 Summary

Metric Count
Files changed 2
Files added 1
Files modified 1
Files deleted 0
Modules touched 2

🎯 Risk Factors

  • 2 files changed (≤5 → LOW)
  • 2 modules touched (2-4 → MEDIUM)

📦 Modules Affected

root (1 file)
  • .changeset/fix-duplicate-cast-help.md
squad-cli (1 file)
  • packages/squad-cli/src/cli-entry.ts

This report is generated automatically for every PR. See #733 for details.

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

🛫 PR Readiness Check

ℹ️ This comment updates on each push. Last checked: commit 0afd273

PR Scope: 📦🔧 Mixed (product + infrastructure)

⚠️ 3 item(s) to address before review

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>

Copilot AI left a comment

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.

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 cast listing from the Commands: section of squad -h.
  • Updates the remaining cast help text to a unified description and moves the hire alias 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

Comment thread packages/squad-cli/src/cli-entry.ts Outdated
Comment thread packages/squad-cli/src/cli-entry.ts Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bradygaster bradygaster merged commit 8d2e44b into dev Jun 30, 2026
14 checks 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.

Bug: cast appears twice in top-level squad -h output (v0.11.0)

2 participants