feat(homecore-api): serve bounded recorder history

This commit is contained in:
ruv
2026-07-27 14:43:48 -04:00
parent fbd5cfa242
commit bc690ff309
9 changed files with 214 additions and 7 deletions
+3 -2
View File
@@ -251,7 +251,7 @@ async fn main() -> Result<()> {
}
// ── 2. Recorder (optional) ──────────────────────────────────────
if let Some(recorder) = recorder {
if let Some(recorder) = recorder.clone() {
let _recorder_task = RecorderListener::new(hc.states(), recorder).spawn();
info!(
"Recorder open at {} — state_changed events being persisted",
@@ -310,7 +310,8 @@ async fn main() -> Result<()> {
cli.location_name,
env!("CARGO_PKG_VERSION"),
tokens,
);
)
.with_recorder(recorder);
// BFF gateway (ADR-131 §11): single-origin aggregation of the
// calibration API + SEED/appliance tiers. Shares the same token store
// for auth; upstream credentials stay server-side.