add bool value: tdd to sisyphus_agent config

This commit is contained in:
Ryan Dielhenn
2026-03-28 09:34:58 -07:00
parent 44b039bef6
commit 571dfe23a4
11 changed files with 63 additions and 12 deletions
@@ -20,12 +20,13 @@ export async function executeUnstableAgentTask(
systemContent: string | undefined,
actualModel: string | undefined
): Promise<string> {
const { manager, client, syncPollTimeoutMs } = executorCtx
const { manager, client, syncPollTimeoutMs, sisyphusAgentConfig } = executorCtx
let cleanupReason: string | undefined
let launchedTaskID: string | undefined
try {
const effectivePrompt = buildTaskPrompt(args.prompt, agentToUse)
const tddEnabled = sisyphusAgentConfig?.tdd
const effectivePrompt = buildTaskPrompt(args.prompt, agentToUse, tddEnabled)
const task = await manager.launch({
description: args.description,
prompt: effectivePrompt,