PlanSchema: ZodObject<
{
autonomous: ZodBoolean;
boundaries: ZodDefault<ZodArray<ZodString, "many">>;
criteria: ZodDefault<ZodArray<ZodString, "many">>;
depends_on: ZodArray<ZodString, "many">;
executionGraph: ZodDefault<ZodArray<ZodArray<ZodNumber, "many">, "many">>;
files_modified: ZodArray<ZodString, "many">;
must_haves: ZodDefault<
ZodOptional<
ZodObject<
{
artifacts: ZodDefault<
ZodArray<
ZodObject<
{
min_lines: ZodOptional<(...)>;
must_contain: ZodOptional<(...)>;
path: ZodString;
provides: ZodString;
},
"strip",
ZodTypeAny,
{
min_lines?: (...)
| (...);
must_contain?: (...) | (...);
path: string;
provides: string;
},
{
min_lines?: (...)
| (...);
must_contain?: (...) | (...);
path: string;
provides: string;
},
>,
"many",
>,
>;
key_links: ZodDefault<
ZodArray<
ZodObject<
{
from: ZodString;
pattern: ZodString;
to: ZodString;
via: ZodString;
},
"strip",
ZodTypeAny,
{ from: string; pattern: string; to: string; via: string },
{ from: string; pattern: string; to: string; via: string },
>,
"many",
>,
>;
truths: ZodDefault<ZodArray<ZodString, "many">>;
},
"strip",
ZodTypeAny,
{
artifacts: {
min_lines?: number;
must_contain?: string[];
path: string;
provides: string;
}[];
key_links: { from: string; pattern: string; to: string; via: string }[];
truths: string[];
},
{
artifacts?: {
min_lines?: number;
must_contain?: (...)[];
path: string;
provides: string;
}[];
key_links?: { from: string; pattern: string; to: string; via: string }[];
truths?: string[];
},
>,
>,
>;
phase: ZodString;
plan: ZodString;
requirements: ZodDefault<ZodArray<ZodString, "many">>;
taskDependencies: ZodDefault<
ZodRecord<ZodString, ZodArray<ZodNumber, "many">>,
>;
tasks: ZodArray<
ZodObject<
{
action: ZodString;
done: ZodString;
files: ZodOptional<ZodArray<ZodString, "many">>;
name: ZodString;
type: ZodEnum<
[
"auto",
"checkpoint:human-verify",
"checkpoint:decision",
"checkpoint:human-action",
],
>;
verify: ZodString;
},
"strip",
ZodTypeAny,
{
action: string;
done: string;
files?: string[];
name: string;
type: | "auto"
| "checkpoint:human-verify"
| "checkpoint:decision"
| "checkpoint:human-action";
verify: string;
},
{
action: string;
done: string;
files?: string[];
name: string;
type: | "auto"
| "checkpoint:human-verify"
| "checkpoint:decision"
| "checkpoint:human-action";
verify: string;
},
>,
"many",
>;
type: ZodEnum<["execute", "tdd"]>;
wave: ZodNumber;
},
"strip",
ZodTypeAny,
{
autonomous: boolean;
boundaries: string[];
criteria: string[];
depends_on: string[];
executionGraph: number[][];
files_modified: string[];
must_haves: {
artifacts: {
min_lines?: number;
must_contain?: string[];
path: string;
provides: string;
}[];
key_links: { from: string; pattern: string; to: string; via: string }[];
truths: string[];
};
phase: string;
plan: string;
requirements: string[];
taskDependencies: Record<string, number[]>;
tasks: {
action: string;
done: string;
files?: string[];
name: string;
type:
| "auto"
| "checkpoint:human-verify"
| "checkpoint:decision"
| "checkpoint:human-action";
verify: string;
}[];
type: "execute"
| "tdd";
wave: number;
},
{
autonomous: boolean;
boundaries?: string[];
criteria?: string[];
depends_on: string[];
executionGraph?: number[][];
files_modified: string[];
must_haves?: {
artifacts?: {
min_lines?: number;
must_contain?: string[];
path: string;
provides: string;
}[];
key_links?: { from: string; pattern: string; to: string; via: string }[];
truths?: string[];
};
phase: string;
plan: string;
requirements?: string[];
taskDependencies?: Record<string, number[]>;
tasks: {
action: string;
done: string;
files?: string[];
name: string;
type:
| "auto"
| "checkpoint:human-verify"
| "checkpoint:decision"
| "checkpoint:human-action";
verify: string;
}[];
type: "execute"
| "tdd";
wave: number;
},
> = ...