/** * Canonical phase vocabulary for task-node authoring. * Legacy JSON field names are preserved for migration; use these types in docs and validators. * * @see ../../../../GLOSSARY.md (monorepo root) */ /** PRE-phase utility work before the skill (legacy: taskConfiguration.aiTaskStrategies). */ export interface PrePhaseUtilityConfig { /** * PRE-phase utility strategy key (catalog / xynthesis key, e.g. `"synthesis"`). * @legacy `aiTaskStrategies.pre` */ strategyKey?: string | Record; /** * @deprecated Path-driven synthesis — use inputsConfig / smartInput.paths. Stripped on normalize. * @legacy `aiTaskStrategies.preInputStrategy` or `taskConfiguration.preInputStrategy` */ inputSourcePolicy?: string | Record; [key: string]: unknown; } /** POST-phase utility work after the skill (legacy: taskConfiguration.aiTaskStrategies.post). */ export interface PostPhaseUtilityConfig { /** * POST-phase utility strategy key. * @legacy `aiTaskStrategies.post` */ strategyKey?: string | Record; /** * @legacy `taskConfiguration.postInputStrategy` */ inputSourcePolicy?: string | Record; [key: string]: unknown; } /** * Skill input synthesis (inside MAIN `runTask`) — NOT the same as PRE-phase utility `strategyKey: "synthesis"`. * Canonical doc name: skillProfile.inputSynthesis * @legacy `taskConfiguration.aiTaskProfile.inputSynthesis` */ export type InputSourceSelector = "input" | "jobMemory" | "jobMemory.context"; export interface SkillInputSynthesisProfile { /** * @deprecated Use aiTaskProfile.preSynthesis.enabled or aiTaskStrategies.pre: "synthesis". */ enabled?: boolean; /** @deprecated Forbidden in 2.15 */ contextSourcePolicy?: never; /** @deprecated Forbidden in 2.15 */ inputSources?: never; /** @deprecated Forbidden in 2.15 — reads are fixed (input, jobMemory). */ sources?: never; /** Optional durable write destination mirror (xynthesizedOutput on compiled unit). */ destination?: string; outputKey?: string; [key: string]: unknown; } export interface PreSynthesisProfile { enabled?: boolean; [key: string]: unknown; } /** MAIN phase: skill execution and optional wrappers (legacy: executionStrategies). */ export interface MainPhaseConfig { /** * ai-tasks MAIN invocation wrappers. `[]` = explicit plain MAIN (omit ≠ [] for strict graphs). * @legacy `executionStrategies` */ executionStrategies?: unknown[] | Record; [key: string]: unknown; } /** Maps legacy `aiTaskStrategies` object to canonical PRE/POST vocabulary (documentation helper). */ export interface LegacyAiTaskStrategiesShape { /** @see PrePhaseUtilityConfig.strategyKey */ pre?: string | Record; /** @see PrePhaseUtilityConfig.inputSourcePolicy */ preInputStrategy?: string | Record; /** @see PostPhaseUtilityConfig.strategyKey */ post?: string | Record; [key: string]: unknown; } //# sourceMappingURL=phase-config.d.ts.map