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 fidelity gate is green for this
transform (see F-013 / F-016 in roadmap.md).
This module is not yet wired into the crate (no mod transforms; declaration exists in
lib.rs); it 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_compaction(F-013) contract.