测试覆盖 (4 files, 1233 lines): - governance_test.go: 15 tests — 冲突检测/遗忘策略/图谱导航/CRDT - selfoptimize_test.go: 18 tests — 仪表盘/缺口检测/因果追踪/预取/并发 - routes_test.go: 18 tests — HTTP handler 状态码/JSON/Agent 注册/验证 - integration_test.go: 9 tests — 全链路/边界/空输入/大 payload/无认证 go test ./... → 60 passed, 12 packages, 0 failures |
||
|---|---|---|
| .. | ||
| cmd/zhiyid | ||
| internal | ||
| proto | ||
| go.mod | ||
| integration_test.go | ||