docs(agents): fix tea comment syntax, note map-edit race condition
tea comments create doesn't exist (add/a is the subcommand); a wayfinder session hit this live resolving OmniRoute-migration tickets. Also note that concurrent ticket resolutions racing to edit the same map issue (a full-body replace, no append) can clobber each other's Decisions-so-far lines -- observed the same session across 5 parallel research tickets. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VPZ6TogJiYxG8E4EQBB197
This commit is contained in:
@@ -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 <index> --comments`
|
||||
- **List issues**: `tea issues list --state open --labels "..."` (add `-f` to control which fields print)
|
||||
- **Comment on an issue**: `tea comments create <index> --description "..."` (check `tea comments -h` for exact flags)
|
||||
- **Comment on an issue**: `tea comment <index> -d "..."` (check `tea comments -h` for exact flags — `tea comments create` is invalid, `add`/`a` is the subcommand)
|
||||
- **Apply / remove labels**: `tea issues edit <index> --add-labels "..."` / `--remove-labels "..."`
|
||||
- **Close**: `tea issues close <index>`
|
||||
- **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:<type1>,wayfinder:<type2>,..."` 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 <n> --add-assignees haylan` — the session's first write.
|
||||
- **Resolve**: `tea comments create <n> --description "<answer>"`, then `tea issues close <n>`, 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 <n> -d "<answer>"`, then `tea issues close <n>`, 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.
|
||||
|
||||
Reference in New Issue
Block a user