docs: note Go 1.26+ in agent instruction files#108
Conversation
Co-authored-by: richardpark-msft <51494936+richardpark-msft@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR updates internal agent-facing documentation to explicitly state the repository’s minimum supported Go version, so agents don’t have to infer available language/stdlib features.
Changes:
- Add a Go 1.26+ requirement callout to the “Building and Testing” section in
AGENTS.md. - Add a Go version bullet to Linus’s
.squadcharter to guide code generation toward modern Go.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| AGENTS.md | Adds a Go version requirement note for contributors/agents. |
| .squad/agents/linus/charter.md | Records the minimum Go version in Linus’s identity block for consistency. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
richardpark-msft
left a comment
There was a problem hiding this comment.
Quite possibly the best commit I've ever seen.
RickWinter
left a comment
There was a problem hiding this comment.
1,26 just came out. Do we need the flow this high or could we be 1.25 based to allow for N and N-1 support?
I think we're okay with 1.26 - this is for waza itself, and we don't deliver it via source, just binaries. |
…t#134) Adds grader showcase examples with all 5 grader types, fixtures, and comprehensive README. Closes microsoft#108.
Agent instruction files didn't specify the Go version, leaving agents to guess what language features are available.
Changes
AGENTS.md— Added a callout at the top of "Building and Testing" stating Go 1.26+ is required and that all Go 1.26+ language/stdlib features are available and encouraged..squad/agents/linus/charter.md— Added aGo version: Go 1.26+bullet to Linus's identity block so he uses modern features freely when generating code.User-facing docs (
README.md,docs/GUIDE.md, etc.) already reference Go 1.26+ and were not changed.