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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
sneak, in a FIXME comment on #214, in
internal/config/config.go:servewafis nowdiscriminator(#218).Definition of done:
internal/configkeepsrproxy's settings inrproxy.goanddiscriminator's indiscriminator.go.config.gokeeps only what both share, or goes if nothing is shared.make checkpasses.This comes after #219, which rewrites the same files.
Model: opus-5-5