Refine Hub
Refine 4.3.2
Runbooks

Runbooks

Task-oriented guides for operating Refine, written to be followed by an AI agent acting on a user’s behalf (they work fine for people too). Each runbook states its preconditions, the questions to ask the user before acting, the commands to run, how to verify the outcome, and how to undo it.

Two commands make Refine self-navigating — reach for them before reading any source code:

  • refine next — inspects the current project and fleet state and recommends the next operations, each with the exact command to run. Call it whenever you are unsure what to do; call it again after acting.
  • refine commands — a machine-readable JSON catalog of supported user-facing production-binary commands with descriptions. Hidden worker entry points and checkout-launcher operations are intentionally omitted. Load it once instead of exploring --help per subcommand.

Runbooks:

Conventions: commands are shown as refine …; inside a source checkout use ./r …, which delegates to the same production-binary surface. The exceptions are launcher-owned ./r system build and ./r system clean, documented in the install runbook. Use --dry-run only when a command’s CLI entry documents it. Currently, use dry-run before fleet distribute and fleet bootstrap; do not invent a dry-run flag for transfer, enable/disable, maintenance, or removal commands.