Skip to main content

Module loss

Module loss 

Source
Expand description

What an export to a lossy format gives up (mirrored ontology C8, the codec model’s points 3–5).

Each codec declares, per IR feature, whether it carries it exact, folded (merged into something coarser) or dropped. Before writing, an export lists every folded and dropped item in the model being exported, as GIMP warns before flattening layers; it then proceeds and keeps the report beside the output. The native folder is never the export’s destination, so what was folded or dropped still lives there. A native save has no report: it loses nothing.

Structs§

FeatureCarry
One feature’s declaration.
LossItem
One folded or dropped item of the model being exported.
LossReport
Everything an export folds or drops, listed before it writes.

Enums§

Carry
How a format carries one IR feature.

Constants§

HERMES_FEATURES
Hermes 0.21: one doer per profile, profile routes, no conversation records.
LOSS_REPORT_FILE
The report’s file name in the destination folder.
OPENCLAW_FEATURES
OpenClaw v2026.7: agents, bindings and sessionTarget are its own.

Functions§

loss_report
List every folded and dropped item of o under a format’s declarations.
write_loss_report
Keep the report beside the output (before the export writes anything else).