Skip to content

cortex export obsidian --validate — graph health + sync validator #269

Closed

Description

@hurttlocker

Summary

Built-in validation for Obsidian exports: orphan detection, broken link finder, link density stats, sync integrity checks.

Port from

scripts/obsidian_graph_health.sh + scripts/obsidian_sync_validator.sh (x7's implementation)

CLI Interface

cortex export obsidian --validate [--vault <path>] [--output <dir>]

Checks

  • Orphan notes (no inbound + outbound links)
  • Broken/unresolved wikilinks
  • Missing dashboard links (topic/entity not referenced)
  • Low-outbound files (< 2 links)
  • Link density stats (avg incoming/outgoing per file)
  • Pass/fail exit code (0 = pass, 1 = issues found)

Output

JSON report + human-readable summary. Non-zero exit on failures for CI/cron use.

Part of epic #267

Activity

  1. added
    enhancement
    on Feb 28, 2026
  2. hurttlocker commented on Feb 28, 2026

    @hurttlocker
    OwnerAuthor

    Shipped in v1.3.0-dev — merged to main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions