Validation and Audit
Bowerbird validates notes against your schema and helps fix violations.
Hard vs Soft Enforcement
Section titled “Hard vs Soft Enforcement”- Hard enforcement —
bwrb newandbwrb editrefuse to create invalid notes - Soft enforcement — Manual edits can break the schema;
bwrb auditcatches drift
Running Audit
Section titled “Running Audit”Check your entire vault:
bwrb auditCheck specific types:
bwrb audit --type taskCommon Issues
Section titled “Common Issues”Audit catches:
- Missing required fields
- Invalid field values (not in enum options)
- Type mismatches
- Malformed frontmatter
Fixing Issues
Section titled “Fixing Issues”Preview fixes:
bwrb audit --fixApply fixes:
bwrb audit --fix --executeCI Integration
Section titled “CI Integration”Run audit in CI to catch schema violations:
bwrb audit --output json# Exit code 1 if violations foundNext Steps
Section titled “Next Steps”- Migrations — Evolving your schema over time
- Bulk operations — Batch fixes