docs(cli): document the /team slash command - #684
Draft
hongyi-chen wants to merge 1 commit into
Draft
Conversation
/team is a GA, unflagged Warp Agent CLI slash command (StaticCommand TEAM, SlashCommandSurfaces::TuiOnly, Availability::ALWAYS in app/src/search/slash_command_menu/static_commands/commands.rs) that was missing from the CLI reference's slash command table, which presents itself as the complete list. Adds the table row plus one sentence describing the behavior that differs from the desktop app: the CLI re-scopes the current session in place, while the desktop app opens a new window for the chosen team. Co-Authored-By: Warp <agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
This PR was generated with Warp. Comment |
hongyi-chen
added a commit
that referenced
this pull request
Sep 4, 2026
…erence Exhaustive drift-watch re-run for v0.2026.09.02.08.27.stable_01. Every standing finding and every surface/changelog change in this release range was already triaged on this PR; re-running the audit against this branch leaves only the 23 known terminology false positives. The one new gap: /team, a GA and ungated TUI-only slash command, was absent from the slash command table on agents/cli/reference.mdx. Two compounding reasons hid it from the audit -- the `-> internal` map entry (correct for the GUI slash-commands page, wrong for the CLI table) and the repo-wide slash check documented as a known limitation in SKILL.md. Remaps /team to the CLI reference and records four verdicts: the /team pass, the both-surface scoped slash re-verification, the 11 sibling TUI-only entries whose `internal` sentinel overstates "no public docs" (deferred, no audit-outcome change), and the weak-coverage re-run. Snapshot regeneration is a no-op on this branch; it was already current. Docs change ships separately in #684. Co-Authored-By: Warp <agent@warp.dev>
3 tasks
moirahuang
approved these changes
Sep 4, 2026
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.


What this feature does
/teamswitches the active team from inside the Warp Agent CLI. It opens a searchable list of the teams you belong to, marks the active one, and re-scopes the current session in place when you pick one. The desktop app has no equivalent in-place switch — its title-bar pill opens a new window for the chosen team instead — so the CLI behavior is genuinely different, not just a second entry point.The command is GA and ungated:
StaticCommand TEAMinapp/src/search/slash_command_menu/static_commands/commands.rs:566declaressupported_surfaces: SlashCommandSurfaces::TuiOnlyandAvailability::ALWAYS, with nofeature_flag. It dispatchesSlashCommandKind::Team, which opensTuiTeamMenuModel(crates/warp_tui/src/team_menu.rs).Why this was missing
The "Slash commands" table in
agents/cli/reference.mdxpresents itself as the complete list of CLI slash commands, and/teamwas the only GA, unflagged TUI-capable command absent from it.The
missing_docsaudit could not see the gap, for two compounding reasons:/teamis mapped-> internalin the surface map. That entry is correct for the GUI slash-commands page — the command does not exist in the desktop app — but the CLI reference maintains its own table, whichinternalalso suppresses.SKILL.md): a command counts as covered when any page mentions it. This is the same blind spot that previously let/usageand/set-tab-colorship undocumented.Caught by re-running the surface-scoped check that prior runs used to work around that limitation.
Worthiness verdict
Gate 1 — update an existing page. The knob is the nameable command
/teamitself, matching the/continue-locallyworked example in.agents/references/docs-worthiness-criteria.md("a nameable command, which is a knob, so Gate 1 carries it"). Gate 4 does not apply: the product surfaces the command in the slash menu and in the statusline team label, which opens the same list on click.No content design plan: this adds a missing entry to an existing reference table, which
.agents/references/content-design-plan.mdlists under "When a plan can be skipped."Changes
/teamrow to the slash commands table, in alphabetical position between/statuslineand/theme./statusand/usageexplanations, covering the filter-and-Enterflow, the in-place re-scoping that differs from the desktop app, and the statusline affordance.Validation
npm run build— passes (383 pages, 381 markdown docs generated).style_lint --changed— oneTONE-META-OPENERhit at line 252 ("This section covers common issues..."), pre-existing in the Troubleshooting section and untouched by this diff. Left for astyle_lintsweep rather than widening scope.Deferred findings from this run
The rest of the audit was already in sync. Full triage lives in the companion bookkeeping PR #657; deferrals worth naming here:
/team's surface-map entry moves frominternalto this page in docs: document completion, custom endpoint, and /team surfaces (+ missing_docs bookkeeping for v0.2026.08.26–v0.2026.09.02) #657. Eleven sibling TUI-only commands (/exit,/status,/api-keys,/vim-mode,/theme,/voice,/clear,/logout,/statusline,/reset-statusline,/natural-language-detection) are still mapped-> internaleven though they are documented in this same table. Suppression behavior is identical either way, so this is a map-accuracy nit rather than a docs gap; deferred to avoid churning a PR already under review.audit_docs.py. Until it is surface-scoped,doc_coveredcannot be read as "documented in the right place."ShellWidgetHandoff,HistorySearchRankingV2) andagents.warp_agent.other.usage_display_unit(dogfood, gated byPricingTransparency) fail Gate 0 and re-surface on promotion./factory*and screenshot-download API routes arex-internal: truein warp-server's canonical spec, so the publish filter strips them from the released OpenAPI. Not hand-documentable; re-check when the Factory REST API is published.potentially_stale_docsfindings are terminology-only false positives, itemized and rejected in the ledger. The unresolvedai creditsrule conflict is still flagged there for a human docs owner./cc @moirahuang