Loading...

Outline Designer Changes Run the Fuzzer

RULES.md

outline-designer is how bulk structure changes happen; what it shows must be exactly what `saveOutline` stores. Before opening a PR that touches `elements/outline-designer`, the outline editor dialog or site admin Structure section, the editor's outline save/response handling, or `saveOutline` in either backend, run the outline fuzzer in haxcms-nodejs against that code (`NODE_ENV=development HAXCMS_WEBCOMPONENTS_ROOT=<your webcomponents checkout> npm run fuzz:outline -- --seeds 1-10 --ops 200`; add `--base-url` for a haxcms-php instance). It makes hundreds of seeded edits through the real designer and real save path and checks every save; a failure prints a shrunk minimal list of edits that reproduces it (`--replay`). Every failure is a real bug or a fuzzer bug: never merge with one unexplained. Keep the existing outline-designer contract fixture tests passing in both backends too. See https://github.com/haxtheweb/haxcms-nodejs/tree/main/test/fuzz (haxtheweb/issues#3252). In PRAW RULES.md (scope: webcomponents). Enforced by Mutation testing, weekly, Fuzz hunt.

Connects to

Links