/** * ADR DB Sync (ADR-017) * * Syncs ADR markdown frontmatter into the architecture_decisions DB table. * * Single command: ct adr sync (or admin.adr.sync) * - Updates architecture_decisions + adr_task_links in SQLite (runtime search) * * NOTE: `.cleo/adrs/adr-index.jsonl` is FROZEN as of T10165 (Saga T9855). The * canonical store for the same metadata is the `attachments` table provenance * columns shipped by T10158, reachable via `cleo docs fetch ` and * the docs SSoT graph (T10162/T10164). This sync no longer writes the JSONL; * the file is preserved on disk for one deprecation cycle so external scripts * that still read it continue to work — append a NEW line to it and the * `cleo check canon docs` gate fails with `E_ADR_INDEX_JSONL_FROZEN`. * * This file is DISTINCT from the agent pipeline_manifest (ADR-027). The * pipeline_manifest for agent outputs lives in tasks.db and is accessed via * `cleo manifest` CLI. * * @task T4792 * @task T4942 — ADR index generation folded in so one command keeps both in sync * @task T10165 — adr-index.jsonl write path retired; backfilled into attachments */ import type { AdrSyncResult } from './types.js'; /** * Sync all ADR markdown files into the architecture_decisions table. * * As of T10165 (Saga T9855) the `.cleo/adrs/adr-index.jsonl` portability * export is frozen — the canonical store for the same metadata is now the * `attachments` table (T10158 provenance columns). */ export declare function syncAdrsToDb(projectRoot: string): Promise; //# sourceMappingURL=sync.d.ts.map