diff --git a/CHANGELOG.md b/CHANGELOG.md index 863f86b..6b03b09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ - Match Python RNS 1.4.2 Channel receive-window admission by dropping sequence numbers more than 48 slots ahead until a retry falls inside the window. +- Report the bundled `rnsh` compatibility level as 0.3.0, matching RNS 1.4.2; + the wire protocol remains version 1 and the authenticated session hardening + was already implemented. +- Report RNS 1.4.2 from the `rnsd-rs` interactive compatibility console instead + of the superseded 1.3.8 floor. - Promote exact Python RNS 1.4.2 from a selected current-reference lane to the complete release baseline, including live interop, source oracles, utility vectors, and regenerated corpus provenance; RNS 1.5.0 remains deferred. diff --git a/crates/rns-runtime/src/rnsh.rs b/crates/rns-runtime/src/rnsh.rs index 42f7f75..1900835 100644 --- a/crates/rns-runtime/src/rnsh.rs +++ b/crates/rns-runtime/src/rnsh.rs @@ -39,7 +39,7 @@ use crate::link_manager::{ }; pub const RNSH_APP_NAME: &str = "rnsh"; -pub const RNSH_SOFTWARE_VERSION: &str = "0.2.0"; +pub const RNSH_SOFTWARE_VERSION: &str = "0.3.0"; const CLIENT_CHUNK_LEN: usize = 240; const CHANNEL_SEND_RETRY: Duration = Duration::from_millis(20); const CLIENT_PRE_EOF_DRAIN_MIN: Duration = Duration::from_secs(3); diff --git a/crates/rns-tools/src/commands/rnsh.rs b/crates/rns-tools/src/commands/rnsh.rs index 3cb5962..572f583 100644 --- a/crates/rns-tools/src/commands/rnsh.rs +++ b/crates/rns-tools/src/commands/rnsh.rs @@ -25,7 +25,7 @@ use tokio::sync::mpsc; use rns_tools::RS_RETICULUM_VERSION; -const RNSH_PROTOCOL_VERSION: &str = "0.2.0"; +const RNSH_PROTOCOL_VERSION: &str = "0.3.0"; const APP_NAME: &str = "rnsh"; const DEFAULT_SERVICE_NAME: &str = "default"; const IDENTITY_HASH_HEX_LEN: usize = 32; @@ -883,7 +883,7 @@ mod tests { fn version_string_uses_rust_command_name() { assert_eq!( format!("rnsh-rs {RS_RETICULUM_VERSION} (protocol {RNSH_PROTOCOL_VERSION})"), - format!("rnsh-rs {} (protocol 0.2.0)", env!("CARGO_PKG_VERSION")) + format!("rnsh-rs {} (protocol 0.3.0)", env!("CARGO_PKG_VERSION")) ); } diff --git a/crates/rns-tools/src/lib.rs b/crates/rns-tools/src/lib.rs index d73fc64..8b1ab59 100644 --- a/crates/rns-tools/src/lib.rs +++ b/crates/rns-tools/src/lib.rs @@ -6,9 +6,9 @@ pub mod hash; /// rsReticulum package version printed by CLI `--version` output. pub const RS_RETICULUM_VERSION: &str = env!("CARGO_PKG_VERSION"); -/// Python Reticulum compatibility floor used by version-specific CLI fixtures. -/// Current protocol behavior is additionally checked against newer upstream. -pub const RETICULUM_COMPAT_VERSION: &str = "1.3.8"; +/// Python Reticulum release baseline exposed by compatibility-oriented CLI +/// surfaces such as the `rnsd-rs` interactive console. +pub const RETICULUM_COMPAT_VERSION: &str = "1.4.2"; /// Python 1.3.2 `[logging] logtimestamps` (Reticulum.py:459-461, /// RNS/__init__.py:85 default True): whether log lines carry a timestamp