Skip to content

feat: Agent 自助添加/移除/验证贡献者身份 - #27

Merged
SIMON-WORLD merged 1 commit into
mainfrom
feat/agent-self-serve
Aug 4, 2026
Merged

feat: Agent 自助添加/移除/验证贡献者身份#27
SIMON-WORLD merged 1 commit into
mainfrom
feat/agent-self-serve

Conversation

@SIMON-WORLD

Copy link
Copy Markdown
Owner

变更内容

任意 Agent(Codex / Claude Code / Gemini CLI / Cursor 等)在任意仓库里零配置自助完成「添加 / 移除 / 验证」贡献者身份:

  1. scripts/build_contributors.py 新增三个命令:
    • --apply --tools codex,claude,renovate:自动建分支 + 提交(带尾注)+ 记录 CSV;
    • --remove --tools renovate:从目录与脚本删除该身份(停止再新增);
    • --check --tools codex:检查最近 100 提交是否出现该身份(PRESENT/ABSENT)。
  2. 新增 docs/add-contributors-with-agent.md:给任意 Agent 的操作手册(三步 + 注意事项)。
  3. docs/contributor-catalog.md:新增「如何移除身份」章节(明确历史提交仍计入页面)。
  4. AGENTS.md / CLAUDE.md:为不同 Agent 提供入口,指向自助命令。

验证

  • 本机完整测试通过:--apply(建分支/提交/3 条尾注)→ --check(PRESENT)→ --remove(从列表消失)→ py_compile OK。
  • 本提交携带 Codex/Claude 共同作者尾注。

Add a self-serve mode so any coding agent can add, remove, or verify
co-author contributor identities with minimal configuration:

- build_contributors.py: new --apply (branch + commit with trailers),
  --remove (drop identities from catalog + script), --check (verify
  presence in recent commits) commands.
- docs/add-contributors-with-agent.md: agent-facing manual (add/remove/
  verify + pitfalls).
- contributor-catalog.md: document how to remove an identity and that
  history still counts on the Contributors page.
- AGENTS.md / CLAUDE.md: per-agent entry points pointing to the manual.

Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@SIMON-WORLD
SIMON-WORLD merged commit 2fab04a into main Aug 4, 2026
1 check passed
@SIMON-WORLD
SIMON-WORLD deleted the feat/agent-self-serve branch August 4, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant