Aggregate Cross-Project Learnings
Pull learnings and retro insights from all projects in registry.yaml into knowledge/.
Steps
- •
Read
registry.yamlto get the list of managed projects with their paths. - •
Ensure freshness of each project's main worktree:
- •Run
git -C <path> pull --ff-onlyto update to latest origin/main - •If pull fails (dirty worktree, non-ff), warn the user and note the discrepancy
- •Report freshness status to the user before proceeding
- •Run
- •
For each project, read:
- •
<path>/<docs.learnings>(typicallydocs/process/learnings.md) - •
<path>/<docs.retros>(typicallydocs/process/retrospective.md)
- •
- •
Compare against
knowledge/cross-project-learnings.mdto identify new entries that haven't been aggregated yet. Avoid duplicating entries already present. - •
Append new entries to
knowledge/cross-project-learnings.md, tagged with:- •Source project name
- •Date (from retro entry or current date for learnings)
- •Category (if present in the original)
Format:
markdown## [Category] (from [project-name], [date]) - [Specific learning or insight]
- •
Identify cross-cutting patterns — learnings that appear in multiple projects or that would benefit all projects. Add these to
knowledge/patterns.mdwith:- •The pattern description
- •Which projects it was observed in
- •Whether it should be propagated (and how — skill update, CLAUDE.md update, etc.)
- •
Commit the updated
knowledge/files with message:knowledge: aggregate learnings from [N] projects - •
Summarize what was aggregated:
- •How many new entries from each project
- •Any cross-cutting patterns identified
- •Recommendations for
/propagateactions