Problem
The GitHub integration routes have incomplete sync logic:
backend/omoi_os/api/routes/github.py line ~156: Webhook secret hardcoded to None instead of being read from project settings
backend/omoi_os/api/routes/github.py line ~206: TODO: Implement sync logic — the GitHub repo sync endpoint is a stub
backend/omoi_os/api/routes/github_repos.py line ~323: TODO: Check if webhook is configured — always returns false
What to do
- Load webhook secret from project settings or config
- Implement the sync logic — pull latest commits, branches, PRs from GitHub API
- Wire up webhook configuration check to return actual status
The GitHubIntegrationService and GitHubApiService already handle most GitHub API interactions.
Difficulty: Medium | Skill: Python (FastAPI, GitHub API)
Problem
The GitHub integration routes have incomplete sync logic:
backend/omoi_os/api/routes/github.pyline ~156: Webhook secret hardcoded toNoneinstead of being read from project settingsbackend/omoi_os/api/routes/github.pyline ~206:TODO: Implement sync logic— the GitHub repo sync endpoint is a stubbackend/omoi_os/api/routes/github_repos.pyline ~323:TODO: Check if webhook is configured— always returns falseWhat to do
The
GitHubIntegrationServiceandGitHubApiServicealready handle most GitHub API interactions.Difficulty: Medium | Skill: Python (FastAPI, GitHub API)