Implement REIN-A-0002 ops_run claim loop and approach registry.
Add activity-core ops_run client, approach selection (FI/Binky/mail/agent), claim-loop worker with lease heartbeat, CLI run --from-ops-run and claim-loop, install units, and docs demoting issue-core to legacy external tickets. T05 timer cutover remains operator after five clean cycles.
This commit is contained in:
parent
9644202eb2
commit
8200a672ea
15 changed files with 1807 additions and 73 deletions
14
deploy/systemd/claim-loop.env.example
Normal file
14
deploy/systemd/claim-loop.env.example
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Copy to ~/.config/rein-aharness/claim-loop.env and chmod 600
|
||||
|
||||
ACTIVITY_CORE_URL=http://127.0.0.1:8010
|
||||
ACTIVITY_CORE_WORKER_TOKEN=
|
||||
AGENT_HARNESS_WORKER_ID=rein-aharness@railiance01
|
||||
AGENT_HARNESS_OPS_LABELS=automated
|
||||
AGENT_HARNESS_OPS_LABELS_MODE=any
|
||||
AGENT_HARNESS_OPS_LEASE_SECONDS=900
|
||||
AGENT_HARNESS_CLAIM_INTERVAL=30
|
||||
AGENT_HARNESS_REPO_MAP={"freedom-intelligence":"/home/tegwick/freedom-intelligence","binky-control":"/home/tegwick/binky-control"}
|
||||
AGENT_HARNESS_REPO_ROOTS=/home/tegwick:/home/tegwick/work
|
||||
# LLM / hub as required by approaches
|
||||
# LLM_CONNECT_URL=http://...
|
||||
# STATE_HUB_URL=http://...
|
||||
22
deploy/systemd/rein-aharness-claim-loop.service
Normal file
22
deploy/systemd/rein-aharness-claim-loop.service
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[Unit]
|
||||
Description=rein-aharness ops_run claim loop (activity-core automation)
|
||||
Documentation=file:%h/rein-aharness/docs/ops-run-claim-loop.md
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
# Adjust paths for the railiance user checkout
|
||||
WorkingDirectory=%h/rein-aharness
|
||||
EnvironmentFile=-%h/.config/rein-aharness/claim-loop.env
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
# Prefer venv entrypoint when installed with uv/pip
|
||||
ExecStart=%h/rein-aharness/.venv/bin/rein-aharness claim-loop
|
||||
Restart=on-failure
|
||||
RestartSec=15
|
||||
# Soft stop: claim-loop handles SIGTERM between cycles
|
||||
KillSignal=SIGTERM
|
||||
TimeoutStopSec=120
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue