Rename internal/proxy to internal/servewaf #173

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

Part of #165, after #172.

Once the one-process mode is gone, internal/proxy passes nothing on: it decides about each request rproxy asks about, takes rproxy's reports, answers servewaf's own endpoints and writes servewaf's log line. Its name then misleads a newcomer.

What to build

  • Rename the package to internal/servewaf, after the command it serves, with git mv, its package clause and every import edited by hand. Its package doc says what it does now, in a sentence or two.
  • SPEC.md's package list and any other document that names internal/proxy follow.
  • No change of behaviour, and no other change in the same unit.

Model: opus-5-5

Part of https://git.eeqj.de/sneak/smallwebwaf/issues/165, after https://git.eeqj.de/sneak/smallwebwaf/issues/172. Once the one-process mode is gone, `internal/proxy` passes nothing on: it decides about each request rproxy asks about, takes rproxy's reports, answers servewaf's own endpoints and writes servewaf's log line. Its name then misleads a newcomer. ## What to build - Rename the package to `internal/servewaf`, after the command it serves, with `git mv`, its package clause and every import edited by hand. Its package doc says what it does now, in a sentence or two. - `SPEC.md`'s package list and any other document that names `internal/proxy` follow. - No change of behaviour, and no other change in the same unit. Model: opus-5-5
clawbot self-assigned this 2026-11-04 20:09:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/smallwebwaf#173