-
-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Labels
Description
As the final part of the sync service refactoring epic, this ticket introduces the new functionality to sync GitHub Pull Requests to the local filesystem.
Tasks:
- Create
ai/mcp/server/github-workflow/services/sync/PrSyncer.mjs. - Implement the logic for a 1-way pull sync of PRs. This will involve:
- Fetching PR data via the GraphQL API.
- Formatting the PR content (including metadata, description, and potentially comments) into a structured Markdown file.
- Saving the files to a new local directory (e.g.,
.github/PULL_REQUESTS/).
- Integrate the new
PrSyncerinto the mainSyncServiceorchestration loop. - Update the
MetadataManagerto handle metadata for synced PRs (e.g., storingupdatedAtandcontentHash).