From fa829da8b795a7179aa4c5193c441aae6b3ebb55 Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Thu, 19 Mar 2026 18:09:08 +0300 Subject: [PATCH] Phase 10: scope to tracked albums only, add /search (CLIP) + /find (text) - IMPORTANT constraint: all asset commands only search within tracked albums, never expose untracked content - /search uses Immich CLIP semantic search (natural language) - /find uses text search (filename, description) Co-Authored-By: Claude Opus 4.6 (1M context) --- plans/phase-10-telegram-commands.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plans/phase-10-telegram-commands.md b/plans/phase-10-telegram-commands.md index d674a7d..8eb6f16 100644 --- a/plans/phase-10-telegram-commands.md +++ b/plans/phase-10-telegram-commands.md @@ -25,7 +25,11 @@ Define and implement Telegram bot commands that users can invoke directly from c - `/random [album]` — Send random photo(s) from an album ### Asset Browsing -- `/search ` — Generic search (filename, description, smart match via Immich) + +**IMPORTANT**: All asset commands MUST only search within albums that are tracked by the tracker(s) associated with the bot's target. Never expose assets from untracked albums. + +- `/search ` — Semantic/smart search via Immich CLIP ("dog on beach", "birthday party") +- `/find ` — Text search by filename, description - `/person ` — Find photos with a specific person - `/place ` — Find photos by city/country/location - `/favorites [album]` — Show favorite assets