import { type SessionCostSummary } from "../cost/cost-summary.ts"; import type { GateOutcomeKind } from "./contracts.ts"; export interface AutonomyStatusSnapshot { latestRoute?: { tier: string; reasonCode: string; risk?: string; }; latestGate?: { outcome: string; gate: string; reasonCode: string; }; costSummary?: SessionCostSummary; activeGoal?: { goalId: string; status: string; openRequirements?: number; stallTurns?: number; }; activeLaneCount?: number; } /** * One bounded entry in AgentSession's gate-outcome history (G8). Codes/ids only — never the gate's * human-facing `message`. The most recent entry is the tail; `at` is an ISO timestamp. */ export interface GateOutcomeHistoryEntry { outcome: GateOutcomeKind; gate: string; reasonCode: string; at: string; } export interface DiagnosticEntry { title: string; summary?: string; reasonCode?: string; metadata?: Record; } export interface AutonomyDiagnosticSnapshot { routes?: readonly DiagnosticEntry[]; gates?: readonly DiagnosticEntry[]; costs?: readonly DiagnosticEntry[]; research?: readonly DiagnosticEntry[]; delegation?: readonly DiagnosticEntry[]; learning?: readonly DiagnosticEntry[]; goals?: readonly DiagnosticEntry[]; processMemory?: readonly DiagnosticEntry[]; } export declare function formatAutonomyStatus(args: AutonomyStatusSnapshot): string; export declare function formatAutonomyDiagnostics(args: AutonomyDiagnosticSnapshot): string; //# sourceMappingURL=status.d.ts.map