vios_app 0.1.1

Small JSON vaults: Argon2id + AES-GCM, with optional AAD binding.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::io::{self, Read};
use vios_core::devteam::{router::run_once, types::TaskSpec};

fn main() {
    let mut buf = String::new();
    io::stdin().read_to_string(&mut buf).unwrap_or(0);
    let task = TaskSpec {
        title: "Repo hygiene patch".into(),
        constraints: vec!["offline".into(), "deterministic".into()],
        content: buf,
    };
    let state = run_once(task);
    println!("::plan::{}", state.plan.join(" | "));
    for p in state.patches {
        println!("::patch::{}::\n{}\n::endpatch::", p.path, p.diff);
    }
    println!("::notes::{}", state.notes.join(" | "));
}