Expand description
diff_compaction (canonical id: "diff_compaction", v1.0.0).
Lossy-with-evidence transform operating on unified-diff text such as the output of
git diff. Ships behind --experimental until the eval harness’s fidelity gate is green
for this transform (see crate::modes::ALL_ENTRIES).
This module implements the mechanical line-classification behavior only. The policy
decision of when the header-only form (keep_line_bodies = false) is allowed to run
(only for TaskScope::ChangeSummary) is made by the caller, not by this module.
Constants§
- TRANSFORM_
ID - Stable canonical transform id, for future
TransformReport.idwiring. - TRANSFORM_
VERSION - Semantic version of this transform’s behavior, for future
TransformReport.versionwiring.
Functions§
- compact_
diff - Compacts unified-diff text (e.g.
git diffoutput) per thediff_compactioncontract.