Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
difflore
DiffLore is an open-source CLI that imports your private PR/MR review backlog into source-backed local rules for AI coding agents.
It stores rules in local SQLite, wires them into local AI CLIs through MCP and hooks, and serves the relevant review judgment before an agent edits code.
Install
macOS/Linux:
|
Windows PowerShell:
irm https://difflore.dev/install.ps1 | iex
Update later:
GitHub import needs git and gh auth login. GitLab import uses a stored PAT:
|
Quickstart
Try the demo:
Use it in a repo:
DiffLore works with private repos and local AI CLIs. It never requires a public repo, and it never commits, pushes, opens PRs, or posts GitHub comments.
Commands
| Command | Purpose |
|---|---|
difflore try |
Run the demo |
difflore init |
Set up the current repo |
difflore import-reviews |
Import private GitHub PR or GitLab MR review backlog locally |
difflore agents install |
Wire DiffLore into local AI CLIs and agents |
difflore status |
Show readiness and the next command |
difflore memory |
Inspect local rules, drafts, queues, and autopilot state |
difflore memory review |
Review pending local memory |
difflore recall --diff |
Retrieve matching rules for the current diff |
difflore review --diff all |
Review the current diff without modifying files |
difflore fix |
Apply rule-aware local fixes |
difflore capabilities --json |
Print the machine-readable CLI/MCP contract |
Run difflore --help for the full command list.
Agents
difflore agents install configures MCP and hooks for supported local agents.
Run difflore agents status to inspect the current machine.
Local AI CLI calls that need an LLM backend use gate4agent.
Data
DiffLore is local-first:
- Rules and activity are stored in local SQLite by default.
- Private review imports do not require public repos or cloud upload.
- Cloud sync is optional and explicit through
difflore cloud ...; use it for team sync, multi-device access, or managed token/embedding paths. - MCP is for agent context, retrieval, explanation, and proposals.
- Approval, rejection, sync, auth, provider setup, and file mutation stay in the CLI.
Development
Issues and PRs are welcome. Do not include secrets, private PR text, or private code in examples.
For suspected vulnerabilities, email hello@difflore.dev instead of opening a public issue. See SECURITY.md.
License
Apache 2.0. See LICENSE.