[Bug] Workflow dispatch by scriptPath drops args; user-global ~/.claude/workflows/ not resolvable by name

Resolved 💬 1 comment Opened May 30, 2026 by darivs Closed Jul 3, 2026

Bug Description
---Title: Dynamic Workflow: scriptPath dispatch drops args; user-global ~/.claude/workflows/ not resolvable by name

Body: Two issues building a reusable dynamic workflow (research preview, v2.1.154+):

  1. Workflow({ scriptPath, args }) runs the script but the args global is empty/undefined. Workflow({ name, args }) passes

args fine. Expected: args passed regardless of dispatch mode.

  1. Workflow({ name: 'x' }) returns "not found" for a workflow at ~/.claude/workflows/x.mjs (user-global), while a

plugin-shipped workflow (deep-research) resolves by name. Docs imply ~/.claude/workflows/ resolves with project-precedence —
possibly symlinks aren't scanned, or a raw .mjs needs registering via /workflows save.

Use case: dispatching one workflow as an autonomous engine across many host repos, with per-run config. Currently neither
mode gives global-findable and args.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.158
  • Feedback ID: f7e46a99-691e-4304-b7b3-eedbc818c084

Errors

[]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