issue-tracker.md becomes Conventions (operations as Gitea concepts) and a Tool section with one tea command per operation, tea api for blocked_by dependencies. It names no skill or MCP tool, and drops the maintainer-only token and account-lookup lines. setup.md adds The tracker: install tea 0.14.2 or later and log in with a token of your own account. dev-setup.sh warns when tea is missing or older; it installs nothing. Closes #267 Assisted-by: Claude Code
3.3 KiB
3.3 KiB
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_bydependency. - Number space: issues and pull requests share one number space in Gitea, so confirm which one
#Nrefers to before acting on it. Pull requests are a different object from issues. - Sub-issues: Gitea has no parent link. Put
Part of #<parent>on the first line of the child body. - Blocking: use Gitea's native dependencies (a
blocked_bydependency 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.mdfor 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 #<map>) with one type label:Wayfinder/Grilling,Wayfinder/Research,Wayfinder/PrototypeorWayfinder/Task. Maps and tickets carry noStatus/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 (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 '<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"}' |