diff --git a/docs/agents/issue-tracker.md b/docs/agents/issue-tracker.md index 06503ea..34b8634 100644 --- a/docs/agents/issue-tracker.md +++ b/docs/agents/issue-tracker.md @@ -9,7 +9,7 @@ Use the **`tea` CLI** (already installed and authenticated as `haylan` via `tea - **Create an issue**: `tea issues create --title "..." --description "..." --labels "..."` - **Read an issue**: `tea issues --comments` - **List issues**: `tea issues list --state open --labels "..."` (add `-f` to control which fields print) -- **Comment on an issue**: `tea comments create --description "..."` (check `tea comments -h` for exact flags) +- **Comment on an issue**: `tea comment -d "..."` (check `tea comments -h` for exact flags — `tea comments create` is invalid, `add`/`a` is the subcommand) - **Apply / remove labels**: `tea issues edit --add-labels "..."` / `--remove-labels "..."` - **Close**: `tea issues close ` - **Labels**: `tea labels create --name "..." --color "#hex" --description "..."`; `tea labels list` @@ -48,4 +48,4 @@ Used by `/wayfinder`. This Gitea instance (1.27.2) has **no native sub-issue/par - **Blocking**: native issue dependencies via the raw API calls above. A ticket is unblocked when every dependency (`GET .../dependencies`) is closed. - **Frontier query**: `tea issues list --state open --labels "wayfinder:,wayfinder:,..."` scoped to the map's children (cross-check against the map's task list), drop any with an open dependency or an assignee. - **Claim**: `tea issues edit --add-assignees haylan` — the session's first write. -- **Resolve**: `tea comments create --description ""`, then `tea issues close `, then append a context pointer (gist + link) to the map's Decisions-so-far, and check off its line in the map's task list. +- **Resolve**: `tea comment -d ""`, then `tea issues close `, then append a context pointer (gist + link) to the map's Decisions-so-far, and check off its line in the map's task list. Map edits are full-body replaces (`tea issues edit` has no append) — concurrent resolutions racing on the same map issue can clobber each other's Decisions-so-far lines; re-fetch the map immediately before editing it, not from an earlier read.