Integration

Your engineering decisions are in PR descriptions. Make them retrievable.

PRs and issues are where engineers actually argue and decide. Cognia indexes them with full context and surfaces them when someone asks 'why did we do it that way?'.

What gets captured

Pull requests (description, comments, reviews, status)
Issues (body, comments, labels, milestones)
Discussions (full thread, marked answers)
READMEs, ADRs in repo (committed markdown)

Setup

  1. 1

    Open Admin → Integrations

    As an org admin, find GitHub.

  2. 2

    Approve the OAuth scopes

    We request repo-read access (or org-level if you're connecting an entire org). No write scopes; we don't push commits or comments.

  3. 3

    Pick repositories

    You can grant access to all repos or a subset. We recommend starting with two or three engineering-heavy repos; expand as needed.

  4. 4

    Ask GitHub-shaped questions

    'What was the last big migration we did to the auth service?' or 'Who approved the change to the retry policy?'

Example questions

cogniahq.tech /agent · GitHub
ask Cognia:What was the last change to the migration retry policy?
Returns PR #1244, the engineer who proposed it, the post-mortem that motivated it, and the line where the retry count went from 3 to 6.
1GitHub sourcegithub
2linked memory meshgraph edge
cogniahq.tech /agent · GitHub
ask Cognia:Who reviewed the JWT regression fix?
Surfaces the PR, lists reviewers, and links to the related Linear ticket if any.
1GitHub sourcegithub
2linked memory meshgraph edge

Scopes requested

repo (read)read:orgread:useruser:email

FAQ

Does Cognia index private repos?
Only the repos your OAuth grant covers. We respect GitHub's repo-level permission model.
Do code-level changes get captured?
PR descriptions and review comments are captured. Diffs are not; they're noise for retrieval. We're working on a 'changed lines for context' lite mode.
What about GitHub Discussions?
Yes, the connector pulls in Discussions and marks accepted answers in the metadata.

Related reading

© 2026 Cognia, Inc.
Cognia for GitHub: PR descriptions, reviews, and issues as memory — Cognia · Cognia