From 1aa9d01b2b523114b411ab93b544ab6cef782781 Mon Sep 17 00:00:00 2001 From: Blomios Date: Tue, 11 Aug 2026 16:24:20 +0200 Subject: [PATCH] chore(tickets): sync miroir #182 (QA verte) --- .ideai/tickets/182/carnet.md | 9 ++++++--- .ideai/tickets/182/issue.md | 6 +++--- .ideai/tickets/index.json | 4 ++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.ideai/tickets/182/carnet.md b/.ideai/tickets/182/carnet.md index 3d67f5ea..973e70fd 100644 --- a/.ideai/tickets/182/carnet.md +++ b/.ideai/tickets/182/carnet.md @@ -1,11 +1,14 @@ --- issueRef: "#182" -version: 3 +version: 6 updatedBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} -updatedAt: 1786455395341 +updatedAt: 1786458224057 --- 2026-08-11 - Ticket ouvert suite au signalement utilisateur. - Cadrage UX: restauration transparente du brouillon au retour sur la cellule/layout; pas de persistance des attachments; TTL court acceptable. - Arbitrage architecture validé: store backend JSON, scoped par projet/layout/node; pas de solution frontend-only. -- L'implémentation devra nettoyer le draft à l'envoi et après /clean si la conversation est vidée. \ No newline at end of file +- L'implémentation devra nettoyer le draft à l'envoi et après /clean si la conversation est vidée. +- Implémentation frontend dev reçue: intégration composer -> backend draft store avec scope projectId/layoutId/nodeId, sauvegarde debounced, restauration silencieuse, effacement après envoi et slash command consommée, pas de persistance des attachments. +- Implémentation backend dev reçue: modèle ChatDraft text-only, store JSON `.ideai/chat-drafts.json`, use cases read/save/clear par scope exact projet/layout/node, commandes Tauri `read_chat_draft`/`save_chat_draft`/`clear_chat_draft`. +- QA 2026-08-11: VERT. Vérifications exécutées avec succès: frontend CustomAgentChatView/agent tests, backend domain/application/infrastructure sur le scope et la persistance draft. QA a ajouté un test manquant sur l'effacement du draft après slash command consommée. \ No newline at end of file diff --git a/.ideai/tickets/182/issue.md b/.ideai/tickets/182/issue.md index 4752901c..4ffc179c 100644 --- a/.ideai/tickets/182/issue.md +++ b/.ideai/tickets/182/issue.md @@ -2,7 +2,7 @@ id: "82436920-96cc-4a05-a1c7-0555e90ef47c" number: 182 title: "Persister le brouillon de chat par layout et retour projet" -status: "inProgress" +status: "qa" priority: "high" sprint: null links: [] @@ -11,7 +11,7 @@ attachments: [] createdBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} updatedBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} createdAt: 1786454719252 -updatedAt: 1786455395341 -version: 3 +updatedAt: 1786458224057 +version: 6 --- Quand l'utilisateur tape un message dans le chat puis change de layout ou de projet, le texte saisi doit rester dans le chat quand il revient sur ce layout. \ No newline at end of file diff --git a/.ideai/tickets/index.json b/.ideai/tickets/index.json index fcdf8ab3..d4f5e6fb 100644 --- a/.ideai/tickets/index.json +++ b/.ideai/tickets/index.json @@ -2441,7 +2441,7 @@ "issueRef": "#182", "path": "182", "title": "Persister le brouillon de chat par layout et retour projet", - "status": "inProgress", + "status": "qa", "priority": "high", "sprint": null, "assignedAgentIds": [], @@ -2449,7 +2449,7 @@ "kind": "agent", "agent_id": "a6c6ea12-bfc6-4bdc-8031-324102dfa34d" }, - "updatedAt": 1786455395341 + "updatedAt": 1786458224057 }, { "issueRef": "#183",