docs(agent): 计划回填 cleanHosts 去重的执行后修订
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -429,6 +429,8 @@ git add server/internal/agentd/acl.go server/internal/agentd/acl_test.go server/
|
||||
git commit -m "feat(agent): 私有目的地 ACL 配置类型与 fail-closed 加载语义"
|
||||
```
|
||||
|
||||
> **执行后修订(2026-07-23,提交 `d4156b8`)**:审查指出上面的 `cleanHosts` 与 `warp.go` 既有的 `cleanDomains` 是同包内逐字重复的逻辑。已按用户裁决改为 **`cleanDomains` 委托 `cleanHosts`**(`func (wc *WarpConfig) cleanDomains() []string { return cleanHosts(wc.Domains) }`,并移除 `warp.go` 中变为未使用的 `strings` import)。**若日后照本计划重新实现,请直接采用委托版本,不要写回两份重复实现。**
|
||||
|
||||
---
|
||||
|
||||
### Task 2: 由 ACL 产出 route 规则对(放行 + 兜底拒绝)
|
||||
|
||||
Reference in New Issue
Block a user