Skip to content

docs: document the Go toolchain-floor policy#109

Merged
devantler merged 1 commit into
mainfrom
claude/document-go-toolchain-floor
Jun 10, 2026
Merged

docs: document the Go toolchain-floor policy#109
devantler merged 1 commit into
mainfrom
claude/document-go-toolchain-floor

Conversation

@devantler

Copy link
Copy Markdown
Contributor

🤖 Generated by the Daily AI Assistant

Fixes #106 (part of epic #104, theme 2 — toolchain & scaffold currency).

Problem

The Go floor in go.mod (1.25.10) is tooling-driven, not a language-feature choice: it was raised from 1.24 because the shared validate-go-project Dead Code Analysis step installs deadcode, which needs Go ≥ 1.25. That rationale lived only as a one-line sentence in the project overview. Without a stated policy, a future bump (or a failure to bump) looks arbitrary, and "why 1.25, not latest, not 1.24" gets re-litigated each time the toolchain moves.

Change (docs / agent-file only)

AGENTS.md ## Maintenance:

  • Adds a Toolchain-floor policy paragraph — the floor = the highest minimum the house tooling requires (today deadcode ⇒ 1.25), not "latest Go" and not a language-feature need; go.mod is the single source of truth; bump only when a shared-tooling requirement forces it (or a security / end-of-life reason), never speculatively, and record the trigger in the PR body; don't over-raise.
  • Adds a Toolchain-floor freshness task-menu item — on any toolchain/tooling bump, re-confirm the floor is still exactly the minimum the tooling needs and that nothing reintroduced a hard-coded Go version that could drift from go.mod.

Accuracy note

Verified live before writing: nothing in the repo hard-codes the Go version — copilot-setup-steps.yml reads go-version-file: go.mod and the README points at go.mod. So the policy states there is no second copy to keep in sync, rather than implying phantom duplicates (the generic issue text assumed badges/setup hard-code it; they don't).

Acceptance criteria

  • AGENTS.md states the floor-selection rule + current trigger, with go.mod named as the source of truth.
  • The maintenance task menu gains a one-line toolchain-floor freshness check.
  • Concise, docs/agent-file only — no code change; +13 lines.

No code touched → the ruleset-injected validate-go-project Go jobs skip via change-detection; MegaLinter/cspell cover the prose (British spelling + acronym reworded to safe terms to keep cspell green).

The Go floor in go.mod is tooling-driven (raised to 1.25 because the shared
validate-go-project Dead Code Analysis step installs deadcode, which needs
Go >= 1.25), but the selection rule lived only as a one-line rationale in the
project overview. State the forward-looking policy explicitly in the
Maintenance section — floor = highest minimum the house tooling requires, not
latest Go and not a language-feature choice; go.mod is the single source of
truth; bump only when tooling/security forces it and record the trigger in the
PR body; don't over-raise. Add a toolchain-floor-freshness task-menu item.

Fixes #106

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@devantler devantler marked this pull request as ready for review June 10, 2026 19:19
@devantler devantler merged commit 4f77b83 into main Jun 10, 2026
8 of 9 checks passed
@devantler devantler deleted the claude/document-go-toolchain-floor branch June 10, 2026 22:22
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.

docs: document the Go toolchain-floor policy (tooling-driven, not latest)

1 participant