feat(kernel): tdd-kernel-wiring - #123
Merged
Merged
Conversation
state/adapter/digest/evaluator 纯函数迁入 src/kernel/tdd/,仅改 import 路径(TDD 类型迁入 kernel/types.ts),逻辑零改动;迁移测试 test/kernel/tdd/*.test.ts 复用 flowrun 对应测试逻辑。flowrun 原 文件保留,由批 15 dead-code-removal 统一清理。
evidence.ts 提供 worktree-start 基线快照(captureWorkspaceBaseline, computeWorkspaceDigest 封装)、evidence block 组装(buildEvidenceBlock) 与追加入口(recordTddEvidence,委托 records.appendTddEvidence 写入 Task Record 受控 comment)。新增 mock 测试验证 append 链路。
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.
tdd-kernel-wiring
src/kernel/tdd/{state,adapter,digest,evaluator}.ts— 从 flowrun 迁移纯函数(逻辑零改动)src/kernel/tdd/evidence.ts— 基线记录 + evidence 组装(复用 records.appendTddEvidence)src/kernel/types.ts追加 TDD 类型族Closes #105