(directory, client, sessionID, args)
| 1450 | sections.push(`Goal file ${job.goalFile} was requested but could not be read. Continue from the inline goal objective.`); |
| 1451 | } |
| 1452 | if (job.promptFile) { |
| 1453 | const text = await readSmallTextFile(path4.resolve(directory, job.promptFile), 120000); |
| 1454 | if (text.trim()) |
| 1455 | sections.push(`Extra goal instructions from ${job.promptFile}: |
| 1456 | ${text.trim()}`); |
| 1457 | } |
| 1458 | if (job.goalAcceptance?.length) |
| 1459 | sections.push(`Acceptance criteria: |
| 1460 | ` + job.goalAcceptance.map((item, index) => `${index + 1}. ${item}`).join(` |
| 1461 | `)); |
| 1462 | if (job.goalChecks?.length) |
| 1463 | sections.push(`Verification commands that define useful evidence: |
no test coverage detected