Claude Code agent that responds to Gitea issues — interactive requirements discussion + auto PR (path A: ported claude-code-action)
Go to file
pangtiankai c29af91113 docs: project scaffolding — README + architecture + roadmap + porting plan + ADRs
Initial documentation for route A (port claude-code-action to Gitea Actions).
Research complete, no implementation code yet. See docs/02-roadmap.md for milestones.
2026-05-25 20:36:54 +08:00
.gitea/workflows docs: project scaffolding — README + architecture + roadmap + porting plan + ADRs 2026-05-25 20:36:54 +08:00
docs docs: project scaffolding — README + architecture + roadmap + porting plan + ADRs 2026-05-25 20:36:54 +08:00
.gitignore Initial commit 2026-05-25 20:29:57 +08:00
LICENSE Initial commit 2026-05-25 20:29:57 +08:00
README.md docs: project scaffolding — README + architecture + roadmap + porting plan + ADRs 2026-05-25 20:36:54 +08:00

claude-gitea-agent

Claude Code 自动响应 Gitea issue 的代理 —— 在 issue 里和你交互式确认需求,对齐后自动开发并提 PR。

项目目标

复刻 Anthropic 官方 claude-code-action 的 GitHub 体验,但跑在 Gitea 上:

  • 触发:在 Gitea issue 或 PR 评论里 @claude ...
  • 交互Claude 在评论里和你来回讨论需求superpowers brainstorming 风格)
  • 执行:对齐后自动建分支、写代码、跑测试、提 PR
  • 运行环境:你的本地 act_runner已部署

当前状态

🟡 筹划期 —— 仓库刚建好docs 在写,代码移植还没开始。

阶段 状态
调研开源方案 完成(docs/02-roadmap.md
仓库脚手架 完成
Gitea API 客户端移植 待开始
触发器 + 评论交互 待开始
PR 生成流程 待开始
端到端跑通 待开始
升级到 webhook 长驻服务(路线 B 🔮 未来

架构选择

路线 Afork 上游 claude-code-action,替换 GitHub API 调用为 Gitea API跑在 Gitea Actions 上。

  • 优点:站在巨人肩膀上,提示词/上下文构造/PR 流程沿用官方逻辑
  • 缺点Gitea Actions 冷启动 ~30s每轮交互有延迟不算"真实时"
  • 后续可升级到路线 B长驻 webhook 服务 + Claude Agent SDK细节见 docs/02-roadmap.md

详见 docs/01-architecture.md

快速链接

License

MIT