PS: YANP Audit
The audit-yanp.ps1 script is the primary compliance tool for the vault. It ensures that all notes in 01_Wiki/ adhere to the Yet Another Note Protocol.
Functional Checks
- Kebab-Case: Verifies that filenames are lowercase and hyphen-separated.
- Metadata Integrity: Scans for a valid
typefield in the YAML frontmatter (permanent,literature, orfleeting).
Usage
powershell.exe -ExecutionPolicy Bypass -File 02_System/audit-yanp.ps1
Output
Returns a table showing each file's status across all checks. It highlights non-compliant files in red for rapid identification.