You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/autoloop.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -283,7 +283,6 @@ Examples:
283
283
4.**Rejected or errored iterations** do not commit — changes are discarded.
284
284
5. A **single draft PR** is created for the branch on the first accepted iteration. Future accepted iterations push additional commits to the same PR.
285
285
6. The branch may be **merged into the default branch** at any time (by a maintainer or CI). After merging, the branch continues to be used for future iterations — it is never deleted while the program is active. On the next iteration, the branch is automatically reset to the default branch (see step 2) so that already-merged commits do not cause patch conflicts.
286
-
7. A **sync workflow** automatically merges the default branch into all active `autoloop/*` branches whenever the default branch changes, keeping them up to date.
Copy file name to clipboardExpand all lines: AGENTS.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,6 @@ autoloop/
11
11
├── AGENTS.md ← you are here
12
12
├── workflows/ ← Agentic Workflow definitions
13
13
│ ├── autoloop.md ← main autoloop workflow (compiled by gh-aw)
14
-
│ ├── sync-branches.md ← syncs default branch into autoloop/* branches
15
14
│ ├── shared/ ← shared workflow fragments
16
15
│ │ └── reporting.md
17
16
│ └── scripts/ ← standalone scripts invoked from steps
@@ -72,7 +71,7 @@ The workflow (`workflows/autoloop.md`) is compiled by `gh aw compile` into `.git
72
71
6. Updates the program's state file in repo-memory with all state (Machine State table + research sections)
73
72
7. If the program has a `target-metric` and the metric is reached, marks it as completed (removes `autoloop-program` label, adds `autoloop-completed` label for issue-based programs)
74
73
75
-
A companion workflow (`workflows/sync-branches.md`) runs on every push to the default branch and merges it into all active`autoloop/*`program branches, keeping them up to date.
74
+
Branch freshness is handled by the iteration loop itself: each iteration's Step 3 (in `workflows/autoloop.md`, "Iteration Loop" → step "Branch Setup") fast-forwards or merges `origin/main` into the program's`autoloop/*`branch as needed. No separate sync workflow is required.
76
75
77
76
### Evolution Strategy
78
77
@@ -134,9 +133,8 @@ Programs run on a schedule, but can also be triggered manually:
134
133
To deploy the workflow to a repository:
135
134
136
135
1. Copy `workflows/autoloop.md` to `.github/workflows/autoloop.md` in the target repo
137
-
2. Copy `workflows/sync-branches.md` to `.github/workflows/sync-branches.md` in the target repo
138
-
3. Copy `workflows/shared/` to `.github/workflows/shared/` in the target repo
139
-
4. Copy `workflows/scripts/` to `.github/workflows/scripts/` in the target repo
140
-
5. Run `gh aw compile autoloop` and `gh aw compile sync-branches` to generate the lock files
141
-
6. Copy program directories to `.autoloop/programs/` in the target repo
142
-
7. Commit and push
136
+
2. Copy `workflows/shared/` to `.github/workflows/shared/` in the target repo
137
+
3. Copy `workflows/scripts/` to `.github/workflows/scripts/` in the target repo
138
+
4. Run `gh aw compile autoloop` to generate the lock file
139
+
5. Copy program directories to `.autoloop/programs/` in the target repo
Copy file name to clipboardExpand all lines: workflows/autoloop.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -325,7 +325,6 @@ Examples:
325
325
4.**Rejected or errored iterations** do not commit — changes are discarded.
326
326
5. A **single draft PR** is created for the branch on the first accepted iteration. Future accepted iterations push additional commits to the same PR.
327
327
6. The branch may be **merged into the default branch** at any time (by a maintainer or CI). After merging, the branch continues to be used for future iterations — it is never deleted while the program is active. On the next iteration, the branch is automatically reset to the default branch (see step 2) so that already-merged commits do not cause patch conflicts.
328
-
7. A **sync workflow** automatically merges the default branch into all active `autoloop/*` branches whenever the default branch changes, keeping them up to date.
0 commit comments