hammerd::arje_link se suscribe al bus del init (ENTE_BUS_SOCK), relee el frame postcard de arje-bus con un mirror mínimo de suscriptor (sin arrastrar el crate-graph de arje ⇒ hammer sigue standalone) y reenvía cada BusEvent → crashes → Event::Crashed → agent.sock. Wire verificado byte-a-byte contra arje-bus real (ulid string, frame Subscribe=[00,01,00,0d]); 2 tests de round-trip local + frame. Se lanza en thread si ENTE_BUS_SOCK está definido (no-op si no). Roadmap B.2 marcado ✅ (resta sólo el smoke contra init vivo). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
33 lines
836 B
TOML
33 lines
836 B
TOML
[package]
|
|
name = "hammerd"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
description = "Daemon de hammer: bus de agente (/run/agent.sock) y diario de mutaciones (fanotify)."
|
|
|
|
[[bin]]
|
|
name = "hammerd"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
hammer-core.workspace = true
|
|
hammer-build.workspace = true
|
|
hammer-journal.workspace = true
|
|
hammer-overlay.workspace = true
|
|
anyhow.workspace = true
|
|
clap.workspace = true
|
|
thiserror.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
nix = { version = "0.30", default-features = false, features = ["fanotify", "fs", "user", "socket"] }
|
|
libc = "0.2"
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
postcard.workspace = true
|
|
ulid.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|