Skip to content

chore(lint): the seed template synced — ladder-hardened defaults, drift-guarded - #325

Merged
David-Noble-at-work merged 1 commit into
developfrom
chore/golangci-template-sync
Aug 7, 2026
Merged

David-Noble-at-work merged 1 commit into
developfrom
chore/golangci-template-sync

Conversation

@David-Noble-at-work

Copy link
Copy Markdown
Contributor

Item 7, devlore half. star's embedded defaultGolangciConfig (the "NobleFactor defaults" seeded into repos lacking a config) was a stale pre-ladder snapshot. It now mirrors the repository's hardened .golangci.yaml minus the one repo-specific exclusion (revive var-naming for pkg/op/provider/(json|yaml)/), and TestDefaultGolangciConfigTracksRepoConfig locks the two together semantically — future ladder tweaks must flow into the template or be declared repo-specific. The noblefactor-ops upstream half is chartered in docs/plans/golangci-template-sync.md, blocked pending a ruling on its active branch. Verified: suite green (including the new guard), dual-GOOS lint at zero.

…ft-guarded

star's embedded defaultGolangciConfig was a stale pre-ladder snapshot,
seeding new repos with an outdated standard. It now carries the
repository's hardened config minus the one repo-specific exclusion
(revive var-naming for pkg/op/provider/(json|yaml), whose names
deliberately mirror the stdlib): whitespace.multi-func, the shared
ladder exclusions, and the v2-correct output block included. A new
white-box test parses both configs and requires semantic equality
after dropping the declared repo-specific rules, so the copies cannot
silently diverge again. The noblefactor-ops upstream half is chartered
in docs/plans/golangci-template-sync.md (blocked on its active
branch).
@David-Noble-at-work David-Noble-at-work self-assigned this Aug 7, 2026
@David-Noble-at-work
David-Noble-at-work merged commit 70e0d22 into develop Aug 7, 2026
2 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the chore/golangci-template-sync branch August 7, 2026 03:29
David-Noble-at-work added a commit that referenced this pull request Aug 7, 2026
…step (#326)

Step 1 landed upstream (noblefactor-ops#126, after publishing the
parked standards work as #125): the org canonical is the
ladder-hardened config, blanket G-code suppressions gone. With the
seed template and drift guard already merged (#325), the three copies
are in lockstep and the plan flips to complete.

Co-authored-by: David Noble <[email protected]>
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