Files
Error-Code-System/policy/guidelines-adoption.md
T
weichenandCursor bfe3346c33 Pin Development Guidelines and add the project entry documents.
The guidelines submodule records the reviewed commit so project rules stay discoverable without copying them into this repository.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 14:20:37 +00:00

2.9 KiB
Raw Blame History

通用规范采纳记录

  • 项目/负责人:Error-Code-System / 仓库所有者 weichen
  • 状态:active
  • 规范位置:deps/development-guidelines
  • 规范性文档目录:policy/
  • 过程文档位置:docs/records/(项目内固定目录豁免。码表与映射文档属于本代码仓的机器契约说明,仍放 docs/;方案与验证记录放 docs/records/。任务主记录在 Gitea Issue/PR。)
  • 版本权威:父仓 gitlink;可读标签:无(内容版本 0.1.0-draft.6,提交 26b562d2e34fbc560711296a309c91c74ffc55b1)
  • 批准/生效依据:本仓接入提交
  • 替代范围和迁移说明:无既有根 AGENTS.md。docs/*.md 继续作为码格式、治理和映射的单一说明,不迁入规范库。
规范/工作流 适用条件与范围 采纳或不适用理由 执行方式/证据
core/baseline.md 日常工作 错误码是跨系统合同 manual
workflows/delivery.md、debugging.md、handoff.md 交付、排障与交接 消费方依赖稳定码 manual
standards/collaboration.md 消费方 gitlink 升级 本仓不跟踪消费方分支 manual
standards/verification.md 目录治理测试 go test 与 conformance manual
standards/module-contracts.md errcode/domains/httpx 边界 种子码集中注册 manual
standards/observability.md 稳定 code、信封、trace 头 本仓提供错误半边,日志库提供另一半 manual
standards/documentation.md 三层文档 映射文档留在本仓 docs/ manual
standards/multi-repo.md 被其他仓以 submodule 消费 本仓不嵌套那些消费方 manual
standards/failure-containment.md 未知码回落 fail-closed manual
standards/security.md 公开 message 与 reason reason 可含调用方文本,不在本库收集凭证 manual
standards/data-reliability.md 无持久化码表 码表随版本发布,不在运行时改写 不适用独立存储专题
standards/agent-execution.md 不执行 Agent 只提供 agent 域码 不适用
standards/configuration.md 无多实例配置 serve 地址由 CLI 标志给出 不适用
standards/release-operations.md 无制品流水线 消费方固定 gitlink 不适用
workflows/automation.md 无后台任务 库与按需查询 不适用

项目差异

原规则/章节 项目采用方式 原因与风险 负责人/复查条件
documentation.md 过程仓默认独立仓库 docs/records/ 豁免 个人项目。docs/ 里的映射是契约说明,不是某次任务记录 对外发布码表版本时复查是否要把发布说明拆到过程记录

本次升级或首次接入验证

  • 子模块固定 26b562d2e34fbc560711296a309c91c74ffc55b1。
  • 挂载不改变 go test 行为。
  • 回退只恢复 gitlink 与入口文件,不改码值。