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
@@ -1,26 +1,29 @@
# This workflow is a manually refined version of the output generated by:
# agentry ci generate --target github --dry-run workflows/triage.yaml
# agentry ci generate --target github --dry-run workflows/bug-fix.yaml
#
# Manually refined to include:
# - Proper workflow name capitalization ("Issue Triage" instead of "triage")
# - Permissions for issues write access (issue:comment and issue:label tools)
# - Proper workflow name capitalization ("Bug Fix" instead of "bug-fix")
# - Permissions for issue write and pull-request write access (pr:create and issue:comment tools)
# - Workflow-level env section with CLAUDE_CODE_OAUTH_TOKEN
# - Local installation via "pip install ." (using workspace as source)
# - Specific agentry run parameters: --input issue-description, --input repository-ref, --binder, --output-format
# - Specific agentry run parameters: --input repository-ref, --binder, --output-format
# - Improved formatting and readability with proper spacing
# - Conditional trigger: only runs when the applied label is "category:bug"

name: "Agentry: Issue Triage"
name: "Agentry: Bug Fix"

'on':
issues:
types: [opened]
types: [labeled]

permissions:
contents: read
contents: write
issues: write
pull-requests: write

jobs:
agentry:
if: github.event.label.name == 'category:bug'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -39,7 +42,7 @@ jobs:

- name: Run agentry
run: >
agentry --output-format json run workflows/triage.yaml
agentry --output-format json run workflows/bug-fix.yaml
--input repository-ref=.
--binder github-actions
env:
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/agentry-feature-implement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This workflow is a manually refined version of the output generated by:
# agentry ci generate --target github --dry-run workflows/feature-implement.yaml
#
# Manually refined to include:
# - Proper workflow name capitalization ("Feature Implement" instead of "feature-implement")
# - Permissions for issue write and pull-request write access (pr:create and issue:comment tools)
# - Workflow-level env section with CLAUDE_CODE_OAUTH_TOKEN
# - Local installation via "pip install ." (using workspace as source)
# - Specific agentry run parameters: --input repository-ref, --binder, --output-format
# - Improved formatting and readability with proper spacing
# - Conditional trigger: only runs when the applied label is "category:feature"

name: "Agentry: Feature Implement"

'on':
issues:
types: [labeled]

permissions:
contents: write
issues: write
pull-requests: write

jobs:
agentry:
if: github.event.label.name == 'category:feature'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install Claude Code
run: npm install -g @anthropic-ai/claude-code

- name: Install agentry
run: pip install .

- name: Run agentry
run: >
agentry --output-format json run workflows/feature-implement.yaml
--input repository-ref=.
--binder github-actions
env:
CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40 changes: 40 additions & 0 deletions .github/workflows/agentry-planning-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow replaces the superseded agentry-issue-triage.yml workflow.
# It triggers on issue creation and runs the planning pipeline which handles issue triage
# and task decomposition more comprehensively than the triage-only workflow.

name: "Agentry: Planning Pipeline"

'on':
issues:
types: [opened]

permissions:
contents: read
issues: write

jobs:
agentry:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install Claude Code
run: npm install -g @anthropic-ai/claude-code

- name: Install agentry
run: pip install .

- name: Run agentry
run: >
agentry --output-format json run workflows/planning-pipeline.yaml
--input repository-ref=.
--binder github-actions
env:
CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 0 additions & 22 deletions docs/specs/04-spec-agentry-ci/02-proofs/T02-01-test.txt

This file was deleted.

10 changes: 0 additions & 10 deletions docs/specs/04-spec-agentry-ci/02-proofs/T02-02-test.txt

This file was deleted.

45 changes: 0 additions & 45 deletions docs/specs/04-spec-agentry-ci/02-proofs/T02-proofs.md

This file was deleted.

Loading
Loading