[package]
name = "kei-decompose"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
description = "Universal decomposition layer — turns ANY MD output (research / audit / sleep / architecture / new-project) into kei-spawn-compatible task.toml + dispatch."
authors.workspace = true
license.workspace = true

[[bin]]
name = "kei-decompose"
path = "src/main.rs"

[lib]
name = "kei_decompose"
path = "src/lib.rs"

[dependencies]
clap = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
toml = { workspace = true }
regex = { workspace = true }
anyhow = { workspace = true }
walkdir = { workspace = true }
rusqlite = { workspace = true }
kei-registry = { path = "../kei-registry" }

[dev-dependencies]
tempfile = { workspace = true }
rusqlite = { workspace = true }

[package.metadata.keisei]
backend = "none"
description = "Detects MD format (research / wave-audit / sleep / architecture / new-project), parses via registered FormatParser, normalizes to unified Action struct, emits kei-spawn task.toml, and dispatches via kei-spawn (with optional kei-ledger pre-fork). Closes Wave 50 META: kit had 6+ ad-hoc MD formats but only research had a path to action."
authors = ["Denis Parfionovich <parfionovich@keilab.io>"]
