Skip to content

chore(deps): refresh all deps for 0.6.0 - clears five x/net vulns - #48

Merged
tobert merged 5 commits into
mainfrom
chore/deps-refresh
Oct 24, 2026
Merged

tobert merged 5 commits into
mainfrom
chore/deps-refresh

Conversation

@tobert

@tobert tobert commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Combines and supersedes the four open dependabot PRs, plus a go get -u ./... to pick up indirect deps.

Why

The four dependabot PRs were all green, but govulncheck against their combined result still reported 5 reachable vulns in golang.org/x/net v0.59.0 (GO-2026-6603, -6610, -6611, -6612, -6617; fixed in v0.60.0). Dependabot's grouped updates only bump direct requirements, and x/net comes in indirectly via gRPC.

What

Verified locally

  • go build && go vet ./... && gofmt -l . clean
  • go test ./... passes (64 functional fixtures against live gRPC/HTTP/TLS OTLP servers)
  • govulncheck ./... → No vulnerabilities found

Release compiler: latest stable Go, gated by govulncheck

Merging the dependabot branch rewrote go.mod's go 1.26 as go 1.26.0. setup-go with go-version-file installs exactly that line, so CI went from go1.26.8 on main to go1.26.0 here (see the dependabot PR's run 39090482819). Release binaries would have shipped without eight months of stdlib security patches.

  • All three setup-go steps now use go-version: stable + check-latest: true. This run installed go1.27.3. go.mod stays the build floor only.
  • govulncheck@v1.9.0 runs in CI's build job and in release.yml before anything is built or published. It covers the running compiler's stdlib too, so a stale toolchain fails the gate instead of shipping.

Once merged, dependabot should close #41 #44 #46 #47 on its own.

🤖 Generated with Claude Code

tobert and others added 5 commits October 24, 2026 11:09
Why: Amy wants a fresh release. Four dependabot PRs (#41 #44 #46 #47) were
green but open, and govulncheck on their combined result still reported five
reachable golang.org/x/net vulns: dependabot groups only bump direct deps,
and x/net is indirect (via grpc).
Approach: merged the four dependabot branches, then `go get -u ./...` and
`go mod tidy`, squashed to one commit. go.mod's `go 1.26` normalizes to
`go 1.26.0`; harmless.
Learned: nothing in CI runs govulncheck, so indirect vulns are invisible
until someone looks.
Next: govulncheck in CI (Amy's call on issue vs PR); cut v0.6.0-rc.1.

Verified: go build, go vet, gofmt, go test ./... (64 functional fixtures),
govulncheck ./... -> No vulnerabilities found.

Supersedes #41, #44, #46, #47.

🤖 Claude <claude@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🤖 Claude <claude@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Why: Amy asked "will our build have the latest go compiler too?" It would
not have. setup-go with go-version-file installs exactly go.mod's `go` line;
main's `go 1.26` resolved to go1.26.8, but the dependabot-merged `go 1.26.0`
in this PR resolved to go1.26.0 (CI log, run 39090482819), silently dropping
eight months of stdlib security patches from the release build.
Approach: go-version: stable + check-latest in all three setup-go steps, so
go.mod stays the floor and the shipped compiler tracks upstream. govulncheck
v1.9.0 in CI and before anything is built in release.yml: it checks the
running compiler's stdlib too, so a stale toolchain fails the gate.
Learned: a no-op-looking go.mod normalization can change the release compiler.
Next: confirm in the CI log that setup-go picked go1.27.x.

🤖 Claude <claude@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Why: Amy: "one of the root CAs was found to have a very weak secret key",
an eMudhra root. Dependabot's #44 digest (294b683, Alpine 3.24.2,
ca-certificates-bundle 20260909) still carries all four emSign roots.
Approach: pinned the alpine:3.24 manifest list as of today (be26560,
3.24.3, bundle 20261020). Checked by running each image and parsing
/etc/ssl/certs/ca-certificates.crt with openssl: 28bd5fe=4 emSign roots,
294b683=4, be26560=1 (emSign Root CA - G1 kept; 118 certs total).
Learned: not verified which emSign root had the weak key. If it is G1,
this bundle still trusts it.
Next: confirm the affected root before tagging v0.6.0.

🤖 Claude <claude@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Amy: "the comments on 48 repeat and should be more terse. also way more
terse in the changelog."

🤖 Claude <claude@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tobert added a commit that referenced this pull request Oct 24, 2026
Why: Amy: "make our AGENTS.md be more STE-ish, and also have a section to
guide to STE-ish in documentation, and terse alignment to STE in comments,
commits, and PR descriptions." Modeled on ~/src/kaish/AGENTS.md.
Approach: STE rules (one topic per sentence, 20/25-word limits, imperative,
active voice, one term per concept, specific values) and one rule set for
each kind of text. Terms table has only otel-cli terms; OTel and W3C terms
keep their spec meaning (Amy). Removed the marketing text, the per-model
"style is welcome" section (it contradicts one shared style), the git and
gh command tables, and the stale Go 1.21 and 0.5.0 facts. Added the
behavior that scripts depend on, the CI gates, and known test hazards.
"Open issues early" becomes "ask a maintainer first". CHANGELOG: "LLM
agent" -> "agent" (Amy).
Learned: the squash setting is COMMIT_MESSAGES; the PR body becomes the
squash message only because the maintainer pastes it at merge.
Next: merge after #48. The gates and the stable-Go hazard describe #48.

🤖 Claude <claude@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tobert
tobert merged commit 87b2c96 into main Oct 24, 2026
2 checks passed
tobert added a commit that referenced this pull request Oct 24, 2026
…ks (#49)

Renames BOTS.md to AGENTS.md, removes the per-model symlinks, and rewrites the file in a style inspired by Simplified Technical English (STE). Merge after #48: the Gates and Hazards sections describe #48 (govulncheck, latest stable Go).

What changed:
- `git mv BOTS.md AGENTS.md`; removed the `CLAUDE.md` and `GEMINI.md` symlinks.
- New "Writing style" section: STE rules (one topic per sentence, 20 words for instructions, 25 for descriptions, imperative, active voice, one term per concept, specific values), plus one rule set for each kind of text: docs and help text, errors, comments, commits, PR descriptions, CHANGELOG.
- Terms table lists only otel-cli terms. OpenTelemetry and W3C terms keep their spec meaning.
- New sections: the behavior that scripts depend on (non-recording mode, exit codes, `--fail`, `--verbose`), CI gates, and test hazards (`SoftFail` exits, `PATH` in fixtures, `-short`, base-10 parsing, required `build` check).
- Removed: marketing text, the per-model "Your Style Is Welcome" section (it contradicts one shared style), git and gh command tables, and the stale Go 1.21 and 0.5.0 facts.
- "Open issues early" is now "ask a maintainer before you open an issue".
- README and CHANGELOG point at AGENTS.md. "LLM agent" is now "agent".

Tool compatibility: Claude Code (2.1.277+) reads AGENTS.md only when there is no CLAUDE.md. Codex, agy and most other agents read AGENTS.md natively.

Verification: a script split the prose into sentences; none is over 25 words. No code changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.

1 participant