Skip to content

Auto-apply safe doctor fixes on gateway start #50561

@coywolffuturist

Description

@coywolffuturist

Problem

Gateway shows "Run clawdbot doctor --fix" on startup but does not auto-apply safe fixes. This leads to config drift and repeated warnings.

Observed Behavior

  • Every gateway start shows doctor suggestions
  • User must manually run clawdbot doctor --fix
  • If forgotten, config stays out of sync

Suggested Fix

  • Auto-apply safe/non-destructive fixes on gateway start
  • Or add a config option: doctor.autoFix: true
  • Still show what was auto-applied in logs

Workaround

Add ExecStartPre=/usr/bin/clawdbot doctor --fix to systemd service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions