Skip to content

Validation and Audit

Bowerbird validates notes against your schema and helps fix violations.

  • Hard enforcementbwrb new and bwrb edit refuse to create invalid notes
  • Soft enforcement — Manual edits can break the schema; bwrb audit catches drift

Check your entire vault:

Terminal window
bwrb audit

Check specific types:

Terminal window
bwrb audit --type task

Audit catches:

  • Missing required fields
  • Invalid field values (not in enum options)
  • Type mismatches
  • Malformed frontmatter

Preview fixes:

Terminal window
bwrb audit --fix

Apply fixes:

Terminal window
bwrb audit --fix --execute

Run audit in CI to catch schema violations:

Terminal window
bwrb audit --output json
# Exit code 1 if violations found