agileplus-sqlite 0.3.0

Typed intent graphs for engineering work — convert prompts into validated DAGs of intents, features, tasks, tests, and edges, then store, query, and serve them from Rust, HTTP, or MCP.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod migrations;
pub mod storage;

use std::path::Path;

pub use storage::{Note, Storage};

/// Apply all pending migrations to the given SQLite database path.
pub fn apply_migrations(db_path: impl AsRef<Path>) -> anyhow::Result<()> {
    let storage = Storage::open(&db_path)?;
    storage.migrate()?;
    Ok(())
}

/// Returns the list of (id, sql) migration pairs in apply order.
pub fn migration_files() -> &'static [(&'static str, &'static str)] {
    migrations::ALL
}