# Variable StageSpecSchema`Const`

StageSpecSchema: ZodObject<
{
id: ZodString;
type: ZodEnum<
{
analyze: "analyze";
validate: "validate";
aggregate: "aggregate";
execute: "execute";
gate: "gate";
route: "route";
},
>;
pluginId: ZodString;
inputArtifacts: ZodArray<ZodString>;
outputArtifacts: ZodArray<ZodString>;
dependencies: ZodArray<ZodString>;
config: ZodRecord<ZodString, ZodUnknown>;
preferredCli: ZodOptional<ZodString>;
maxRetries: ZodOptional<ZodNumber>;
timeoutMs: ZodOptional<ZodNumber>;
},
$strip,
> = ...

Pipeline stage specification.

- Defined in packages/nexus-agents/src/pipeline/task-contract.ts:123