"""vault_core — the one library everything uses to touch a vault.

Unifies the six drifted vault-locators and four config-loaders documented in
docs/V3-P1-VAULT-CORE.md, and absorbs the existing link/graph logic from
`vault_integrity.py` and sweep's `_note_index` (parity enforced by
tests/test_vault_core.py against the template originals).

Every function takes the vault path explicitly — this package is app-side and
never rendered into a vault (docs/V3-PLAN.md §1.5).
"""
from .locate import VaultNotFoundError, is_vault, locate_vault  # noqa: F401
from .config import load_config  # noqa: F401
from .fs import (  # noqa: F401
    JailError,
    append_text,
    canonical_rel,
    delete,
    glob,
    grep,
    list_dir,
    mkdir,
    move,
    read_text,
    tree,
    write_text,
)
from .graph import analyze_links, build_graph, note_index, parse_wikilinks  # noqa: F401
from . import sections  # noqa: F401
