Skip to content

Autoloop: bootstrap via draft PR instead of direct push#285

Merged
mrjf merged 2 commits intomainfrom
autoloop-bootstrap-draft-pr
Mar 19, 2026
Merged

Autoloop: bootstrap via draft PR instead of direct push#285
mrjf merged 2 commits intomainfrom
autoloop-bootstrap-draft-pr

Conversation

@mrjf
Copy link
Contributor

@mrjf mrjf commented Mar 19, 2026

Summary

  • Config directory moved from .github/autoloop/ to .autoloop/ — keeps autoloop config at repo root, matching the w3k deployment convention.
  • Bootstrap pre-step no longer commits/pushes the template directly to the default branch. Instead leaves it unstaged so the agent creates a draft PR, giving maintainers a review opportunity.
  • Setup Guard now explicitly states that template/program files must go through draft PRs — only state.json should be committed directly.
  • Reading Programs section expanded with detailed steps for unconfigured programs: check existence on default branch via git show, create a draft PR on autoloop/setup-template branch if needed.

Ports changes from the downstream w3k deployment back to the source workflow.

Test plan

  • Install the workflow on a test repo with no .autoloop/ directory and verify the bootstrap creates the template locally without pushing
  • Verify the agent creates a draft PR with the template file
  • Verify unconfigured programs get setup issues created
  • Verify all paths reference .autoloop/ (not .github/autoloop/)

🤖 Generated with Claude Code

mrjf and others added 2 commits March 19, 2026 07:59
Stop committing template files directly to the default branch during
bootstrap. Instead, leave them unstaged so the agent creates a draft PR,
giving maintainers a chance to review before merge.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Aligns with the w3k deployment convention — keeps autoloop config at the
repo root rather than nested under .github/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mrjf mrjf merged commit ee86d0f into main Mar 19, 2026
1 check passed
@mrjf mrjf deleted the autoloop-bootstrap-draft-pr branch March 19, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant