20 Commits

Author SHA1 Message Date
felixm 138e4e04bc docs: finalize TUI nav + archiving spec and implementation plan
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 12:02:45 -04:00
felixm 32f7e0ded7 docs: design spec for TUI h/l nav and session archiving
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 11:22:14 -04:00
felixm fc95bf9830 feat: stop and rename a session from its tmux window
Add "stop" and "rename" to the Alt+p tool palette so a session can be
managed from inside its own harness window, mirroring the TUI's s/r keys:

- stop kills the harness window (stop_session_for_window).
- rename prompts for a nickname, pre-filled with the current one. The
  name is read from /dev/tty via readline (the fzf pipe leaves our stdin
  spent) and never passes through tmux's command parser, so there's
  nothing to quote-escape.

Extract require_session_id_for_window as the shared resolve-or-raise
guard behind the tool/stop/rename branches, dropping the duplicated
"not an hqt session window" check.

Also removes the now-shipped feature plans and specs under docs/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 11:07:33 -04:00
felixm 783bfee79f docs: implementation plan for New Session dialog UX refinements
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 10:29:35 -04:00
felixm dbaf8ab1de docs: spec for New Session dialog UX refinements
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 10:26:37 -04:00
felixm a5f2f69faa docs: plan delayed prompt injection 2026-06-10 22:46:55 -04:00
felixm 90db743922 docs: design delayed prompt injection 2026-06-10 22:39:44 -04:00
felixm 9b515f6b44 docs: design tmux window index reset 2026-06-10 21:39:31 -04:00
felixm e74a6e6eb8 Merge branch 'main' into worktree-sessions 2026-06-10 21:08:02 -04:00
felixm dff53144c9 Merge branch 'main' into worktree-sessions
# Conflicts:
#	src/hqt/sessions/service.py
#	tests/test_sessions.py
2026-06-10 21:07:20 -04:00
felixm 897f6591dc docs: implementation plan for bubblewrap-sandboxed sessions
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 21:05:16 -04:00
felixm 5c63d0fbec docs: spec + plan for Alt+p tool palette (nvim/lazygit/shell/clone)
Adds a single tmux Alt+p fzf palette that opens nvim/lazygit/shell as styled
tool windows for the current session's project, or clones a fresh harness with
the same project+model. Bridges via run-shell (expands #{window_name}) into a
new 'hqt palette' CLI subcommand, since display-popup does not format-expand its
command (verified on tmux 3.6b).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 20:56:33 -04:00
felixm cabac16fd4 docs: design spec for bubblewrap-sandboxed sessions
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 20:54:09 -04:00
felixm ad7f9f87aa docs: implementation plan for P2 fixes
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 20:08:54 -04:00
felixm ca0d028a87 docs: design spec for P2 fixes
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 20:08:54 -04:00
felixm 682c6a3f74 docs: implementation plan for P2 fixes
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 20:01:06 -04:00
felixm 0e7d8ff35b docs: design spec for P2 fixes
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 19:56:26 -04:00
felixm 685f39baec docs: worktree-sessions spec and implementation plan
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 19:48:20 -04:00
felixm c29d862774 chore: close out P1 findings
Resolve all three P1 items: per-operation DB sessions, ServiceError
user-facing failures, and user_version schema migrations. Add the
implementation plan doc.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 19:31:58 -04:00
felixm 90944948f5 Initial commit: hqt — HQ Terminal TUI
TUI for orchestrating AI coding harness sessions (Claude Code, Codex,
Kiro, etc.) via tmux. Click CLI bootstraps a Textual TUI over
ProjectService/SessionService backed by SQLite, spawning harness
sessions as tmux windows through TmuxManager.

Includes recent fixes:
- Visible Tab focus highlight on dialog OK/Cancel buttons
- Auto-select first project on launch
- Auto-select first session + per-project session-selection memory
- tmux new-window targets an explicit free index, fixing
  "index N in use" failures (broken spawn/attach in attached sessions)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 17:06:57 -04:00