hive-agent: drop the legacy todos/reminders db migration
This commit is contained in:
parent
658178f9db
commit
44b248bf6d
1 changed files with 4 additions and 332 deletions
|
|
@ -50,29 +50,11 @@ pub fn harness_dir() -> PathBuf {
|
|||
/// here from the now-removed ask/answer mechanism — nothing opens or
|
||||
/// writes it, and any rows in it are harmless leftovers, not a store to
|
||||
/// migrate or clean up.
|
||||
///
|
||||
/// A one-time boot migration (`db_migrate::run`) folds the older
|
||||
/// `hyperhive-todos.sqlite` / `hyperhive-reminders.sqlite` files into this
|
||||
/// path on first boot after an upgrade.
|
||||
#[must_use]
|
||||
pub fn state_db() -> PathBuf {
|
||||
harness_dir().join("hyperhive-state.sqlite")
|
||||
}
|
||||
|
||||
/// Legacy pre-consolidation todos db path, consulted only by
|
||||
/// [`crate::db_migrate`] on the first boot after the upgrade.
|
||||
#[must_use]
|
||||
pub fn legacy_todos_db() -> PathBuf {
|
||||
harness_dir().join("hyperhive-todos.sqlite")
|
||||
}
|
||||
|
||||
/// Legacy pre-consolidation reminders db path, consulted only by
|
||||
/// [`crate::db_migrate`] on the first boot after the upgrade.
|
||||
#[must_use]
|
||||
pub fn legacy_reminders_db() -> PathBuf {
|
||||
harness_dir().join("hyperhive-reminders.sqlite")
|
||||
}
|
||||
|
||||
/// Per-turn config dir for the regenerated claude-{mcp-config,settings,
|
||||
/// system-prompt} files the harness drops before each turn. Set by
|
||||
/// systemd via `RuntimeDirectory = "hive-config"`: a per-service runtime
|
||||
|
|
|
|||
Loading…
Reference in a new issue