Artifact dec4f56239fde835a2cd0bd08de23c28721a6344f163178532ebef9874355566:
- File
src/e2e.zig
-
2026-07-19 22:13:55
— part of check-in
[64b9a0ee71]
on branch p5a-help
— Guard that every dispatched verb appears in `zit help`
Add an end-to-end check that runs `zit help` and asserts every member of the dispatched Verb enum is listed as a command, keyed off the enum itself rather than a hand-copied list. A verb wired into the dispatcher without a help line now fails the build instead of shipping undiscoverable.
The match is anchored on the command column, so a name that appears only inside another verb's description — "sync" in serve's line, "stat" within "status" — cannot satisfy it; a dropped command entry is caught by name.
The shipped help already names all verbs, so this changes no output; it pins that state against future drift. (user: dmestas, size: 697909) [annotate] [blame] [check-ins using]
-
2026-07-19 22:39:21
— part of check-in
[7a0735c415]
on branch trunk
— Merge p5a-help: pin that help names every dispatched verb
Help already listed all dispatched verbs, but nothing held it that way: a verb added later could ship without a help line and no test would notice. An end-to-end pin now drives off the Verb enum itself and fails, naming the offender, if any dispatched verb is absent from zit help -- so the audit cannot silently rot as the command set grows. (user: dmestas, size: 697909) [annotate] [blame] [check-ins using]
-
2026-07-19 22:13:55
— part of check-in
[64b9a0ee71]
on branch p5a-help
— Guard that every dispatched verb appears in `zit help`