Skip to content

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

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
Z104 Relative link target missing z104-file-not-found
Z105 Absolute path in link z105-absolute-path
Z107 Self-referential anchor link z107-circular-anchor
Z108 Empty link text z108-empty-link-text
Z109 External link is broken z109-external-link-broken
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
Z401 Missing directory index z401-missing-directory-index
Z402 Markdown page not in nav z402-orphan-page
Z403 Image missing alt text z403-missing-alt
Z404 Configured asset missing z404-config-asset-missing
Z405 Unreferenced asset on disk z405-unused-assets
Z406 Navigation contract violation z406-nav-contract
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