From 387138410532daad174ed602fd03f4f979cd3d81 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 24 Sep 2026 18:30:10 +0200 Subject: refactor(node): move per-app enrichment out of NodeDaemon The _enrich_*/_reenrich_* methods and _on_enriched become EnrichmentMixin in meshbay_node/enrichment.py, with the two directory helpers only they use. APP_DIR_KEYS stays on NodeDaemon. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CLAUDE.md') diff --git a/CLAUDE.md b/CLAUDE.md index a585549..41a5056 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -880,7 +880,7 @@ here are kept only where they are a rule about *editing* the code. | Local control API | `meshbay_node/ui/app.py` | JSON only, loopback + per-run token. Each operation endpoint is one `_op(...)` line | | Roster, identities, devices, invites, group settings | `meshbay_node/roster.py` | §3.3, §3.4 | | Roots, availability, eject/plug | `meshbay_node/roots.py`, `config.py` | §6.2 | -| Indexing, hashing, enrichment | `meshbay_node/indexer/` — `indexer.py`, `cache.py`, `group_index.py`, `enrich*.py`, `title_parse.py` | §6.3 | +| Indexing, hashing, enrichment | `meshbay_node/indexer/` — `indexer.py`, `cache.py`, `group_index.py`, `enrich*.py`, `title_parse.py`; `meshbay_node/enrichment.py` — which files each app enriches, and when (NodeDaemon mixin) | §6.3 | | Transfer leases and queueing | `meshbay_node/transfers.py` | §5.5. Deliberately free of asyncio and of the transport | | Uploads, resume state | `meshbay_node/uploads.py` | §6.4 | | WebRTC transport and every MNP handler | `meshbay_node/transport/webrtc_server.py` | the big one; framing, shared limits and one-shot ffmpeg jobs are in `transport/webrtc/`, handlers for one app only in `transport/webrtc/apps/` | -- cgit v1.2.3