"""Knowtation domain plugin — vault-native version control for Markdown knowledge bases. Treats a Knowtation vault as a structured system of notes with YAML frontmatter, Markdown sections, wikilinks, entity references, and mist attachments. Two commits that only reformat whitespace in a note produce no semantic delta. Tag-set unions and frontmatter key additions auto-merge without conflicts. Language support ---------------- - Markdown notes (*.md): full frontmatter + section-level semantic tracking. - All other vault files: file-level tracking with raw-bytes identity. Extending semantic support -------------------------- Implement a ``NoteAdapter`` in ``muse/plugins/knowtation/parser.py`` for a new file format and register it in ``ADAPTERS``. The plugin will automatically use it for diff and merge operations. Side effects on import ---------------------- Importing this package eagerly calls :func:`muse.plugins.knowtation.hooks.register_knowtation_hook` so the ``muse merge --consolidate`` flag finds the consolidation hook in the process-wide singleton without callers needing to wire it up by hand. The registration is idempotent and never performs any I/O. """ from muse.plugins.knowtation.hooks import register_knowtation_hook register_knowtation_hook()