-
Notifications
You must be signed in to change notification settings - Fork 19
[Bug] cleo find with empty string errors instead of returning all tasks #85
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report
Running cleo find "" returns an error requiring a search query, but agents often need to list all tasks for discovery.
Steps to reproduce:
- Run
cleo find "" - Expect: all tasks returned (or a helpful suggestion)
- Actual:
E_INVALID_INPUT: Search query or --id is required
Expected behavior: Either:
- Empty string search returns all tasks (like
cleo findwith a wildcard) - Or the error message suggests
cleo find '*'or another way to list all tasks
Context: The CLEO protocol injection doc says 'ALWAYS use tasks find for discovery. NEVER use tasks list for browsing.' but cleo find requires a non-empty query, creating a gap when agents need to discover what tasks exist without knowing any keywords.
Severity: Minor
Area: cli
Are you using an AI agent?
Yes - AI agent filed this issue
Environment
| Component | Version |
|---|---|
| CLEO | 2026.2.1 |
| Node.js | v24.13.1 |
| OS | linux 6.19.8-200.fc43.x86_64 x64 (x64) |
| Shell | /bin/bash |
| gh CLI | gh version 2.87.3 (2026-02-23) |
| Install | /home/keatonhoskins/.npm-global/bin/cleo |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working