docs: add TDD workflow to AGENTS.md - #151
Merged
Merged
Conversation
- 本仓库是单 crate(根 Cargo.toml 只有 [package] codeweb,无 [workspace], 靠 feature 切分):修正「Cargo workspace」措辞——原正文说 workspace, 但命令块用的是单 crate 的 cargo fmt -- --check,自相矛盾 - 移除对不存在的 rust-toolchain.toml 的引用 - 移除未引入的 insta 引用 - 门禁对齐 .github/workflows/ci.yml:fmt 补 --all;cargo test 补 CI 实际使用的 --skip test_path_mapping_applied --skip test_serve_,并说明这两组是环境性跳过, 裸跑失败不是改坏了
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 修订
codeweb,靠 feature 切分。原正文说 workspace,命令块却用单 crate 的cargo fmt -- --check,文件内部自相矛盾。已改写。rust-toolchain.toml不存在:已移除引用。insta未引入:改为固定 fixture / golden。ci.yml:fmt补--all;cargo test补 CI 实际使用的--skip test_path_mapping_applied --skip test_serve_,并说明这两组是环境性跳过,裸跑失败不是改坏了。批次层面
flux-gauss#106(原批次遗漏)。GaussDB_Heptadecagon需要一个 submodule 指针 bump PR(目前不存在)。docs/tdd-policy.md,各仓库只留实测过的命令块 + 一个 drift 检查,避免下次修一行要开 13 个 PR。