/** * FeltDB's own architectural invariants, as durable declarations. * * `docs/history/reports/VISION_INVARIANTS.md` is the human-readable source. * This module is the same statements in the durable model, carrying the stable * ids `FELTDB-001` … `FELTDB-009` that appear in that document, so the two can * be compared rather than silently diverging. `npm run check:vision-invariants` * compares them on every change. * * FeltDB is the first consumer of its own invariant substrate. It declares * what must remain true; an advisory evaluator says whether the evidence it * collected looks consistent with that, and the evaluation is retained here. * Nothing in this module evaluates anything. */ import type { CreateArchitectureInvariantInput, FeltDBArchitectureInvariantService } from './architecture-invariant.js'; import type { ArchitectureInvariant } from './architecture-invariant.js'; /** Scope every FeltDB invariant is declared over. */ export declare const FELTDB_VISION_SCOPE = "feltdb"; /** Category grouping the invariants that come from the Vision Invariants document. */ export declare const FELTDB_VISION_CATEGORY = "vision"; /** * The declarations, in document order. * * Each `description` is the statement as the Vision Invariants document words * it. Each `verification` entry names something that exists in this repository * — a test, a repository check, or the source that implements the invariant — * so an evaluator has somewhere real to look, and `human-review` is used where * the honest answer is that a person decides. */ export declare const FELTDB_VISION_INVARIANTS: readonly CreateArchitectureInvariantInput[]; export interface SeedInvariantOutcome { id: string; /** `created` on first declaration, `versioned` when the wording changed. */ outcome: 'created' | 'versioned' | 'unchanged'; version: number; invariant: ArchitectureInvariant; } /** * Declare FeltDB's own invariants into a FeltDB database. * * Idempotent, and honest about what it did: an invariant that is already * declared with the same wording is left alone, and one whose wording changed * becomes a new version rather than a rewrite of the old one. */ export declare function seedFeltDBVisionInvariants(service: FeltDBArchitectureInvariantService, declarations?: readonly CreateArchitectureInvariantInput[], reason?: string): Promise; //# sourceMappingURL=feltdb-vision-invariants.d.ts.map