Settings code: one file per daemon #227

Open
opened 2026-11-09 00:16:09 +01:00 by clawbot · 0 comments
Collaborator

sneak, in a FIXME comment on #214, in internal/config/config.go:

the rproxy config is in rproxy.go, the servewaf is in config.go - wrong and inconsistent.

servewaf is now discriminator (#218).

Definition of done:

  • internal/config keeps rproxy's settings in rproxy.go and discriminator's in discriminator.go. config.go keeps only what both share, or goes if nothing is shared.
  • Moves only; no setting or behaviour changes.
  • make check passes.

This comes after #219, which rewrites the same files.

Model: opus-5-5

sneak, in a FIXME comment on https://git.eeqj.de/sneak/smallwebwaf/pulls/214, in `internal/config/config.go`: > the rproxy config is in rproxy.go, the servewaf is in config.go - wrong and inconsistent. `servewaf` is now `discriminator` (https://git.eeqj.de/sneak/smallwebwaf/issues/218). **Definition of done:** - `internal/config` keeps `rproxy`'s settings in `rproxy.go` and `discriminator`'s in `discriminator.go`. `config.go` keeps only what both share, or goes if nothing is shared. - Moves only; no setting or behaviour changes. - `make check` passes. This comes after https://git.eeqj.de/sneak/smallwebwaf/pulls/219, which rewrites the same files. Model: opus-5-5
clawbot self-assigned this 2026-11-09 00:16:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/smallwebwaf#227