vios_app 0.1.1

Small JSON vaults: Argon2id + AES-GCM, with optional AAD binding.
Documentation
use crate::vault::vault_viewer::{VaultContent, VaultMetadata, VaultPayload};
use chrono::Utc;

pub fn parse_echoscript(input: &str) -> Result<VaultPayload, String> {
    let metadata = VaultMetadata {
        creator_name: "Rio".to_string(),
        system_fingerprint: "vios-core".to_string(),
    };

    let content = VaultContent {
        tone: "calm".to_string(),
        intent: "reflect".to_string(),
        reem_code: "R0".to_string(),
        summary: "EchoScript reflection".to_string(),
        transcript: input.to_string(),
        voice_log_time: Utc::now().to_rfc3339(),
    };

    Ok(VaultPayload { metadata, content })
}