Vapora/crates/vapora-agents/src
Jesús Pérez c5f4caa2ab
feat(agents): stable identity + hot-reload for zero learning loss on config change
Introduce stable_id = role on AgentMetadata so learning profiles and KG
  execution records survive process restarts and hot-reloads. Previously
  every Uuid::new_v4() rotation orphaned accumulated expertise.

  - registry: add stable_id field (serde default, backward-compatible),
    stable_id_or_role() fallback helper, drain_role(), list_roles()
  - coordinator: profile lookup and KG writes use stable_id_or_role()
    instead of the ephemeral UUID; drain_role() drops Sender to close
    mpsc channels after in-flight messages drain; registry_arc() accessor
  - executor: agent_id written to KG now uses stable_id_or_role()
  - server: reload_agents() drain-and-respawn function; SIGHUP handler
    via while sighup.recv().await.is_some(); POST /reload endpoint;
    AppState extended with config_path, router, cap_registry
  - fix: SIGHUP recv() spin-loop guard (is_some())
  - fix: io_other_error clippy lint in vapora-agents, vapora-llm-router,
    vapora-workflow-engine (std::io::Error::other instead of Error::new)
  - docs: ADR-0040, CHANGELOG entry, README hot-reload section
2026-03-02 22:54:28 +00:00
..
bin feat(agents): stable identity + hot-reload for zero learning loss on config change 2026-03-02 22:54:28 +00:00
runtime feat(agents): stable identity + hot-reload for zero learning loss on config change 2026-03-02 22:54:28 +00:00
config.rs feat(agents): stable identity + hot-reload for zero learning loss on config change 2026-03-02 22:54:28 +00:00
coordination.rs ci: Update pre-commit hooks configuration 2026-01-11 21:32:56 +00:00
coordinator.rs feat(agents): stable identity + hot-reload for zero learning loss on config change 2026-03-02 22:54:28 +00:00
learning_profile.rs feat: add Leptos UI library and modularize MCP server 2026-02-14 20:10:55 +00:00
lib.rs feat: integrate NatsBridge with real JetStream into A2A server 2026-02-17 22:28:51 +00:00
loader.rs feat: add Leptos UI library and modularize MCP server 2026-02-14 20:10:55 +00:00
messages.rs feat: CLI arguments, distribution management, and approval gates 2026-02-03 21:35:00 +00:00
nats_bridge.rs feat: integrate NatsBridge with real JetStream into A2A server 2026-02-17 22:28:51 +00:00
persistence_trait.rs ci: Update pre-commit hooks configuration 2026-01-11 21:32:56 +00:00
profile_adapter.rs feat(agents): stable identity + hot-reload for zero learning loss on config change 2026-03-02 22:54:28 +00:00
registry.rs feat(agents): stable identity + hot-reload for zero learning loss on config change 2026-03-02 22:54:28 +00:00
risk_classifier.rs feat: CLI arguments, distribution management, and approval gates 2026-02-03 21:35:00 +00:00
scoring.rs fix: Pre-commit configuration and TOML syntax corrections 2026-01-11 21:46:08 +00:00
swarm_adapter.rs feat: integrate NatsBridge with real JetStream into A2A server 2026-02-17 22:28:51 +00:00