Skip to main content

Module legacy_resource_migration

Module legacy_resource_migration 

Source
Expand description

Explicit legacy replay. Ordinary replay keeps its recorded stores. The caller must establish a legacy placement profile before using this adapter.

Legacy records repeat handles and pass through states in which both strata hold one, which ordinary edge replay refuses. The migration replays its legacy source and builds its output in an explicit staged scope, Graph::stage_edges to Graph::settle_staged_edges: edge replays are not checked one by one, and the finished output is checked once, refusing the migration if it would not reopen. Whole identical rows never reach that check: they dedupe to the first (copies).

Re-exports§

pub use super::legacy_content_migration::LegacyContentContext;

Structs§

LegacyAggregateMigrationNote
A legacy aggregate has no carried handle or assertion timestamp.
LegacyMigrationError
LegacyMigrationNote
LegacyMintLinkDiagnostic
Evidence for an unresolved raw-event to carried-handle link, without selecting one.
LegacyResourceOriginResolution
An explicit endpoint choice for an ambiguous carried handle. No raw handle is aliased.
MigratedReplay
The original journal is unchanged. Effective captures name the stores actually edited.

Constants§

LEGACY_AGGREGATE_MIGRATION_FACET
LEGACY_RESOURCE_MIGRATION_FACET
Baseline claims lack a retained minting event; the current endpoints are a fallback.

Functions§

migrate_legacy_prefix
Replay a caller-qualified legacy baseline and its retained prefix atomically. Existing typed resource records and claims keep their explicit store. Exact carried handles retain identity. Raw records keep the existing replay exception: they did not record stable handles. Unresolved mixed-history evidence stops at checkpoint C28 before any migrated graph is produced.
migrate_legacy_prefix_with_content_context
Supply the original mere namespace for unattributed legacy tag concepts.
migrate_legacy_prefix_with_resolutions
Replay with explicit, evidenced choices for every ambiguous carried handle in this prefix.
probe_legacy_mint_links
Inspect mixed histories before choosing how to link raw events to later handles. Equal content is evidence, not proof that distinct handles identify one assertion.
validate_legacy_origin_resolutions
Validate against all retained, qualified legacy entries before reading shorter prefixes.