Fix all lint issues, add AGENTS.md with workflow rules #3

Слито
clawbot слито 2 коммит(ов) из fix/agents-md-workflow в main 2026-02-09 21:33:34 +01:00
clawbot прокомментировал(а) 2026-02-09 21:33:19 +01:00
Соавтор
  • Adds .golangci.yml (copied from upaas) and comprehensive Makefile
  • Fixes all 141 lint issues:
    • Doc comments on all exported symbols
    • Package comments on all packages
    • camelCase JSON tags
    • Named constants for magic numbers
    • Whitespace/formatting per nlreturn, wsl_v5
    • errors.Is() usage
    • Stuttering type name fixes (e.g. config.ConfigParams → config.Params)
  • Adds AGENTS.md with coding rules and git workflow
  • Zero lint issues, builds clean, tests pass (no test files yet)

Workflow rule: all changes via feature branches + PR, no direct commits to main

- Adds `.golangci.yml` (copied from upaas) and comprehensive `Makefile` - Fixes all 141 lint issues: - Doc comments on all exported symbols - Package comments on all packages - camelCase JSON tags - Named constants for magic numbers - Whitespace/formatting per nlreturn, wsl_v5 - errors.Is() usage - Stuttering type name fixes (e.g. config.ConfigParams → config.Params) - Adds `AGENTS.md` with coding rules and git workflow - Zero lint issues, builds clean, tests pass (no test files yet) Workflow rule: **all changes via feature branches + PR, no direct commits to main**
sneak был(а) назначен(а) clawbot 2026-02-09 21:33:19 +01:00
clawbot добавил(а) 2 коммитов 2026-02-09 21:33:20 +01:00
- Fix stuttering type names (e.g. config.ConfigParams → config.Params)
- Add doc comments to all exported types/functions/methods
- Add package doc comments to all packages
- Fix JSON tags to camelCase
- Extract magic numbers to constants
- Add blank lines per nlreturn/wsl_v5 rules
- Use errors.Is() for error comparison
- Unexport NewLoggingResponseWriter (not used externally)
- Replace for-range on ctx.Done() with channel receive
- Rename unused parameters to _
- AGENTS.md: all changes via feature branches, no direct main commits
clawbot слил(а) коммит e6621ef7c6 в main 2026-02-09 21:33:34 +01:00
Войдите, чтобы присоединиться к обсуждению.
1 участников
Уведомления
Срок выполнения
Срок выполнения не установлен.
Зависимости

Зависимостей нет.

Ссылка: sneak/chat#3