A self-improving RLM agent for coding workflows and long-running autonomous tasks.
Rust
[package]
name = "pa-daemon"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Session supervisor, worker processes, and wire protocol."
[dependencies]
pa-types = { path = "../pa-types" }
pa-core = { path = "../pa-core" }
pa-agent = { path = "../pa-agent" }
pa-ai = { path = "../pa-ai" }
pa-telemetry = { path = "../pa-telemetry" }
anyhow = { workspace = true }
futures = { workspace = true }
globset = "0.4"
serde = { workspace = true }
serde_json = { workspace = true, features = ["raw_value"] }
thiserror = { workspace = true }
tokio = { workspace = true }
tokio-util = "0.7"
sha2 = "0.10"
uuid = { version = "1", features = ["v4", "v7"] }
[dev-dependencies]
filetime = "0.2"
tempfile = "3"
# The orphan-journal e2e signals and probes process groups directly.
nix = { version = "0.29", features = ["signal", "process"] }
socket2 = "0.6"
# The supervisor property suite draws sibling rosters for the live
# rename ladder; the plain std features are enough (no fork/timeout).
proptest = { workspace = true }
# Test-only: `ModelCatalog::with_urls` + the compiled offline Prime
# Inference entries build the loopback catalog the session-model restore
# tests script (the pa-core tests/common pattern, in-crate), and the
# catalog-repo child-resolution regression writes the layer-A disk cache
# in the pa-models snapshot shape; the crate's runtime surface goes
# through pa-core.
pa-models = { path = "../pa-models" }
url = "2"
# The MCP catalog e2e seeds the fetch lane's snapshot envelope: the real
# catalog url/scope constants keep the seeded cache byte-honest.
# `test-util` (tokio time pause) is test-only: the mutation-drain latch test
# drives real timeouts through the paused clock.
tokio = { workspace = true, features = ["test-util"] }
[[bin]]
name = "pa-daemon"
path = "src/main.rs"
[lints]
workspace = true