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 turns your team's past PR/MR review comments into source-backed rules your local AI coding agents can recall before they write code.
The open-source CLI runs locally: import private GitHub or GitLab review history, approve the useful rules, and serve the relevant ones to agents through MCP and hooks. DiffLore never commits, pushes, opens PRs, or posts GitHub comments.
Hosted DiffLore Cloud is optional. The local CLI does not have a hosted PR quota; cloud quotas apply only to managed GitHub App / team workflows.
Why
AI coding agents know public code. They do not know the review decisions your team already made:
- "Use this helper in billing paths."
- "Do not bypass this auth wrapper."
- "This package handles retries; do not add a second loop."
- "This service rejects raw SQL outside migrations."
Those rules are usually buried in old review threads. DiffLore mines them into local memory, keeps source evidence attached, and gives agents the relevant rules before they edit the files that trigger them.
Install
|
Update later:
GitHub import uses your local git remote and GitHub CLI auth:
GitLab import uses a stored PAT with read_api scope:
|
Quickstart
Try the demo:
Use it in a real repo:
That flow imports merged review history, turns review comments into local memory candidates, lets you approve or reject them, and wires DiffLore into detected local agents.
Local by default
DiffLore works with private repos and local AI CLIs. A cloud account is not required for the local workflow.
- Local rules and activity are stored in local SQLite.
difflore import-reviewswrites locally unless you explicitly pass--upload.difflore cloud loginanddifflore cloud syncare opt-in.- Raw local queues are not uploaded by default; cloud sync requires explicit flags for observations, candidates, or telemetry.
- Static exports to
AGENTS.md/CLAUDE.mdare optional snapshots. Liveagents installis the preferred path because it is diff-aware.
Agent support
Run:
DiffLore installs MCP entries and lifecycle hooks where the local agent supports them. The installer detects common local coding agents, including Claude Code, Codex, Cursor, Gemini CLI, Windsurf, Goose, OpenCode, Copilot CLI, Crush, Roo Code, Warp, and Antigravity.
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 memory |
Show remembered rules, review queue, paused rules, sync state, and next action |
difflore memory review |
Review pending local memory |
difflore agents install |
Wire DiffLore into local AI CLIs and agents |
difflore agents status |
Show which agents are connected |
difflore status |
Show readiness and the next command |
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 ask "..." |
Ask the team's source-backed rules a question |
difflore export |
Write a static snapshot to AGENTS.md or CLAUDE.md |
difflore capabilities --json |
Print the machine-readable CLI/MCP contract |
Run difflore --help for the full command list.
Optional Cloud
The cloud layer is for teams that want hosted GitHub App ingestion, shared team rules, dashboards, managed semantic recall, governance, and audit workflows.
Use the local CLI first when you want a no-account path. Use cloud when multiple people need one shared memory and review workflow.
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.