Per-integration health list under Memory Tree status panel
Summary
Add a per-integration health list directly under the Memory Tree status panel, so operators can see, per connected integration, whether it is actively contributing chunks, when it last synced, and how much data it has produced.
Problem
PR #2719 (feat(memory-tree): status panel + on/off toggle (#1856 Part 1)) ships the four-tile pipeline-health overview and the auto-sync toggle, but does not surface the per-integration breakdown that #1856 calls out as Part 3:
Integration health list — below the summary metrics, the panel lists every connected integration with: integration name and icon, last fetched timestamp, chunk count contributed, status (Active / Stale / Error).
Without it, an operator who sees a stalled or low-volume Memory Tree has no quick way to see whether the cause is one specific integration (e.g. Gmail) and not the pipeline as a whole.
This is split out from #1856 so #2719's tighter scope can merge cleanly first, and the per-integration work can sit on top of it without expanding #2719's diff. The other unshipped part of #1856 (team-scoped wiki silos) is not filed here — it's blocked on FR9 (Teams and agents management panel) which doesn't have its own tracking issue yet.
Solution
Scope: app (new sub-component under MemoryTreeStatusPanel) + small core extension on top of the RPC introduced by #2719.
The data sources are already in main — this is mostly a UI scope:
- Per-source sync metadata in
src/openhuman/memory_sync/sync_status/(shipped by #1250) — already exposes per-source last-fetched timestamps and per-source error states. chunk_countper source insrc/openhuman/memory/read_rpc.rs.
Sketch:
- Extend
memory_tree_pipeline_status(introduced by #2719) — or add a sibling RPC — to also returnintegrations: Vec<IntegrationHealth>, where each entry coversid,name,icon_kind,last_fetched_at,chunk_count,status(Active/Stale/Error). - Render a new
MemoryTreeIntegrationList.tsxdirectly belowMemoryTreeStatusPanelinMemoryWorkspace.tsx. - Reuse the parent panel's adaptive polling (no second poll loop).
- i18n strings co-located with the parent panel's chunk so all locales remain in sync (per
CLAUDE.mdi18n rules).
Status classification (proposed defaults; up for discussion):
Active— last sync ≤ 2×auto_fetch_interval_minutesStale— between 2× and 5× the intervalError— last sync errored, or no sync within 5× the interval
Acceptance criteria
- [ ] Per-integration RPC field —
memory_tree_pipeline_status(or a sibling) returns anintegrationsarray withid,name,icon_kind,last_fetched_at,chunk_count,status. - [ ] Status classification — Active / Stale / Error follows the rule above and is deterministic given the configured
auto_fetch_interval_minutes. - [ ] List renders below MemoryTreeStatusPanel —
MemoryTreeIntegrationList.tsxmounted inMemoryWorkspace.tsx, visible from both/intelligenceand Settings → Memory data. - [ ] Empty state — clear "No integrations connected" copy matches the existing
MemorySources.tsxconvention. - [ ] Polling shares parent — re-uses the existing adaptive poll in
MemoryTreeStatusPanelrather than double-polling. - [ ] i18n parity — strings live in the same chunk file as the parent panel's i18n; all 14 locales covered per the CLAUDE.md i18n rule.
- [ ] Diff coverage ≥ 80% — the implementing PR meets the changed-lines coverage gate (Vitest + cargo-llvm-cov, enforced by
.github/workflows/coverage.yml).
Related
- Parent umbrella: #1856 (covers Parts 1–3; this is Part 3, split out per audit comment).
- Must land first: #2719 —
feat(memory-tree): status panel + on/off toggle (#1856 Part 1)— supplies the parent panel + base RPC this builds on. - Per-source sync metadata source: #1250 —
feat(memory): per-source memory sync status (#1136). chunk_countper source:memory/read_rpc.rs:109.- Sibling, deferred: team-scoped wiki silos (Part 2 of #1856) — not filed here because it depends on FR9 (Teams and agents management panel) which doesn't have its own tracking issue yet. Will be filed once FR9 lands.