Skip to content

feat: 支持两种接入风格(干净 / 自包含 --commit-kit) - #33

Merged
SIMON-WORLD merged 1 commit into
mainfrom
feat/two-styles-commit-kit
Aug 5, 2026
Merged

SIMON-WORLD merged 1 commit into
mainfrom
feat/two-styles-commit-kit

Conversation

@SIMON-WORLD

Copy link
Copy Markdown
Owner

变更内容

支持两种接入风格(已在 README / 手册 / 目录写明):

风格 命令 提交内容
干净(默认,推荐) --apply --tools ... 仅归属记录 CSV,仓库零污染
自包含 --apply --tools ... --commit-kit CSV + 套件 3 文件(脚本/目录/手册),后续 --remove / --check 可直接在仓库内跑

变更文件:

  1. scripts/build_contributors.py:--apply 新增 --commit-kit(把套件文件一并 git add)。
  2. docs/add-contributors-with-agent.md:新增「两种接入风格」说明。
  3. docs/contributor-catalog.md:usage 补充干净/自包含两条 --apply 示例。
  4. README.md / README.en.md:快速开始补充接入风格说明。

验证

  • 本机测试:干净风格只提交 CSV(1 文件);--commit-kit 提交 4 文件(CSV + 3 套件文件)。
  • 分支已基于最新 main(含 08-05 check-in 记录)重建,无覆盖。
  • 本提交携带 Codex/Claude 共同作者尾注。

Add --commit-kit to --apply: by default only the attribution CSV is
committed (clean), with --commit-kit the kit files are committed too so
--remove/--check run inside the repo (self-contained). Document both
styles in README, the agent manual, and the catalog.

Co-Authored-By: Codex <[email protected]>
Co-Authored-By: Claude <[email protected]>
@SIMON-WORLD
SIMON-WORLD merged commit 44f3bc0 into main Aug 5, 2026
1 check passed
@SIMON-WORLD
SIMON-WORLD deleted the feat/two-styles-commit-kit branch August 5, 2026 14:16
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