Skip to content

Commit a4df57e

Browse files
committed
AGENTS.md: add guidance to search/list before mutations
1 parent 7deddb1 commit a4df57e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ tascli list record --search "text" # search content
8989

9090
The typical agent workflow for task tracking:
9191

92-
1. **Create**: `tascli task "do something" friday -c work`
93-
2. **Check**: `tascli list task today` — note the index
94-
3. **Complete**: `tascli done <index>` — this also creates a record automatically
95-
4. **Log directly**: `tascli record "observed something" -c work` — for things without a prior task
96-
97-
Indexes are positional from the last `list` command and reset on each new list.
92+
1. **Search first**: `tascli list task --search "keyword"` — check for duplicates before creating
93+
2. **Create if new**: `tascli task "do something" friday -c work`
94+
3. **Fresh list before mutating**: `tascli list task today` — indexes are ephemeral and reset on each list, always re-list before `done`, `update`, or `delete`
95+
4. **Complete**: `tascli done <index>` — this also creates a record automatically
96+
5. **Log directly**: `tascli record "observed something" -c work` — for things without a prior task; search with `tascli list record --search "keyword"` first to avoid duplicate records

0 commit comments

Comments
 (0)