Git Integration
AI session context on every pull request (GitHub) and merge request (GitLab). When audit findings exist, contradictions are surfaced inline for reviewers.
GitHub
Section titled “GitHub”SessionFS has a GitHub App that automatically comments on PRs with AI session context.
- Install the SessionFS GitHub App
- Select the repositories you want to monitor
- Push sessions from those repos:
sfs push ses_xxx
When a PR is opened on a branch that has matching sessions, SessionFS posts a comment with:
- Session title and tool info
- Message count and model used
- Contradictions table (if audited)
- Link to full session in the dashboard
Configure in dashboard
Section titled “Configure in dashboard”Dashboard → Settings → GitHub Integration
Options:
- Auto-comment on PRs (on/off)
- Include trust scores (on/off)
- Include session links (on/off)
GitLab
Section titled “GitLab”SessionFS supports GitLab merge request comments for both cloud and self-hosted instances.
- Create a GitLab personal or project access token with
apiscope - Add a webhook to your GitLab project:
- URL:
https://your-sessionfs-domain/webhooks/gitlab - Secret token: set via
SFS_GITLAB_WEBHOOK_SECRETenv var - Events: “Merge request events”
- URL:
- Save the access token in the dashboard Settings → GitLab Integration
Self-hosted GitLab
Section titled “Self-hosted GitLab”Works with any GitLab instance — just enter your custom instance URL in the dashboard settings.
PR/MR comment format
Section titled “PR/MR comment format”### AI Context (via SessionFS)
| Session | Tool | Messages | Trust ||---------|------|----------|-------|| Debug auth middleware | Claude Code | 47 | 74% |
**2 contradictions found:**
| Severity | Claim | Reality ||----------|-------|---------|| CRITICAL | "Test passes" (msg #34) | Exit code 1 || HIGH | "Created validator.py" | No Write call |