# Issue tracker: Gitea Issues and specs for this repo live as Gitea issues on `mortis/kamino` (https://git.rkdr.net/mortis/kamino). The Conventions below hold whatever client you use; the Tool section gives the supported one. ## Conventions - **Operations**: create an issue (title, body, labels, milestone); read an issue with its comments; comment; add and remove a label; assign; set the milestone; close; search by text, label or state; add, list and remove a `blocked_by` dependency. - **Number space**: issues and pull requests share one number space in Gitea, so confirm which one `#N` refers to before acting on it. Pull requests are a different object from issues. - **Sub-issues**: Gitea has no parent link. Put `Part of #` on the first line of the child body. - **Blocking**: use Gitea's native dependencies (a `blocked_by` dependency on the blocked issue), so the issue page shows what blocks it. A ticket is unblocked when every blocker is closed. - **Close**: post the explanation as a comment first, then close the issue. - **Labels**: the repo uses Gitea's scoped labels; see `triage-labels.md` for which to use. - **Repository**: file issues only into `mortis/kamino`. ## Wayfinding operations - **Map**: one issue labelled `Wayfinder/Map`. - **Ticket**: a child issue of the map (`Part of #`) with one type label: `Wayfinder/Grilling`, `Wayfinder/Research`, `Wayfinder/Prototype` or `Wayfinder/Task`. Maps and tickets carry no `Status/` label. - **Claim**: assign the ticket to the Gitea account of the person driving the session, before any work. An open, unassigned ticket is unclaimed. - **Frontier**: the open, unassigned tickets of the map with no open blocker. - **Resolve**: post the answer as a comment, close the ticket, then add one line to the map's "Decisions so far". ## Pull requests as a triage surface **PRs as a request surface: no.** Fork and AGit pull requests are closed unmerged with a pointer to issues ([reviewing.md](../contributing/reviewing.md)), so PRs do not enter the triage queue. Set to `yes` only if that changes. ## Tool `tea` 0.14.2 or later is the supported client: the docs and skills assume it, and `docs/contributing/setup.md` says how to install it and log in. It is not a rule; any client may be used if the Conventions hold. Run the commands inside the clone, where `tea` finds the repository from `origin`, or add `--repo mortis/kamino`. | Operation | Command | | --- | --- | | Create | `tea issues create --title '' --description-file body.md --labels '<a>,<b>' --milestone '<name>'` | | Read with comments | `tea issues <n> --comments` | | Comment | `tea comment <n> '<body>'` | | Add / remove a label | `tea issues edit <n> --add-labels '<label>'` / `--remove-labels '<label>'` | | Assign | `tea issues edit <n> --add-assignees <account>` | | Milestone | `tea issues edit <n> --milestone '<name>'` | | Close | `tea issues close <n>` | | Search | `tea issues list --state all --keyword '<text>' --labels '<label>'` | | List blockers | `tea api 'repos/{owner}/{repo}/issues/<n>/dependencies'` | | Add a blocker | `tea api -X POST 'repos/{owner}/{repo}/issues/<n>/dependencies' -d '{"index": <blocker>, "owner": "mortis", "repo": "kamino"}'` | | Remove a blocker | `tea api -X DELETE 'repos/{owner}/{repo}/issues/<n>/dependencies' -d '{"index": <blocker>, "owner": "mortis", "repo": "kamino"}'` |