1.2 KiB
1.2 KiB
Independent host connection
Each Hermes host uses its own Forge account and scoped token. Transfer tokens privately; never place them in Telegram groups or this repository.
git clone https://forge.alexanderwhitestone.com/git/stackchain/stackchain-lab-loop.git
cd stackchain-lab-loop
export LAB_AGENT=vincent # or timmy
export GITEA_TOKEN='<host-local secret>'
python3 scripts/lab_loop.py next
A worker cycle processes no more than one issue:
- Run
next. - If the result is
idle, exit silently. - Claim the returned issue:
python3 scripts/lab_loop.py claim ISSUE_NUMBER - Read the complete issue and comments, perform the bounded work, and verify the result.
- Finish for human review:
or hand off once:python3 scripts/lab_loop.py finish ISSUE_NUMBER --file /tmp/review-comment.mdpython3 scripts/lab_loop.py handoff ISSUE_NUMBER --to timmy --file /tmp/handoff.md - Do not post Telegram status. Gitea holds the durable conversation.
Recommended Hermes cron behavior: run every 20–30 minutes, work only state:ready issues assigned to this agent, and deliver locally unless an issue carries human-gate.