Files
vmux/.planning/phases/02-daemon-et-i3-bridge/02-DISCUSSION-LOG.md
2026-03-23 15:22:05 +01:00

2.2 KiB

Phase 2: Daemon et i3 Bridge - Discussion Log

Audit trail only. Do not use as input to planning, research, or execution agents. Decisions are captured in CONTEXT.md — this log preserves the alternatives considered.

Date: 2026-03-23 Phase: 02-daemon-et-i3-bridge Areas discussed: Daemon design, i3 workspace mapping, Lib i3, Label & switch UX


Daemon design

Communication

Option Description Selected
Unix socket vmuxd écoute sur ~/.vmux/vmux.sock, JSON protocol
HTTP localhost API HTTP sur port local, compatible curl/piaire
Tu décides

Polling interval

Option Description Selected
2 secondes Bon compromis réactivité/perf
5 secondes Plus économe, suffisant avant hooks push
Tu décides

Lifecycle

Option Description Selected
Autostart vmux list démarre vmuxd auto si pas running. vmux stop pour arrêter
Manuel vmuxd lancé manuellement (i3 config)
Tu décides

i3 workspace mapping

Strategy

Option Description Selected
PID → fenêtre i3 Croiser PID Claude avec arbre i3 pour trouver workspace
Cwd → workspace name Convention nommage workspaces
Tu décides

Multi-session par workspace

Option Description Selected
Toutes listées Afficher toutes, même workspace
Tu décides

Lib i3

Option Description Selected
go.i3wm.org/i3/v4 Lib officielle Go, API propre
i3-msg subprocess Plus simple, plus fragile
Tu décides

Label & switch UX

Option Description Selected
Index numérique vmux switch 1
Branche git vmux switch feature/auth
Fuzzy match vmux switch auth (matche branche, label, cwd)
Tu décides

Claude's Discretion

  • Format JSON sur Unix socket
  • PID file management
  • Fallback si i3 non disponible

Deferred Ideas

None