/** * `enterprise-skills validate` — is the authority pack actually there? * * `session-start` Step 2 has to answer that question before it loads anything, * and R1 #2 (docs/WIRING_PROBES_DESIGN.md §9) asks it to answer with a machine * verdict rather than by eyeballing a directory. Three states, because the * remedies differ: * * absent — no `.project-ai/` at all → run `enterprise-skills init` * partial — pack exists, required files missing or unparseable → name them * complete — all six required files present and valid YAML * * "partial" is the state that mattered: a pack missing `ACTIVE_RULES.yaml` * loaded fine and silently governed the session with no active rules. */ export type AuthorityPackState = 'complete' | 'partial' | 'absent'; export interface ValidateReport { state: AuthorityPackState; pack_dir: string; required: string[]; /** Required files that do not exist. */ missing_required: string[]; /** Required files that exist but are not valid YAML. */ invalid: string[]; optional_missing: string[]; errors: Array<{ code: string; message: string; }>; warnings: Array<{ code: string; message: string; }>; /** The single next action, already resolved for the caller. */ recommendation: string; } export interface ValidateOptions { json?: boolean; cwd?: string; } export declare function buildValidateReport(projectPath: string): ValidateReport; export declare function validateCommand(options?: ValidateOptions): Promise; //# sourceMappingURL=validate.d.ts.map