Skip to content

Commit 7b6c831

Browse files
committed
update agentics for latest gh-aw
1 parent 66d2013 commit 7b6c831

15 files changed

Lines changed: 78 additions & 87 deletions

workflows/agentics/shared/gh-extra-pr-tools.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@ tools:
77
- "git branch:*"
88
- "git add:*"
99
- "git commit:*"
10-
- "git push:*"
11-
- "gh pr create:*"
1210
---
1311

1412
## Creating and Updating Pull Requests
1513

16-
To create a branch, add changes to your branch and push code to GitHub, use Bash `git branch...` `git add ...`, `git commit ...`, `git push ...` etc.
14+
To create a branch, add changes to your branch, use Bash `git branch...` `git add ...`, `git commit ...` etc.
1715

1816
When using `git commit`, ensure you set the author name and email appropriately. Do this by using a `--author` flag with `git commit`, for example `git commit --author "${{ github.workflow }} <github-actions[bot]@users.noreply.github.com>" ...`.
1917

20-
To create a pull request with the changes, use Bash `gh pr create --repo ${{ github.repository }} ...`

workflows/agentics/shared/gh-extra-read-tools.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ tools:
55
Bash:
66
- "gh label list:*"
77
- "gh label view:*"
8-
- "gh repo view:*"
9-
- "gh issue list:*"
10-
- "gh issue view:*"
11-
- "gh pr list:*"
12-
- "gh pr view:*"
138
---
149

1510
## GitHub Tools
@@ -18,9 +13,3 @@ You can use the GitHub MCP tools to perform various tasks in the repository. You
1813

1914
- List labels: `gh label list ...`
2015
- View label: `gh label view <label-name> ...`
21-
- View repository: `gh repo view ${{ github.repository }} ...`
22-
- List issues: `gh issue list --label <label-name> ...`
23-
- View issue: `gh issue view <issue-number> ...`
24-
- List pull requests: `gh pr list --label <label-name> ...`
25-
- View pull request: `gh pr view <pr-number> ...`
26-

workflows/ci-doctor.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ if: ${{ github.event.workflow_run.conclusion == 'failure' }}
1313

1414
permissions: read-all
1515

16+
network: defaults
17+
1618
safe-outputs:
1719
create-issue:
1820
title-prefix: "${{ github.workflow }}"

workflows/daily-accessibility-review.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
workflow_dispatch:
77
stop-after: +48h # workflow will no longer trigger after 48 hours
88

9-
timeout_minutes: 15
10-
119
permissions: read-all
1210

11+
network: defaults
12+
1313
safe-outputs:
1414
create-issue:
1515
title-prefix: "${{ github.workflow }}"
@@ -29,6 +29,8 @@ tools:
2929
WebFetch:
3030
WebSearch:
3131

32+
timeout_minutes: 15
33+
3234
steps:
3335
- name: Checkout repository
3436
uses: actions/checkout@v4

workflows/daily-dependency-updates.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,25 @@ on:
66
- cron: "0 2 * * 1-5"
77
stop-after: +48h # workflow will no longer trigger after 48 hours. Remove this and recompile to run indefinitely
88

9-
timeout_minutes: 15
10-
119
permissions: read-all
1210

11+
network: defaults
12+
1313
safe-outputs:
1414
create-pull-request:
1515
draft: true
1616
create-issue:
1717
title-prefix: "${{ github.workflow }}"
1818

19-
tools:
20-
claude:
21-
allowed:
22-
Edit:
23-
MultiEdit:
24-
Write:
25-
WebFetch:
26-
WebSearch:
27-
# Configure bash build commands here, or in .github/workflows/agentics/daily-dependency-updates.config.md or .github/workflows/agentics/build-tools.md
28-
# For YOLO mode, uncomment the following line
29-
#Bash:
30-
#- ":*
19+
# Configure bash build commands here, or in .github/workflows/agentics/daily-dependency-updates.config.md or .github/workflows/agentics/build-tools.md
20+
# For YOLO mode, uncomment
21+
# tools:
22+
# claude:
23+
# allowed:
24+
# Bash: [ ":*" ]
25+
26+
timeout_minutes: 15
27+
3128
---
3229

3330
# Agentic Dependency Updater

workflows/daily-perf-improver.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ timeout_minutes: 30
1010

1111
permissions: read-all
1212

13+
network: defaults
14+
1315
safe-outputs:
1416
create-issue:
1517
title-prefix: "${{ github.workflow }}"
@@ -22,24 +24,11 @@ safe-outputs:
2224
tools:
2325
claude:
2426
allowed:
25-
Edit:
26-
MultiEdit:
27-
Write:
28-
NotebookEdit:
2927
WebFetch:
3028
WebSearch:
31-
KillBash:
32-
BashOutput:
33-
# Configure bash build commands in any of these places
34-
# - this file
35-
# - .github/workflows/agentics/daily-perf-improver.config.md
36-
# - .github/workflows/agentics/build-tools.md (shared).
37-
#
38-
# Run `gh aw compile` after editing to recompile the workflow.
39-
#
40-
# For YOLO mode, uncomment the following line
41-
# Bash:
42-
# - ":*
29+
# Configure bash build commands here, or in .github/workflows/agentics/daily-dependency-updates.config.md or .github/workflows/agentics/build-tools.md
30+
# For YOLO mode, uncomment
31+
# Bash: [ ":*" ]
4332

4433
steps:
4534
- name: Checkout repository
@@ -195,6 +184,7 @@ Your name is ${{ github.workflow }}. Your job is to act as an agentic coder for
195184
@include agentics/shared/xpia.md
196185

