Skip to content

Z104: FILE_NOT_FOUND

  • Severity: Error


    Penalty: 0.0 points | Category: general

  • Remediation & Opt-In


    Auto-Fixable: No | Opt-In: No


Rationale

This rule is emitted when a document references a local binary or image asset (such as a PDF, ZIP archive, or PNG file) using a relative path, but the file is missing from the local workspace filesystem.


How to Fix

Inspect the flagged location in the Markdown file and update the content or configuration:

  • Failing Pattern (Triggers Z104)


    docs/example.md
    <!-- BAD: Image asset file missing on disk -->
    ![System Topology](../assets/diagrams/topology-v2.png)
    
  • Passing Pattern (Resolves Z104)


    docs/example.md
    <!-- GOOD: Referenced image asset exists on disk -->
    ![System Topology](../assets/diagrams/topology.png)
    

Configuration

.zenzic.toml
# .zenzic.toml - Set relative docs root directory
docs_dir = "docs"

Reference

See the Finding Codes Index for finding code details.