Skip to content
Open
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
42 changes: 21 additions & 21 deletions .github/workflows/drafter.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .github/workflows/drafter.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
description: |
Autonomous implementation agent. When an issue is labeled 'agent/code',
Draft PR implementation agent. When an issue is labeled 'agent/code',
this agent reads the issue, explores the repo, implements the change,
validates it with the repo's own build tooling, and opens a pull
validates it with the repo's own build tooling, and opens a draft pull
request for human review via the create-pull-request safe-output.

on:
Expand Down Expand Up @@ -134,9 +134,9 @@ jobs:
timeout-minutes: 15
---

# Autonomous Developer Agent
# Drafter

Issue #${{ github.event.issue.number }} has been labeled for autonomous
Issue #${{ github.event.issue.number }} has been labeled for draft PR
implementation.

## Your task
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
// scripts/install-labels.js (inlined here so this step needs
// no eval/require and no checkout of the repo).
const LABELS = [
{ name: 'agent/code', description: 'Triggers the autonomous drafter agent', color: '0E8A16' },
{ name: 'agent/code', description: 'Triggers the drafter agent', color: '0E8A16' },
{ name: 'agent/fixme', description: 'Reviewer agent found issues that need fixing', color: 'D93F0B' },
{ name: 'agent/lgtm', description: 'Reviewer agent approved; ready to auto-merge', color: '0E8A16' },
{ name: 'agent/draft-working', description: 'The drafter agent is actively working on this issue', color: 'FBCA04' },
Expand Down
8 changes: 4 additions & 4 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ This directory contains utility scripts for setting up and managing the gh-agent

## install-labels.js

Installs the required labels on a repository for the autonomous issue → PR → review → fix → merge pipeline.
Installs the required labels on a repository for the issue → PR → review → fix → merge pipeline.

### Labels Created

The script creates or updates the following labels:

- **`agent/code`** (green) — Triggers the autonomous drafter agent. When applied to an issue, the drafter agent reads the issue, implements the change, validates it, and opens a pull request.
- **`agent/code`** (green) — Triggers the drafter agent. When applied to an issue, the drafter agent reads the issue, implements the change, validates it, and opens a pull request.

- **`agent/fixme`** (red) — Applied by the review workflow when a PR needs work. The fix workflow consumes this label, reads the reviewer's feedback, and pushes a fix commit.

Expand Down Expand Up @@ -55,7 +55,7 @@ You can also use the GitHub CLI to create the labels directly:

```bash
gh label create "agent/code" --color 0E8A16 \
--description "Triggers the autonomous drafter agent"
--description "Triggers the drafter agent"

gh label create "agent/fixme" --color D93F0B \
--description "Reviewer agent found issues that need fixing"
Expand All @@ -80,7 +80,7 @@ Or via `gh api`, e.g. to update an existing label:

```bash
gh api repos/:owner/:repo/labels/agent/code -X PATCH \
-f color="0E8A16" -f description="Triggers the autonomous drafter agent"
-f color="0E8A16" -f description="Triggers the drafter agent"
```

### Customizing Labels
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-labels.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Install gh-agentic-workflows labels
*
* Defines the labels required by the gh-agentic-workflows autonomous
* Defines the labels required by the gh-agentic-workflows
* issue → PR → review → fix → merge pipeline, and a helper to create or
* update them via the GitHub REST API.
*
Expand All @@ -20,7 +20,7 @@
const LABELS = [
{
name: 'agent/code',
description: 'Triggers the autonomous drafter agent',
description: 'Triggers the drafter agent',
color: '0E8A16', // green
},
{
Expand Down
Loading