Skip to content

Commit 47f2455

Browse files
Add "Tracking Template Evolution" section to repo-consistency agent (#37)
* Initial plan * Add Tracking Template Evolution section to repo-consistency agent Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
1 parent a312a38 commit 47f2455

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/agents/repo-consistency-agent.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,34 @@ The agent reviews the following areas for consistency with the template:
8181
- `quality/` (auto-generated)
8282
- **Definition Files**: `definition.yaml` files for document generation
8383

84+
### Tracking Template Evolution
85+
86+
To ensure downstream projects benefit from recent template improvements, review recent pull requests
87+
merged into the template repository:
88+
89+
1. **List Recent PRs**: Retrieve recently merged PRs from `demaconsulting/TemplateDotNetTool`
90+
- Review the last 10-20 PRs to identify template improvements
91+
92+
2. **Identify Propagatable Changes**: For each PR, determine if changes should apply to downstream
93+
projects:
94+
- Focus on structural changes (workflows, agents, configurations) over content-specific changes
95+
- Note changes to `.github/`, linting configurations, project patterns, and documentation
96+
structure
97+
98+
3. **Check Downstream Application**: Verify if identified changes exist in the downstream project:
99+
- Check if similar files/patterns exist in downstream
100+
- Compare file contents between template and downstream project
101+
- Look for similar PR titles or commit messages in downstream repository history
102+
103+
4. **Recommend Missing Updates**: For changes not yet applied, include them in the consistency
104+
review with:
105+
- Description of the template change (reference PR number)
106+
- Explanation of benefits for the downstream project
107+
- Specific files or patterns that need updating
108+
109+
This technique ensures downstream projects don't miss important template improvements and helps
110+
maintain long-term consistency.
111+
84112
### Review Process
85113

86114
1. **Identify Differences**: Compare downstream repository structure with template

0 commit comments

Comments
 (0)