Skip to content
GitHub AppFour agents, one pull request

Code changes.
Docs update.

Synkron reads every push, finds the documentation it makes wrong, and opens a pull request that fixes only those sections. You review it like any other PR.

  • Free to start
  • One click setup
  • Open source
run_7f3a91c2
acme/payments-api

feat(auth): shorten access token ttl

push · main · a3f9c21

  1. Code Analyzer2 behaviour changes in auth/middleware.py
    1.8s
  2. Impact Mapperdocs/auth.md, README.md
    2.2s
  3. Doc Writer2 sections rewritten, 0 files replaced
    18.7s
  4. PR Creator#128 docs: update token lifetimes
    8.5s
Pull request opened for review31.2s · $0.0017

Precision

100%

0 unnecessary PRs across 14 non-doc commits

Median push to PR

31.5s

p95 49.6s over 12 completed runs

Model cost per PR

$0.0017

Most noise filtered before any model call

Line similarity

87%

Median, generated text vs merged text

Measured on a 30-commit benchmark with expected outcomes recorded before each push. Read the method

01How it works

From commit to corrected docs, without anyone asking.

Synkron sits between your repository and your documentation. It reacts to pushes you already make and hands back a change you can review in the place you already review code.

  1. 01

    You push code

    GitHub sends Synkron a signed webhook for every push. Nothing changes in your CI or your workflow.

    X-GitHub-Event: push

  2. 02

    The diff is analysed

    Synkron works out what the code now does differently. Formatting, tests and lockfiles are filtered out in under two seconds.

    diff → behaviour changes

  3. 03

    Affected docs are rewritten

    Only the documents that describe the changed behaviour are touched, and only the sections that are now wrong.

    docs/auth.md · 2 sections

  4. 04

    A pull request opens

    One atomic commit on its own branch, with a description that explains each change for the reviewer.

    PR #128 ready for review

02Pipeline

Four agents, each with one job.

Every stage has a typed input and output, its own timing, and its own reason for stopping. When a run is skipped, the dashboard tells you which agent stopped it and why.

  1. 01Code Analyzer

    1.8s

    Ranks changed files by how likely they are to change documented behaviour, then summarises what the code now does. Pure noise is rejected here, before any model call.

    Git diff of the push → Change summary

  2. 02Impact Mapper

    2.2s

    Scores every documentation file for relevance to the change. Only files above the threshold move on.

    Change summary, docs tree → Ranked doc list

  3. 03Doc Writer

    18.7s

    Rewrites only the sections that are now wrong, using correction patterns learned from how your team edited earlier PRs.

    Affected docs, your past edits → Section patches

  4. 04PR Creator

    8.5s

    Writes one atomic commit through the Git Data API on a dedicated branch and opens or updates a single pull request.

    Section patches → Pull request

Where pipeline time goes

median 31.5s end to end

  • Code Analyzer10.7%
  • Impact Mapper7.2%
  • Doc Writer55.6%
  • PR Creator26.5%

03Real output

A pull request your reviewers already understand.

Left: the commit you pushed. Right: the documentation change Synkron proposed for it. No new tool, no dashboard to check, just a diff.

docs: update token lifetimes in auth.md #128

Opensynkron-docs[bot]wants to merge 1 commit from synkron/docs-a3f9c21e
auth/middleware.pyyour commit
12 class AuthMiddleware:
13 def __init__(self, secret: str):
14 self.secret = secret
15- self.token_ttl = timedelta(hours=24)
16+ self.token_ttl = timedelta(minutes=15)
17+ self.refresh_ttl = timedelta(days=7)
18
19 def verify(self, token: str) -> dict:
20- return jwt.decode(token, self.secret)
21+ payload = jwt.decode(token, self.secret)
22+ self._check_expiry(payload)
23+ return payload
docs/auth.mdsynkron
41 ## Token lifetimes
42
43-Access tokens are valid for 24 hours.
44+Access tokens are valid for 15 minutes.
45+A refresh token, valid for 7 days, is issued
46+at login. Use it to request a new access token.
47
48 ## Verifying a token
49
50+Expired tokens are rejected before the payload
51+is returned to your handler.

2 sections changed · 0 files rewritten · README.md checked, still accurate

Request changesApprove

04Dashboard

See what the agent did, and why.

The pull request is where you review. The dashboard is where you audit: every run is recorded with its outcome, timings and cost.

Open the dashboard
Synkron dashboard showing pipeline run statistics and a table of recent runs

Every run, explained

Status, commit, documents touched, duration and cost for each push. Skipped runs say which agent stopped them and why.

Per-stage timing

Open any run to see how long each agent took, so slow stages are obvious instead of guessed.

One view per repository

Switch between repositories to compare success rate, median and p95 latency, and documents updated.

05Features

Built the way you already work.

Native GitHub App

Install it on the repositories you choose. No tokens to paste, no webhooks to configure, no CI step to add.

Section-level edits

Only the sections that describe changed code are rewritten. The rest of the file stays exactly as your team wrote it.

Learns from your edits

When you edit a Synkron PR before merging, the correction is recorded and applied to later updates of that document type.

No workflow changes

Pull requests are already how your team reviews change, so that is how Synkron delivers its work too.

Cheap by design

Commits that cannot affect documentation are rejected from the diff alone, usually in under a second, before any model call.

Powered by Gemini

Google's Gemini models handle analysis and writing, with retries, truncation detection and per-run token accounting.

06Security

Least privilege, by default.

Synkron asks for the three permissions it needs and nothing else. Source code is read during a run and never stored. The only text it keeps is the documentation it wrote and your edits to it, which is how it learns your style.

GitHub App permissions
  • MetadataReadList the repositories you installed it on
  • ContentsWriteRead the diff and docs, commit to its own branch
  • Pull requestsWriteOpen and update its documentation PR
No access to issues, actions, secrets, settings or members.

Signed webhooks

Every delivery is verified with HMAC-SHA256 before it is queued.

Idempotent processing

Redelivered events are deduplicated by delivery ID, so a push never runs twice.

Short-lived tokens

GitHub installation tokens expire within an hour and live only in memory. No personal access tokens, ever.

Never pushes to main

All changes land on a separate branch as a pull request. You decide what merges.

07FAQ

Questions teams ask before installing.

Something else? Ask on GitHub

Get started today
for free.

Connect a repository in about a minute. Your next push that changes documented behaviour comes back as a pull request.

  1. 1Sign in with GitHub
  2. 2Install the App on your repositories
  3. 3Push code as usual