TriForge Agent Loop

TriForge Agent Loop A workflow diagram generated by Archify. 01 / Objective & Coordination 02 / Codex 03 / Claude Code 04 / Bob Shell Intake Parallel consultation Implement + review Decision Independent opinions Parallel peer review User Objective · names the coordinator · Objective & Coordination › Intake User Objective names the coordinator Agent Coordinator · dispatches + persists · Objective & Coordination › Intake · single loop owner Agent Coordinator dispatches + persists single loop owner Rotating Implementer · one writer at a time · Objective & Coordination › Implement + review · no approval prompts Rotating Implementer one writer at a time no approval prompts Verdict Aggregator · requires 2 approvals · Objective & Coordination › Implement + review · unanimous Verdict Aggregator requires 2 approvals unanimous Complete · verified result · Objective & Coordination › Decision Complete verified result Codex Consults · read-only opinion · Codex › Independent opinions › Parallel consultation Codex Consults read-only opinion Peer Reviewer A · tests + diff · Codex › Implement + review Peer Reviewer A tests + diff Claude Consults · read-only opinion · Claude Code › Parallel consultation Claude Consults read-only opinion Peer Reviewer B · independent verdict · Claude Code › Parallel peer review › Implement + review Peer Reviewer B independent verdict Bob Consults · read-only opinion · Bob Shell › Parallel consultation Bob Consults read-only opinion both approve opinion parallel parallel review verdict changes requested start loop Legend Agent logic Policy Tool action Cloud service External system

Parallel Where Safe

  • • All three consultations run concurrently and read-only
  • • The two non-implementers review independently in parallel

Serialized Where Necessary

  • • Only one agent writes to the shared working tree
  • • Changes rotate to the next implementer until both peers approve
  • • live.log exposes readable handoffs in real time
  • • transcript.jsonl and response files preserve exact evidence
  • • Any BLOCKED verdict stops the loop with its evidence intact