Skip to content

🤖 fix: clarify workflow slash command hints#3637

Merged
ThomasK33 merged 1 commit into
mainfrom
workflow-sidebar-8dz0
Jun 25, 2026
Merged

🤖 fix: clarify workflow slash command hints#3637
ThomasK33 merged 1 commit into
mainfrom
workflow-sidebar-8dz0

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

Summary

Clarifies the Workflows sidebar empty-state copy and /workflow slash-command ghost hint so both describe explicit workflow script-path invocation without implying a special workspace workflow directory.

Background

The previous sidebar text pointed users at .mux/workflows/, but workspace-file workflows are not discovered from that folder. They are loaded by explicit .js path, while the Workflows tab only lists workflow-bearing skills with a conventional workflow.js entry. The slash-command ghost hint also repeated /workflow after the user had already typed it.

Implementation

  • Added a canonical workflow slash-command argument hint: <script_path> [args].
  • Reused that hint for the /workflow command usage, ghost text, and Workflows tab helper copy.
  • Added a regression test that verifies the ghost hint shows only arguments after /workflow .

Validation

  • bun test src/browser/utils/slashCommands/ghostHint.test.ts
  • bun test src/browser/utils/slashCommands/parser.test.ts
  • bun x prettier --check src/common/constants/slashCommandHints.ts src/browser/utils/slashCommands/registry.ts src/browser/utils/slashCommands/ghostHint.test.ts src/browser/features/RightSidebar/Workflows/WorkflowEmptyState.tsx
  • make typecheck
  • env MUX_ESLINT_CONCURRENCY=1 make lint
  • env MUX_ESLINT_CONCURRENCY=1 make static-check
  • Dogfooded in an isolated make dev-server-sandbox session with Agent Browser; captured screenshot and WebM evidence for the updated Workflows tab copy and slash-command hint.

Risks

Low. This changes display copy and shared command hint constants only; workflow resolution and execution behavior are unchanged.


Generated with mux • Model: openai:gpt-5.5 • Thinking: xhigh • Cost: $11.27

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 55e6fabf54

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/browser/utils/slashCommands/ghostHint.test.ts Outdated
@ThomasK33 ThomasK33 force-pushed the workflow-sidebar-8dz0 branch from 55e6fab to 6acd592 Compare June 25, 2026 13:57
@ThomasK33

Copy link
Copy Markdown
Member Author

Addressed Codex finding PRRT_kwDOPxxmWM6MPYUs:

  • Updated the workflow ghost-hint regression test to assert the user-visible suffix directly (<script_path> [args]).
  • Added an explicit guard that the returned hint does not include /workflow, preventing the duplicated command regression from returning.
  • Re-ran bun test src/browser/utils/slashCommands/ghostHint.test.ts and env MUX_ESLINT_CONCURRENCY=1 make static-check successfully.

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

Please take another look.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 6acd592cf7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ThomasK33 ThomasK33 added this pull request to the merge queue Jun 25, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2026
@ThomasK33 ThomasK33 added this pull request to the merge queue Jun 25, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2026
@ThomasK33 ThomasK33 added this pull request to the merge queue Jun 25, 2026
Merged via the queue into main with commit 7de5542 Jun 25, 2026
24 checks passed
@ThomasK33 ThomasK33 deleted the workflow-sidebar-8dz0 branch June 25, 2026 14:45
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.

1 participant