chore(tickets): QA verte lot CLI/TUI #168/#169/#170 + #155 (contrat vert, e2e AppImage fichier non-image en attente)
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
---
|
||||
issueRef: "#155"
|
||||
version: 9
|
||||
version: 12
|
||||
updatedBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"}
|
||||
updatedAt: 1786037927509
|
||||
updatedAt: 1786039145667
|
||||
---
|
||||
## 2026-08-06 — Reopened from user validation on AppImage
|
||||
- User reports that clipboard paste in the custom CLI chat still does not work in practice.
|
||||
@ -10,8 +10,17 @@ updatedAt: 1786037927509
|
||||
- Scope for this cycle: verify whether the regression is frontend paste interception, attachment import, backend routing, or AppImage/runtime mismatch; restore end-to-end paste of clipboard image/file into the custom chat composer.
|
||||
- Main reopened the ticket and assigned frontend/backend ownership before architecture arbitration.
|
||||
|
||||
## 2026-08-06 — Implementation + QA
|
||||
- DevBackend verified that no backend contract change was required: clipboard bytes already flow through the #154 attachment pipeline (`contentBase64`/`sourceKind=clipboard` -> Tauri command -> attachment store import).
|
||||
- DevFrontend expanded paste handling to cover images exposed through `clipboardData.files`, while keeping the structured attachment send path (`attachments`, no prompt hack).
|
||||
- Unit/integration tests passed across frontend, application, infrastructure, and app-tauri DTO layers.
|
||||
- QA verdict: partial. The logic is green in targeted tests, but this environment cannot validate a native OS/Tauri/AppImage clipboard paste e2e. Manual AppImage verification remains the closure point for the user-visible bug.
|
||||
## 2026-08-06 — DevFrontend
|
||||
- Frontend complété sur `fix/cli-tui-batch-2026-08-06`: le collage clipboard accepte maintenant les fichiers génériques en plus des images.
|
||||
- Les fichiers venant de `clipboardData.items/files` sont convertis en attachment `contentBase64` avec `filename` / `mime` / `sourceKind=clipboard` ; les images conservent une preview, les autres fichiers partent comme attachments sans preview.
|
||||
- Tests frontend verts : `cd frontend && npx vitest run src/features/agents/CustomAgentChatView.test.tsx src/features/layout/LayoutGrid.chat.test.tsx src/features/layout/singletonAgent.test.tsx` -> 46 passed ; `cd frontend && npm run typecheck` -> exit 0 ; `cd frontend && npx vitest run` -> 117 files, 1130 tests passed.
|
||||
|
||||
## 2026-08-06 — DevBackend
|
||||
- Vérification backend effectuée. Aucun changement backend requis pour le scope image/fichier depuis clipboard : le pipeline existe déjà côté DTO/Tauri/application/infrastructure.
|
||||
- `ChatAttachmentInputDto` accepte `path` ou `contentBase64`; `import_chat_attachments` et `agent_send` routent vers `ImportChatAttachments`; le store FS persiste chemins locaux et bytes clipboard dans `.ideai/attachments/agent-chat/<session>/`.
|
||||
- Tests backend verts : `cargo test -p application --test chat_attachments -- --nocapture` -> 3 passed ; `CARGO_HOME=/tmp/idea-cargo-home cargo test -p infrastructure --test chat_attachments -- --nocapture` -> 4 passed.
|
||||
|
||||
## 2026-08-06 — QA
|
||||
- QA a rejoué les validations frontend/backend ciblées avec succès.
|
||||
- Verdict: VERT AVEC RÉSERVE. Le contrat frontend/application/infrastructure du collage image/fichier est vert, mais cette session ne fournit pas de preuve runtime/AppImage réelle d'un collage OS de fichier non-image.
|
||||
- Décision QA explicite: si le ticket exige une preuve runtime/AppImage du collage clipboard fichier, il doit rester ouvert jusqu'à validation E2E sur l'AppImage.
|
||||
@ -2,7 +2,7 @@
|
||||
id: "620bc08f-835c-483c-a9f1-59690ebf8ab5"
|
||||
number: 155
|
||||
title: "Custom chat: paste image/fichier depuis le clipboard dans le composer"
|
||||
status: "inProgress"
|
||||
status: "qa"
|
||||
priority: "medium"
|
||||
sprint: null
|
||||
links: [{"target":"#154","kind":"dependsOn"}]
|
||||
@ -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: 1785964740363
|
||||
updatedAt: 1786037927509
|
||||
version: 9
|
||||
updatedAt: 1786039145667
|
||||
version: 12
|
||||
---
|
||||
Demande utilisateur requalifiée le 2026-08-06: la custom CLI ne permet toujours pas de coller un fichier dans la barre de chat, comme dans une TUI native Claude Code ou Codex. Le scope ne doit pas rester limité au seul collage d'image: il faut couvrir au minimum les fichiers/images exposés par le clipboard et les convertir en attachments utilisables dans le composer custom, via le pipeline d'attachments existant.
|
||||
Reference in New Issue
Block a user