From c500fc704424ee2d98dd1dcd731832facbe5fd1b Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Fri, 3 Oct 2025 00:05:28 +0000 Subject: [PATCH 1/3] remove include links --- .gitignore | 2 ++ workflows/agentics/shared/include-link.md | 5 ----- workflows/ci-doctor.md | 2 -- workflows/daily-accessibility-review.md | 2 -- workflows/daily-backlog-burner.md | 2 -- workflows/daily-dependency-updates.md | 2 -- workflows/daily-perf-improver.md | 2 -- workflows/daily-plan.md | 2 -- workflows/daily-progress.md | 2 -- workflows/daily-qa.md | 2 -- workflows/daily-team-status.md | 2 -- workflows/daily-test-improver.md | 2 -- workflows/issue-triage.md | 2 -- workflows/pr-fix.md | 2 -- workflows/repo-ask.md | 2 -- workflows/update-docs.md | 2 -- workflows/weekly-research.md | 2 -- 17 files changed, 2 insertions(+), 35 deletions(-) create mode 100644 .gitignore delete mode 100644 workflows/agentics/shared/include-link.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..3d88f4cf --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +workflows/*.lock.yml +gh-aw diff --git a/workflows/agentics/shared/include-link.md b/workflows/agentics/shared/include-link.md deleted file mode 100644 index 6037d55b..00000000 --- a/workflows/agentics/shared/include-link.md +++ /dev/null @@ -1,5 +0,0 @@ -> NOTE: Include a footer link like this at the end of each new issue, issue comment or pull request description you create. IMPORTANT: Do this in addition to any other footers you are instructed to include. For example if Claude Code is used, it will add its own footer, but you must still add this one too. - -```markdown -> AI-generated content by [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) may contain mistakes. -``` \ No newline at end of file diff --git a/workflows/ci-doctor.md b/workflows/ci-doctor.md index 18638939..c9c4867e 100644 --- a/workflows/ci-doctor.md +++ b/workflows/ci-doctor.md @@ -192,6 +192,4 @@ When creating an investigation issue, use this structure: - Build cumulative knowledge about failure patterns and solutions using structured JSON files - Use file-based indexing for fast pattern matching and similarity detection -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/daily-accessibility-review.md b/workflows/daily-accessibility-review.md index f1425a72..41701dc6 100644 --- a/workflows/daily-accessibility-review.md +++ b/workflows/daily-accessibility-review.md @@ -69,6 +69,4 @@ still contains a placeholder, then: - References to the appropriate section(s) of WCAG 2.2 that are violated - Any relevant code snippets that illustrate the issue -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md \ No newline at end of file diff --git a/workflows/daily-backlog-burner.md b/workflows/daily-backlog-burner.md index a969f2a6..76cd730e 100644 --- a/workflows/daily-backlog-burner.md +++ b/workflows/daily-backlog-burner.md @@ -88,8 +88,6 @@ Your name is ${{ github.workflow }}. Your job is to act as an agentic coder for 6. If you encounter any unexpected failures or have questions, add comments to the pull request or issue to seek clarification or assistance. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/daily-dependency-updates.md b/workflows/daily-dependency-updates.md index b72d7374..cf5890b6 100644 --- a/workflows/daily-dependency-updates.md +++ b/workflows/daily-dependency-updates.md @@ -38,8 +38,6 @@ Your name is "${{ github.workflow }}". Your job is to act as an agentic coder fo > NOTE: If you didn't make progress on particular dependency updates, create one overall issue saying what you've tried, ask for clarification if necessary, and add a link to a new branch containing any investigations you tried. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/daily-perf-improver.md b/workflows/daily-perf-improver.md index 710af8ad..097786db 100644 --- a/workflows/daily-perf-improver.md +++ b/workflows/daily-perf-improver.md @@ -172,8 +172,6 @@ Your name is ${{ github.workflow }}. Your job is to act as an agentic coder for 6. At the end of your work, add a very, very brief comment (at most two-sentences) to the issue from step 1a, saying you have worked on the particular goal, linking to any pull request you created, and indicating whether you made any progress or not. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/daily-plan.md b/workflows/daily-plan.md index aebd1bb9..1fb732a9 100644 --- a/workflows/daily-plan.md +++ b/workflows/daily-plan.md @@ -50,8 +50,6 @@ Your job is to act as a planner for the GitHub repository ${{ github.repository 3a. If in step (1a) you found a "project plan" issue, update its body with the project plan. If in step (1a) you didn't find a "project issue", create one with an appropriate title starting with "${{ github.workflow }}", using the project plan as the body, and ensure the issue is labelled with "project-plan". -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/daily-progress.md b/workflows/daily-progress.md index d2d3736e..d1a8657b 100644 --- a/workflows/daily-progress.md +++ b/workflows/daily-progress.md @@ -88,8 +88,6 @@ Your name is ${{ github.workflow }}. Your job is to act as an agentic coder for 6. If you encounter any unexpected failures or have questions, add comments to the pull request or issue to seek clarification or assistance. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/daily-qa.md b/workflows/daily-qa.md index 792fe3ce..a1f1aa9c 100644 --- a/workflows/daily-qa.md +++ b/workflows/daily-qa.md @@ -66,8 +66,6 @@ Your name is ${{ github.workflow }}. Your job is to act as an agentic QA enginee 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. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/daily-team-status.md b/workflows/daily-team-status.md index 18b5759b..f420e8a5 100644 --- a/workflows/daily-team-status.md +++ b/workflows/daily-team-status.md @@ -64,8 +64,6 @@ tools: Only a new issue should be created, no existing issues should be adjusted. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/daily-test-improver.md b/workflows/daily-test-improver.md index 45bd9a04..6017a8b8 100644 --- a/workflows/daily-test-improver.md +++ b/workflows/daily-test-improver.md @@ -143,8 +143,6 @@ Your name is ${{ github.workflow }}. Your job is to act as an agentic coder for 6. At the end of your work, add a very, very brief comment (at most two-sentences) to the issue from step 1a, saying you have worked on the particular goal, linking to any pull request you created, and indicating whether you made any progress or not. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/issue-triage.md b/workflows/issue-triage.md index 78335ad0..2f9bcd56 100644 --- a/workflows/issue-triage.md +++ b/workflows/issue-triage.md @@ -78,8 +78,6 @@ You're a triage assistant for GitHub issues. Your task is to analyze issue #${{ - If appropriate break the issue down to sub-tasks and write a checklist of things to do. - Use collapsed-by-default sections in the GitHub markdown to keep the comment tidy. Collapse all sections except the short main summary at the top. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/pr-fix.md b/workflows/pr-fix.md index a13023db..de1b8b76 100644 --- a/workflows/pr-fix.md +++ b/workflows/pr-fix.md @@ -50,8 +50,6 @@ You are an AI assistant specialized in fixing pull requests with failing CI chec 8. Add a comment to the pull request summarizing the changes you made and the reason for the fix. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/repo-ask.md b/workflows/repo-ask.md index b23f6869..e9c3f701 100644 --- a/workflows/repo-ask.md +++ b/workflows/repo-ask.md @@ -33,8 +33,6 @@ Take heed of these instructions: "${{ needs.task.outputs.text }}" Answer the question or research that the user has requested and provide a response by adding a comment on the pull request or issue. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/update-docs.md b/workflows/update-docs.md index 8d2a4c5c..9938fdbe 100644 --- a/workflows/update-docs.md +++ b/workflows/update-docs.md @@ -114,8 +114,6 @@ Documentation‑as‑Code, transparency, single source of truth, continuous impr > NOTE: Treat documentation gaps like failing tests. -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md diff --git a/workflows/weekly-research.md b/workflows/weekly-research.md index 02649b7c..b4b34767 100644 --- a/workflows/weekly-research.md +++ b/workflows/weekly-research.md @@ -49,8 +49,6 @@ At the end of the report list write a collapsed section with the following: - All bash commands you executed - All MCP tools you used -@include agentics/shared/include-link.md - @include agentics/shared/xpia.md From 4a27fc923876975d3a2874cb57e0464c3c2b8a84 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Fri, 3 Oct 2025 00:07:25 +0000 Subject: [PATCH 2/3] add CI workflow for installing and verifying gh-aw --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..b8645b87 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Install gh-aw + +on: + push: + branches: [main] + pull_request: + +jobs: + install-gh-aw: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install gh-aw + run: | + curl -fsSL https://raw.githubusercontent.com/githubnext/gh-aw/refs/heads/main/install-gh-aw.sh -o /tmp/install-gh-aw.sh + bash /tmp/install-gh-aw.sh + - name: Verify gh-aw installation + run: ./gh-aw --version + - name: Compile workflows + run: ./gh-aw compile --workflows-dir workflows --verbose From bea94db606a98f4683bf775abad1a77c9b2d6ecb Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Fri, 3 Oct 2025 00:10:50 +0000 Subject: [PATCH 3/3] update .gitignore to include workflow instruction files; fix formatting in pr-fix.md --- .gitignore | 2 ++ workflows/pr-fix.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3d88f4cf..c0b28337 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ workflows/*.lock.yml gh-aw +.github/instructions/github-agentic-workflows.instructions.md +.github/prompts/create-agentic-workflow.prompt.md \ No newline at end of file diff --git a/workflows/pr-fix.md b/workflows/pr-fix.md index de1b8b76..aad39555 100644 --- a/workflows/pr-fix.md +++ b/workflows/pr-fix.md @@ -4,14 +4,14 @@ on: name: pr-fix reaction: "eyes" stop-after: +48h - roles: [admin, maintainer, write] +roles: [admin, maintainer, write] permissions: read-all network: defaults safe-outputs: - push-to-pr-branch: + push-to-pull-request-branch: create-issue: title-prefix: "${{ github.workflow }}" add-comment: