Skip to content

Frequently asked questions

Why another diff tool? Start here. Then choose how to use it and check what it reads, writes, and remembers.

Why diffdevil?

#changed-vs-churn

GitHub already shows additions and deletions.

GitHub’s diffstat counts every returned file and adds additions and deletions together. That often makes a replacement look twice as large, and it cannot express which files your question actually cares about. diffdevil adds replacement-aware Changed, explicit scopes and exclusions, and policy you can reuse.

#beyond-size-labels

When is diffdevil worth using?

A size labeler is totally fine when you only want a rough size. A local script is enough for one local check.

diffdevil earns its place when the same logic should work everywhere: locally, in scripts, in GitHub Actions, in the browser extension, in the managed App, or through a coding agent. You define the question once instead of rebuilding slightly different versions of it.

#code-review

Does diffdevil replace code review?

No. diffdevil calculates numbers from a diff and your configuration, and it can apply configured labels or comments. It does not inspect the code for correctness, design, risk, or maintainability like a code-review tool does.

Understanding the numbers

#changed-makes-sense

Why does Changed make more sense?

For most people asking how much a change changed, Changed is the more useful number. Replacing three lines is three modified lines, not six unrelated additions and deletions.

diffdevil still keeps raw additions, deletions, and churn available. Changed is primary because it usually matches how humans reason about edits.

#files-and-exclusions

Why not ignore lockfiles and generated files automatically?

Because diffdevil cannot know which files matter to your question. A lockfile may be background noise in one policy and the main subject in another.

Explicit exclusions and named scopes let you ask a narrower question without pretending those files were absent from the change.

#measurement-evidence

Why is a result bounded or unknown?

Because the available evidence may not prove an exact answer. A range of 60–70 still proves “below 100”; a range of 90–110 does not. diffdevil preserves that distinction instead of substituting zero or a guess.

In the extension, large PRs can start partially measured. Open a file or choose Analyze remaining files to request more evidence. GitHub may still withhold a patch; the result keeps that limitation visible. How evidence affects a result.

Browser extension and Lens Studio

#playground-or-extension

Lens Studio or browser extension?

Use Lens Studio, the public playground, to learn without installing anything or signing in. Frozen examples and public GitHub PRs let you explore measurements, test policy, and export reusable inputs. It has no private-PR mode, account history, or repository writes.

Use diffdevil for GitHub, the browser extension, for everyday PR reading with Changed and your policy inside GitHub. Neither requires the App. Explore the learning surface.

#extension-without-repo-setup

Can I use the extension without repository setup?

Yes. The extension changes your view, not the repository. It needs no workflow, App installation, repository ownership, or write permission.

You still need normal GitHub access to the pull request. A virtual band shown by the extension is your local result. It does not create labels, apply the band, or post comments. Its optional label-picker handoff still leaves the actual selection to you in GitHub.

#extension-private-prs

Can the extension read private pull requests?

Yes, when your signed-in GitHub session can read them. It uses that session’s existing access and analyzes the patches in your browser. You do not supply a personal access token or create a diffdevil account.

Its permissions cover storage and GitHub.com/API access, not all websites or general browsing history. The current extension targets Chrome on GitHub.com; Firefox, GitHub Enterprise hosts, and incognito are not supported. Extension access and setup.

#extension-local-data

What does the extension save?

It keeps a bounded local cache of reports, filenames, revisions, evidence, and trusted policy, including referenced templates. Raw patches stay in memory. Cached private metadata is accessible to someone with access to your browser profile. Small display and guided-policy preferences can use Chrome sync; advanced policy and repository overrides stay local.

Use scoped clearing controls or reset all extension data. Pausing keeps data; clearing does not resume work, and open pages may display results until refreshed. Uninstalling leaves exported files. Storage and clearing controls.

#extension-policy

Whose policy does the extension use?

You choose. Composed layers personal defaults, trusted repository policy, then explicit personal overrides for that repository. Repository uses repository policy, falling back to personal defaults only when it is absent. Personal only skips repository policy while keeping your personal repository overrides.

Repository policy and its templates come from the trusted base revision, never the PR head. An unreadable or invalid policy remains a visible failure, not a successful fallback. Policy modes and precedence.

#different-results

Why do different routes show different results?

They can use different revisions, evidence, selected files, or effective policy. The extension evaluates locally with your chosen policy mode; it does not currently fetch authenticated App reports. Actions do not silently inherit App account defaults.

When the comparison, evidence, effective policy, and semantic versions match, the result should match. Different inputs explain a difference; they do not excuse identical inputs disagreeing.

Local use and policy

#non-javascript-projects

Is diffdevil tied to JavaScript or GitHub?

No. The CLI needs Node.js, but the repository can be C#, Rust, Python, or anything else. You do not need to add a package.json just to analyze a project.

Local Git, supplied diffs, and saved reports work without GitHub. The extension, App, and built-in provider automation are the GitHub-specific surfaces.

#no-language-required

How much configuration do I need to learn?

None for ordinary use. Presets and shortcuts cover common counts, paths, thresholds, and size labels without a policy file or expression language.

Add configuration only when you have something to change. Use detail when a custom formula or selection actually benefits from an expression.

GitHub Actions, labels, and comments

#automation-overlap

Will diffdevil interfere with existing automation?

Not by default. The size preset manages only its declared label group and posts no comment. Read-only analysis can coexist with other automation.

The real conflict is two writers managing the same labels or comment lifecycle. Give overlapping effects one owner; keep unrelated jobs and checks.

#trusted-policy

Why doesn’t a policy change in my PR affect its labels immediately?

Because a pull request must not be able to rewrite the rules controlling privileged effects on itself.

Automatic writes use policy from a trusted base revision or an explicitly selected immutable source. The PR-head policy can still be previewed, but previewing it does not authorize it.

Managed App and self-hosting

#why-managed

Why use the managed App?

For managed PR automation and repository memory. The App uses the same engine while adding six analytical destinations: Overview, Pull requests, History, Files, PR detail, and File detail. They connect repository patterns to the changes and files behind them.

Manage handles repository operation, processing, effective policy, funding, and account controls. Installation reach, automated effects, and history collection are separate choices; installing alone does not opt a repository into history. Trusted .diffdevil.yml values override App defaults. Use Actions when you prefer to own the workflow and runner. Meet the App.

#app-plans

What changes between Free, Pro, and Business?

Free provides managed PR automation and useful basic PR/repository history. Pro adds rich historical file exploration, Turnover, co-change, and reusable defaults. Business adds shared linked policies, coordinated changes, automatic eligible setup, delegated administration, and audit.

Plans change App depth, coordination, and repository allowances. They do not change what Changed means or charge per pull request. Free history can retain the base file measurements needed for policy replay without granting Pro’s file-exploration views. Plans, allowances, and funding.

#app-sharing

Does everyone reading App history need a paid seat?

No. Collaborators with current GitHub access can read a repository’s available App capability without buying reader seats. A subscription belongs to an individual and can fund connected organisations; each organisation has one ordinary funder, rather than stacked allowances.

Paying grants neither repository access nor administrative authority. Shared private links check access again when opened. A public repository does not automatically publish its analytics: an administrator must explicitly enable that public view. Readers, funding, and access.

#leaving-managed-service

Can I leave the hosted service or self-host?

Yes. Ordinary diffdevil policy moves to the CLI or Actions. The Community App supplies basic self-hosted operation without the official service’s quotas; your resources and retention policy govern it. Premium App modules have separate commercial licensing.

Authorized history export and deletion remain available after a downgrade. Cancellation is not deletion: retained archives follow the service’s disclosed policy, and protected names still require current GitHub access. Self-hosting means owning credentials, updates, recovery, and data handling. Cut over writers deliberately so two routes do not manage the same labels or comments. Self-hosting and leaving the service.

Privacy, history, and data

#code-data

Does diffdevil send my code anywhere?

It depends on the route. The CLI processes locally, Actions run on your configured runner, and the extension evaluates in your browser without uploading source to a diffdevil backend or sending telemetry.

Hosted routes process data on their server. Lens Studio reads public PRs for live analysis and frozen-example freshness checks. The App can transiently acquire authorized repository data to calculate results. It retains operational records and opted-in history, including protected repository names and file paths, but does not archive source contents or patches. Security and data boundaries.

#app-history

Does the App keep a copy of my repository or track developers?

It keeps change history, not a source archive or developer ranking. Opted-in history, including Free history, retains repository names, relative file paths, per-file measurements, lifecycle, comparison references, evidence, and versions. Policy-excluded files can remain in those facts for later replay. Names and paths are protected metadata, not anonymous numbers.

Source contents, patches, PR prose, and contributor-performance dimensions are excluded. Repository and file trends use one final recoverable comparison per merged PR; open-PR activity is separate. Collection can run with automated effects off. History and retained data.

Coding agents, releases, and the project

#coding-agents

What does the Agent Skill add?

It teaches a coding agent when and how to use diffdevil instead of hand-counting changes, rebuilding queries, or scraping human output.

The Skill does not install the executable or grant new permissions. It supplies persistent tool knowledge; diffdevil supplies facts; the agent still has to read and judge the code.

#semantic-versioning

Can an update change what my rules mean?

Released semantic identities fix the meaning of Changed, the expression language, path matching, reports, and presets such as size@1.

A bug fix can correct behavior that violated that contract. An incompatible semantic change needs an explicit new version instead of silently reinterpreting existing policy.

#licensing

Why both MIT and AGPL?

The reusable engine, CLI, library, and Actions use MIT because they are meant to fit into other tools. The public website uses AGPL-3.0-only. The Community App/service code uses AGPL with a narrow permission for independent premium modules; modifications to the App remain reciprocal. Private premium modules have separate commercial terms.

Documentation, runnable examples, and brand assets have their own terms. The licence follows the component, not whichever repository folder happens to be nearby.