/** * `aidlc status` command — show progress across active lifecycle instances. * * Behavior: * - Scan `.aidlc/state/` for instance directories. * - For each instance: load instance.yaml, load phase states, resolve template. * - Compute: completionPercent, isStalled, current owner. * - Output a table (default) or JSON array (with --json). * * Table columns: Name | Template | Phase | Completion | Owner | Stalled * * Options: * --json Machine-readable JSON output (Req 9.2, 11.4) * --all Include instances from all local branches (Req 23.6) * * Requirements: 11.1, 11.2, 11.3, 11.4 * * @module */ import { Command } from 'commander'; /** * Register the `aidlc status` command on the given commander program. */ export declare function registerStatus(program: Command): void; /** * `feedbackLoopNotices` under a stable name for tests. * * Exported rather than made public because the notices are an internal detail of * `aidlc status` output, but the *conditions* they fire on — a lessons file that is * big while being neither long nor old — are load-bearing and need asserting directly * rather than through a whole rendered status screen. * * @param projectRoot - Absolute project root. */ export declare function feedbackLoopNoticesForTest(projectRoot: string): string[]; /** * Instances whose current phase has run past the stalled threshold, as `aidlc status` * flags them — the same private functions, so the console's list and the status table * cannot disagree (aidlc-console/AC-4). Never throws: an unreadable state dir reads as none. */ export declare function stalledInstances(projectRoot: string, now?: Date): { name: string; phase: string; }[]; /** One unfinished instance, as the operator dashboard's idle rows list it (operator-console/AC-17). */ export interface InstanceRow { name: string; phase: string; percent: number; /** As the `aidlc status` cost column writes it: `$1.20`, `-`, `unmeasured`. */ cost: string; stalled: boolean; /** When the instance last moved (epoch ms), for "stalled 9d"; null when unreadable. */ activeSinceMs: number | null; } /** * Every instance that is not complete (under 100% and not resting in maintenance), built from the same private functions as * the `aidlc status` table, so the dashboard's panel and the table cannot disagree * (operator-console/AC-17). Templates and cost config are loaded once per call. */ export declare function instanceRows(projectRoot: string, now?: Date): InstanceRow[]; //# sourceMappingURL=status.d.ts.map