Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"name": "implementer",
"description": "L2 implementer for creating changelog PRs.",
"mode": "subagent",
"prompt": "Commit the approved release notes to a new branch and open a draft PR. Flag breaking changes and security items explicitly in the PR body. Do not merge.",
"prompt": "Run npx @cobusgreyling/loop-gate check --action commit --paths <changed_files> before committing. Commit the approved release notes to a new branch and open a draft PR. Flag breaking changes and security items explicitly in the PR body. Do not merge.",
"permission": {
"bash": "ask",
"edit": "ask"
Expand Down
2 changes: 1 addition & 1 deletion starters/ci-sweeper-opencode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Start (L2 cautious — CI sweeper is action-oriented from week one):

```bash
opencode run \
"Run skills/ci-triage/SKILL.md. Classify each failing check. For clear single-file regressions, create a worktree and apply a minimal fix with verifier. Update ci-sweeper-state.md. Infra and security failures: escalate." \
"Run skills/ci-triage/SKILL.md. Classify each failing check. For clear single-file regressions, create a worktree and apply a minimal fix with verifier. Run loop-gate check before commit. Update ci-sweeper-state.md. Infra and security failures: escalate." \
--title "CI sweeper"
```

Expand Down
2 changes: 1 addition & 1 deletion starters/ci-sweeper-opencode/opencode.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"name": "implementer",
"description": "L2 implementer for CI-fix patches inside an isolated worktree.",
"mode": "subagent",
"prompt": "Implement the minimal fix for the identified CI failure inside the supplied worktree. Run tests. Output the diff path. Max 3 attempts per item.",
"prompt": "Implement the minimal fix for the identified CI failure inside the supplied worktree. Run tests. Run npx @cobusgreyling/loop-gate check --action commit --paths <changed_files> before committing. Output the diff path. Max 3 attempts per item.",
"permission": {
"bash": "ask",
"edit": "ask"
Expand Down
2 changes: 1 addition & 1 deletion starters/ci-sweeper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Scaffold for the [CI Sweeper](../../patterns/ci-sweeper.md) loop.

3. Start (Grok):
```bash
/loop 15m Check CI on main. Update ci-sweeper-state.md. Classify failures. For new actionable failures (not flakes): worktree + minimal-fix + loop-verifier. Escalate after 3 attempts.
/loop 15m Check CI on main. Update ci-sweeper-state.md. Classify failures. For new actionable failures (not flakes): worktree + minimal-fix + loop-verifier. Run loop-gate check before commit. Escalate after 3 attempts.
```

## Flake Policy
Expand Down
2 changes: 1 addition & 1 deletion starters/dependency-sweeper-opencode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Start (L2 assisted, patch-only):

```bash
opencode run \
"Run skills/dependency-triage/SKILL.md. Scan package manifests for outdated and vulnerable deps. Patch-only auto-fix in worktree with verifier. Escalate majors, high-sev CVEs, and denylist packages. Update state." \
"Run skills/dependency-triage/SKILL.md. Scan package manifests for outdated and vulnerable deps. Patch-only auto-fix in worktree with verifier. Run loop-gate check before commit. Escalate majors, high-sev CVEs, and denylist packages. Update state." \
--title "Dependency sweeper"
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"name": "implementer",
"description": "L2 implementer for patch-only dependency upgrades in a worktree.",
"mode": "subagent",
"prompt": "Apply the identified patch-only upgrade inside the supplied worktree. Run npm ci && npm test. Never touch denylisted packages. Output the diff.",
"prompt": "Apply the identified patch-only upgrade inside the supplied worktree. Run npm ci && npm test. Run npx @cobusgreyling/loop-gate check --action commit --paths <changed_files> before committing. Never touch denylisted packages. Output the diff.",
"permission": {
"bash": "ask",
"edit": "ask"
Expand Down
2 changes: 1 addition & 1 deletion starters/dependency-sweeper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Claude Code / Codex: use `--tool claude` or `--tool codex` with `loop-init`.
Start (Grok):

```
/loop 6h Run dependency-triage on package manifests and lockfiles. Patch-only auto-fix in worktree + verifier (npm ci && npm test). Escalate majors, high-sev CVEs, and denylist packages. Update dependency-sweeper-state.md.
/loop 6h Run dependency-triage on package manifests and lockfiles. Patch-only auto-fix in worktree + verifier (npm ci && npm test). Run loop-gate check before commit. Escalate majors, high-sev CVEs, and denylist packages. Update dependency-sweeper-state.md.
```

## What's Included
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"name": "implementer",
"description": "L2 implementer for small cleanup fixes inside an isolated worktree.",
"mode": "subagent",
"prompt": "Implement only the requested single-file cleanup inside the supplied worktree. Run tests. Never touch denylist paths. Output the diff.",
"prompt": "Implement only the requested single-file cleanup inside the supplied worktree. Run tests. Run npx @cobusgreyling/loop-gate check --action commit --paths <changed_files> before committing. Never touch denylist paths. Output the diff.",
"permission": {
"bash": "ask",
"edit": "ask"
Expand Down
2 changes: 1 addition & 1 deletion starters/post-merge-cleanup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp starters/post-merge-cleanup/LOOP.md .
Start (Grok):

```
/loop 1d Run post-merge-scan on merges to main (last 7d). Update post-merge-state.md. Small doc/link fixes only in worktree. Escalate refactors.
/loop 1d Run post-merge-scan on merges to main (last 7d). Update post-merge-state.md. Small doc/link fixes only in worktree. Run loop-gate check before commit. Escalate refactors.
```

## Files
Expand Down
2 changes: 1 addition & 1 deletion starters/pr-babysitter-opencode/opencode.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"name": "implementer",
"description": "L2 implementer for minimal PR fixes inside an isolated worktree.",
"mode": "subagent",
"prompt": "Implement only the requested minimal fix inside the supplied worktree. Respect AGENTS.md and LOOP.md. Run documented tests. Never force-push. Draft PR by default.",
"prompt": "Implement only the requested minimal fix inside the supplied worktree. Respect AGENTS.md and LOOP.md. Run documented tests. Run npx @cobusgreyling/loop-gate check --action commit --paths <changed_files> before committing. Never force-push. Draft PR by default.",
"permission": {
"bash": "ask",
"edit": "ask"
Expand Down
2 changes: 1 addition & 1 deletion starters/pr-babysitter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Scaffold for the [PR Babysitter](../../patterns/pr-babysitter.md) loop (L2 — a

3. Start (Grok):
```bash
/loop 5m Check open PRs. Update pr-babysitter-state.md. For CI failures or actionable review comments on allowlisted PRs: worktree + minimal-fix + loop-verifier. Never merge — propose only. Escalate after 3 attempts per PR.
/loop 5m Check open PRs. Update pr-babysitter-state.md. For CI failures or actionable review comments on allowlisted PRs: worktree + minimal-fix + loop-verifier. Run loop-gate check before commit. Never merge — propose only. Escalate after 3 attempts per PR.
```

4. Sign PR comments: `🤖 Loop Engineering — PR Babysitter`
Expand Down