一键导入
verify
Drive a real repomon TUI + daemon end-to-end in an isolated instance (own socket, DB, config, tmux server) without touching the live fleet.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Drive a real repomon TUI + daemon end-to-end in an isolated instance (own socket, DB, config, tmux server) without touching the live fleet.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | verify |
| description | Drive a real repomon TUI + daemon end-to-end in an isolated instance (own socket, DB, config, tmux server) without touching the live fleet. |
Branch first. Feature work starts with git checkout -b feat/... BEFORE the first
edit — twice now a whole feature landed on local main and had to be surgically moved
(git checkout -b <branch> && git branch -f main origin/main).
The real daemon runs on the default socket with tmux server repomon. An isolated
instance needs ALL FOUR of: config home, data dir, socket, and a distinct
tmux_session (the tmux server socket is named after the session, so this is what
prevents lane-N window collisions with the real fleet):
mkdir -p /tmp/rmv/cfg/repomon /tmp/rmv/data /tmp/rmv/repo
cat > /tmp/rmv/cfg/repomon/config.toml <<'EOF'
tmux_session = "rmv"
default_agent = "fake"
spawn_prompt = false # 'e' spawns the default agent with no picker
[agents]
fake = "/tmp/rmv/fake-agent.sh"
EOF
export XDG_CONFIG_HOME=/tmp/rmv/cfg REPOMON_DATA_DIR=/tmp/rmv/data
alias rmv='~/.cargo/bin/repomon --socket /tmp/rmv/repomon.sock'
rmv add <repo> auto-spawns an isolated daemon (repomond must be installed —
cargo install --path crates/repomon-daemon; the TUI: --path crates/repomon-tui).
Any script registered as a custom agent becomes a "real" agent: the daemon sniffs
its tmux pane. To fake a permission dialog, print a Claude-style box
(╭─╮ + │ borders, a "Do you want to proceed?" line, ❯ 1. … options), then
read _ so answering (Enter) visibly changes the pane. Running-status sniff TTL is
5s — wait ~6-8s after spawn for the ⏸ flip.
Run the TUI inside your own driver tmux server (separate from both the real and isolated agent servers):
tmux -L drv new-session -d -s v -x 170 -y 45 "env XDG_CONFIG_HOME=... REPOMON_DATA_DIR=... ~/.cargo/bin/repomon --socket /tmp/rmv/repomon.sock"
tmux -L drv send-keys -t v <keys>; tmux -L drv capture-pane -t v -p
Agent panes live on the isolated server: tmux -L rmv capture-pane -t "rmv:=lane-1" -p.
e (spawn) auto-focuses into Split; send Escape to get back to Fleet before
reading fleet badges.5) swallows most keys; Esc out before pressing
global keys like v.repomon daemon stop|status|restart honor --socket since fix/daemon-cli-socket
(2026-07-07); on OLDER installed binaries they resolve from config and hit the
REAL daemon — with an old binary, stop isolated daemons by pid instead.tmux send-keys -l "x" — tty echo changes the content) resets the clock for
edge-refire tests. Launch the driver with remain-on-exit on so a dying TUI
leaves its exit status behind.repomon daemon restart (agents survive — they live in tmux).q), kill the isolated daemon by pid, kill both tmux
servers (tmux -L drv kill-server, tmux -L rmv kill-server), rm the tmp dir.