docs: add TDD workflow to AGENTS.md - #27
Merged
Merged
Conversation
CodeRoughcollie 多项目审核报告总览
项目: self执行摘要
✅ 审核通过,未发现问题。 |
- 门禁改用 CI 的 $OUR_CRATES 显式枚举,不再用 --workspace:子模块里的 crate 是 path 依赖,已被 cargo 拉进本 workspace(cargo metadata 目前解析出 25 个 package, 含 gaussdb / tokio-opengauss / ogexplain-core / ogsql-complexity / metamorphosis-core 等,仅 lib/codeweb 被 exclude)。--workspace 会把门禁打到 上游代码上,与本文件「子模块策略」直接冲突,还会在子模块工作树留下产物 - insta 说明改为「自有 crates/ 未引入,lib/*/ 的 insta 快照属上游」——原文把 insta 当本仓库工具,但自有 crates/ 零 insta 依赖 - 注明 CI 的 cargo clippy $OUR_CRATES 没有 -D warnings、cargo audit 是 || true
CodeRoughcollie 多项目审核报告总览
项目: self执行摘要
✅ 审核通过,未发现问题。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a test-driven development (Red → Green → Refactor) discipline section to AGENTS.md.
Codifies for coding agents:
Round 2 修订
--workspace与本文件的子模块策略直接冲突(最严重的一条):子模块里的 crate 是 path 依赖,已被 cargo 拉进本 workspace——cargo metadata目前解析出 25 个 package(gaussdb/tokio-opengauss/ogexplain-core/ogsql-complexity/metamorphosis-core/metamorphosis-rules等,仅lib/codeweb被exclude)。cargo clippy/test/fmt --workspace会把门禁打到上游代码上。已改用 CI 的$OUR_CRATES显式枚举。insta定位错误:自有crates/零 insta 依赖,唯一的 insta 快照在lib/ogexplain-analyzer/子模块内——而本文件正禁止改子模块。已改为明确区分。cargo clippy $OUR_CRATES没有-D warnings、cargo audit是|| true。批次层面
flux-gauss#106(原批次遗漏)。GaussDB_Heptadecagon需要一个 submodule 指针 bump PR(目前不存在)。docs/tdd-policy.md,各仓库只留实测过的命令块 + 一个 drift 检查,避免下次修一行要开 13 个 PR。