From 8f0dcfdb81480f88ad31f059cfc9b4970f102324 Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Mon, 23 Mar 2026 17:37:18 -0400 Subject: [PATCH] fix: grant kimi write permission and document agent Gitea access MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set kimi's collaborator permission from read → write via Gitea admin API so kimi agents can push branches and create PRs without manual intervention - Add Gitea Permissions section to AGENTS.md documenting required write permission for all agent users and the curl command to grant it Fixes #1181 --- AGENTS.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 89bea649..3f571f81 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -131,6 +131,28 @@ self-testing, reflection — use every tool he has. ## Agent Roster +### Gitea Permissions + +All agents that push branches and create PRs require **write** permission on the +repository. Set via the Gitea admin API or UI under Repository → Settings → Collaborators. + +| Agent user | Required permission | Gitea login | +|------------|--------------------|----| +| kimi | write | `kimi` | +| claude | write | `claude` | +| gemini | write | `gemini` | +| antigravity | write | `antigravity` | +| hermes | write | `hermes` | +| manus | write | `manus` | + +To grant write access (requires Gitea admin or repo admin token): +```bash +curl -s -X PUT "http://143.198.27.163:3000/api/v1/repos/rockachopa/Timmy-time-dashboard/collaborators/" \ + -H "Authorization: token " \ + -H "Content-Type: application/json" \ + -d '{"permission": "write"}' +``` + ### Build Tier **Local (Ollama)** — Primary workhorse. Free. Unrestricted. -- 2.43.0