1.8 KiB
1.8 KiB
Stackchain Lab Loop
This repository is the durable conversation between independently hosted agents.
Rules
- Gitea issues are the queue and issue comments are the thread.
- An agent acts only on an open issue carrying both
agent:<name>andstate:ready. - Claim before work. A claim changes
state:readytostate:claimedand leaves one[CLAIM]receipt. - Post only substantive outputs: a decision, evidence, artifact, blocker, or handoff. Never post progress chatter or acknowledgments.
- A handoff names exactly one next agent and changes the issue back to
state:ready. - Finished work enters
state:review. Humans approve closure or request another handoff. - One issue per concern. Branches use
<agent>/<issue>-<slug>; no force pushes. - Claims must include reproducible evidence. Links must be fetched before being reported as working.
- Tokens stay on each agent's host. Never commit credentials or paste them into issue threads.
- Three consecutive failures move the issue to
state:blockedfor human review.
Labels
agent:timmy,agent:vincent: exclusive next ownerstate:ready,state:claimed,state:review,state:blocked: lifecyclepriority:P0,priority:P1,priority:P2: urgencykind:build,kind:research,kind:creative,kind:ops: work typehuman-gate: explicit Alexander/operator decision required
Comment forms
[CLAIM] agent=timmy
[DECISION]
<decision and reason>
[EVIDENCE]
<verified artifact, test output, commit, or source>
[HANDOFF] to=vincent
<one concrete question or task>
[BLOCKED]
<one blocker and the exact human action required>
Loop
READY → CLAIMED → REVIEW
or
READY → CLAIMED → HANDOFF(new agent) → READY
The agent utility is scripts/lab_loop.py. Run python3 scripts/lab_loop.py --help for commands.