2026-11-13 18:14:17 +00:00
[Unit]
Description = Agent Orchestrator firewall: verify the operator signature, then write exactly the signed change into a listed Claude settings file, and refresh the settings view the Firewall shows
[Service]
Type = oneshot
Environment = PATH=/usr/bin:/bin
EnvironmentFile = %h/.local/share/kvb-orchestrator/.env
2026-11-26 08:44:15 +00:00
ExecCondition = /bin/sh -c 'test -n "$(find %h/.local/state/kvb-orchestrator/tree-heartbeat -mmin -5 2>/dev/null)" || test -n "$(ls -A %h/.local/state/kvb-orchestrator/firewall/jobs 2>/dev/null)"'
2026-11-13 18:14:17 +00:00
ExecStart = /usr/bin/env python3 %h/.local/share/kvb-orchestrator/client/settings_writer.py --port ${KVB_ORCHESTRATOR_PORT} --jobs %h/.local/state/kvb-orchestrator/firewall/jobs --results %h/.local/state/kvb-orchestrator/firewall/results --view %h/.local/state/kvb-orchestrator/firewall/view.json --approvers %h/.config/kvb-orchestrator/approvers.json --replay %h/.local/state/kvb-orchestrator-approvals/firewall.json --tree %h/.local/state/pkgmgr/tree/branch-tree.json
TimeoutStartSec = 120