import { type ValidationResult } from "./schemas.js"; export declare const VERICIFY_PROCESS_POST_LOG_REL_PATH = "agent-state/vericify/process-posts.json"; export declare const VERICIFY_PROCESS_POST_LOG_SCHEMA_REL_PATH = "agent-state/MODULES/schemas/VERICIFY_PROCESS_POST_LOG.schema.json"; export declare const VERICIFY_PROCESS_POST_LOG_SCHEMA_NAME = "vericify-process-post-log@1.0.0"; export declare const VERICIFY_BRIDGE_SNAPSHOT_REL_PATH = "agent-state/vericify/ace-bridge.json"; export declare const VERICIFY_BRIDGE_SNAPSHOT_SCHEMA_REL_PATH = "agent-state/MODULES/schemas/VERICIFY_BRIDGE_SNAPSHOT.schema.json"; export declare const VERICIFY_BRIDGE_SNAPSHOT_SCHEMA_NAME = "vericify-bridge-snapshot@1.0.0"; type VericifyProcessPostKind = "intent" | "progress" | "blocker" | "handoff_note" | "stale_ack" | "completion"; export interface VericifyProcessPost { process_post_id: string; run_id: string; branch_id?: string; lane_id?: string; agent_id: string; kind: VericifyProcessPostKind; summary: string; tool_refs: string[]; evidence_refs: string[]; checkpoint_ref?: string; timestamp: string; } export interface VericifyProcessPostLog { version: 1; updated_at: string; posts: VericifyProcessPost[]; } export interface VericifyBridgeSourceState { path: string; exists: boolean; updated_at?: string; record_count: number; summary: string; } export interface VericifyRunRef { run_id: string; branch_id: string; lane_id: string; } export interface VericifyBridgeActiveRunRef extends VericifyRunRef { session_id: string; status: string; objective_id?: string; tracker_item_id?: string; workspace_path: string; updated_at: string; } interface ExecutorRegistrySessionLike { session_id: string; status: string; objective_id?: string; tracker_item_id?: string; workspace_path: string; updated_at: string; } export interface VericifyBridgeSnapshot { version: 1; generated_at: string; bridge_enabled: boolean; workspace_root: string; runtime_profile_path: string; bridge_path: string; process_post_path: string; sources: { handoff_registry: VericifyBridgeSourceState; todo_state: VericifyBridgeSourceState; run_ledger: VericifyBridgeSourceState; status_events: VericifyBridgeSourceState; runtime_workspaces: VericifyBridgeSourceState; runtime_executor_sessions: VericifyBridgeSourceState; tracker_snapshot: VericifyBridgeSourceState; process_posts: VericifyBridgeSourceState; }; active_run_refs: VericifyBridgeActiveRunRef[]; } export interface VericifyBridgeSnapshotResult { ok: boolean; schema: typeof VERICIFY_BRIDGE_SNAPSHOT_SCHEMA_NAME; path: string; snapshot?: VericifyBridgeSnapshot; errors?: string[]; } export declare function deriveVericifyRunRef(session: Pick): VericifyRunRef; export declare function deriveWorkspaceVericifyRunRef(input: { session_id: string; role?: string; }): VericifyRunRef; export declare function isVericifyBridgeEnabled(): boolean; export declare function getVericifyProcessPostLogPath(): string; export declare function getVericifyBridgeSnapshotPath(): string; export declare function validateVericifyProcessPostLogContent(raw: string): ValidationResult; export declare function validateVericifyBridgeSnapshotContent(raw: string): ValidationResult; export declare function loadVericifyProcessPostLog(): { ok: boolean; schema: typeof VERICIFY_PROCESS_POST_LOG_SCHEMA_NAME; path: string; log?: VericifyProcessPostLog; errors?: string[]; }; export declare function loadVericifyBridgeSnapshot(): VericifyBridgeSnapshotResult; export declare function appendVericifyProcessPost(input: { run_id: string; branch_id?: string; lane_id?: string; agent_id: string; kind: VericifyProcessPostKind; summary: string; tool_refs?: string[]; evidence_refs?: string[]; checkpoint_ref?: string; timestamp?: string; }): Promise<{ path: string; post: VericifyProcessPost; }>; export declare function appendVericifyProcessPostSafe(input: { run_id: string; branch_id?: string; lane_id?: string; agent_id: string; kind: VericifyProcessPostKind; summary: string; tool_refs?: string[]; evidence_refs?: string[]; checkpoint_ref?: string; timestamp?: string; }): Promise<{ ok: boolean; path: string; post?: VericifyProcessPost; error?: string; }>; export declare function buildVericifyBridgeSnapshot(): VericifyBridgeSnapshot; export declare function refreshVericifyBridgeSnapshot(): { ok: boolean; path: string; snapshot?: VericifyBridgeSnapshot; error?: string; }; export declare function refreshVericifyBridgeSnapshotSafe(): { ok: boolean; path: string; snapshot?: VericifyBridgeSnapshot; error?: string; }; export {}; //# sourceMappingURL=vericify-bridge.d.ts.map