diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b8645b8 --- /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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c0b2833 --- /dev/null +++ b/.gitignore @@ -0,0 +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/agentics/shared/include-link.md b/workflows/agentics/shared/include-link.md deleted file mode 100644 index 6037d55..0000000 --- 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 1863893..c9c4867 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 f1425a7..41701dc 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 a969f2a..76cd730 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 b72d737..cf5890b 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 710af8a..097786d 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 aebd1bb..1fb732a 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 d2d3736..d1a8657 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 792fe3c..a1f1aa9 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 18b5759..f420e8a 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 45bd9a0..6017a8b 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 78335ad..2f9bcd5 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 a13023d..aad3955 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: @@ -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 b23f686..e9c3f70 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 8d2a4c5..9938fdb 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 02649b7..b4b3476 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