Skip to main content

5 docs tagged with "ring:assess"

View all tags

Agents & Tool Calling

What an agent adds on top of a model, how to write tool contracts it cannot misread, and where the loop must stop.

Toolchain: Build and Cross-Compile

从 go build 的缓存键、-trimpath 与 -buildvcs 讲到 -ldflags 注入、GOOS/GOARCH 矩阵与 CGO_ENABLED=0 静态链接,并覆盖 -s -w 的体积代价、//go:embed 的嵌入规则、多阶段镜像与 go version -m 溯源。

Toolchain: Test and Profile

从 go test 的包选择、表驱动与 t.Run 子测试,到 -race 的开销、-benchmem 与 benchstat 的对比方法、fuzz 与覆盖率门禁,并说明 CPU、heap、block、mutex profile 与 trace 各自回答什么问题。遇到缓存假绿、flaky 与覆盖率停滞时能按信号定位。

Toolchain: Version and Modules

从 go 与 toolchain 指令、GOTOOLCHAIN 的切换规则讲到 MVS 算出的构建列表,覆盖 go.sum 校验、replace、retract、vendor 与私有模块代理。遇到 checksum mismatch、inconsistent vendoring 或 go.mod 版本要求不满足时,能按信号定位根因。