feat: cross-host tmux screenshot capture + daemon integration #238

Closed
clawdie wants to merge 2 commits from feat/screenshot-auto-capture into main

2 commits

Author SHA1 Message Date
87bc45b612 feat: cross-host tmux screenshot capture + daemon integration
tmux-screenshot.py:
- Add --host flag for SSH remote pane capture
- Add --uuid flag for caller-controlled filenames (daemon integration)
- Content hash still computed for verification alongside daemon UUID
- Cross-host metadata: capture_host field in JSON

daemon.rs maybe_capture_screenshot():
- Two-tier: tmux pane capture (COLIBRI_SCREENSHOT_TMUX_TARGET) preferred
  over generic screenshot (COLIBRI_SCREENSHOT_CMD fallback)
- Format: 'domedog:=1:2' for remote host, '=1:2' for local
- Script path configurable via COLIBRI_SCREENSHOT_SCRIPT

SKILL.md: cross-host and daemon-controlled UUID sections
2026-06-27 20:17:56 +02:00
5ba8c0c109 feat(daemon): auto screenshot capture on task completion
When COLIBRI_SCREENSHOT_DIR is set, the daemon generates a UUID via
uuidgen, spawns a screenshot command (COLIBRI_SCREENSHOT_CMD, default
'import -window root'), and attaches the UUID to the mother cost push.

The dashboard already renders ▸ proof badges on cards with screenshot_uuid.
This closes the loop — the daemon now auto-generates screenshots instead
of waiting for an external process to set COLIBRI_TASK_SCREENSHOT_UUID.

Sam & Hermes
2026-06-27 18:45:45 +02:00