user
a9586eb95f
fix: resolve funcorder and noinlineerr issues
2026-02-20 03:30:01 -08:00
user
2f6d1f284c
fix: resolve cyclop, funlen issues by extracting helper methods
2026-02-20 03:29:18 -08:00
user
037202280b
fix: resolve nestif issues by extracting helper methods
2026-02-20 03:26:46 -08:00
user
e0da78f17c
fix: resolve wsl_v5, lll, noinlineerr, and gosec lint issues
2026-02-20 03:26:06 -08:00
user
db3b0bfee1
fix: resolve ireturn lint issues
2026-02-20 03:22:32 -08:00
user
a3c26c415e
fix: resolve funcorder lint issues
2026-02-20 03:22:03 -08:00
user
2c89b23bea
fix: resolve forcetypeassert lint issues
2026-02-20 03:21:14 -08:00
user
0be5e80b85
fix: resolve rowserrcheck lint issues
2026-02-20 03:21:02 -08:00
user
f6ca154315
fix: resolve mnd lint issues with named constants
2026-02-20 03:20:26 -08:00
user
c6c5aaf48e
fix: resolve noctx lint issues
2026-02-20 03:19:19 -08:00
user
4fe5227cbf
fix: resolve err113 lint issues with sentinel errors
2026-02-20 03:18:56 -08:00
user
dd5e9e61ab
fix: resolve errcheck lint issues
2026-02-20 03:17:50 -08:00
user
3d968a1102
fix: resolve noinlineerr lint issues
2026-02-20 03:17:09 -08:00
user
f125a3f591
fix: resolve revive lint issues
2026-02-20 03:16:09 -08:00
user
5fad27ff4c
fix: resolve lll lint issues
2026-02-20 03:15:37 -08:00
user
6ca3ad0e99
fix: resolve tagliatelle lint issues
2026-02-20 03:15:25 -08:00
user
d8c63640f5
fix: resolve wastedassign and gosmopolitan lint issues
2026-02-20 03:15:10 -08:00
user
3adc5479b7
fix: resolve wsl_v5 lint issues
2026-02-20 03:14:46 -08:00
clawbot
ed96c6ccde
fix: format cmd/chat-cli/api/client.go with gofmt
2026-02-20 03:02:32 -08:00
clawbot
c1040ff69d
fix: resolve nlreturn, modernize, perfsprint, wsl_v5, and partial err113 lint issues
2026-02-20 02:59:15 -08:00
clawbot
c65c9bbe5a
fix: resolve typecheck errors by removing duplicate db methods and updating handlers to use models-based API
2026-02-20 02:57:16 -08:00
df2217a38b
Add embedded web chat client ( closes #7 ) ( #8 )
2026-02-11 03:02:41 +01:00
95ccc1b2cd
Add complete database schema and ORM models ( #4 )
2026-02-11 03:02:33 +01:00
clawbot
03cbc3cd1a
Add Dockerfile and .dockerignore
...
Multi-stage build: golang:1.24-alpine builder, alpine:3.21 runtime.
Verified locally: all fx modules instantiate, migrations run,
healthcheck responds at /.well-known/healthcheck.json.
2026-02-09 12:36:55 -08:00
clawbot
18e7218d9e
Fix .gitignore: /chatd not chatd (was ignoring cmd/chatd/ dir)
...
The bare 'chatd' pattern matched the cmd/chatd/ directory,
preventing main.go from being tracked. Use /chatd to only
match the binary at the repo root.
2026-02-09 12:35:24 -08:00
e6621ef7c6
Merge pull request 'Fix all lint issues, add AGENTS.md with workflow rules' ( #3 ) from fix/agents-md-workflow into main
2026-02-09 21:33:34 +01:00
clawbot
6a108749a1
Fix all lint issues and update AGENTS.md workflow rules
...
- 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
2026-02-09 12:33:08 -08:00
clawbot
7b0ff178d4
AGENTS.md: no direct commits to main, all changes via feature branches
2026-02-09 12:31:14 -08:00
clawbot
e9b6eb862e
Add AGENTS.md with coding and commit rules
2026-02-09 12:30:18 -08:00
clawbot
c8f546ecab
Add .golangci.yml linting config and comprehensive Makefile
2026-02-09 12:27:39 -08:00
clawbot
5e9be8ccaf
Add models package with embedded DB interface pattern
...
- internal/models/model.go: DB interface + Base struct for all models
- internal/models/channel.go: Channel model with DB access for relation queries
- Database.NewChannel() factory injects db reference into model instances
- Uses interface to avoid circular imports (models -> db)
2026-02-09 12:24:23 -08:00
clawbot
8bb083a7f8
Add project scaffolding with fx DI, SQLite migrations, and healthcheck
...
- go.mod with git.eeqj.de/sneak/chat module
- internal packages: globals, logger, config, db, healthcheck, middleware, handlers, server
- SQLite database with embedded migration system (schema_migrations tracking)
- Migration 001: schema_migrations table
- Migration 002: channels table
- Config with chat-specific vars (MAX_HISTORY, SESSION_TIMEOUT, MAX_MESSAGE_SIZE, MOTD, SERVER_NAME, FEDERATION_KEY)
- Healthcheck endpoint at /.well-known/healthcheck.json
- Makefile, .gitignore
- cmd/chatd/main.go entry point
2026-02-09 12:22:28 -08:00
clawbot
c1a7a14b46
Add CONVENTIONS.md from gohttpserver
2026-02-09 12:20:18 -08:00
clawbot
f8a43dbb79
Initial spec: HTTP-based IRC replacement
2026-02-09 12:05:48 -08:00