FabricFabricHarness
CLI

fh doctor

Diagnose workspace, tools, and live model connectivity.

fabric-harness doctor [--target node|temporal-worker] [--model provider/model] [--tools] [--live] [--json]

fh doctor validates that your workspace is set up correctly and (optionally) that a real model can be invoked.

Options

FlagDescription
--target <node|temporal-worker>Validate the chosen run target.
--model <provider/model-id>Probe a specific model (combine with --live).
--toolsEnumerate built-in tools and required binaries (docker, gh, etc.).
--liveMake a small live request against the model provider.
--jsonEmit a machine-readable report.

Examples

Local readiness

fh doctor --tools

Live model check

cp .env.example .env.local
# edit .env.local and set OPENAI_API_KEY=...
fh doctor --live --model openai/gpt-5.5

Temporal target

fh doctor --target temporal-worker

The doctor checks Temporal connectivity using config/env defaults — make sure FABRIC_TEMPORAL_ADDRESS and your task queue are correct.

What it checks

  • Workspace root resolution.
  • Agents discovered.
  • Built-in tool binaries on PATH (when --tools).
  • Model provider configuration.
  • Optional live model round-trip when --live.
  • Optional Temporal connectivity for --target temporal-worker.