e818cfea8b
The reviewer pool was the only place naming harness+model combos, and blitz kept its own table inline. `reviewers` becomes `agents`, gains `roles` and `tiers`, and blitz routes from it via scripts/roster.sh. Config path moves to ~/.config/agent-skills/; the reviewer path stays readable so a box migrates with a mv. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
32 lines
1.3 KiB
Desktop File
32 lines
1.3 KiB
Desktop File
[Unit]
|
|
Description=PR daemon — watches GitHub/Gitea PRs and routes them to aoe sessions
|
|
Documentation=https://git.naps.pt/yolo/agent-skills
|
|
After=network.target
|
|
# `|` makes these triggering conditions, so either path satisfies the pair:
|
|
# the config moved out of ~/.config/reviewer once blitz started reading it too.
|
|
ConditionPathExists=|%h/.config/agent-skills/config.json
|
|
ConditionPathExists=|%h/.config/reviewer/config.json
|
|
# MUST stay 0: at RestartSec=5 a fast-crashing daemon burns the default
|
|
# 5-starts-per-10s budget and systemd parks the unit in `failed` until a
|
|
# manual `systemctl --user reset-failed`.
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=%h
|
|
Environment=PATH=%h/.local/bin:%h/.nix-profile/bin:/etc/profiles/per-user/naps62/bin:/run/current-system/sw/bin:/usr/local/bin:/usr/bin:/bin
|
|
# Without this the daemon reaches a different tmux server than the shell and
|
|
# TUI do, so sessions it starts are invisible where you look for them.
|
|
Environment=TMUX_TMPDIR=%t
|
|
EnvironmentFile=-%h/.config/agent-skills/env
|
|
EnvironmentFile=-%h/.config/reviewer/env
|
|
ExecStart=bun %h/tea/agent-skills/bin/reviewer-poll.ts
|
|
Restart=always
|
|
RestartSec=5
|
|
# The agent tmux sessions this daemon starts land in its cgroup, so the default
|
|
# control-group kill takes every running agent down with a daemon restart.
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=default.target
|