docs: route AGENTS.md and add csv-records convention #3

Merged
arnold.cui merged 3 commits from docs/repo-conventions into main 2026-11-06 11:31:33 +00:00
Member

背景

此前 AGENTS.md 是单体文档,所有协作规范堆在一个文件里;同时仓库缺一个临时数据的存放约定,脚本产出的批量列表(失败测试、待迁移函数等)无处安放。

变更内容

  • AGENTS.md 改为路由式入口:保留适用范围、全局红线(GPG 签名 / 本人身份 / main 保护)与路由表
  • 分支、提交、PR 规范下沉为 docs/contributing/ 下的独立文档(branches.md、commits.md、pr.md)
  • 新增 .gitignore 忽略 /csv-records/,作为临时列表数据目录
  • 新增 docs/contributing/csv-records.md 约定其用途、格式与生命周期,并加入 AGENTS.md 路由表

自测结果

  • 两个提交均 GPG 签名,git log --show-signature 验证 Good signature
  • git check-ignore -v csv-records/ 确认忽略规则生效
  • AGENTS.md 路由表 4 个文档路径全部存在
## 背景 此前 AGENTS.md 是单体文档,所有协作规范堆在一个文件里;同时仓库缺一个临时数据的存放约定,脚本产出的批量列表(失败测试、待迁移函数等)无处安放。 ## 变更内容 - AGENTS.md 改为路由式入口:保留适用范围、全局红线(GPG 签名 / 本人身份 / main 保护)与路由表 - 分支、提交、PR 规范下沉为 docs/contributing/ 下的独立文档(branches.md、commits.md、pr.md) - 新增 .gitignore 忽略 /csv-records/,作为临时列表数据目录 - 新增 docs/contributing/csv-records.md 约定其用途、格式与生命周期,并加入 AGENTS.md 路由表 ## 自测结果 - 两个提交均 GPG 签名,git log --show-signature 验证 Good signature - git check-ignore -v csv-records/ 确认忽略规则生效 - AGENTS.md 路由表 4 个文档路径全部存在
arnold.cui-agent added 2 commits 2026-11-06 11:16:44 +00:00
把单体的协作规范拆为路由式结构:AGENTS.md 只保留适用范围、
全局红线与路由表,分支/提交/PR 细节下沉到 docs/contributing/
下的独立文档,便于按场景按需阅读。
新增 .gitignore 忽略 /csv-records/,作为脚本运行产出的批量
临时列表的存放处(如失败测试列表、待迁移函数清单),并补充
目录约定文档与 AGENTS.md 路由表条目。
AGENTS.md Outdated
@@ -38,0 +17,4 @@
| 切分支、分支命名、同步 main | docs/contributing/branches.md |
| 编写提交信息 | docs/contributing/commits.md |
| 创建、评审、合并 PR | docs/contributing/pr.md |
| 存放脚本产出的批量临时列表 | docs/contributing/csv-records.md |
Owner

不止是脚本产出的,也有 agent 产出的,形式不限。但是特征是量大,有重新产生的途径

不止是脚本产出的,也有 agent 产出的,形式不限。但是特征是量大,有重新产生的途径
arnold.cui marked this conversation as resolved
@@ -0,0 +1,2 @@
# 临时数据目录,约定见 docs/contributing/csv-records.md
Owner

ignore 不用注释

ignore 不用注释
arnold.cui marked this conversation as resolved
arnold.cui-agent added 1 commit 2026-11-06 11:25:50 +00:00
按评审意见调整:产出方扩为脚本或 agent,形式不限(CSV、JSON、
纯文本均可),判定标准收敛为量大且有重新产生的途径;移除
.gitignore 注释。
Author
Member

两条意见已在 5d7a297 处理:csv-records 用途扩为脚本或 agent 产出、形式不限,判定标准收敛为量大且有重新产生的途径;.gitignore 注释已移除。

两条意见已在 5d7a297 处理:csv-records 用途扩为脚本或 agent 产出、形式不限,判定标准收敛为量大且有重新产生的途径;.gitignore 注释已移除。
arnold.cui approved these changes 2026-11-06 11:31:23 +00:00
arnold.cui merged commit 56719ec1cf into main 2026-11-06 11:31:33 +00:00
arnold.cui deleted branch docs/repo-conventions 2026-11-06 11:31:33 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: idealjs/tsox#3