Skip to content

fix(tools): honor relative workdir in effective root#76

Merged
phantom5099 merged 1 commit intofile-checkpointfrom
fork-pr-568-1778084412
May 6, 2026
Merged

fix(tools): honor relative workdir in effective root#76
phantom5099 merged 1 commit intofile-checkpointfrom
fork-pr-568-1778084412

Conversation

@fennoai
Copy link
Copy Markdown

@fennoai fennoai Bot commented May 6, 2026

Requested by @phantom5099

Summary

  • 修复 ResolveEffectiveRoot 返回 canonical root 而非解析后目标目录的问题,确保相对 workdir 真正生效
  • 修正 internal/tools/codebaseinternal/tools/git 中失效的 helper 测试引用,并补充逃逸校验断言
  • 重新执行 go build ./...go test ./... -count=1,当前分支已全部通过

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: phantom5099 <245659304+phantom5099@users.noreply.github.com>
@phantom5099 phantom5099 merged commit a4ccb17 into file-checkpoint May 6, 2026
1 check passed
@fennoai fennoai Bot deleted the fork-pr-568-1778084412 branch May 6, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants