Skip to content

Browser extension· diffdevil for GitHub

Changed, directly in GitHub

See replacement-aware Changed, per-file decomposition, personal or repository size bands, and inspectable reports on pull requests. No workflow, App installation, or write access required.

Coming to the Chrome Web StoreWhat it reads and stores →

No account, token or telemetry. It reads pull-request pages on github.com, analyzes them in your browser, and caches measured reports and policy, not raw patches.

The diffdevil analysis report open on a GitHub pull request: 178 changed, exact, its decomposition, raw additions and deletions, files and coverage, the personal size policy selecting M, and the desired size/M label with readback not observed.

#changed

Aggregate and per-file Changed

A replaced line is one changed position, not two units of churn. The extension shows Changed for the whole pull request and for every file GitHub renders, with added-only, deleted-only and modified kept apart, and keeps raw churn as its own fact in the report.

A GitHub pull request with diffdevil for GitHub: Changed 178 with +60, −18 and ~100 beside the size/M chip and band rail at the top, the same figure in the Files changed bar, and each file with its own Changed.
Changed takes GitHub’s own diffstat seats: the pull request, the files bar and every file. Actual extension UI on an authored pull-request fixture, captured for the Store listing.

GitHub’s numbers give way, not disappear

Changed takes the seat GitHub already uses for its diffstat, in GitHub’s typography and colours. While the comparison is being read and after any failure, GitHub’s own additions, deletions and ratio bar stay at full colour. Once Changed is known they are hidden by default; a setting keeps them after Changed, faint. Raw churn always remains in the report.

A size, not a verdict

The band rail has one cell per band of the policy in effect and marks a position in that ordinal scale. It is not a health, risk or quality score, and a line count does not establish importance or review difficulty.

  • = exactEvery included edit block was observed. The band is selected.
  • ≈ boundedA proven interval. If it lies inside one band, that band is selected and the standing says bounded.
  • ? unknownEvidence crosses several bands or the file set is incomplete. No cell is selected.
  • ∅ unmeasurableLines are undefined, for example binary content. Shown as unmeasurable, never as 0.

#policy

Your policy, even when the repository has none

Size bands are yours to define. They appear on pull requests in repositories with no workflow, no labels, no App and no diffdevil configuration, including repositories you do not own, because the classification is local and virtual: it changes what you see, not the repository.

  1. Personal defaultsYour own size policy. It is the complete policy wherever a repository has none.
  2. <
    Repository .diffdevil.ymlRead from the exact base revision of the pull request, never from the proposed head, and cached by that immutable identity.
  3. <
    Your override for this repositoryAn explicit personal adjustment for one repository. It wins, and it never leaves your browser.

Policy mode, per repository

composed
the default: personal defaults, then repository policy, then your override
repository
the repository policy when present, otherwise your defaults
personal-only
deliberately ignore the repository policy for your own view

Every value keeps its origin

The report names where each effective setting came from. An invalid repository file is shown as invalid, not quietly treated as absent. A size the extension shows is a local policy result; a label that exists on the pull request, or a GitHub App result, is observed state and is always shown as such.

#report

The full report, anchored in place

The Changed projection opens a persistent report right where you are. Inspection stays on the pull request rather than sending ordinary reading to a dashboard, and a large pull request says exactly which files it measured.

The diffdevil analysis report open on a GitHub pull request: 178 changed, exact, its decomposition, raw additions and deletions, files and coverage, the personal size policy selecting M, and the desired size/M label with readback not observed.
The report opens in place: the number, its evidence, raw churn, coverage, the policy in effect and the label it would choose. Actual extension UI on an authored pull-request fixture, captured for the Store listing.
A large pull request in diffdevil for GitHub: the report names measured, bounded and provider-declined files and offers one action to analyze the remaining files.
Large pull requests stay honest: measured, bounded and declined files are named, never rounded into an exact number. Actual extension UI on an authored pull-request fixture, captured for the Store listing.
  • Aggregate and file-focusedThe aggregate trigger opens the whole-comparison report. A file trigger opens that file with the same terms and the same evidence semantics.
  • Policy and evidence, explainedRevisions, measurement standing, files, metrics, scopes, bands, rules and the origin of the policy in effect. Missing source never becomes a reassuring exact zero.
  • Keyboard and focusThe report is keyboard-operable. Escape closes it and returns focus to the trigger you used, and it fits narrow windows.

#settings

Make it yours

Settings are a full diffdevil application in the same design as this site: one searchable configuration with a Basic and an Advanced view, light, automatic and dark themes, import and export, diagnostics and cache controls.

Extension settings in the dark theme: search for 'diffdevil icon' shows the display.brandIcon setting with the Glyph, Colour symbol and None choices, the Basic and Advanced tabs, and a notice that one advanced setting is active.
Search finds a setting by name, identifier or keyword. Rendered settings UI from the source Store kit; not a published Store listing.
Extension settings in the light theme: the policy.bands editor with five size bands, their upper limits, label mappings and colours.
The guided band editor. Upper limits are exclusive; the last band is unbounded.
  • Basic and Advanced, one configurationAdvanced values keep applying while Basic is shown. The Advanced tab counts the settings that differ from their default, and switching views never resets anything.
  • Stable identifiers and deep linksEvery setting has a visible, copyable identifier such as #display.nativeChurn. Following that link opens its category, reveals it even when it is Advanced, and highlights it.
  • Your data, under your controlClear the report cache, the policy cache or your overrides separately, reset everything after a confirmation, and copy a support snapshot that contains no repository names, paths, policy text or source.
IdentifierViewWhat it controls
#display.brandIconBasicThe glyph, the full-colour symbol, or no icon; "Changed" stays visible text
#display.nativeChurnBasicGitHub’s own additions, deletions and ratio bar once Changed is known: hidden (default) or kept faint after Changed
#policy.modeBasiccomposed, repository or personal-only
#policy.bandsBasicGuided band editor with optional existing-label mappings
#policy.advancedYamlAdvancedThe full diffdevil policy language, validated, with import and export
#cache.maximumSizeAdvancedUpper bound of the rebuildable report and policy cache
#data.resetAllAdvancedClear everything the extension stored, after a deliberate confirmation

#data

What it reads and stores

The extension has no backend, no telemetry and no analytics. This is the complete picture, stated plainly, including the parts that are not flattering.

Reads on GitHub
Repository and pull-request identity, the immutable base and head revisions, change counters, file identities, the available diff, and the native label controls. Only on github.com pull-request pages; elsewhere it analyzes nothing.
Analysis
Runs in the extension worker in your browser, with the same engine as the CLI. No hosted analysis is triggered and nothing is sent to a diffdevil or Wolfsblvt Works service.
Repository policy
.diffdevil.yml and the templates it names are read from the exact base revision. Proposed pull-request configuration is never trusted as policy.
Requests
They use your signed-in GitHub page when available. A public api.github.com fallback deliberately sends no credentials. The extension never asks for a personal access token and collects no cookies.
Raw patches
Held in memory for the analysis and then discarded. They are not persisted.
Cache
Bounded and rebuildable: normalized numeric reports, file paths, revision identities and trusted policy text, with least-recently-used eviction under a limit you set. It can reveal private repository names and paths to someone with access to your browser profile, and it is not separately encrypted.
Your settings
Small display and guided-policy preferences use Chrome synchronized storage, so Chrome may sync them across your signed-in browsers. Advanced YAML and per-repository overrides stay in local extension storage.
Writes to GitHub
None of its own. The optional label handoff opens and searches the visible GitHub label picker; you make the selection. No hidden request, no automatic label, no new label definitions.
GitHub App results
The extension presents its own local results. It is built to show an App result whose identity matches the same head and policy, and it never claims one that was not delivered.
Permissions
storage; a content script on github.com; host access to api.github.com for the read-only fallback. No cookies, history, tabs enumeration, all-site access or clipboard permission.
Not supported
Incognito windows (not allowed, so private sessions never mix with the persistent cache), GitHub Enterprise hosts, and browsers other than Chrome.

#routes

Choose the right route

The extension changes your view. The App runs for the repository.

Browser extension

Personal Changed, policy, and reports directly inside GitHub.

You are here
CLI / Actions

Repository-owned, portable analysis and automation.

Use the CLI / Actions
GitHub App

Managed repository operation, native checks, effects, configuration, and history.

How the App works

The three routes run the same open engine and the same policy language. The extension does not need the App, and the App does not need the extension. See the GitHub App for the repository-level route.

Changed, where you already review.

Coming to the Chrome Web Store