/** * Phase 3 instruction builder (status judgment) * * Builds instructions for the conductor agent to evaluate work results * and output the appropriate status tag. Supports report-based and * response-based input sources. * * Renders a single complete template combining the judgment header * and status rules (criteria table + output format). */ import type { WorkflowStep, Language } from '../../models/types.js'; import { type SemanticRuleCandidate } from '../../models/workflow-rule-condition.js'; /** * Context for building status judgment instruction. */ export interface StatusJudgmentContext { /** Language */ language?: Language; /** Whether interactive-only rules are enabled */ interactive?: boolean; /** Pre-read report content (from gatherInput) */ reportContent?: string; /** Last response from Phase 1 (from gatherInput) */ lastResponse?: string; /** Input source type for fallback strategies */ inputSource?: 'report' | 'response'; /** When true, omit tag output instructions (structured output schema handles format) */ structuredOutput?: boolean; /** Selectable semantic labels shared with all Phase 3 judge stages. */ semanticCandidates?: SemanticRuleCandidate[]; } /** * Builds Phase 3 (status judgment) instructions. * * Renders a single complete template with all variables. */ export declare class StatusJudgmentBuilder { private readonly step; private readonly context; constructor(step: WorkflowStep, context: StatusJudgmentContext); build(): string; /** * Build judgment content from pre-read report content. */ private buildFromReport; /** * Build judgment content from last response. */ private buildFromResponse; } //# sourceMappingURL=StatusJudgmentBuilder.d.ts.map