use optional instead of required for tdd config for backwards compatibility

This commit is contained in:
Ryan Dielhenn
2026-03-28 11:10:26 -07:00
parent a8b3b67e8f
commit e9e0aef847
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -4267,9 +4267,6 @@
"type": "boolean" "type": "boolean"
} }
}, },
"required": [
"tdd"
],
"additionalProperties": false "additionalProperties": false
}, },
"comment_checker": { "comment_checker": {
+1 -1
View File
@@ -5,7 +5,7 @@ export const SisyphusAgentConfigSchema = z.object({
default_builder_enabled: z.boolean().optional(), default_builder_enabled: z.boolean().optional(),
planner_enabled: z.boolean().optional(), planner_enabled: z.boolean().optional(),
replace_plan: z.boolean().optional(), replace_plan: z.boolean().optional(),
tdd: z.boolean().default(true), tdd: z.boolean().default(true).optional(),
}) })
export type SisyphusAgentConfig = z.infer<typeof SisyphusAgentConfigSchema> export type SisyphusAgentConfig = z.infer<typeof SisyphusAgentConfigSchema>