Covendocs
CLI ReferencePatch OpenClaw

Patch OpenClaw

Reference for the coven patch openclaw repair flow, options, dry runs, verification profiles, and safety behavior.

1 min read

coven patch openclaw is a guided repair flow for OpenClaw contributors and users.

coven patch openclaw

It detects an OpenClaw repository, inspects git state, asks what is broken, chooses a supported harness, launches a repair session, and runs a verification profile.

Non-interactive shape

Use flags when calling from scripts or a higher-level client:

coven patch openclaw "fix the failing gateway auth test" \
  --repo /path/to/openclaw \
  --harness codex \
  --verify default \
  --non-interactive
OptionMeaning
--repo <path>OpenClaw checkout to repair.
--harness <id>Supported harness id, usually codex or claude.
--verify <profile>Verification profile for the repair report.
--non-interactiveRequires issue text and harness flags instead of prompting.
--dry-runPrints the repair brief without launching the harness.
--keep-sessionPreserves the session after the repair flow.

Dry run

Use --dry-run to inspect the repair brief first:

coven patch openclaw "diagnose flaky session polling" --repo /path/to/openclaw --harness codex --dry-run

Dry runs are useful for auditing what the harness will receive before work starts.

Dirty worktrees

When existing changes are detected in interactive mode, Coven warns before launching a harness. It does not silently stash or overwrite work.

This command is purpose-built for OpenClaw. For general project work, use Run.

Was this page helpful?No

Last updated on

On this page