CodeMower.comQuality and velocity for AI-assisted development

Code Mower CLI is v1.x; CodeMower.com v1.3 follows an independent release line.

Install Code Mower CLI v1.x

A small, safe path for trying Code Mower CLI v1.x in a real repository. CodeMower.com v1.3 is the independently versioned hosted product.

1. Install Code Mower CLI v1.x

Code Mower requires Python 3.12 or newer. Use one isolated tool environment; uv is the simplest hosted/CI path and pipx is a good laptop alternative.

# Hosted agent, CI, or uv-based machine
uv tool install --python 3.12 --reinstall --refresh-package code-mower code-mower==1.5.2

# Laptop alternative
pipx install --python "$(command -v python3.12)" code-mower==1.5.2

code-mower --version

2. Generate local setup

code-mower init --easy
code-mower init --easy --apply --output-dir .code-mower.generated

3. Run doctor

code-mower doctor --adoption --repo OWNER/REPO --concise

Use --hosted-builders or --orchestrator-onlywhen this machine does not run local Codex or Claude wrappers. Use--supervised-pilot after choosing a manual reviewer-gate pilot, and --promoted-pilot only after promotion. Fix failures first and treat warnings as setup guidance, especially for private repositories and paid Actions minutes.

4. Generate a starter value report

If you want to prove the whole first-user path before touching a real repository, run the package-install rehearsal. It installs Code Mower into a clean virtual environment, creates a toy Git repo, runs easy-mode setup, runs doctor, generates a value report, and proves cloud upload/dogfood paths stay dry-run.

code-mower migration package-install-rehearsal --package-spec code-mower==1.5.2 --allow-package-index --python "$(command -v python3.12)" --json

The rehearsal leaves inspectable artifacts: calibration evidence, reviewer metrics, lane policy, value report, cloud export bundle, upload dry run, and CodeMower.com dogfood dry run.

For a real pilot repository, generate the starter value report:

code-mower calibration value-report .code-mower.generated/calibration-corpus.json --output .code-mower/reviewer-value-report.md

Replace the starter corpus with known-clean and known-blocked PRs before promoting any lane to a merge gate.

5. Optional cloud sharing

Sign in, create or join a team, issue a team token, then store it with the local CLI. Upload remains dry-run first and metadata-only by default. CodeMower.com shows private team signal, and Lane Intelligence derives recommendations only from the selected team and repository; it does not compare customers or teams. Team metadata export is available to team members, and uploaded metadata deletion is available to team owners/admins.

code-mower cloud setup --token-stdin --team-id YOUR_TEAM_SLUG --install-id your-laptop --out ~/.config/code-mower/tokens/your-laptop.env
code-mower cloud doctor --install-id your-laptop --probe-service --json
code-mower cloud dogfood --json
code-mower cloud dogfood --yes --json

Setup records this as the current private token profile, so later commands can load it after a restart. If several profiles exist and none is current, pass --install-id or--token-file; sourcing the file is an explicit fallback. Use the dry run to inspect the exact metadata shape first. The confirmed dogfood command is what makes the dashboard useful over time: uploads, repo rollups, provider/lens signal, cost, latency, and repository-specific Lane Intelligence recommendations with visible confidence and sample sizes.

Sign in to CodeMower.com or inspect what data can upload.

Recommended first posture

  • Use one low-risk repository first.
  • Keep reviewer lanes manual.
  • Do not add recurring schedules.
  • Do not put hosted reviewers into branch protection yet.
  • Promote lanes only after local calibration data supports it.

Public setup docs live in docs/first-user-install-rehearsal.md. The shorter walkthrough is docs/try-in-10-minutes.md.