chore: code-comments sweep slice 3/5 - cmd/coily/ops_* #89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Subset of #334. After the
rev: v0.2.8bump, the agentic-oscode-commentshook reports 713 violations across 41cmd/coily/ops_*.{go, _test.go}files. Biggest slice by volume, may want further subdivision before tackling.Notable groupings inside this slice:
ops_forgejo_*(issue, label, pr, release, repo, test)ops_eco_*(mod, test)ops_factorio_*ops_audit_*(dashboard, dashboard_test)ops_gaming.goops_git_test.goops_lockdown.go/ops_lockdown_test.goops_repo.go/ops_repo_test.goops_setup.goops_systemctl.go/ops_systemd_local_test.goops_session.go/ops_session_test.goops_pkgmgrs.goops_whoami.goops_eco.go/ops_eco_test.goops_agent_name.go,ops_ci.go,ops_claude_remote_control.go,ops_trello.go,ops_version.goDirective lines inside this slice (need block-aware fix, not pure truncate):
cmd/coily/ops_eco_mod.go:86-//nolint:gocyclo,cyclopinside a godoc blockcmd/coily/ops_lockdown.go:21-//nolint:gosecinside a godoc blockcmd/coily/ops_audit_dashboard.go:22-//go:embed dashboard.html.tmpl(standalone, fine)Truncating without preserving the
//nolint:directives would re-enable the linter complaints they suppress.Fix
Recommend splitting into 3-4 sub-slices (e.g.
ops_forgejo_*,ops_eco_* + ops_factorio_*, the rest) before running a sweep. Per-block transformation matches #334's rules.Verify:
Refs
Ported from coilysiren/coily#340.