Files
openwaf/scripts
Pavlo Ratushnyi cd5935b28e
ci / lint the workflow and the shell (push) Successful in 13s
ci / build, test, smoke (push) Successful in 1m59s
ci / the operator page in a real browser (push) Successful in 2m45s
ci / build the image and smoke it (push) Successful in 4m25s
the gates gain the proof their own claims were missing, and the README has to pay for its numbers
compose-smoke.sh: the read-side redirect guard is proven on the shipped image at
last — a good target is written through the API, the stored column is rewritten
underneath a running edge through the sidecar, and the edge is asked what it
sends once the snapshot rebuilds. javascript:alert(1) answers 301 to the policy
default and never to the stored value; a CRLF-bearing row answers 301 rather than
the 500 Kestrel used to produce, and injects nothing. A curl 000 now samples the
container it was aimed at and prints what it reports, and the gate ends by making
the dead case happen on purpose: compose stop, 000 beside exited/unhealthy,
compose start, running/healthy again.

console-check.cjs: the observation table is waited for rather than read at one
instant (an act run saw X-Total-Count: 0 where the same head a minute earlier had
11 rows), and the page's own request paths are pinned — the 14 admin-api calls it
issues, their query strings, no others, none answered 404. A wrong URL on a page
never looks like a wrong URL; it looks like an empty table.

ci-gates.sh gains readme-counts: each gate records the total it actually ran into
GATE_TOTALS_DIR and the README's claimed number is compared with it. Its first
verdict was that the README claimed 229 assertions for a gate printing 368 — a
139-assertion gap nothing could see. The README now says 368 and 168, both
measured in this run, and the run-by-run table gains 2405.

Verified locally: compose smoke 368/0, console 168/0, smoke 256/0, lint green at
actionlint 1.7.12 and shellcheck 0.11.0.
2026-10-06 01:16:20 +02:00
..