chore: add refactor RFCs and compatibility guardrails (#648)

Phase 0 of the refactor: settle the design record and pin the CLI flag
surface and wire names before any code moves.
This commit is contained in:
Roger authored and GitHub committed 2026-10-26 15:41:47 +08:00
1 parent 95c47885d3
commit f4c05f861f
39 files changed
+2144 -914

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
go-version: '1.20.x'
- name: Build
run: go build -v ./...
+5 -7
View File
@@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
go-version: '1.20.x'
- name: Check Go version constraint
if: matrix.os == 'ubuntu-latest'
@@ -32,12 +32,10 @@ jobs:
echo "::error::Current value: go $GO_VERSION"
exit 1
fi
- name: Check spelling
if: matrix.os == 'ubuntu-latest'
uses: crate-ci/typos@master
with:
config: ./.typos.toml
if grep -q '^toolchain' go.mod; then
echo "::error::go.mod must not carry a toolchain line (keeps the module on Go 1.20)"
exit 1
fi
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
+1 -1
View File
@@ -41,7 +41,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v7
with:
go-version-file: go.mod
go-version: '1.20.x'
- name: Set up Zig
uses: mlugg/setup-zig@v2
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
go-version: '1.20.x'
- name: Run tests
if: matrix.os == 'windows-latest'