Files
ChildHood/.claude/agent-memory/game-reviewer/gitea-token-permission.md
T

13 lines
621 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: gitea-token-permission
description: reviewer token 权限限制——仅可评论,标签操作需用 PM token
metadata:
type: feedback
---
reviewer token 为空字符串,无法执行任何 API 操作(评论、标签均不可)。PM token 可执行全部操作。
**Why:** gitea-config.json 中 reviewer 角色未配置 token(token 字段为空字符串)。
**How to apply:** 所有 Gitea API 操作(评论、标签更新)均使用 PM 角色执行:`node .claude/skills/gitea-collab/gitea.js --role pm issue comment/labels <number>`。评论内容仍以"审查 Agent (ai-reviewer)"署名。