You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scripts/validate-naming.py is the oldest remaining first-party Python validator. CI invokes it directly and AGENTS.md documents that command, while Platform’s tooling constitution is Bash-or-Go. The validator has no focused regression suite today, so a mechanical rewrite without parity fixtures could silently weaken manifest naming enforcement.
Audience and impact
Platform maintainers and contributors need the naming gate to stay deterministic and fail closed without retaining a second scripting runtime. A parity-preserving Go port removes that runtime dependency while keeping every existing diagnostic and exemption stable.
Expected behavior
The Go command accepts the current zero-argument repository-root flow, also works from another current directory, reports the same grouped/sorted diagnostics and exit status, and preserves all Kubernetes, Flux, patch, CR-folder, vendored-bundle, and Talos naming rules.
Acceptance criteria
Add a focused Go package/command with red-first tests covering every current diagnostic group and exemption.
Part of #2623
Evidence
scripts/validate-naming.pyis the oldest remaining first-party Python validator. CI invokes it directly andAGENTS.mddocuments that command, while Platform’s tooling constitution is Bash-or-Go. The validator has no focused regression suite today, so a mechanical rewrite without parity fixtures could silently weaken manifest naming enforcement.Audience and impact
Platform maintainers and contributors need the naming gate to stay deterministic and fail closed without retaining a second scripting runtime. A parity-preserving Go port removes that runtime dependency while keeping every existing diagnostic and exemption stable.
Expected behavior
The Go command accepts the current zero-argument repository-root flow, also works from another current directory, reports the same grouped/sorted diagnostics and exit status, and preserves all Kubernetes, Flux, patch, CR-folder, vendored-bundle, and Talos naming rules.
Acceptance criteria
.enc.yaml, multi-document, and alternate-CWD behavior.scripts/validate-naming.py; add no Python file or Python invocation.AGENTS.mdto use the Go validator and its tests.Size
Medium — one isolated validator and its direct CI/documentation consumers.