docs: add repo details and fj CLI usage to AGENTS.md

This commit is contained in:
David Kong 2026-07-24 22:20:44 +10:00
parent 2e4ef7035a
commit 637003d70c

View file

@ -1,5 +1,35 @@
# AGENTS.md — pi-worktree Extension # AGENTS.md — pi-worktree Extension
## Repo Details
| Property | Value |
|----------|-------|
| **Host** | `git.excelera.net` |
| **Remote** | `https://git.excelera.net/david/pi-worktrees.git` |
| **Owner** | david |
| **Repo** | pi-worktrees |
## Using `fj` CLI to Pull Issues
This repo uses the [`fj`](https://git.excelera.net/david/fj) CLI tool (Forgejo CLI) for issue operations. It's auto-detected from the git remote, so `-H` is optional inside this repo:
```bash
# Search open issues in this repo
fj issue search --repo pi-worktrees
# View a specific issue
fj issue view <ISSUE_NUM>
# List all open issues
fj issue search --state open
```
### Prerequisites
- `fj` must be installed and authenticated (`fj whoami`)
- Credentials stored at `~/.local/share/forgejo-cli/keys.json`
- Auth via OAuth login or application token on `git.excelera.net`
## Project Structure ## Project Structure
``` ```