Add AGENTS.md with project guidelines for opencode

This commit is contained in:
2026-04-02 13:13:28 +02:00
parent 7c0a61383a
commit c0c43ddf20
+10
View File
@@ -0,0 +1,10 @@
# Issue Management
- Use Gitea REST API to close issues when fixing them:
```bash
curl -X PATCH https://gitea.rowanbrook.net/api/v1/repos/jakob/rusty-petroleum/issues/{issue_number} \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"state": "closed"}'
```
- Or suggest closing issues on Gitea web UI when automatic closing via API is not configured