Conversations spec and plan: the key under LIBREDESK_API_KEY / LIBREDESK_API_SECRET

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-18 15:34:12 +01:00
1 parent f58db178c7
commit 0e6e671caa
2 files changed
+4 -4

No files matched your search

@@ -15,7 +15,7 @@ The client requests arrive by mail in LibreDesk (`helpdesk.sensima.ch`, v2.9.0).
## Constraints
- Read-only on LibreDesk, enforced by a guard test in `~/aimsight-libredesk`, like `tests/test_garde_fou_snippets.py` for the snippets.
- The key: a dedicated LibreDesk agent "Lecture conversations" whose role has only `conversations:read_all` and `messages:read`, created by the user; its key and secret in `~/aimsight-libredesk/.env` (`LIBREDESK_LECTURE_KEY`, `LIBREDESK_LECTURE_SECRET`), never read by Claude. The `Authorization: token <key>:<secret>` header goes only to the LibreDesk host (`add_unredirected_header`, as in `snippets/envoyer.py`).
- The key: a dedicated LibreDesk agent "Lecture conversations" whose role has only `conversations:read_all` and `messages:read`, created by the user; its key and secret in `~/aimsight-libredesk/.env` (`LIBREDESK_API_KEY`, `LIBREDESK_API_SECRET`), never read by Claude. The `Authorization: token <key>:<secret>` header goes only to the LibreDesk host (`add_unredirected_header`, as in `snippets/envoyer.py`).
- Standard library only in `~/aimsight-libredesk` (its rule); its code and docs in French (its language); the app in English.
- The app holds no domain logic: it calls the pumping of `~/aimsight-libredesk` as it calls `extraction/pumping.py` of `~/aimsight-data`.
- Every conversation, by the user's decision: all the inboxes, all the statuses, no filter.