feat(ai): P1.4 Background-Job für Initial-Indexing + inkrementelle Re-Indexierung #442
Labels
No labels
app/archiv
app/einkaufslisten
app/imap-client
app/wissensbasis
arch-answered
arch-question
area/api
area/auth
area/infra
area/mobile
area/shared
area/ui
area/web
portfolio-status
prio/high
prio/low
prio/medium
roadmap/public
size/l
size/m
size/s
size/xl
size/xs
status/blocked
status/needs-info
type/bug
type/chore
type/docs
type/feature
type/idea
type/refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
admin-mrrm/mrrmlabapp#442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase-1-Sub-Issue zu #122 (Decision Record 2026-06-06).
Ziel
Indexing-Pipeline: alle vorhandenen DataSource-Einträge initial in den Vector-Store schreiben (Background-Job), neue/geänderte Einträge inkrementell on-the-fly nachziehen.
Scope
IndexingService:runInitialIndex()— iteriert über alle registrierten DataSources, holt alle Chunks, batched zu 32-64, generiert Embeddings (P1.1), schreibt in VectorStore (P1.2).expo-task-managerals Background-Task: Default „bei Ladung + Wifi" (Folge-Effekt 2 aus #438), User-Opt-In für Sofort-Ausführung.IDataSource.subscribeToUpdates()(P1.3) triggert pro Event: betroffene Chunks re-embedden + upsert.vector_index.text_chunk— nur bei Hash-Drift neu embedden (spart Battery).Akzeptanzkriterien
Out-of-Scope
Implementation komplett — integriert in PR #444 (
wireup/ai-foundation-phase1). Device-Pass läuft am übergeordneten Epic #122. Issue wird geschlossen.