invocation commands: sww rproxy and sww discriminator.
'smallwebwaf' should appear very few places: documentation, program output (e.g. sww version), URLs (git.eeqj.de/sneak/smallwebwaf). the program name is now sww (cmd/sww) and the two modes are rproxy and discriminator.
gate: the PR for this will not change ANY code or logic or functionality beyond renaming things.
invocation commands: `sww rproxy` and `sww discriminator`.
'smallwebwaf' should appear very few places: documentation, program output (e.g. `sww version`), URLs (git.eeqj.de/sneak/smallwebwaf). the program name is now `sww` (cmd/sww) and the two modes are `rproxy` and `discriminator`.
gate: the PR for this will not change ANY code or logic or functionality beyond renaming things.
For the worker (a DeepSeek V4 Pro run, by sneak's order #218 (comment); a Sonnet session reviews it):
Definition of done, one PR into next that renames and changes nothing else (sneak's gate):
The program is sww, built from cmd/sww. Its two modes are sww rproxy and sww discriminator. servewaf becomes discriminator everywhere it names that daemon: the package, types, functions, files, log fields, docs and tests.
smallwebwaf is left only in the documents, in program output such as sww version, and in URLs and the Go module path. Elsewhere a name containing it takes the sww form, for example the variable that picks the image's mode.
Environment variable names otherwise stay as they are: the naming audit (#192) renames them.
The image keeps its registry name (git.eeqj.de/sneak/smallwebwaf).
No logic changes. Every test passes with only renamed identifiers and strings.
make check passes. Run go test only on the packages you touch while you work.
When the PR is up, label it needs-review and do not merge it.
Model: opus-5-5
**For the worker** (a DeepSeek V4 Pro run, by sneak's order https://git.eeqj.de/sneak/smallwebwaf/issues/218#issuecomment-170253; a Sonnet session reviews it):
**Definition of done**, one PR into `next` that renames and changes nothing else (sneak's gate):
- The program is `sww`, built from `cmd/sww`. Its two modes are `sww rproxy` and `sww discriminator`. `servewaf` becomes `discriminator` everywhere it names that daemon: the package, types, functions, files, log fields, docs and tests.
- `smallwebwaf` is left only in the documents, in program output such as `sww version`, and in URLs and the Go module path. Elsewhere a name containing it takes the `sww` form, for example the variable that picks the image's mode.
- Environment variable names otherwise stay as they are: the naming audit (https://git.eeqj.de/sneak/smallwebwaf/issues/192) renames them.
- The image keeps its registry name (`git.eeqj.de/sneak/smallwebwaf`).
- No logic changes. Every test passes with only renamed identifiers and strings.
- `make check` passes. Run `go test` only on the packages you touch while you work.
When the PR is up, label it `needs-review` and do not merge it.
Model: opus-5-5
clawbot
self-assigned this 2026-11-07 04:06:55 +01:00
Built the rename as one commit on a branch, in pull request #221
servewaf is discriminator everywhere: the package, its types and functions,
files, the discriminator_line log field, and its docs and tests.
smallwebwaf is left only where the directive allows it; everywhere else it
takes the sww form: the program binary (cmd/sww, bin/sww, /usr/local/bin/sww),
the internal/sww package, the sww_ metric prefix, the X-Sww-* headers, the
/_sww/ admin endpoints, the SWW_COMMAND setting, the OS user, and the state
and rules directories. The image's registry name and tag stay smallwebwaf.
make check passes; no logic changes.
Model: deepseek-v4-pro
Built the rename as one commit on a branch, in pull request
https://git.eeqj.de/sneak/smallwebwaf/pulls/221
- servewaf is discriminator everywhere: the package, its types and functions,
files, the discriminator_line log field, and its docs and tests.
- smallwebwaf is left only where the directive allows it; everywhere else it
takes the sww form: the program binary (cmd/sww, bin/sww, /usr/local/bin/sww),
the internal/sww package, the sww_ metric prefix, the X-Sww-* headers, the
/_sww/ admin endpoints, the SWW_COMMAND setting, the OS user, and the state
and rules directories. The image's registry name and tag stay smallwebwaf.
make check passes; no logic changes.
Model: deepseek-v4-pro
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.
invocation commands:
sww rproxyandsww discriminator.'smallwebwaf' should appear very few places: documentation, program output (e.g.
sww version), URLs (git.eeqj.de/sneak/smallwebwaf). the program name is nowsww(cmd/sww) and the two modes arerproxyanddiscriminator.gate: the PR for this will not change ANY code or logic or functionality beyond renaming things.
@clawbot do this now with deepseek, and have a sonnet review it.
For the worker (a DeepSeek V4 Pro run, by sneak's order #218 (comment); a Sonnet session reviews it):
Definition of done, one PR into
nextthat renames and changes nothing else (sneak's gate):sww, built fromcmd/sww. Its two modes aresww rproxyandsww discriminator.servewafbecomesdiscriminatoreverywhere it names that daemon: the package, types, functions, files, log fields, docs and tests.smallwebwafis left only in the documents, in program output such assww version, and in URLs and the Go module path. Elsewhere a name containing it takes theswwform, for example the variable that picks the image's mode.git.eeqj.de/sneak/smallwebwaf).make checkpasses. Rungo testonly on the packages you touch while you work.When the PR is up, label it
needs-reviewand do not merge it.Model: opus-5-5
Built the rename as one commit on a branch, in pull request
#221
files, the discriminator_line log field, and its docs and tests.
takes the sww form: the program binary (cmd/sww, bin/sww, /usr/local/bin/sww),
the internal/sww package, the sww_ metric prefix, the X-Sww-* headers, the
/_sww/ admin endpoints, the SWW_COMMAND setting, the OS user, and the state
and rules directories. The image's registry name and tag stay smallwebwaf.
make check passes; no logic changes.
Model: deepseek-v4-pro