Repository navigation
Description
Orbit is a task manager whose own development is tracked in GitHub Issues, while a hosted Orbit instance runs at orbit.noveum.ai. The project does not use its own product to build itself.
That is a missed opportunity twice over: it is the best possible bug-finding exercise, and it is the most convincing demonstration the project can offer.
What to build
Two way sync between an Orbit workspace and a GitHub repository's issues.
- A GitHub issue creates or updates the linked Orbit issue, and the reverse
- Comments sync both ways
- Labels map, with a configurable mapping, since GitHub labels and Orbit labels will not be identical
- State maps: GitHub open and closed against Orbit's workflow states, which are per team and richer than two values, so this needs a mapping rather than a rule
- Assignees map where accounts can be matched
- Milestones map to Orbit milestones or sprints, and which one is a decision
What already exists
More than it looks like. The GitHub App integration is built and working:
github_installation,github_repository,github_repository_link,github_repository_sync,github_issue_sync,github_comment_syncandgithub_pr_state_mappingare all inpackages/db/src/schema/comms.tsgithub_issue_syncandgithub_comment_syncexist specifically for this and are barely referenced in application codeapps/web/src/app/api/webhooks/github/route.tsreceives events with signature verification- Pull request linking works end to end
So the schema anticipated this. Check exactly how much of github_issue_sync is wired before starting, because the answer may be more than zero.
The hard parts
Loops. Orbit writes to GitHub, GitHub sends a webhook, Orbit writes the change again, and so on. Same problem as the Slack thread sync issue, and the same requirement: an origin marker and a skip. This is the single most common way these integrations fail.
Conflicts. The same issue edited in both places between syncs. Last write wins is defensible and has to be stated rather than assumed.
State mapping. Orbit's workflow states are per team, user defined, and have a category. GitHub has open and closed, plus a state reason. The mapping has to be configured per repository link and it has to handle a state being deleted.
Rate limits. A backfill of a busy repository will hit GitHub's limits. Queue and back off.
Permissions and privacy. A public GitHub repository syncing into a private Orbit team means anything written in Orbit may become public. This has to be impossible to do by accident. Make the direction and the visibility consequences explicit at configuration time, and refuse combinations that leak.
Scale of the first version. One repository to one team is enough. Do not build many to many first.
Why this is worth doing even though it is hard
Beyond the demonstration value, it is the most requested kind of integration for a tracker used by open source projects, where the contributors live in GitHub Issues and the maintainers want a real board. Orbit is well placed for it because the GitHub App is already there.
Files
packages/db/src/schema/comms.tsapps/web/src/app/api/webhooks/github/route.tsapps/web/src/app/api/integrations/github/packages/services/src/for the GitHub clientpackages/core/src/work/
Comment first
Post your answer to the loop prevention and state mapping questions before writing code.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNeeds design
Activity
imshashank commentedon Aug 8, 2026
Distinct from #229, though both involve GitHub Issues. #229 is a one time import. This issue is ongoing bidirectional sync, which is considerably harder because of loop prevention, conflicts and state mapping.
Building the importer in #229 first is a reasonable path into this, and the two should not be built blind to each other.
Moved to The extension surface milestone. It was filed under Community and repo health because dogfooding this repository is the motivation, but it is a product integration feature and belongs with the rest of them.