Переглянути джерело

refactor(skills/fleet-ops): rename 'fleet fleet' to 'fleet status'

The 'fleet fleet' subcommand stutters with the binary name (reads like
'git git'). Promote 'fleet status' as primary, mirroring 'git status'.

'fleet fleet' remains as a hidden alias for muscle memory; it is no
longer advertised in --help output.

No behaviour change — TUI render is unchanged.
0xDarkMatter 1 місяць тому
батько
коміт
3d42a270fd

+ 1 - 1
skills/fleet-ops/SKILL.md

@@ -27,7 +27,7 @@ The skill doesn't care if there are 2 lanes or 20, doesn't care about branch nam
 fleet init <name>...        Create branch + worktree per name
 fleet start                 Run the daemon (writes pid to .claude/fleet/daemon.pid)
 fleet stop                  Signal the running daemon to exit cleanly
-fleet fleet                 One-shot status view
+fleet status                One-shot status view
 fleet land <branch>         Manual land + rebase others
 fleet revert <branch>       Revert merge commit on main
 fleet scrub-check <branch>  Dry-run forbidden-pattern check

+ 1 - 1
skills/fleet-ops/references/workflow.md

@@ -46,7 +46,7 @@ Polls `.claude/fleet/lanes/` every 5 seconds. When a lane shows `READY`:
 ### 4. Watch
 
 ```bash
-fleet fleet
+fleet status
 ```
 
 ```

+ 2 - 2
skills/fleet-ops/scripts/fleet.sh

@@ -634,7 +634,7 @@ case "${1:-}" in
   init)         shift; cmd_init "$@" ;;
   start)        shift; cmd_start "$@" ;;
   stop)         cmd_stop ;;
-  fleet|status) shift; cmd_fleet "$@" ;;
+  status|fleet) shift; cmd_fleet "$@" ;;
   land)         shift; cmd_land "$@" ;;
   revert)       shift; cmd_revert "$@" ;;
   scrub-check)  shift; cmd_scrub_check "$@" ;;
@@ -646,7 +646,7 @@ Usage:
   fleet init <name>...        Create branch + worktree per name
   fleet start                 Run the daemon (writes pid to $PID_FILE)
   fleet stop                  Signal the running daemon to exit cleanly
-  fleet fleet                 One-shot status view
+  fleet status                One-shot status view
   fleet land <branch>         Manual land + rebase others
   fleet revert <branch>       Revert merge commit on $BASE_BRANCH
   fleet scrub-check <branch>  Dry-run forbidden-pattern check