A next-generation review engine for code changes — patch truth and semantic intent, together. Deep-Diff-Forge preserves the exact, apply-able patch while layering syntax-aware understanding, risk ranking, agent annotations and a terminal cockpit on top. Every layer a projection over one stable model; none allowed to corrupt the patch.
“A diff engine must preserve patch truth while exposing semantic intent.”
Patch truth — the exact text that can be applied — is sacred and separable from every enrichment layer. Semantic analysis, risk ranking and AI annotations may be absent, partial, or wrong; they can never mutate the apply-able patch. The parser, projections, ranking, annotation layer and cluster scheduler all read the model. None rewrite it.
Every change carries two synchronized representations — an apply-able patch twin and a syntax semantic twin, joined by stable anchors. Switch views without losing line anchors, comments, or applicability.
A deterministic, explainable risk ranking that orders the review stream by likely impact — public-API surface, change size, new/deleted files, generated-file suppression — rather than raw file order.
Per-file, per-region strategy selection with explained, budgeted, conservative fallback. The engine chooses how to diff each region, and always degrades safely rather than guessing.
Default, out-of-the-box behavior. Honest — it doesn’t yet do everything the rendering-focused tools do.
Every action has a deterministic command, machine-readable output (--json / --jsonl), stable exit codes, and works as a Unix filter with no daemon required. Requires Rust 1.85+ (edition 2024).
Dependency flow is inward. core is pure vocabulary — no I/O, no parsing. Every feature crate depends on it, never the reverse. Patch truth is upstream of everything.
Higher score = review first. Parallelism never changes the result.
An actively-built engine at L9 maturity. Everything documented is implemented, gated and live-proven. In the spirit of the paradigm, the current edges are stated plainly:
semantic <file> proves the engine on whole files today.cargo publish --dry-run); the crates.io upload is gated on a registry token.Dual MIT / Apache-2.0. Zero unsafe. Supply-chain gated. The first engine off the CodaClave floor.