//! Persistence lifecycle operations exposed to front ends.
usecrate::workspace::Session;useanyhow::Result;/// Persist approved analyst facts and staged patches.
////// Harness proposals and research claims do not belong in this legacy store.
pubfnsave_analyst_state(session:&Session)->Result<()>{
session.db.save()}