1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
id: 3
title: "Spike : choisir la stack Wails et frontend"
state: open
author:
name: k33g
email: ph.charriere@gmail.com
createdAt: 2026-10-29T07:20:01.000Z
updatedAt: 2026-10-29T07:20:01.000Z
labels:
- "kind::spike"
- "area::ui"
- "priority::urgent"
- "size::M"
milestone: "Initialize"
epic: "Specifications"
body: |
## Contexte
Consignes techniques du draft [#1 — draft](.tickets/issues/0001-draft.yaml) : Go + Wails. Wails laisse le choix du framework frontend et il faut des briques non triviales : éditeur de code (Settings, fichiers), terminal, rendu Markdown avec coloration, layout à panels façon Zed.
## Pourquoi un spike
- **Wails v2 (stable) ou v3 (multi-fenêtres, nouvelle API)** : décision structurante, coûteuse à changer après coup.
- Les composants tiers dictent le framework : il vaut mieux choisir ceux-ci d'abord, puis le framework qui les intègre le mieux.
- Le rendu « sobre et fancy » demandé dépend beaucoup de ces choix (thème, typo, panels redimensionnables).
## Candidats à évaluer (non exhaustif)
| Besoin | Pistes |
| --- | --- |
| Framework | Svelte (léger, template Wails officiel), React, Vue |
| Éditeur | CodeMirror 6 (léger, extensible, mode YAML), Monaco (lourd mais complet) |
| Terminal | xterm.js + PTY côté Go (`creack/pty`) |
| Markdown | markdown-it / marked + Shiki ou highlight.js |
| Panels | split-panes / layout maison |
## Livrable
ADR `docs/adr/0002-stack-ui.md` + un prototype jetable : une fenêtre Wails avec 2 panels redimensionnables, un CodeMirror YAML et un xterm.js branché sur un shell local.
## Critères d'acceptation
- [ ] Version de Wails fixée et justifiée.
- [ ] Framework frontend et librairies choisis, avec poids du bundle et licence.
- [ ] Le prototype tourne sur le MacBook Air cible.
tasks:
- id: 1
title: "Comparer Wails v2 et v3 (stabilité, API events, multi-fenêtres)"
state: open
priority: high
author:
name: k33g
email: ph.charriere@gmail.com
createdAt: 2026-10-29T07:20:01.000Z
- id: 2
title: "Comparer CodeMirror 6 et Monaco (poids, YAML, thèmes)"
state: open
priority: medium
author:
name: k33g
email: ph.charriere@gmail.com
createdAt: 2026-10-29T07:20:01.000Z
- id: 3
title: "Valider xterm.js + PTY Go (creack/pty)"
state: open
priority: medium
author:
name: k33g
email: ph.charriere@gmail.com
createdAt: 2026-10-29T07:20:01.000Z
- id: 4
title: "Choisir la lib Markdown + coloration compatible streaming"
state: open
priority: medium
author:
name: k33g
email: ph.charriere@gmail.com
createdAt: 2026-10-29T07:20:01.000Z
- id: 5
title: "Choisir le framework frontend"
state: open
priority: high
author:
name: k33g
email: ph.charriere@gmail.com
createdAt: 2026-10-29T07:20:01.000Z
- id: 6
title: "Prototype jetable : panels + éditeur + terminal"
state: open
priority: medium
author:
name: k33g
email: ph.charriere@gmail.com
createdAt: 2026-10-29T07:20:01.000Z
- id: 7
title: "Rédiger l'ADR stack UI"
state: open
priority: high
author:
name: k33g
email: ph.charriere@gmail.com
createdAt: 2026-10-29T07:20:01.000Z
comments: []
|