release: v2.3.0 Foreign Strong session/handle/replay/arity

Opaque session handles, affine close, replay_check vs oracle journal,
table arity refuse, and Ω∈V_safe gate for the Strong foreign narrative.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-11-01 14:46:08 +08:00
1 parent 82c8d78fd3
commit 142ab523d6
31 files changed
+827 -57

No files matched your search

+14
View File
@@ -208,6 +208,16 @@ pub fn api_replay_snapshot(root: &Path, body: &str) -> serde_json::Value {
with_session(root, body, "replay", |s| s.replay_snapshot(&snapshot))
}
pub fn api_replay_check(root: &Path, body: &str) -> serde_json::Value {
let v = body_value(body);
let snapshot = v.get("snapshot").cloned().unwrap_or(serde_json::Value::Null);
let snapshot = match json_to_value(&snapshot) {
Ok(v) => v,
Err(e) => return err(e),
};
with_session(root, body, "replay_check", |s| s.replay_check(&snapshot))
}
pub fn api_clear_cell(root: &Path, body: &str) -> serde_json::Value {
let v = body_value(body);
let cell = v.get("cell").and_then(|x| x.as_str()).unwrap_or("");
@@ -352,6 +362,10 @@ pub fn api_journal(root: &Path, body: &str) -> serde_json::Value {
with_session(root, body, "journal", |s| Ok(s.journal_json()))
}
pub fn api_oracle_journal(root: &Path, body: &str) -> serde_json::Value {
with_session(root, body, "oracle_journal", |s| Ok(s.oracle_journal_json()))
}
#[cfg(test)]
mod tests {
use super::*;