diff --git a/api/snapshots/lxmf-core.txt b/api/snapshots/lxmf-core.txt index 6affd02..e1bfd8c 100644 --- a/api/snapshots/lxmf-core.txt +++ b/api/snapshots/lxmf-core.txt @@ -468,6 +468,7 @@ pub lxmf_core::link_delivery::DirectLinkStartReport::link_state: rns_link::link: pub lxmf_core::link_delivery::DirectLinkStartReport::queued_deliveries: usize pub struct lxmf_core::link_delivery::LinkDeliveryManager impl lxmf_core::link_delivery::LinkDeliveryManager +pub fn lxmf_core::link_delivery::LinkDeliveryManager::abandon_backchannel_packet(&mut self, [u8; 16], [u8; 32]) -> bool pub fn lxmf_core::link_delivery::LinkDeliveryManager::backchannel_link_snapshot(&self, [u8; 16]) -> core::option::Option pub fn lxmf_core::link_delivery::LinkDeliveryManager::cancel_delivery_by_message_hash(&mut self, [u8; 32]) -> bool pub fn lxmf_core::link_delivery::LinkDeliveryManager::delivery_link_available(&self, &[u8; 16]) -> bool @@ -485,16 +486,22 @@ pub fn lxmf_core::link_delivery::LinkDeliveryManager::handle_request(&mut self, pub fn lxmf_core::link_delivery::LinkDeliveryManager::handle_resource_proof(&mut self, &[u8; 16], &[u8]) -> bool pub fn lxmf_core::link_delivery::LinkDeliveryManager::handle_resource_reject(&mut self, &[u8; 16], &[u8]) -> bool pub fn lxmf_core::link_delivery::LinkDeliveryManager::message_delivery_snapshot(&self, [u8; 32]) -> core::option::Option +pub fn lxmf_core::link_delivery::LinkDeliveryManager::message_timeout_window(&self, [u8; 32]) -> core::option::Option<(std::time::Instant, core::time::Duration)> pub fn lxmf_core::link_delivery::LinkDeliveryManager::new(tokio::sync::mpsc::bounded::Sender, core::option::Option<[u8; 64]>, core::option::Option) -> Self +pub fn lxmf_core::link_delivery::LinkDeliveryManager::observe_backchannel_packet_wait(&mut self, [u8; 16], [u8; 32], std::time::Instant, core::time::Duration, bool, core::option::Option) -> bool +pub fn lxmf_core::link_delivery::LinkDeliveryManager::observe_backchannel_resource_wait(&mut self, [u8; 16], [u8; 32], std::time::Instant, core::time::Duration) -> bool pub fn lxmf_core::link_delivery::LinkDeliveryManager::pending_count(&self) -> usize pub fn lxmf_core::link_delivery::LinkDeliveryManager::register_backchannel(&mut self, [u8; 16], [u8; 16]) pub fn lxmf_core::link_delivery::LinkDeliveryManager::remove_backchannel(&mut self, &[u8; 16]) -> core::option::Option<[u8; 16]> pub fn lxmf_core::link_delivery::LinkDeliveryManager::session_count(&self) -> usize pub fn lxmf_core::link_delivery::LinkDeliveryManager::set_backchannel_sender(&mut self, tokio::sync::mpsc::bounded::Sender) +pub fn lxmf_core::link_delivery::LinkDeliveryManager::set_cancellation_aware_backchannel_sender(&mut self, tokio::sync::mpsc::bounded::Sender) pub fn lxmf_core::link_delivery::LinkDeliveryManager::set_inbound_packet_sender(&mut self, tokio::sync::mpsc::unbounded::UnboundedSender<(alloc::vec::Vec, [u8; 16])>) pub fn lxmf_core::link_delivery::LinkDeliveryManager::set_inbound_resource_accept_handler(&mut self, F) where F: core::ops::function::Fn([u8; 16], &rns_protocol::resource_adv::ResourceAdvertisement) -> bool + core::marker::Send + core::marker::Sync + 'static +pub fn lxmf_core::link_delivery::LinkDeliveryManager::set_inbound_resource_completion_handler(&mut self, F) where F: core::ops::function::Fn([u8; 16], [u8; 32], alloc::vec::Vec) + core::marker::Send + core::marker::Sync + 'static pub fn lxmf_core::link_delivery::LinkDeliveryManager::set_inbound_resource_concluded_handler(&mut self, F) where F: core::ops::function::Fn([u8; 16], [u8; 32]) + core::marker::Send + core::marker::Sync + 'static pub fn lxmf_core::link_delivery::LinkDeliveryManager::set_inbound_resource_limit_bytes(&mut self, usize) +pub fn lxmf_core::link_delivery::LinkDeliveryManager::set_link_endpoint_dispatch_handle(&mut self, rns_transport::link_endpoint_dispatch::LinkEndpointDispatchHandle) pub fn lxmf_core::link_delivery::LinkDeliveryManager::start_backchannel_delivery(&mut self, lxmf_core::message::LxMessage, [u8; 16]) -> core::result::Result pub fn lxmf_core::link_delivery::LinkDeliveryManager::start_delivery(&mut self, lxmf_core::message::LxMessage, [u8; 16], u8) -> core::result::Result<[u8; 16], lxmf_core::link_delivery::LinkDeliveryStartFailure> pub fn lxmf_core::link_delivery::LinkDeliveryManager::start_delivery_with_report(&mut self, lxmf_core::message::LxMessage, [u8; 16], u8) -> core::result::Result diff --git a/api/stability.json b/api/stability.json index 9cf5fa1..029d249 100644 --- a/api/stability.json +++ b/api/stability.json @@ -19,16 +19,17 @@ "sourceCommit": "b8d7afce73f7f098706029361568e63f22888ea3" }, "snapshotSource": { - "commit": "2ab8fdf22b55bf18708c7181da5d4e07801e7699", - "capturedOn": "2026-08-21", + "commit": "8db95825c568ace467c99d2011cefe618e1c60fc", + "capturedOn": "2026-09-08", "review": { "areas": [ - "message construction and inspection", - "message status and identifiers", - "owned router persistence snapshots", - "Link establishment timing and timing-aware delivery starts" + "Exact local packet admission and proof-clock ownership", + "Finite original Resource windows and bounded external observation grace", + "Cancellation-aware backchannel adapters with legacy compatibility", + "Generation-safe cleanup, settlement and queued-message preservation", + "Owned reverse Resource completion handoff" ], - "canonicalPath": "lxmf_core::message_api", + "canonicalPath": "lxmf_core::link_delivery::LinkDeliveryManager", "retainedPaths": [ "lxmf_core::message", "lxmf_core::constants", @@ -41,18 +42,21 @@ "serialized persistence representations", "raw Reticulum transport channels" ], - "classification": "compatible additive facade and provisional integration APIs", + "classification": "compatible additive opt-in provisional delivery-owner integration; existing message facade and public signatures remain unchanged", "publicApiDiff": { - "added": 86, + "added": 93, "removed": 0 }, "semver": "compatible additive APIs included in version 1.2.0", "deprecations": "none", - "wirePersistenceRuntimeImpact": "no wire-format or persisted-layout change; exact message re-exports are behavior-neutral, owned router snapshots preserve the existing MessagePack layout, and Link establishment deadlines now follow authoritative first-hop timing while existing start methods remain available with the Reticulum fallback", + "wirePersistenceRuntimeImpact": "No wire-format, cryptography, message identity or persisted-layout change. Exact local Link admission precedes RTT proof timing. Resource owner windows retain original timestamps; only externally observed Resources receive a finite 180-second accounting allowance after the original protocol deadline. Cancellation-aware adapters close and drain unpublished receipts while legacy sender installation retains its previous behavior. Exact cleanup is bounded and cannot erase replacement Links or lose uncancelled queued messages; authenticated settlement remains owned after Link closure. Optional reverse Resource completion hands off the single owned payload before conclusion cleanup, without changing legacy consumers.", "platformEvidence": [ - "compiled message example and external canonical and legacy fixtures", - "lxmf-core owned router snapshot and upstream-compatible Link timing unit tests", - "macOS and Ubuntu workspace test jobs for source commit 2ab8fdf22b55bf18708c7181da5d4e07801e7699" + "clean committed-source all-feature Apple ARM64 snapshot: seven added methods, zero removed; cumulative compatibility-floor diff is 93 additions and zero removals", + "564 LXMF core and 55 daemon tests passed on the final implementation checkpoint; strict all-target Clippy and core Rustdoc passed", + "independent actual-actor cancellation, captured legacy/aware policy, 256-owner reservation and replacement-Link/settlement review controls passed", + "actual encrypted Resource final-proof expiry and same-message retry produced one receiver publication; signed Link reuse/loss/recovery and completion-lease controls passed", + "default/all-feature external consumer fixtures and final working app runtime suite passed; no feature/MSRV/native-export changes", + "final clean combined host/MSRV/native/interop and artifact qualification remain separately required; focused software evidence is not physical fading-radio or mobile acceptance" ] } }, @@ -63,8 +67,8 @@ "tier": "candidate-stable", "compatibility": "reviewed-snapshot", "snapshot": "api/snapshots/lxmf-core.txt", - "itemCount": 1638, - "sha256": "5b59de793250e211cd206c06e8e70147d91e40c45ba1d28fb659a4a354e2fd96" + "itemCount": 1645, + "sha256": "65aebd34c72bb2b621d515331bba1f4d85234c448d1c7039132f24c0a95bbe4a" }, { "name": "lxmf-tools",