vios_app 0.1.1

Small JSON vaults: Argon2id + AES-GCM, with optional AAD binding.
Documentation
use super::types::*;
#[derive(Debug, Default)]
pub struct Coder;
impl Agent for Coder {
    fn role(&self) -> Role {
        Role::Coder
    }
    fn step(&self, task: &TaskSpec, state: &TeamState) -> TeamEvent {
        let target = "README.md";
        let diff = format!(
            "--- a/{0}
+++ b/{0}
@@
-# VIOS Core
+# VIOS Core
+<!-- devteam: auto-patch example for task: {title} -->
",
            target,
            title = task.title
        );
        let patch = Patch {
            path: target.into(),
            diff,
        };
        let _followed_plan = !state.plan.is_empty();
        TeamEvent::ProposedPatch(patch)
    }
}