/** * `verification` setup wizard section (E-CLEO-SETUP-V2 / T9594). * * Read-only health-check runner that validates the full CLEO configuration * stack after the wizard has finished writing all other sections. No state * is mutated — this section is a diagnostic surface only. * * The section runs 6 independent checks in order: * * 1. **credential-pool** — at least one entry exists in the pool. * 2. **credential-reach** — first valid credential round-trips to its * provider health endpoint (5 s timeout). * 3. **config-integrity** — global + project config files parse cleanly. * 4. **harness-reach** — detected harness responds: * Pi → HTTP GET `/health` (3 s). * Code → `which claude` exits 0. * 5. **signaldock-reach** — if `signaldock.enabled`, HTTP GET to * `/health` (3 s); SKIP otherwise. * 6. **brain-db** — `brain.db` exists on disk and opens * without error. * * Each check yields a {@link VerificationCheck} carrying `PASS`, `FAIL`, or * `SKIP`. The runner aggregates results and surfaces them via {@link WizardIO}: * - Interactive → formatted text table (one line per check). * - Non-interactive → JSON array of {@link VerificationCheck} entries. * * The section always returns `{changed: false}` (read-only contract, VERIF-1). * `isConfigured()` always returns `false` — verification always runs when * included in a wizard pass (VERIF-6). * * @task T9594 * @epic T9591 * @see docs/plans/E-CLEO-SETUP-V2.md §4.9, §5.2 T9594 */ import type { WizardSectionRunner } from '../wizard.js'; /** * Outcome of a single verification check. * * @task T9594 */ export interface VerificationCheck { /** Short identifier shown in the results table (kebab-case). */ name: string; /** Whether the check passed, failed, or was intentionally skipped. */ status: 'PASS' | 'FAIL' | 'SKIP'; /** One-line human-readable result message. */ message: string; } /** * Build the `verification` section runner. * * The runner is read-only — it never mutates config or DB state (VERIF-1). * `isConfigured()` always returns `false` so the section is never skipped * even when the rest of the wizard short-circuits (VERIF-6). * * @returns A {@link WizardSectionRunner} for the verification section. * @task T9594 */ export declare function createVerificationSection(): WizardSectionRunner; //# sourceMappingURL=verification.d.ts.map