Skip to main content

FORGE Dispatch Wrapper MC101640

FORGE Dispatch Wrapper MC101640

MC #101640 provides forge-dispatch.js, a local FORGE dispatcher for verifier/reviewer/comparator-class agents that use external models.

Tool

  • ~/system/tools/forge-dispatch.js

Purpose

Route external-model verifier agents to local FORGE endpoints for zero-dollar inference instead of defaulting to expensive Opus calls.

Supported invocation

node ~/system/tools/forge-dispatch.js <agent-name> --prompt-file <path>
node ~/system/tools/forge-dispatch.js <agent-name> --prompt "inline prompt"

Agent examples

  • baseline-comparator → external Ollama model
  • evidence-verifier → external MLX model
  • pi-orch-mini-verifier → external MLX model

Contract

  • Exit 0: successful local FORGE dispatch
  • Exit 2: agent is not external-model
  • Exit 3: all FORGE endpoints unreachable
  • Exit 4: invalid arguments
  • Successful response includes cost_usd: 0.0

Evidence

Durable validation evidence is stored in /tmp/101640-evidence/, including syntax/help checks, live local dispatch smoke, and direct machine probe output.