Boatman Ecosystem documentation is live!
BoatmanMode CLI
Configuration

Configuration

BoatmanMode is configured through a YAML file, environment variables, and CLI flags.

Configuration File

Create ~/.boatman.yaml (global) or .boatman.yaml in your project root (project-specific):

# Linear API key (or set LINEAR_API_KEY env var)
linear_key: lin_api_xxxxx
 
# Claude CLI tools
enable_tools: true
 
# Workflow settings
max_iterations: 5
base_branch: main
auto_pr: true
review_skill: peer-review
 
# Review pass criteria
review:
  max_critical_issues: 1
  max_major_issues: 3
  min_verification_confidence: 50
  strict_parsing: false
 
# Claude CLI settings
claude:
  command: claude
  use_tmux: false
  large_prompt_threshold: 100000
  timeout: 0
  enable_prompt_caching: true
 
  # Multi-model strategy per agent type
  models:
    planner: claude-sonnet-4-5
    executor: claude-sonnet-4-5
    reviewer: claude-sonnet-4-5
    refactor: claude-sonnet-4-5
    preflight: claude-haiku-4
    test_runner: claude-haiku-4
 
# Coordinator settings
coordinator:
  message_buffer_size: 1000
  subscriber_buffer_size: 100
 
# Retry settings
retry:
  max_attempts: 3
  initial_delay: 500ms
  max_delay: 30s
 
# Token budgets for handoffs
token_budget:
  context: 8000
  plan: 2000
  review: 4000
 
# Feature toggles
enable_preflight: true
enable_tests: true
enable_diff_verify: true
enable_memory: true
checkpoint_dir: ~/.boatman/checkpoints
memory_dir: ~/.boatman/memory

Environment Variables

VariableDescriptionRequired
LINEAR_API_KEYLinear API key for ticket fetchingYes (for Linear mode)
CLAUDE_CODE_USE_VERTEXSet to 1 for Vertex AIIf using Vertex
CLOUD_ML_REGIONVertex AI regionIf using Vertex
ANTHROPIC_VERTEX_PROJECT_IDGCP project IDIf using Vertex
ANTHROPIC_API_KEYAnthropic API keyIf using direct API
BOATMAN_DEBUGSet to 1 for debug outputNo
BOATMAN_CHECKPOINT_DIRCustom checkpoint directoryNo
BOATMAN_MEMORY_DIRCustom memory directoryNo
LINEAR_API_URLOverride Linear API URL (for testing)No

Model Configuration

Each agent in the workflow can use a different Claude model for cost optimization:

Available Models

ModelIDBest For
Claude Opus 4.6claude-opus-4-6Highest quality: complex planning, nuanced code generation
Claude Sonnet 4.5claude-sonnet-4-5Good balance of quality and cost
Claude Haiku 4claude-haiku-4Fast and cheap: validation and parsing tasks

Configuration Profiles

Maximum quality:

claude:
  models:
    planner: claude-opus-4-6
    executor: claude-opus-4-6
    reviewer: claude-opus-4-6
    refactor: claude-opus-4-6
    preflight: claude-haiku-4
    test_runner: claude-haiku-4

Balanced (recommended):

claude:
  models:
    planner: claude-sonnet-4-5
    executor: claude-sonnet-4-5
    reviewer: claude-sonnet-4-5
    refactor: claude-sonnet-4-5
    preflight: claude-haiku-4
    test_runner: claude-haiku-4

Cost-optimized:

claude:
  models:
    planner: claude-sonnet-4-5
    executor: claude-sonnet-4-5
    reviewer: claude-haiku-4
    refactor: claude-haiku-4
    preflight: claude-haiku-4
    test_runner: claude-haiku-4

If a model field is omitted, the Claude CLI's default model is used.


Review Configuration

Control how strict the peer review system is:

review:
  max_critical_issues: 1           # Max critical issues to still pass
  max_major_issues: 3              # Max major issues to still pass
  min_verification_confidence: 50  # Min confidence % for diff verification
  strict_parsing: false            # Strict keyword parsing for reviews

Review Profiles

ProfileCriticalMajorConfidenceStrict Parsing
Strict0170%true
Balanced (default)1350%false
Lenient2540%false

Coordinator Configuration

For parallel agent execution:

coordinator:
  message_buffer_size: 1000      # Main message channel buffer
  subscriber_buffer_size: 100    # Per-agent channel buffer

Increase these if you see "coordinator message channel full" warnings.


Retry Configuration

Control retry behavior for API calls:

retry:
  max_attempts: 3       # Number of retry attempts
  initial_delay: 500ms  # Initial delay between retries
  max_delay: 30s        # Maximum delay (exponential backoff)

Token Budget Configuration

Control context sizes for agent handoffs:

token_budget:
  context: 8000   # General context budget
  plan: 2000      # Plan handoff budget
  review: 4000    # Review handoff budget
HandoffContentDefault Budget
Plan to ExecutorSummary, approach, files~4000 tokens
Executor to ReviewerRequirements, diff, test results~3000 tokens
Reviewer to RefactorIssues (deduplicated), guidance~2000 tokens