197186
@include agentics/shared/gh-extra-read-tools.md
187+
198188
@include agentics/shared/gh-extra-pr-tools.md
199189

200190
<!-- You can whitelist tools in .github/workflows/build-tools.md file -->

workflows/daily-plan.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,22 @@ on:
1010

1111
permissions: read-all
1212

13+
network: defaults
14+
1315
safe-outputs:
1416
create-issue: # needed to create the project plan issue
1517
title-prefix: "${{ github.workflow }}"
1618
update-issue: # needed to update the project plan issue if it already exists
1719
target: "*" # can update one single issue
1820
body: # can update the issue body only
1921

20-
timeout_minutes: 15
21-
2222
tools:
2323
claude:
2424
allowed:
2525
WebFetch:
2626
WebSearch:
27+
28+
timeout_minutes: 15
2729
---
2830

2931
# Agentic Planner

workflows/daily-progress.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
timeout_minutes: 30
1010

11+
network: defaults
12+
1113
safe-outputs:
1214
create-issue:
1315
title-prefix: "${{ github.workflow }}"
@@ -20,14 +22,8 @@ safe-outputs:
2022
tools:
2123
claude:
2224
allowed:
23-
Edit:
24-
MultiEdit:
25-
Write:
26-
NotebookEdit:
2725
WebFetch:
2826
WebSearch:
29-
KillBash:
30-
BashOutput:
3127
# Configure bash build commands in any of these places
3228
# - this file
3329
# - .github/workflows/agentics/daily-progress.config.md
@@ -36,6 +32,8 @@ tools:
3632
# Run `gh aw compile` after editing to recompile the workflow.
3733
#
3834
# For YOLO mode, uncomment the following line
35+
# KillBash:
36+
# BashOutput:
3937
# Bash:
4038
# - ":*
4139

workflows/daily-qa.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,31 @@ timeout_minutes: 15
1111

1212
permissions: read-all
1313

14+
network: defaults
15+
1416
safe-outputs:
1517
create-issue:
1618
title-prefix: "${{ github.workflow }}"
1719
add-issue-comment:
1820
max: 5
21+
create-pull-request:
22+
draft: true
1923

2024
tools:
2125
claude:
2226
allowed:
23-
Edit:
24-
MultiEdit:
25-
Write:
26-
NotebookEdit:
2727
WebFetch:
2828
WebSearch:
29-
KillBash:
30-
BashOutput:
3129
# Configure bash build commands in any of these places
3230
# - this file
33-
# - .github/workflows/agentics/daily-qa.config.md
31+
# - .github/workflows/agentics/daily-qa-improver.config.md
3432
# - .github/workflows/agentics/build-tools.md (shared).
3533
#
3634
# Run `gh aw compile` after editing to recompile the workflow.
3735
#
3836
# For YOLO mode, uncomment the following line
37+
# KillBash:
38+
# BashOutput:
3939
# Bash:
4040
# - ":*
4141

@@ -71,11 +71,13 @@ Your name is ${{ github.workflow }}. Your job is to act as an agentic QA enginee
7171

7272
- Make sure to include a clear description of the problem, steps to reproduce it, and any relevant information that might help the team understand and fix the issue. If you create a pull request, make sure to include a clear description of the changes you made and why they are necessary.
7373

74-
4. Search for any previous "Daily QA Report" open issues in the repository. Read the latest one. If the status is essentially the same as the current state of the repository, then add a very brief comment to that issue saying you didn't find anything new and exit. Close all the previous open Daily QA Report issues.
74+
4. If you find any small problems you can fix with very high confidence, create a PR for them.
75+
76+
5. Search for any previous "${{ github.workflow }}" open issues in the repository. Read the latest one. If the status is essentially the same as the current state of the repository, then add a very brief comment to that issue saying you didn't find anything new and exit. Close all the previous open Daily QA Report issues.
7577

76-
5. Create a new issue with title starting with "${{ github.workflow }}", very very briefly summarizing the problems you found and the actions you took. Use note form. Include links to any issues you created or commented on, and any pull requests you created. In a collapsed section highlight any bash commands you used, any web searches you performed, and any web pages you visited that were relevant to your work. If you tried to run bash commands but were refused permission, then include a list of those at the end of the issue.
78+
6. Create a new issue with title starting with "${{ github.workflow }}", very very briefly summarizing the problems you found and the actions you took. Use note form. Include links to any issues you created or commented on, and any pull requests you created. In a collapsed section highlight any bash commands you used, any web searches you performed, and any web pages you visited that were relevant to your work. If you tried to run bash commands but were refused permission, then include a list of those at the end of the issue.
7779

78-
6. Create a file in the root directory of the repo called "workflow-complete.txt" with the text "Workflow completed successfully".
80+
7. Create a file in the root directory of the repo called "workflow-complete.txt" with the text "Workflow completed successfully".
7981

8082
@include agentics/shared/tool-refused.md
8183

workflows/daily-team-status.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
permissions: read-all
1111

12+
network: defaults
13+
1214
safe-outputs:
1315
create-issue:
1416
title-prefix: "${{ github.workflow }}"
@@ -26,7 +28,7 @@ tools:
2628

2729
# Daily Team Status
2830

29-
1. Search for recent "Daily Team Status" open issues in the repository. Read them to understand the context of the team and recent activity, and to avoid duplication.
31+
1. Search for recent open issues with title "${{ github.workflow }}" in the repository. Read them to understand the context of the team and recent activity, and to avoid duplication.
3032

3133
2. Write an upbeat, friendly, motiviating summary of recent activity in the repo.
3234

0 commit comments

Comments
 (0)