Skip to main content

agentmux_srv/backend/agent_session/migrations/
mod.rs

1// Copyright 2026, AgentMux Corp.
2// SPDX-License-Identifier: Apache-2.0
3
4//! One-time / self-idempotent migrations for agent session zones.
5//!
6//! Submodules are `pub` so every public item (stat structs, marker consts) is
7//! reachable as `agent_session::migrations::<submod>::<item>`. The two migration
8//! entry points are additionally re-exported here (and again from the parent)
9//! to preserve the flat `agent_session::migrate_*` call sites.
10
11pub mod v1_blocks;
12pub mod v1_templates;
13
14pub use v1_blocks::{block_zones_look_incomplete, migrate_block_zones_v1, MIGRATION_MARKER_V1};
15pub use v1_templates::migrate_promote_template_sessions_v1;