From 94571fb50cd9fee765a8617a319eb45ec44fd658 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Sun, 7 Jun 2026 14:46:41 +0800 Subject: [PATCH] feat: restore directory seed for arm2d-skill after AgentRun limit removal - Revert to single directory entry for arm2d-skill in AGENT_WORKSPACE_SEED_FILES - Includes SKILL.md + references/ + python/ (14 files) - Paired with AgentRun v0.1 removal of workspace file count limit --- tools/src/hwlab-caserun-lib.ts | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tools/src/hwlab-caserun-lib.ts b/tools/src/hwlab-caserun-lib.ts index 35b046e3..c228bf74 100644 --- a/tools/src/hwlab-caserun-lib.ts +++ b/tools/src/hwlab-caserun-lib.ts @@ -942,26 +942,6 @@ function agentTraceIdentityArtifact(run: PreparedCaseRun, agent: AgentRunStage) }); } -async function collectDirectorySeedFiles(sourceRel: string, targetRel: string, files: AgentWorkspaceFile[]): Promise { - const sourceDir = path.join(SOURCE_ROOT, sourceRel); - const stack: string[] = [""]; - while (stack.length > 0) { - const sub = stack.pop()!; - const dirPath = path.join(sourceDir, sub); - const entries = await readdir(dirPath, { withFileTypes: true }); - for (const dirent of entries) { - const relPath = sub ? path.join(sub, dirent.name) : dirent.name; - if (dirent.isDirectory()) { - stack.push(relPath); - } else if (dirent.isFile()) { - const filePath = path.join(dirPath, dirent.name); - const targetPath = path.join(targetRel, relPath).replace(/\\/g, "/"); - files.push({ path: targetPath, content: await readFile(filePath, "utf8"), encoding: "utf8" }); - } - } - } -} - async function agentWorkspaceFilesForRun(run: PreparedCaseRun): Promise { const content = await readFile(run.specPath, "utf8"); const files: AgentWorkspaceFile[] = [{ path: ".hwlab/hwpod-spec.yaml", content, encoding: "utf8" }];