import { type ArtifactBundle } from "../io/artifacts.js"; import type { AuditState, AuditTopLevelStatus } from "../types/auditState.js"; export interface AuditCodeHandoffInput { flag: "--results" | "--batch-results" | "--updates" | "--external-analyzer-results"; suggested_path: string; description: string; } export interface AuditCodeHandoffArtifactPaths { operator_inputs_dir: string; operator_handoff_json: string; operator_handoff_markdown: string; session_config: string; run_ledger: string; current_review_run: string | null; current_prompt: string | null; current_tasks: string | null; audit_tasks: string | null; runtime_validation_tasks: string | null; friction_record: string; } /** Provider-neutral persisted identity for one semantic-review frontier. */ export interface ActiveReviewRun { contract_version: "audit-review-run/v1alpha1"; run_id: string; review_run_path: string; pending_audit_tasks_path: string; host_workload_path: string; host_result_map_path: string; } export interface AuditCodeHandoff { status: AuditTopLevelStatus; repo_root: string; artifacts_dir: string; summary: string; pending_obligations: string[]; suggested_inputs: AuditCodeHandoffInput[]; suggested_commands: string[]; artifact_paths: AuditCodeHandoffArtifactPaths; active_review_run?: ActiveReviewRun; quick_start?: string; file_map?: Record; } /** * Where an OPERATOR drops files they pass to a CLI import flag * (`--results`, `--batch-results`, `--updates`, * `--external-analyzer-results`). Distinct from `submissions/`: those paths are * tool-computed and a host may not choose them, whereas these are advisory * suggestions for a human who names the file on the command line. */ export declare const OPERATOR_INPUTS_DIRNAME = "operator-inputs"; export declare const OPERATOR_HANDOFF_JSON_FILENAME = "operator-handoff.json"; export declare const OPERATOR_HANDOFF_MARKDOWN_FILENAME = "operator-handoff.md"; export declare const RUN_LEDGER_FILENAME = "run-ledger.json"; export declare const CURRENT_TASK_FILENAME = "current-review-run.json"; export declare const CURRENT_TASKS_FILENAME = "current-tasks.json"; export declare const AUDIT_TASKS_FILENAME = "audit_tasks.json"; export declare const RUNTIME_VALIDATION_TASKS_FILENAME = "runtime_validation_tasks.json"; export declare function buildAuditCodeHandoff(params: { root: string; artifactsDir: string; state: AuditState; bundle: ArtifactBundle; progressSummary: string; isConfigError?: boolean; activeReviewRun?: ActiveReviewRun; }): AuditCodeHandoff; export declare function writeAuditCodeHandoffArtifacts(handoff: AuditCodeHandoff): Promise; //# sourceMappingURL=operatorHandoff.d.ts.map