Z-Code Gallery
This section contains interactive, reproducible examples of every diagnostic code emitted by Zenzic.
Quick-Run Pattern
To run any of these scenarios locally:
uvx zenzic lab # gallery menu
uvx zenzic lab z101 # run the Z101 scenario
uvx zenzic lab all # run all 20 scenarios
Diagnostic Categories
Z1xx - Link Integrity
7 items
Z2xx - Security & Secrets
3 items
Z3xx - Reference Integrity
3 items
Z4xx - Topology & Assets
6 items
Z5xx - Content Quality
4 items
Z6xx - Brand & i18n Governance
2 items
Feature-to-Example Matrix
| Z-Code | Violation Class | Example |
|---|---|---|
| Z101 | Broken internal links | z101-broken-links |
| Z102 | Fragment anchor not defined | z102-anchor-missing |
| Z103 | Link to nav-orphaned page | z103-orphan-link |
| Z105 | Absolute path in link | z105-absolute-path |
| Z108 | Empty link text | z108-empty-link-text |
| Z201 | Credential / secret detection | z201-credentials |
| Z202 | Docs-root path traversal | z202-path-traversal |
| Z204 | Forbidden governance term | z204-forbidden-term |
| Z301 | Dangling reference-style link | z301-dangling-ref |
| Z302 | Unused reference definition | z302-dead-def |
| Z303 | Duplicate reference definition | z303-duplicate-def |
| Z402 | Markdown page not in nav | z402-orphan-page |
| Z403 | Image missing alt text | z403-missing-alt |
| Z405 | Unreferenced asset on disk | z405-unused-assets |
| Z501 | Stub / TODO placeholder content | z501-placeholder |
| Z502 | Page below minimum word count | z502-short-content |
| Z503 | Python snippet syntax error | z503-snippet-error |
| Z505 | Untagged fenced code block | z505-untagged-code-block |
| Z601 | Deprecated brand name in content | z601-brand-obsolescence |
| Z602 | i18n locale file parity gap | z602-i18n-parity |
See Also
- Architecture — Adapter vs Integration model.
- Discovery & Exclusion — How the Layered Exclusion hierarchy works.
- Checks Reference — All available
zenzic checkcommands and their findings. - CLI Reference — lab — Full documentation for
zenzic lab.