[bug] /tf verify <workflow> subcommand not found
Describe the bug
The /tf slash-command autocomplete lists verify, but executing /tf verify <workflow-name> reports that verify is an unknown subcommand.
The same verification works successfully when invoked through the Taskflow tool.
To reproduce
- Start Pi in a project containing a saved Taskflow workflow.
- Confirm that the
/tfautocomplete listsverify. - Run:
/tf verify <workflow-name>
Example workflow:
{
"name": "minimal-repro",
"strictInterpolation": true,
"agentScope": "project",
"phases": [
{
"id": "hello",
"type": "script",
"run": "printf 'hello world\\n'",
"final": true
}
]
}
The actual workflow used for reproduction is saved as:
.pi/taskflows/taskflow-weather-demo.json
Expected behavior
The workflow should be statically verified without model calls, for example:
✅ No issues found.
This is also what happens when the verification is invoked through the Taskflow tool with:
{
"action": "verify",
"name": "taskflow-weather-demo"
}
Observed behavior
Pi reports:
warning: unknown subcommand: verify
This is inconsistent with the /tf autocomplete, which displays verify as an available command, and with the Taskflow tool, which verifies the workflow successfully.
Environment
- pi-taskflow version: 0.2.8
- Pi version: 0.84.1
- Node version: v26.7.0
- OS: macOS, Apple Silicon
Additional context
- Workflow: taskflow-weather-demo
- Run id: not applicable; the issue occurs before starting a workflow run
- Taskflow tool verification: succeeds
- /tf verify taskflow-weather-demo: fails
- Fresh run: not tested; this appears specific to the /tf verify slash-command parse
r
Fixed in https://github.com/heggria/taskflow/pull/123 — /tf verify <name> was listed in autocomplete but never wired in the slash handler (tool action=verify already worked). PR also closes the sibling hole for save (clear tool-only usage instead of unknown) and adds a regression suite that asserts every autocomplete subcommand has a handler.