Issue tracker: Forgejo #
Issues and specs for this repo live as issues on the Forgejo instance at
https://git.jcollie.dev/jeff/zig-bwgpg. Use the fj CLI for all operations;
it infers the repository from the origin remote, and -R jeff/zig-bwgpg
names it explicitly. fj auth status should show git.jcollie.dev as the
current host.
The Tangled and Radicle remotes are mirrors. Their issue trackers are not where agent work is tracked.
Conventions #
- Create an issue:
fj issue create --title "..." --body-file -with a heredoc for multi-line bodies. Add labels with--label a,b. - Read an issue:
fj issue view <number> --comments, or--jsonfor structured output. - List issues:
fj issue list --state open --jsonwith--label,--search,--assigneeand--state(open/closed/all) filters; add--paginatefor more than 30. - Make an issue a child of a parent: Forgejo has no sub-issues. Put
Part of #<parent>at the top of the child body and add- [ ] #<child>to a task list in the parent body (fj issue edit <parent> --body-file -). - Comment on an issue:
fj issue comment <number> --body "..." - Apply / remove labels:
fj issue edit <number> --add-label "..."/--remove-label "..." - Close:
fj issue comment <number> --body "..."thenfj issue close <number>. - Anything else:
fj api repos/jeff/zig-bwgpg/...makes a raw authenticated request against the Forgejo API.
Pull requests as a triage surface #
PRs as a request surface: no. (Set to yes if this repo treats external PRs as feature requests; /triage reads this flag.)
When set to yes, PRs run through the same labels and states as issues, using the fj pr equivalents (fj pr view, fj pr list, fj pr comment, fj pr edit --add-label/--remove-label, fj pr close).
Forgejo shares one number space across issues and PRs, so a bare #42 may be either: resolve with fj pr view 42 and fall back to fj issue view 42.
When a skill says "publish to the issue tracker" #
Create a Forgejo issue.
When a skill says "fetch the relevant ticket" #
Read it as in Read an issue above.
Wayfinding operations #
Used by /wayfinder. The map is a single issue with child issues as tickets.
- Map: a single issue labelled
wayfinder:map, holding the Notes / Decisions-so-far / Fog body.fj issue create --label wayfinder:map. - Child ticket: an issue linked to the map as in Make an issue a child of a parent. Labels:
wayfinder:<type>(research/prototype/grilling/task). Once claimed, the ticket is assigned to the driving dev. - Blocking: Forgejo's native issue dependencies, which show in the web UI. Add an edge with
fj api -X POST repos/jeff/zig-bwgpg/issues/<child>/dependencies -f owner=jeff -f repo=zig-bwgpg -F index=<blocker>, where<blocker>is the blocker's issue number. List a ticket's blockers withfj api repos/jeff/zig-bwgpg/issues/<child>/dependencies. A ticket is unblocked when every blocker is closed. - Frontier query: list the map's open children (
fj issue list --state open --json, scoped to the map's task list), drop any with an open blocker or an assignee; first in map order wins. - Claim:
fj issue edit <n> --add-assignee jeff, the session's first write. - Resolve:
fj issue comment <n> --body "<answer>", thenfj issue close <n>, then append a context pointer (gist + link) to the map's Decisions-so-far.