(job: ParsedJob | LooseRecord, mode: string)
| 468 | } |
| 469 | |
| 470 | export function makeRunDir(job: ParsedJob | LooseRecord, mode: string) { |
| 471 | const slug = `${path.basename(job.path, ".md")}-${mode}-${new Date().toISOString().replace(/[:.]/g, "-")}`; |
| 472 | const dir = path.join(repoRoot(), ".clawsweeper-repair", "runs", slug); |
| 473 | fs.mkdirSync(dir, { recursive: true }); |
| 474 | return dir; |
| 475 | } |
no test coverage detected