/** * Noah — noah_time Tool * * BB Spec §5: Every agent can call noah_time to get temporal context * before making decisions. This is Noah's primary fleet-facing interface. */ import type { SqliteTemporalStore } from '../store/sqlite-store.js'; export interface NoahTimeParams { action: 'context' | 'assessment_window' | 'fleet_schedule'; agentId?: string; } export interface NoahTimeResponse { timestamp: string; fleetAge: { days: number; phase: string; phaseDay: number; }; assessmentCadence: { lastAssessment: string | null; nextScheduled: string | null; hoursSinceLastAssessment: number; isOverdue: boolean; }; corridorStatus: { currentCorridor: 'GREEN' | 'YELLOW' | 'RED'; tdi: number; driftDirection: 'improving' | 'stable' | 'degrading'; }; cron: { nextFiveJobs: CronJobSummary[]; activeJobCount: number; }; } export interface CronJobSummary { id: string; name: string; agentId: string; nextRun: string | null; constitutional: boolean; } export declare function handleNoahTime(store: SqliteTemporalStore, params: NoahTimeParams): NoahTimeResponse; //# sourceMappingURL=noah-time.d.ts.map