/** * `openlore change-status` computes the evidence pass documented in * `openspec/changes/STATUS.md` (change: add-change-evidence-audit). * * This command deliberately does not decide whether an implementation is correct * and never mutates the OpenSpec lifecycle. Validation and archiving remain owned * by the `openspec` CLI. */ import { Command } from 'commander'; export declare const EVIDENCE_DISCLAIMER = "Verdicts reflect documented evidence signals, not runtime correctness."; export declare const BUILT_UNMARKED_CAVEAT = "verify against code before trusting"; export type ChangeVerdict = 'built' | 'built-unmarked' | 'partially-built' | 'unbuilt' | 'not-assessed'; export interface MarkerReceipt { file: string; line: number; } export interface RequirementReceipt { domain: string; name: string; deltaFile: string; present: boolean; } export interface ValidationReceipt { passes: boolean; error?: string; } export interface TaskProgress { checked: number; total: number; } export interface ChangeStatusResult { name: string; verdict: ChangeVerdict; marker: { present: boolean; receipts: MarkerReceipt[]; }; requirementsSynced: { all: boolean; synced: number; total: number; requirements: RequirementReceipt[]; }; validates: ValidationReceipt; tasks: TaskProgress; archivableCandidate: boolean; caveat?: string; assessmentError?: string; evidenceDisclaimer: string; } export type ValidateChange = (rootPath: string, name: string) => Promise; interface AuditOptions { rootPath: string; name?: string; validateChange?: ValidateChange; } /** Invoke OpenSpec's validator. OpenLore intentionally does not reproduce it. */ export declare function validateWithOpenSpec(rootPath: string, name: string): Promise; export declare function auditChangeStatuses(options: AuditOptions): Promise; export declare function renderStatusTable(results: ChangeStatusResult[]): string; export interface ChangeStatusCliOptions { rootPath?: string; name?: string; json?: boolean; table?: boolean; validateChange?: ValidateChange; } export declare function runChangeStatusCli(options: ChangeStatusCliOptions): Promise; export declare const changeStatusCommand: Command; export {}; //# sourceMappingURL=change-status.d.ts.map