#!/usr/bin/env bash # ============================================================================= # registry.sh - Knowledge Genome Registry # Dynamic paths and genome definitions. # ============================================================================= # Guard against double sourcing [[ -n "${_REGISTRY_LOADED:-}" ]] && return _REGISTRY_LOADED=1 # Resolve project root relative to this file PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # Dynamic paths WORK_DIR="${PROJECT_ROOT}" KEYS_DIR="${WORK_DIR}/keys" TEMPLATES_DIR="${PROJECT_ROOT}/templates" LIB_DIR="${PROJECT_ROOT}/lib" PROVIDERS_DIR="${PROJECT_ROOT}/providers" # --- GENOME REGISTRY --- # Format: "name|description|linked_repo|cross_source" # - linked_repo: OPTIONAL. Leave empty for knowledge-only genomes. # - cross_source: "yes" or "no" (default: no). Controls whether the collector # may read this genome as a source during cross-genome pulls. # # HOW TO CUSTOMIZE: # Replace the placeholder below with your actual genome domains. # Example: "genome-work|Work notes and architecture logs||no" # "genome-finance|Personal finance|user/repo-finance|no" GENOMES=( # Disposable sandbox: exercise the full pipeline (ingest -> PR) end-to-end. # Created by `make setup`. Replace with real domains once the circle is validated. "genome-test|Disposable sandbox for pipeline testing||no" )