Skip to main content

Module reconcile

Module reconcile 

Source
Expand description

Public wire DTO for ossctl release verify — the read-only reconcile report (ADR-0002 §1, ADR-0003 state table).

release verify reads a journaled run and, for each published target, reconciles the recorded PublishReceipt against what the registry currently holds — never mutating the repo, the journal, or the registry. The result is this report, emitted under the canonical {schema_version, data, warnings} envelope, so it carries no document version of its own (crate::SCHEMA_VERSION versions the envelope).

§The Unknown discipline

Every per-target outcome is a VerifyOutcome; a reconcile that could not be performed (a registry outage, an unresolvable package, a distribution target not observable through RegistryQuery) is VerifyOutcome::Unknown, never VerifyOutcome::Missing — the same tri-state presence discipline ossctl audit uses. An outage must never be read as “the release did not land”.

Structs§

ReconcileReport
The read-only reconcile report for one journaled run — the body of ossctl release verify’s success envelope.
ReconcileSummary
Rollup counts across all reconciled targets — the four VerifyOutcome classes plus the total, so a caller branches on conflicts/missing without re-tallying ReconcileReport::targets.
TargetReconcile
One published target reconciled against the registry.