Skip to content

cortex connect sync --provider obsidian — bidirectional vault sync #272

Closed

Description

@hurttlocker

Summary

Obsidian as a Cortex connector: read vault notes back INTO Cortex with conflict-safe upsert.

CLI Interface

cortex connect sync --provider obsidian [--vault <path>] [--extract] [--bidirectional]

Features

  • Inbound: read .md files from vault, extract facts, import to Cortex
  • Conflict-safe upsert: new facts merge, existing facts update confidence
  • Frontmatter-aware: parse YAML frontmatter as structured metadata
  • Wikilink-aware: resolve [[links]] to Cortex entity relationships
  • Tag-aware: map Obsidian tags to Cortex fact types/classes
  • Incremental: only process files modified since last sync
  • --bidirectional: export + import in single pass

Connector Pattern

Follow existing connector interface (connect.go): GitHub, Gmail, Calendar, Drive, Slack, Notion, Discord, Telegram.

Part of epic #267

Activity

  1. added
    enhancement
    on Feb 28, 2026
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