We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7162a39 commit 398a6fdCopy full SHA for 398a6fd
src/task/mod.rs
@@ -277,6 +277,14 @@ pub fn parse_task(task_dir: &Path) -> Result<SweForgeTask> {
277
let mut workspace: WorkspaceConfig =
278
serde_yaml::from_str(&workspace_content).context("Invalid workspace.yaml")?;
279
280
+ // Normalize repo URL (e.g. "owner/repo" -> "https://github.com/owner/repo")
281
+ if !workspace.repo.starts_with("http://")
282
+ && !workspace.repo.starts_with("https://")
283
+ && !workspace.repo.starts_with("git@")
284
+ {
285
+ workspace.repo = format!("https://github.com/{}", workspace.repo);
286
+ }
287
+
288
let prompt_path = task_dir.join("prompt.md");
289
let prompt = std::fs::read_to_string(&prompt_path).context("Missing prompt.md")?;
290
0 commit comments