Faster onboarding for any GitHub repository.
We turn PRs, commits, and code ownership into a clear story of how a codebase works.
Act I
Your Work
You're picking up the authentication and payments area. The auth middleware was recently refactored in PR #142 to fix a race condition in token refresh. The payments module is being extended as part of the API v2 migration.
ENG-2847
Add idempotency key validation to payment processing endpoints
Files
Recent Authors
Start Reading
- 1src/middleware/auth.ts
- 2src/lib/token.ts
- 3src/api/payments.ts
Commit Trail
a3f21c7Refactored token refresh to prevent race conditions
e8b4a12Add sliding-window rate limiting with Redis
9d1f3c8Extract payment validation into shared schema
PuRrs That Shaped This Area
Brief: Your codebase has a story. We tell it.
Every onboarding brief is built from real commits, PRs, and code ownership — a three-act narrative of how the code got here and where it's going.
Act I
Your Work
You're picking up the authentication and payments area. The auth middleware was recently refactored in PR #142 to fix a race condition in token refresh. The payments module is being extended as part of the API v2 migration.
ENG-2847
Add idempotency key validation to payment processing endpoints
Files
Recent Authors
Start Reading
- 1src/middleware/auth.ts
- 2src/lib/token.ts
- 3src/api/payments.ts
Commit Trail
a3f21c7Refactored token refresh to prevent race conditions
e8b4a12Add sliding-window rate limiting with Redis
9d1f3c8Extract payment validation into shared schema
PuRrs That Shaped This Area
Tour: Walk through history, not just files.
A curated walk through your repo's git log — diffs, blame annotations, and PR discussions — with AI narration that explains the why behind every change.
Auth middleware refactor
Files affected:
This PR overhauled the authentication middleware to handle concurrent requests safely. The old code had a race condition where two requests could attempt to refresh the same expired token simultaneously, causing one to fail. Alice introduced a mutex-based approach with a token refresh queue.
Lines 38–67 · 4 highlighted
Step 1 of 6
Slides: Five minutes. Complete picture.
Turn any brief into a narrated slide deck. An animated presenter walks through key points with speech synthesis, highlighted code, and animated charts.
Questions & Answers
Opticat reads Git metadata through the GitHub API: commits, pull requests, file trees, blame data, and CI status. It never clones your repo or accesses source code outside of what the GitHub API provides. All analysis happens server-side and is tied to your authenticated session.
Most briefs generate in under 60 seconds. The time depends on the size of the repo and the volume of recent Git activity. Larger repos with hundreds of recent PRs may take slightly longer as the AI processes more context.
Any GitHub repository you have read access to — public or private. We plan to add GitLab and Bitbucket support in a future release.
Yes. Every brief gets a unique share link. You can send it to anyone on your team — they can read the brief, take the guided tour, or watch the narrated slideshow without needing their own account.
Opticat sends Git metadata (commit messages, PR titles, file paths, diff summaries) to Google Gemini for analysis. Raw source code is only sent when generating syntax-highlighted tour steps, and only the specific lines referenced. We never store or log prompts or responses beyond the current session.
Every claim in the brief is anchored to a real commit, PR, or blame annotation — you can always click through to the source. The AI summarizes and narrates, but the evidence is always verifiable.