Z001: CORE_CONFIG_STRUCTURE
Severity: error
Penalty: 0.0 (Fatal)
Category: config
Auto-fixable: No
Rationale¶
This rule is emitted prior to document scanning when .zenzic.toml contains invalid TOML syntax, malformed table headers, unclosed quotes, or data type mismatches (such as supplying a string where a boolean or array is expected).
An invalid configuration halts execution immediately (Exit 1) before any filesystem scan begins to prevent unpredictable behavior across the workspace.
How to Fix¶
Inspect the flagged location in the Markdown file and update the content or configuration:
Bad (Triggers Z001)¶
# .zenzic.toml - BAD: String supplied to boolean setting & unclosed header
strict = "yes"
[governance.directory_policies
Good (Resolves Z001)¶
# .zenzic.toml - GOOD: Valid TOML data types and headers
strict = true
[governance.directory_policies]
"docs/blog/**" = ["Z410"]
Configuration¶
Reference¶
See the Finding Codes Index for finding code details.