Skip to content

Commit 2074287

Browse files
authored
Merge branch 'main' into simplify-build
2 parents f6b057e + ff5a15f commit 2074287

38 files changed

Lines changed: 482 additions & 392 deletions

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Install gh-aw
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
install-gh-aw:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
- name: Install gh-aw
15+
run: |
16+
curl -fsSL https://raw.githubusercontent.com/githubnext/gh-aw/refs/heads/main/install-gh-aw.sh -o /tmp/install-gh-aw.sh
17+
bash /tmp/install-gh-aw.sh
18+
- name: Verify gh-aw installation
19+
run: ./gh-aw --version
20+
- name: Compile workflows
21+
run: ./gh-aw compile --workflows-dir workflows --verbose

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
workflows/*.lock.yml
2+
gh-aw
3+
.github/instructions/github-agentic-workflows.instructions.md
4+
.github/prompts/create-agentic-workflow.prompt.md

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,26 @@ A sample family of reusable [GitHub Agentic Workflows](https://githubnext.github
77
88
## 📂 Available Workflows
99

10-
### Research, Status & Planning Workflows
11-
- [📚 Weekly Research](docs/weekly-research.md) - Collect research updates and industry trends
12-
- [👥 Daily Team Status](docs/daily-team-status.md) - Assess repository activity and create status reports
13-
- [📋 Daily Plan](docs/daily-plan.md) - Update planning issues for team coordination
14-
1510
### Depth Triage & Analysis Workflows
1611
- [🏷️ Issue Triage](docs/issue-triage.md) - Triage issues and pull requests
1712
- [🏥 CI Doctor](docs/ci-doctor.md) - Monitor CI workflows and investigate failures automatically
13+
- [🔍 Repo Ask](docs/repo-ask.md) - Intelligent research assistant for repository questions and analysis
1814
- [🔍 Daily Accessibility Review](docs/daily-accessibility-review.md) - Review application accessibility by automatically running and using the application
1915

16+
### Research, Status & Planning Workflows
17+
- [📚 Weekly Research](docs/weekly-research.md) - Collect research updates and industry trends
18+
- [👥 Daily Team Status](docs/daily-team-status.md) - Assess repository activity and create status reports
19+
- [📋 Daily Plan](docs/daily-plan.md) - Update planning issues for team coordination
20+
2021
### Coding & Development Workflows
22+
- [⚡ Daily Progress](docs/daily-progress.md) - Automated daily feature development following a structured roadmap
2123
- [📦 Daily Dependency Updater](docs/daily-dependency-updates.md) - Update dependencies and create pull requests
2224
- [📖 Regular Documentation Update](docs/update-docs.md) - Update documentation automatically
2325
- [🏥 PR Fix](docs/pr-fix.md) - Analyze failing CI checks and implement fixes for pull requests
2426
- [🔎 Daily Adhoc QA](docs/daily-qa.md) - Perform adhoc explorative quality assurance tasks
2527
- [🧪 Daily Test Coverage Improver](docs/daily-test-improver.md) - Improve test coverage by adding meaningful tests to under-tested areas
2628
- [⚡ Daily Performance Improver](docs/daily-perf-improver.md) - Analyze and improve code performance through benchmarking and optimization
2729

28-
## 💻 Coding Tasks Warning
29-
3030
> [!WARNING] The workflows that help with coding tasks should be installed with caution and used only experimentally, then disabled. While the tasks are executed within GitHub Actions and have no access to secrets, they still operate in an environment where outward network requests are allowed. This means untrusted inputs such as issue descriptions, comments, and code could potentially be exploited to direct the models to access external content that in turn could be malicious. Pull requests and other outputs must be reviewed very carefully before merging.
3131
3232
## 💬 Share Feedback

docs/ci-doctor.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ This creates a pull request to add the workflow to your repository. After mergin
1818

1919
## Configuration
2020

21-
This workflow requires no configuration and works out of the box. However, you can customize it as follows:
22-
23-
1. Use local configuation to specify which workflows to monitor (currently monitors "Daily Perf Improver" and "Daily Test Improver"), investigation depth, failure categorization, and reporting format. Local configuration can be done in `.github/workflows/agentics/ci-doctor.config.md`.
24-
25-
2. Build tool configuration for build tools shared across all workflows installed from this pack can be done in `.github/workflows/agentics/build-tools.md`.
21+
You can specify which workflows to monitor (currently monitors "Daily Perf Improver" and "Daily Test Improver") by editing the workflow directly.
2622

2723
After editing run `gh aw compile` to update the workflow and commit all changes to the default branch.
2824

docs/daily-accessibility-review.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ gh aw run daily-accessibility-review
2424

2525
## Configuration
2626

27-
This workflow requires no configuration and works out of the box. However, you can customize it as follows:
28-
29-
1. Use local configuation to specify which accessibility standards to check (e.g., WCAG 2.1, WCAG 2.2), types of accessibility issues to prioritize, and reporting format. Local configuration can be done in `.github/workflows/agentics/daily-accessibility-review.config.md`.
30-
31-
2. Build tool configuration for build tools shared across all workflows installed from this pack can be done in `.github/workflows/agentics/build-tools.md`.
27+
This workflow requires no configuration and works out of the box. You can use local configuation to specify which accessibility standards to check (e.g., WCAG 2.1, WCAG 2.2), types of accessibility issues to prioritize, and reporting format. Local configuration can be done in `.github/workflows/agentics/daily-accessibility-review.config.md`.
3228

3329
After editing run `gh aw compile` to update the workflow and commit all changes to the default branch.
3430

docs/daily-dependency-updates.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@ gh aw run daily-dependency-updates
3838

3939
## Configuration
4040

41-
This workflow requires no configuration and works out of the box. However, you can customize it as follows:
41+
This workflow requires no configuration and works out of the box. You can use local configuation to specify dependency management tools (npm, pip, maven, etc.), customize dependency update strategies and version constraints, onfigure which dependencies to include/exclude from automated updates. Local configuration can be done in `.github/workflows/agentics/daily-dependency-updates.config.md`.
4242

43-
1. Use local configuation to specify dependency management tools (npm, pip, maven, etc.), customize dependency update strategies and version constraints, onfigure which dependencies to include/exclude from automated updates. Local configuration can be done in `.github/workflows/agentics/daily-dependency-updates.config.md`.
4443

45-
2. Build tool configuration for build tools shared across all workflows installed from this pack can be done in `.github/workflows/agentics/build-tools.md`.
4644

4745
After editing run `gh aw compile` to update the workflow and commit all changes to the default branch.
4846

docs/daily-perf-improver.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ gh aw run daily-perf-improver --repeat 180
5252

5353
3. Use local configuation to specify performance testing tools and benchmarking frameworks, optimization targets, performance metrics, and profiling strategies. Local configuration can be done in `.github/workflows/agentics/daily-perf-improver.config.md`.
5454

55-
4. Build tool configuration for build tools shared across all workflows installed from this pack can be done in `.github/workflows/agentics/build-tools.md`.
56-
5755
After editing run `gh aw compile` to update the workflow and commit all changes to the default branch.
5856

5957
## What it reads from GitHub

docs/daily-plan.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ gh aw run daily-plan
2222

2323
## Configuration
2424

25-
This workflow requires no configuration and works out of the box. However, you can customize it as follows:
26-
27-
1. Use local configuation to specify planning focus areas, reporting format, and frequency. Local configuration can be done in `.github/workflows/agentics/daily-plan.config.md`.
25+
This workflow requires no configuration and works out of the box. You can use local configuation to specify planning focus areas, reporting format, and frequency. Local configuration can be done in `.github/workflows/agentics/daily-plan.config.md`.
2826

2927
After editing run `gh aw compile` to update the workflow and commit all changes to the default branch.
3028

docs/daily-progress.md

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
# 📈 Daily Progress
2+
3+
> For an overview of all available workflows, see the [main README](../README.md).
4+
5+
The [daily progress workflow](../workflows/daily-progress.md?plain=1) is an automated workflow that runs daily (Monday through Friday at 2am UTC) to work systematically on your repository's feature roadmap. This workflow acts as an autonomous developer that researches project goals, creates development plans, and implements features through a structured multi-step process.
6+
7+
## Installation
8+
9+
```bash
10+
gh aw add daily-progress -r githubnext/agentics --pr
11+
```
12+
13+
This creates a pull request to add the workflow to your repository. After merging the PR and syncing to main, you can start a run of this workflow immediately by running:
14+
15+
```bash
16+
gh aw run daily-progress
17+
```
18+
19+
**Mandatory Checklist**
20+
21+
* [ ] I have read the notes on coding tasks in the [main README](../README.md) and understand the implications.
22+
23+
* [ ] I understand that this workflow will generate and run bash commands in the confine of the GitHub Actions VM, with network access.
24+
25+
* [ ] I am a repository admin or have sufficient permissions, and am happy for this workflow to create issues, pull requests, and push new branches to the repository.
26+
27+
* [ ] I have enabled "Allow GitHub Actions to create and approve pull requests" in the repository settings under "Actions > General"
28+
29+
* [ ] I have considered enabling "Always suggest updating pull request branches" in the repository settings
30+
31+
* [ ] If in a fork, I have enabled "GitHub Actions" and "GitHub Issues" in the fork repository settings
32+
33+
* [ ] I will review all pull requests and issues created by this workflow very carefully, and carefully monitor the repository.
34+
35+
## Configuration
36+
37+
This workflow requires no configuration and works out of the box. However, you can customize it as follows:
38+
39+
1. **Local configuration**: Customize development focus areas, coding standards, and workflow behavior. Local configuration can be done in `.github/workflows/agentics/daily-progress.config.md`.
40+
41+
2. **Build steps**: The workflow will automatically create a build configuration file at `.github/actions/daily-progress/build-steps/action.yml` to set up the development environment for feature work.
42+
43+
After editing run `gh aw compile` to update the workflow and commit all changes to the default branch.
44+
45+
## How it Works
46+
47+
The Daily Progress workflow follows a systematic 7-step process:
48+
49+
### 1. Roadmap Research
50+
- Searches for an existing roadmap issue titled "Daily Roadmap Progress: Research, Roadmap and Plan"
51+
- If no roadmap exists, conducts comprehensive research into the project's goals, features, and target audience
52+
- Analyzes existing documentation, issues, pull requests, and project files
53+
- Creates a detailed roadmap issue with development priorities
54+
55+
### 2. Build Configuration Setup
56+
- Checks for `.github/actions/daily-progress/build-steps/action.yml`
57+
- If missing, researches typical build/setup steps for the project
58+
- Creates the build configuration file and submits a pull request
59+
- Ensures the repository is properly configured for automated development work
60+
61+
### 3. Goal Selection
62+
- Reads the project roadmap and any maintainer feedback
63+
- Reviews existing pull requests to avoid conflicts
64+
- Selects an appropriate goal from the roadmap to work on
65+
- Updates the roadmap if it needs refreshing
66+
67+
### 4. Feature Development
68+
- Creates a new branch for the selected goal
69+
- Implements code changes to work toward the goal
70+
- Ensures existing tests pass and adds new tests when appropriate
71+
- Applies code formatting and linting standards
72+
73+
### 5. Pull Request Creation
74+
- Creates a draft pull request with the implemented changes
75+
- Provides detailed description of what was done and why
76+
- Ensures no unwanted files are included in the PR
77+
- Links back to the roadmap issue
78+
79+
### 6. Issue Reporting
80+
- If development fails, creates an issue summarizing the problems encountered
81+
- Provides context for future development attempts
82+
83+
### 7. Communication
84+
- Updates the roadmap issue with progress information
85+
- Links to created pull requests or issues
86+
- Seeks clarification if unexpected failures occur
87+
88+
## What it reads from GitHub
89+
90+
- Repository contents and file structure
91+
- Existing issues and pull requests
92+
- Project documentation and configuration files
93+
- Actions workflow runs and CI/CD configurations
94+
- Development container configurations
95+
- Project boards and roadmaps
96+
97+
## What it creates
98+
99+
- **Planning Issues**: Creates roadmap and research issues for project direction
100+
- **Configuration Pull Requests**: Adds build and setup configurations
101+
- **Feature Pull Requests**: Implements new features and improvements as draft PRs
102+
- **Progress Issues**: Reports on development challenges or failures
103+
- **Issue Comments**: Updates roadmap issues with progress information
104+
- Requires `issues: write` and `pull-requests: write` permissions
105+
106+
## What web searches it performs
107+
108+
- Researches project roadmap information and feature development best practices
109+
- Looks up documentation for technologies used in the project
110+
- Searches for implementation patterns and code examples
111+
- May research industry trends relevant to the project goals
112+
113+
## What bash commands it runs
114+
115+
- Repository analysis and exploration commands
116+
- Build and test commands to ensure code quality
117+
- Code formatting and linting tools
118+
- Git operations for branch management and commits
119+
- Package management commands (npm, pip, etc.)
120+
- Any commands needed for feature development and validation
121+
122+
## Use Cases
123+
124+
- **Continuous Feature Development**: Automatically work on project roadmap items daily
125+
- **Technical Debt Reduction**: Systematically improve code quality and documentation
126+
- **Research and Planning**: Maintain up-to-date project roadmaps and development plans
127+
- **Automated Maintenance**: Regular updates, dependency management, and improvements
128+
- **Proof of Concept Development**: Explore new features and implementation approaches
129+
130+
## Monitoring and Control
131+
132+
- **Draft Pull Requests**: All feature changes are created as draft PRs for human review
133+
- **Roadmap Issues**: Central tracking of project goals and progress
134+
- **Scheduled Execution**: Runs only on weekdays to respect team schedules
135+
- **Timeout Protection**: Limited to 30 minutes per run with 48-hour stop-after
136+
- **Safe Outputs**: Controlled limits on issues and PRs created
137+
138+
## Human in the loop
139+
140+
- Review and approve all draft pull requests created by the workflow
141+
- Provide feedback on roadmap issues to guide development priorities
142+
- Monitor progress and adjust goals based on changing project needs
143+
- Validate that automated changes align with project standards and goals
144+
- Merge approved pull requests and close completed roadmap items

docs/daily-qa.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ gh aw run daily-qa
2424

2525
## Configuration
2626

27-
This workflow requires no configuration and works out of the box. However, you can customize it as follows:
27+
This workflow requires no configuration and works out of the box. You can use local configuation to specify QA tasks, testing scenarios, reporting format, and frequency. Local configuration can be done in `.github/workflows/agentics/daily-qa.config.md`.
2828

29-
1. Use local configuation to specify QA tasks, testing scenarios, reporting format, and frequency. Local configuration can be done in `.github/workflows/agentics/daily-qa.config.md`.
3029

31-
2. Build tool configuration for build tools shared across all workflows installed from this pack can be done in `.github/workflows/agentics/build-tools.md`.
3230

3331
After editing run `gh aw compile` to update the workflow and commit all changes to the default branch.
3432

0 commit comments

Comments
 (0)