Skip to content
Draft
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
35 changes: 35 additions & 0 deletions .agents/skills/agent-ci/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: agent-ci
description: Run GitHub Actions CI locally with Agent CI to validate changes before pushing. Use when testing, running checks, or validating code changes.
license: MIT
compatibility: Requires Node.js 18+ and Docker
metadata:
author: redwoodjs
version: "1.0.0"
---

# Agent CI

Run the full CI pipeline locally before pushing. CI was green before you started — any failure is caused by your changes.

## Run

```bash
pnpm exec agent-ci run --quiet --all --pause-on-failure
```

## Retry

When a step fails, the run pauses automatically. Fix the issue, then retry:

```bash
pnpm exec agent-ci retry --name <runner-name>
```

To re-run from an earlier step:

```bash
pnpm exec agent-ci retry --name <runner-name> --from-step <N>
```

Repeat until all jobs pass. Do not push to trigger remote CI when agent-ci can run it locally.
1 change: 1 addition & 0 deletions .claude/skills/agent-ci
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
57 changes: 57 additions & 0 deletions .kindling/board/doing/2026-04-16-1242-work-on-issue-20-ca90.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
status: doing
labels: []
created: "2026-04-16T10:43:25.624Z"
started: "2026-04-16T10:43:25.624Z"
completed: null
github-pr: null
github-comments: true
no-pr: false
depends-on: []
---

## Brief

Work on Issue 20

## Checklist

## Progress Log

















- [2026-04-16T11:12:31.821Z] [harness] Auditor: skipped
- [2026-04-16T11:11:37.132Z] [harness] Dispatching Developer for phase 4 (finalization) of 4.
- [2026-04-16T11:11:16.689Z] [harness] Auditor: skipped
- [2026-04-16T11:10:44.523Z] [harness] Dispatching Reviewer for phase 3 (review) of 4.
- [2026-04-16T11:10:27.473Z] [developer] Addressed review feedback:

> ❌ SKILL.md uses `npx` instead of `pnpm` — convention violation

All three `npx @redwoodjs/agent-ci ...` invocations in the skill file have been replaced with `pnpm exec agent-ci ...`. `pnpm exec` is used (not `pnpm dlx`) because the package is already installed as a devDependency — `pnpm exec` resolves the binary from the local `node_modules` and respects the version locked in `pnpm-lock.yaml`. No `npx` or `npm` references remain in the file.
- [2026-04-16T11:10:25.667Z] [harness] Auditor: skipped
- [2026-04-16T11:10:00.118Z] [harness] Dispatching Developer for phase 2 (implementation) of 4.
- [2026-04-16T11:09:40.824Z] [harness] Auditor: skipped
- [2026-04-16T10:51:22.135Z] [harness] Dispatching Reviewer for phase 3 (review) of 4.
- [2026-04-16T10:51:03.205Z] [harness] Auditor: skipped
- [2026-04-16T10:49:42.323Z] [harness] Dispatching Developer for phase 2 (implementation) of 4.
- [2026-04-16T10:49:17.082Z] [harness] Auditor: skipped
- [2026-04-16T10:45:25.806Z] [harness] Compiled plan: 4 phases using Analyst, Developer, and Reviewer under the fix protocol. Starting with Investigation (phase 1) — the Analyst will read issue 20, reproduce the reported problem, and identify root causes before any implementation begins.
- [2026-04-16T10:45:25.802Z] [harness] Plan ready: 4 phases, fix protocol. Task force: Analyst, Developer, Reviewer.
- [2026-04-16T10:44:55.791Z] [harness] Planning approach -- reading your brief, selecting protocol, assembling task force...
- [2026-04-16T10:44:55.507Z] [harness] Updated draft PR with context from priming (title=true, body=true)
- [2026-04-16T10:43:26.857Z] [harness] Understanding your codebase so agents have architectural context...
25 changes: 25 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# CLAUDE.md

## CI Validation

Before declaring any work done, validate your changes locally using agent-ci.

### One-time skill setup

```bash
pnpm dlx skills add redwoodjs/agent-ci --skill agent-ci --yes
```

### Running validation

```bash
pnpm dlx @redwoodjs/agent-ci run --quiet --all --pause-on-failure
```

Once a GitHub Actions deploy workflow exists (see issue #9), run against it:

```bash
pnpm dlx @redwoodjs/agent-ci run --workflow .github/workflows/<name>.yml
```

Do not report work as done until agent-ci passes.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"devDependencies": {
"@redwoodjs/agent-ci": "^0.10.7"
}
}
Loading