import { type ProbeResult } from '@enterprise-skills/probes'; /** * `enterprise-skills probe` — run the deterministic wiring probes * (docs/WIRING_PROBES_DESIGN.md §2, §8). * * The probes execute against the DEPLOYED system and emit the skill-output * evidence the Release Governor already consumes, so a wiring failure blocks a * merge through the gate that already exists. There is no new gate and no * second decision path. * * Exit codes are distinct on purpose (§9, R1 #4): "your deployment is missing * config" and "I could not check your deployment" are different problems and a * CI job should be able to tell them apart without parsing prose. * 0 — verified, no error-severity findings * 1 — verified, error-severity findings present (a real wiring defect) * 3 — UNVERIFIED: the probe could not reach the deployed configuration */ export declare const EXIT_FINDINGS = 1; export declare const EXIT_UNVERIFIED = 3; /** Evidence filename for a probe: `probe-` under skill-outputs. */ export declare function evidenceSkillId(probeId: string): string; export interface ProbeRunOptions { provider?: string; environment?: string; evidence?: boolean; includeTests?: boolean; json?: boolean; cwd?: string; /** Injectable for tests. */ git?: (args: string) => string; now?: () => Date; } export declare function probeListCommand(options?: { json?: boolean; cwd?: string; }): void; export declare function probeInitCommand(options?: { cwd?: string; force?: boolean; }): boolean; export declare function probeRunCommand(probeId: string | undefined, options?: ProbeRunOptions): Promise; export declare function exitCodeFor(results: ProbeResult[]): number; export interface CommitBinding { commit?: string; /** Squash-durable half of the binding; present exactly when `commit` is. */ sourceDigest?: string; /** Why the evidence carries no binding, when it does not. */ reason?: string; } /** * A probe reads the WORKING TREE, so it may only bind to HEAD when the tree is * HEAD — apart from the evidence directory itself, whose delta the Governor * already allows (§8 binding v1.1). A dirty tree yields no binding at all: the * Governor then treats the evidence as stale, which is exactly right. Stamping * HEAD anyway would assert a review of code HEAD does not contain, which is the * fabrication that binding v1.1 closed. */ export declare function resolveCommitBinding(cwd: string, gitImpl?: (args: string) => string): CommitBinding; //# sourceMappingURL=probe.d.ts.map