From 0cef5b8d269d306e40cd47a115c56f7dcd489270 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 15:17:13 +0000 Subject: [PATCH 1/3] Initial plan From b30471156a799ba4d73b4f6cc81df30692c59089 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 15:19:15 +0000 Subject: [PATCH 2/3] Make install.md Step 3 cross-platform (no git clone) Agent-Logs-Url: https://github.com/githubnext/autoloop/sessions/f0b9c2d4-cb18-4b13-abab-19ed22aee217 Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com> --- install.md | 56 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/install.md b/install.md index 04b7851..e2f29fb 100644 --- a/install.md +++ b/install.md @@ -53,34 +53,62 @@ gh aw init **What this does**: Configures `.gitattributes`, creates the dispatcher agent, and sets up Copilot setup steps. -## Step 3: Clone Autoloop and Copy Files +## Step 3: Download Autoloop and Copy Files -Clone the Autoloop repository and copy its files into this repo: +Download the Autoloop source as a zip and copy the files you need into this repo. This avoids a `git clone` (no `.git` history is downloaded, and `git` is not required) and works on Linux, macOS, and Windows. -```bash -git clone https://github.com/githubnext/autoloop /tmp/autoloop -``` +Use the snippet for your shell: -Copy the workflow definitions: +
+Linux & macOS (bash / zsh) ```bash -cp -r /tmp/autoloop/workflows/ .github/workflows/ +# Download and extract (no git history) +curl -fL https://github.com/githubnext/autoloop/archive/refs/heads/main.zip -o /tmp/autoloop.zip +unzip -q /tmp/autoloop.zip -d /tmp/autoloop_extract + +# Create target directories +mkdir -p .github/workflows .github/ISSUE_TEMPLATE .autoloop/programs + +# Copy files +cp -R /tmp/autoloop_extract/autoloop-main/workflows/. .github/workflows/ +cp -R /tmp/autoloop_extract/autoloop-main/.github/ISSUE_TEMPLATE/. .github/ISSUE_TEMPLATE/ + +# Clean up +rm -rf /tmp/autoloop.zip /tmp/autoloop_extract ``` -Copy the issue template and create the Autoloop directories: +If `unzip` is not available (e.g. some minimal Linux images), `tar` can extract a zip on macOS and most modern Linux distributions: ```bash -mkdir -p .github/ISSUE_TEMPLATE -cp -r /tmp/autoloop/.github/ISSUE_TEMPLATE/ .github/ISSUE_TEMPLATE/ -mkdir -p .autoloop/programs +mkdir -p /tmp/autoloop_extract && tar -xf /tmp/autoloop.zip -C /tmp/autoloop_extract ``` -Clean up: +
-```bash -rm -rf /tmp/autoloop +
+Windows (PowerShell) + +```powershell +# Download and extract (no git history) +Invoke-WebRequest -Uri "https://github.com/githubnext/autoloop/archive/refs/heads/main.zip" -OutFile "$env:TEMP\autoloop.zip" +Expand-Archive -Path "$env:TEMP\autoloop.zip" -DestinationPath "$env:TEMP\autoloop_extract" -Force + +# Create target directories +New-Item -ItemType Directory -Force -Path ".github/workflows", ".github/ISSUE_TEMPLATE", ".autoloop/programs" | Out-Null + +# Copy files +Copy-Item -Path "$env:TEMP\autoloop_extract\autoloop-main\workflows\*" -Destination ".github/workflows/" -Recurse -Force +Copy-Item -Path "$env:TEMP\autoloop_extract\autoloop-main\.github\ISSUE_TEMPLATE\*" -Destination ".github/ISSUE_TEMPLATE/" -Recurse -Force + +# Clean up +Remove-Item -Path "$env:TEMP\autoloop.zip", "$env:TEMP\autoloop_extract" -Recurse -Force ``` +
+ +> **Note:** The snippets above download the latest `main` branch. To pin to a specific version, replace `refs/heads/main` with `refs/tags/` and the `autoloop-main` folder name with `autoloop-`. + ## Step 4: Compile the Workflows ```bash From 58bbe6985b10b48bf176cb36b65d684188af1652 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 15:20:07 +0000 Subject: [PATCH 3/3] Clarify tar fallback wording in install.md Agent-Logs-Url: https://github.com/githubnext/autoloop/sessions/f0b9c2d4-cb18-4b13-abab-19ed22aee217 Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com> --- install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.md b/install.md index e2f29fb..3698521 100644 --- a/install.md +++ b/install.md @@ -78,7 +78,7 @@ cp -R /tmp/autoloop_extract/autoloop-main/.github/ISSUE_TEMPLATE/. .github/ISSUE rm -rf /tmp/autoloop.zip /tmp/autoloop_extract ``` -If `unzip` is not available (e.g. some minimal Linux images), `tar` can extract a zip on macOS and most modern Linux distributions: +If `unzip` is not installed (e.g. some minimal Linux images), replace the `unzip` line above with this `tar` command — it extracts zip archives on macOS and most modern Linux distributions: ```bash mkdir -p /tmp/autoloop_extract && tar -xf /tmp/autoloop.zip -C /tmp/autoloop_extract