code-mower 0.5.0b5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- code_mower-0.5.0b5/CODE_OF_CONDUCT.md +35 -0
- code_mower-0.5.0b5/LICENSE +202 -0
- code_mower-0.5.0b5/MANIFEST.in +13 -0
- code_mower-0.5.0b5/NOTICE +10 -0
- code_mower-0.5.0b5/PKG-INFO +302 -0
- code_mower-0.5.0b5/README.md +290 -0
- code_mower-0.5.0b5/SUPPORT.md +45 -0
- code_mower-0.5.0b5/pyproject.toml +47 -0
- code_mower-0.5.0b5/requirements/requirements.txt +1 -0
- code_mower-0.5.0b5/setup.cfg +4 -0
- code_mower-0.5.0b5/src/code_mower/__init__.py +3 -0
- code_mower-0.5.0b5/src/code_mower/adapters/__init__.py +39 -0
- code_mower-0.5.0b5/src/code_mower/adapters/_base.py +148 -0
- code_mower-0.5.0b5/src/code_mower/adapters/cursor_bugbot.py +97 -0
- code_mower-0.5.0b5/src/code_mower/adapters/gitar.py +111 -0
- code_mower-0.5.0b5/src/code_mower/adapters/greptile.py +191 -0
- code_mower-0.5.0b5/src/code_mower/adapters/qodo.py +140 -0
- code_mower-0.5.0b5/src/code_mower/antigravity_cli_audit_pr.py +241 -0
- code_mower-0.5.0b5/src/code_mower/audit_handoff_log.py +345 -0
- code_mower-0.5.0b5/src/code_mower/audit_labeler_lib.py +311 -0
- code_mower-0.5.0b5/src/code_mower/audit_progress.py +203 -0
- code_mower-0.5.0b5/src/code_mower/blind_review_artifacts.py +562 -0
- code_mower-0.5.0b5/src/code_mower/blind_review_coordinator.py +276 -0
- code_mower-0.5.0b5/src/code_mower/bootstrap.py +524 -0
- code_mower-0.5.0b5/src/code_mower/builder_experiment.py +539 -0
- code_mower-0.5.0b5/src/code_mower/calibration/__init__.py +181 -0
- code_mower-0.5.0b5/src/code_mower/calibration/arms.py +267 -0
- code_mower-0.5.0b5/src/code_mower/calibration/auto_discovery.py +348 -0
- code_mower-0.5.0b5/src/code_mower/calibration/commands.py +192 -0
- code_mower-0.5.0b5/src/code_mower/calibration/context_inputs.py +199 -0
- code_mower-0.5.0b5/src/code_mower/calibration/corpus.py +91 -0
- code_mower-0.5.0b5/src/code_mower/calibration/evidence.py +20 -0
- code_mower-0.5.0b5/src/code_mower/calibration/evidence_report.py +360 -0
- code_mower-0.5.0b5/src/code_mower/calibration/identity.py +27 -0
- code_mower-0.5.0b5/src/code_mower/calibration/metrics.py +18 -0
- code_mower-0.5.0b5/src/code_mower/calibration/overlap.py +103 -0
- code_mower-0.5.0b5/src/code_mower/calibration/planning.py +309 -0
- code_mower-0.5.0b5/src/code_mower/calibration/policy.py +207 -0
- code_mower-0.5.0b5/src/code_mower/calibration/results.py +315 -0
- code_mower-0.5.0b5/src/code_mower/calibration/run_results.py +147 -0
- code_mower-0.5.0b5/src/code_mower/calibration/run_status.py +64 -0
- code_mower-0.5.0b5/src/code_mower/calibration/runner.py +360 -0
- code_mower-0.5.0b5/src/code_mower/calibration/truth.py +188 -0
- code_mower-0.5.0b5/src/code_mower/calibration/value_report.py +142 -0
- code_mower-0.5.0b5/src/code_mower/checks.py +402 -0
- code_mower-0.5.0b5/src/code_mower/claude_audit_pr.py +1126 -0
- code_mower-0.5.0b5/src/code_mower/claude_cli_bounce.py +303 -0
- code_mower-0.5.0b5/src/code_mower/claude_cli_environment.py +73 -0
- code_mower-0.5.0b5/src/code_mower/clear_stale.py +374 -0
- code_mower-0.5.0b5/src/code_mower/cli.py +537 -0
- code_mower-0.5.0b5/src/code_mower/cloud.py +674 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/__init__.py +173 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/bundle.py +155 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/doctor.py +206 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/dogfood.py +78 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/endpoints.py +114 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/errors.py +7 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/events.py +278 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/export.py +272 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/git_metadata.py +46 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/manifest.py +39 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/operations.py +448 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/reports.py +45 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/setup.py +205 -0
- code_mower-0.5.0b5/src/code_mower/cloud_client/upload.py +97 -0
- code_mower-0.5.0b5/src/code_mower/code_mower_calibration.py +598 -0
- code_mower-0.5.0b5/src/code_mower/code_mower_context_packs.py +591 -0
- code_mower-0.5.0b5/src/code_mower/code_mower_merge.py +227 -0
- code_mower-0.5.0b5/src/code_mower/code_mower_telemetry.py +561 -0
- code_mower-0.5.0b5/src/code_mower/coderabbit_cli_audit_pr.py +526 -0
- code_mower-0.5.0b5/src/code_mower/codex_audit_env_preflight.py +220 -0
- code_mower-0.5.0b5/src/code_mower/codex_audit_pr.py +1738 -0
- code_mower-0.5.0b5/src/code_mower/codex_audit_schema_smoke.py +160 -0
- code_mower-0.5.0b5/src/code_mower/codex_audit_verdict.schema.json +44 -0
- code_mower-0.5.0b5/src/code_mower/config.py +655 -0
- code_mower-0.5.0b5/src/code_mower/doctor.py +161 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/__init__.py +104 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/cloud.py +129 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/common.py +215 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github.py +128 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_actions.py +11 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_actions_cost.py +99 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_actions_cost_summary.py +111 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_actions_failure_annotations.py +27 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_actions_failure_models.py +47 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_actions_failure_scan.py +200 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_actions_failure_selection.py +63 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_actions_failures.py +103 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_actions_permissions.py +55 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_api.py +79 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_branch.py +56 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_config.py +25 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_provider.py +61 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/github_repo.py +120 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/groups.py +36 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/models.py +96 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/output.py +86 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/presets.py +64 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/privacy.py +20 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_api_model.py +138 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_api_model_openai.py +29 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_api_model_profiles.py +137 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_env.py +113 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_env_required.py +56 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_env_tokens.py +100 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_local_cli.py +162 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_local_cli_commands.py +47 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_local_cli_probe_config.py +70 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_probe.py +20 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_probe_auth.py +52 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_probe_evaluation.py +109 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_probe_json.py +45 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/provider_probe_remediation.py +39 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/providers.py +159 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/registry.py +69 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/runner.py +188 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/runtime.py +89 -0
- code_mower-0.5.0b5/src/code_mower/doctor_checks/runtime_github_auth.py +148 -0
- code_mower-0.5.0b5/src/code_mower/gemini_cli_audit_pr.py +897 -0
- code_mower-0.5.0b5/src/code_mower/hermes_cli_audit_pr.py +436 -0
- code_mower-0.5.0b5/src/code_mower/init.py +888 -0
- code_mower-0.5.0b5/src/code_mower/lane_configs/__init__.py +37 -0
- code_mower-0.5.0b5/src/code_mower/lane_configs/aider.py +32 -0
- code_mower-0.5.0b5/src/code_mower/lane_configs/antigravity_cli.py +35 -0
- code_mower-0.5.0b5/src/code_mower/lane_configs/claude.py +35 -0
- code_mower-0.5.0b5/src/code_mower/lane_configs/codex.py +32 -0
- code_mower-0.5.0b5/src/code_mower/lane_configs/devin.py +33 -0
- code_mower-0.5.0b5/src/code_mower/lane_configs/gemini_cli.py +35 -0
- code_mower-0.5.0b5/src/code_mower/lane_configs/hermes_cli.py +35 -0
- code_mower-0.5.0b5/src/code_mower/lane_configs/local_llm.py +31 -0
- code_mower-0.5.0b5/src/code_mower/local_llm_audit_pr.py +1364 -0
- code_mower-0.5.0b5/src/code_mower/local_llm_bakeoff.py +458 -0
- code_mower-0.5.0b5/src/code_mower/local_llm_calibration.py +441 -0
- code_mower-0.5.0b5/src/code_mower/local_llm_profiles.py +66 -0
- code_mower-0.5.0b5/src/code_mower/migration.py +508 -0
- code_mower-0.5.0b5/src/code_mower/migration_install.py +292 -0
- code_mower-0.5.0b5/src/code_mower/migration_mirror.py +392 -0
- code_mower-0.5.0b5/src/code_mower/migration_readiness.py +237 -0
- code_mower-0.5.0b5/src/code_mower/migration_rehearsal.py +718 -0
- code_mower-0.5.0b5/src/code_mower/next_steps.py +441 -0
- code_mower-0.5.0b5/src/code_mower/package.py +673 -0
- code_mower-0.5.0b5/src/code_mower/package_content.py +444 -0
- code_mower-0.5.0b5/src/code_mower/package_manifest.py +452 -0
- code_mower-0.5.0b5/src/code_mower/package_paths.py +53 -0
- code_mower-0.5.0b5/src/code_mower/package_rendering.py +90 -0
- code_mower-0.5.0b5/src/code_mower/package_static.py +585 -0
- code_mower-0.5.0b5/src/code_mower/prompts.py +267 -0
- code_mower-0.5.0b5/src/code_mower/provider_registry.py +469 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/__init__.py +60 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/comments.py +31 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/git.py +46 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/github_auth.py +61 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/github_pr.py +120 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/process.py +58 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/repo_paths.py +23 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/text_schema.py +41 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/verdict_artifacts.py +103 -0
- code_mower-0.5.0b5/src/code_mower/provider_runners/workspace.py +57 -0
- code_mower-0.5.0b5/src/code_mower/release_readiness.py +549 -0
- code_mower-0.5.0b5/src/code_mower/reviewer_metrics.py +389 -0
- code_mower-0.5.0b5/src/code_mower/saas_reviewer_labeler.py +809 -0
- code_mower-0.5.0b5/src/code_mower/secrets.py +89 -0
- code_mower-0.5.0b5/src/code_mower/templates/builder-experiment.example.json +55 -0
- code_mower-0.5.0b5/src/code_mower/templates/calibration-corpus.example.json +129 -0
- code_mower-0.5.0b5/src/code_mower/templates/calibration-corpus.json +129 -0
- code_mower-0.5.0b5/src/code_mower/templates/code-mower.example.yml +423 -0
- code_mower-0.5.0b5/src/code_mower/templates/context-packs.example.json +150 -0
- code_mower-0.5.0b5/src/code_mower/templates/lane_prompts/base-audit.md +22 -0
- code_mower-0.5.0b5/src/code_mower/templates/lane_prompts/calibration-policy.md +21 -0
- code_mower-0.5.0b5/src/code_mower/templates/lane_prompts/context-driven-quality.md +21 -0
- code_mower-0.5.0b5/src/code_mower/templates/lane_prompts/docs-design.md +12 -0
- code_mower-0.5.0b5/src/code_mower/templates/lane_prompts/generic-programming.md +21 -0
- code_mower-0.5.0b5/src/code_mower/templates/lane_prompts/operability.md +22 -0
- code_mower-0.5.0b5/src/code_mower/templates/lane_prompts/package-runtime.md +12 -0
- code_mower-0.5.0b5/src/code_mower/templates/lane_prompts/security-threat-model.md +22 -0
- code_mower-0.5.0b5/src/code_mower/templates/product-support/code_mower +216 -0
- code_mower-0.5.0b5/src/code_mower/templates/product-support/code_mower_standalone_pin.env +7 -0
- code_mower-0.5.0b5/src/code_mower/templates/product-support/code_mower_standalone_shadow.sh +151 -0
- code_mower-0.5.0b5/src/code_mower/templates/product-support/run_claude_audit_pr.sh +32 -0
- code_mower-0.5.0b5/src/code_mower/templates/product-support/run_codex_audit_pr.sh +32 -0
- code_mower-0.5.0b5/src/code_mower/templates/product-support/safe_gh_comment.py +96 -0
- code_mower-0.5.0b5/src/code_mower/templates/providers.yml +454 -0
- code_mower-0.5.0b5/src/code_mower/templates/reviewer-spend.example.json +28 -0
- code_mower-0.5.0b5/src/code_mower/templates/reviewer-value-report.example.md +20 -0
- code_mower-0.5.0b5/src/code_mower/templates/workflows/private-standalone-shadow.yml.j2 +106 -0
- code_mower-0.5.0b5/src/code_mower/templates/workflows/review-clear-stale.yml.j2 +83 -0
- code_mower-0.5.0b5/src/code_mower/trailer_comment_labeler.py +207 -0
- code_mower-0.5.0b5/src/code_mower/versioning.py +32 -0
- code_mower-0.5.0b5/src/code_mower.egg-info/PKG-INFO +302 -0
- code_mower-0.5.0b5/src/code_mower.egg-info/SOURCES.txt +253 -0
- code_mower-0.5.0b5/src/code_mower.egg-info/dependency_links.txt +1 -0
- code_mower-0.5.0b5/src/code_mower.egg-info/entry_points.txt +2 -0
- code_mower-0.5.0b5/src/code_mower.egg-info/requires.txt +1 -0
- code_mower-0.5.0b5/src/code_mower.egg-info/top_level.txt +1 -0
- code_mower-0.5.0b5/templates/builder-experiment.example.json +55 -0
- code_mower-0.5.0b5/templates/calibration-corpus.example.json +129 -0
- code_mower-0.5.0b5/templates/calibration-corpus.json +129 -0
- code_mower-0.5.0b5/templates/code-mower.yml.j2 +10 -0
- code_mower-0.5.0b5/templates/context-packs.example.json +150 -0
- code_mower-0.5.0b5/templates/cursor/BUGBOT.md +26 -0
- code_mower-0.5.0b5/templates/providers/acp_bridge.yml +22 -0
- code_mower-0.5.0b5/templates/providers/aider.yml +23 -0
- code_mower-0.5.0b5/templates/providers/antigravity_cli.yml +28 -0
- code_mower-0.5.0b5/templates/providers/claude_audit.yml +18 -0
- code_mower-0.5.0b5/templates/providers/claude_review.yml +17 -0
- code_mower-0.5.0b5/templates/providers/coderabbit_cli.yml +21 -0
- code_mower-0.5.0b5/templates/providers/codex.yml +18 -0
- code_mower-0.5.0b5/templates/providers/cursor_bugbot.yml +27 -0
- code_mower-0.5.0b5/templates/providers/devin.yml +20 -0
- code_mower-0.5.0b5/templates/providers/gemini_cli.yml +24 -0
- code_mower-0.5.0b5/templates/providers/gitar.yml +23 -0
- code_mower-0.5.0b5/templates/providers/greptile.yml +26 -0
- code_mower-0.5.0b5/templates/providers/hermes_cli.yml +29 -0
- code_mower-0.5.0b5/templates/providers/local_llm.yml +36 -0
- code_mower-0.5.0b5/templates/providers/qodo.yml +23 -0
- code_mower-0.5.0b5/templates/providers.yml +454 -0
- code_mower-0.5.0b5/templates/reviewer-spend.example.json +28 -0
- code_mower-0.5.0b5/templates/reviewer-value-report.example.md +20 -0
- code_mower-0.5.0b5/templates/workflows/audit-label-cleanup.yml.j2 +10 -0
- code_mower-0.5.0b5/templates/workflows/blind-review-artifacts-dry-run.yml.j2 +83 -0
- code_mower-0.5.0b5/templates/workflows/hosted-bridge.yml.j2 +10 -0
- code_mower-0.5.0b5/templates/workflows/local-cli-audit.yml.j2 +10 -0
- code_mower-0.5.0b5/templates/workflows/private-standalone-shadow.yml.j2 +106 -0
- code_mower-0.5.0b5/templates/workflows/review-clear-stale.yml.j2 +83 -0
- code_mower-0.5.0b5/templates/workflows/saas-reviewer-labeler.yml.j2 +10 -0
- code_mower-0.5.0b5/templates/workflows/trailer-comment-labeler.yml.j2 +10 -0
- code_mower-0.5.0b5/tests/test_calibration_truth.py +463 -0
- code_mower-0.5.0b5/tests/test_checks.py +127 -0
- code_mower-0.5.0b5/tests/test_claude_cli_bounce.py +156 -0
- code_mower-0.5.0b5/tests/test_clear_stale.py +206 -0
- code_mower-0.5.0b5/tests/test_cloud_client.py +201 -0
- code_mower-0.5.0b5/tests/test_cloud_git_metadata.py +60 -0
- code_mower-0.5.0b5/tests/test_cloud_manifest.py +72 -0
- code_mower-0.5.0b5/tests/test_cloud_reports.py +97 -0
- code_mower-0.5.0b5/tests/test_coderabbit_cli_audit_pr.py +41 -0
- code_mower-0.5.0b5/tests/test_doctor_actions_cost_summary.py +84 -0
- code_mower-0.5.0b5/tests/test_doctor_actions_failure_selection.py +50 -0
- code_mower-0.5.0b5/tests/test_doctor_boundaries.py +123 -0
- code_mower-0.5.0b5/tests/test_doctor_github_checks.py +191 -0
- code_mower-0.5.0b5/tests/test_doctor_output.py +106 -0
- code_mower-0.5.0b5/tests/test_doctor_privacy.py +36 -0
- code_mower-0.5.0b5/tests/test_doctor_provider_env_required.py +70 -0
- code_mower-0.5.0b5/tests/test_doctor_provider_env_tokens.py +91 -0
- code_mower-0.5.0b5/tests/test_doctor_provider_probe.py +46 -0
- code_mower-0.5.0b5/tests/test_doctor_registry.py +60 -0
- code_mower-0.5.0b5/tests/test_local_llm_github_helpers.py +43 -0
- code_mower-0.5.0b5/tests/test_provider_runners_comments.py +42 -0
- code_mower-0.5.0b5/tests/test_provider_runners_git.py +61 -0
- code_mower-0.5.0b5/tests/test_provider_runners_github_pr.py +65 -0
- code_mower-0.5.0b5/tests/test_provider_runners_process.py +174 -0
- code_mower-0.5.0b5/tests/test_provider_runners_repo_paths.py +26 -0
- code_mower-0.5.0b5/tests/test_provider_runners_text_schema.py +28 -0
- code_mower-0.5.0b5/tests/test_provider_runners_workspace.py +102 -0
- code_mower-0.5.0b5/tests/test_release_hygiene.py +3764 -0
- code_mower-0.5.0b5/tests/test_reviewer_metrics_core.py +373 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Code Mower Community Code of Conduct
|
|
2
|
+
|
|
3
|
+
Code Mower is built around careful technical disagreement: different AI systems,
|
|
4
|
+
reviewers, and humans should be able to challenge one another without making the
|
|
5
|
+
workspace hostile.
|
|
6
|
+
|
|
7
|
+
## Expected Behavior
|
|
8
|
+
|
|
9
|
+
- Be respectful and specific when giving feedback.
|
|
10
|
+
- Assume good intent, but correct unsafe behavior quickly.
|
|
11
|
+
- Keep discussions focused on evidence, reproducible commands, repository
|
|
12
|
+
context, and user impact.
|
|
13
|
+
- Redact API tokens, private source, raw diffs, raw model transcripts,
|
|
14
|
+
credentials, auth output, and customer data before posting public examples;
|
|
15
|
+
use [SECURITY.md](SECURITY.md) for private reports.
|
|
16
|
+
- Accept that maintainer decisions may prioritize safety, privacy, cost control,
|
|
17
|
+
or first-user reliability over a clever integration.
|
|
18
|
+
|
|
19
|
+
## Unacceptable Behavior
|
|
20
|
+
|
|
21
|
+
- Harassment, threats, discrimination, or personal attacks.
|
|
22
|
+
- Publishing someone else's private code, credentials, identity details, or
|
|
23
|
+
proprietary repository information.
|
|
24
|
+
- Pressuring maintainers or users to run untrusted commands, bypass security
|
|
25
|
+
controls, or expose provider credentials.
|
|
26
|
+
- Using issues, discussions, or PRs to launder prompt injection, secret
|
|
27
|
+
exfiltration, or other unsafe automation patterns.
|
|
28
|
+
|
|
29
|
+
## Reporting
|
|
30
|
+
|
|
31
|
+
For conduct concerns, contact the maintainers privately. For security issues,
|
|
32
|
+
use the process in [SECURITY.md](SECURITY.md) instead of opening a public issue.
|
|
33
|
+
|
|
34
|
+
Maintainers may remove content, lock threads, block accounts, or revoke access
|
|
35
|
+
when needed to protect users and the project.
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
recursive-include src/code_mower/templates *.yml *.yaml *.json
|
|
2
|
+
recursive-include src/code_mower/templates *.md
|
|
3
|
+
recursive-include src/code_mower/templates *.j2
|
|
4
|
+
recursive-include src/code_mower/templates/product-support *
|
|
5
|
+
include src/code_mower/*.json
|
|
6
|
+
recursive-include templates *.j2 *.json *.md *.yml *.yaml
|
|
7
|
+
include requirements/*.txt
|
|
8
|
+
include LICENSE
|
|
9
|
+
include NOTICE
|
|
10
|
+
include CODE_OF_CONDUCT.md
|
|
11
|
+
include SUPPORT.md
|
|
12
|
+
global-exclude *.py[cod]
|
|
13
|
+
global-exclude __pycache__
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Code Mower
|
|
2
|
+
Copyright 2026 Code Mower
|
|
3
|
+
|
|
4
|
+
This product includes software developed for the Code Mower project.
|
|
5
|
+
|
|
6
|
+
The Code Mower open-source core is licensed under the Apache License,
|
|
7
|
+
Version 2.0. The Code Mower name, logos, hosted benchmarking and reporting
|
|
8
|
+
services, managed integrations, private telemetry and benchmark data products,
|
|
9
|
+
enterprise controls, and support offerings are separate commercial surfaces
|
|
10
|
+
unless explicitly licensed otherwise.
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: code-mower
|
|
3
|
+
Version: 0.5.0b5
|
|
4
|
+
Summary: Multi-reviewer AI code audit orchestration
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Requires-Python: >=3.11
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
License-File: NOTICE
|
|
10
|
+
Requires-Dist: PyYAML>=6.0
|
|
11
|
+
Dynamic: license-file
|
|
12
|
+
|
|
13
|
+
# Code Mower
|
|
14
|
+
|
|
15
|
+
Code Mower helps teams set up AI peer-programmer and reviewer lanes on real
|
|
16
|
+
GitHub pull requests, then measure which builders and reviewers are useful on
|
|
17
|
+
their actual codebase.
|
|
18
|
+
|
|
19
|
+
The short version:
|
|
20
|
+
|
|
21
|
+
- create safe, manual-first reviewer lanes for Codex, Claude, Gitar, and other
|
|
22
|
+
AI review tools;
|
|
23
|
+
- run setup diagnostics before a lane can surprise you with spend, source
|
|
24
|
+
exposure, or GitHub Actions churn;
|
|
25
|
+
- generate local reviewer value reports from known-clean and known-blocked PRs;
|
|
26
|
+
and
|
|
27
|
+
- optionally share sanitized metadata with [CodeMower.com](https://codemower.com)
|
|
28
|
+
for private team dashboards today and aggregate benchmarks as that dataset
|
|
29
|
+
becomes useful.
|
|
30
|
+
|
|
31
|
+
Code Mower is local-first. The OSS tool works without the hosted service.
|
|
32
|
+
Default cloud bundles exclude source code, raw diffs, raw model transcripts,
|
|
33
|
+
raw stdout/stderr, auth output, and secrets.
|
|
34
|
+
|
|
35
|
+
## Design Principles
|
|
36
|
+
|
|
37
|
+
Code Mower should feel like an engineering tool, not a demo harness:
|
|
38
|
+
|
|
39
|
+
- **Local first:** install, diagnose, audit, and report without a hosted
|
|
40
|
+
account.
|
|
41
|
+
- **Manual first:** new reviewer lanes start explicit and observable before
|
|
42
|
+
they can affect merge policy.
|
|
43
|
+
- **Evidence first:** promote lanes from real calibration data on your
|
|
44
|
+
repository, not from generic benchmark claims.
|
|
45
|
+
- **Privacy first:** cloud sharing is opt-in metadata by default, with source,
|
|
46
|
+
diffs, transcripts, auth output, and secrets excluded.
|
|
47
|
+
- **Composable by design:** providers, lenses, context packs, calibration, and
|
|
48
|
+
cloud upload stay separate so teams can adopt only the parts they trust.
|
|
49
|
+
|
|
50
|
+
## What It Looks Like
|
|
51
|
+
|
|
52
|
+
`code-mower doctor --preflight` is the first useful command. It checks your
|
|
53
|
+
runtime, GitHub setup, provider CLIs, token posture, optional cloud setup, and
|
|
54
|
+
private-repo Actions cost traps. `--preflight` is the friendly name for the
|
|
55
|
+
versioned v0.5 first-run preset, so `doctor --v05` remains equivalent for
|
|
56
|
+
scripts.
|
|
57
|
+
|
|
58
|
+
Example, shortened:
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
$ code-mower doctor --preflight
|
|
62
|
+
PASS config.validate config validates
|
|
63
|
+
PASS profile.select selected profile: codex, claude_audit, gitar
|
|
64
|
+
PASS runtime.python Python 3.12 satisfies Code Mower requirements
|
|
65
|
+
PASS runtime.github_auth GitHub CLI auth probe succeeded
|
|
66
|
+
PASS runtime.local_cli codex codex found
|
|
67
|
+
PASS runtime.local_cli claude claude auth smoke probe succeeded
|
|
68
|
+
WARN env.tokens codex missing CODEX_AUDIT_LABEL_TOKEN or GITHUB_TOKEN
|
|
69
|
+
WARN github.actions_cost private repo has high-frequency metadata workflows
|
|
70
|
+
PASS cloud.token optional Code Mower Cloud token file is configured
|
|
71
|
+
|
|
72
|
+
Summary: warn, 20 checks, 0 failures, 5 warnings
|
|
73
|
+
Next: fix token warnings, keep paid lanes manual, then generate a value report.
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The warnings are the point: Code Mower should make setup, cost, and trust
|
|
77
|
+
boundaries visible before you promote any reviewer lane.
|
|
78
|
+
|
|
79
|
+
See a fuller static transcript: [docs/first-run-transcript.md](docs/first-run-transcript.md).
|
|
80
|
+
|
|
81
|
+
## See The Value Shape First
|
|
82
|
+
|
|
83
|
+
If you want to understand the product before installing anything, start with
|
|
84
|
+
the checked-in demo calibration package:
|
|
85
|
+
|
|
86
|
+
- [examples/demo-calibration/README.md](examples/demo-calibration/README.md)
|
|
87
|
+
- [examples/demo-calibration/reviewer-value-report.md](examples/demo-calibration/reviewer-value-report.md)
|
|
88
|
+
- [docs/first-user-demo-transcript.md](docs/first-user-demo-transcript.md)
|
|
89
|
+
|
|
90
|
+
The example is intentionally tiny and synthetic: one known-clean control, one
|
|
91
|
+
known-blocked control, and three reviewer lanes. It shows the decision Code
|
|
92
|
+
Mower is built to support: which AI reviewers are useful, noisy, expensive,
|
|
93
|
+
fast, or eligible for stronger merge policy on your actual codebase.
|
|
94
|
+
|
|
95
|
+
## Try It First
|
|
96
|
+
|
|
97
|
+
Code Mower currently targets Python 3.11+; Python 3.12 is recommended.
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
python3.12 --version
|
|
101
|
+
pipx install --python python3.12 "git+https://github.com/codemower-ai/code-mower.git@v0.5.0-beta.5"
|
|
102
|
+
code-mower --version
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
From the repository you want to pilot:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
code-mower init --easy
|
|
109
|
+
code-mower doctor --preflight
|
|
110
|
+
code-mower checks detect --json
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
When those look sane, write the generated setup to a reviewable folder and
|
|
114
|
+
produce the starter local report:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
code-mower init --easy --apply --output-dir .code-mower.generated
|
|
118
|
+
code-mower calibration value-report .code-mower.generated/calibration-corpus.json \
|
|
119
|
+
--output .code-mower/reviewer-value-report.md
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
The generated starter corpus proves the command path. To bootstrap a draft from
|
|
123
|
+
your repository history:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
code-mower calibration auto-discover \
|
|
127
|
+
--repo OWNER/REPO \
|
|
128
|
+
--last-n 20 \
|
|
129
|
+
--output .code-mower/draft-calibration-corpus.json
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Auto-discovery uses recent merged PR metadata, structured audit trailers, and
|
|
133
|
+
review-request signals to propose known-clean and known-blocked cases. Review
|
|
134
|
+
every disposition before using it for lane promotion or merge policy.
|
|
135
|
+
|
|
136
|
+
Full walkthrough: [docs/try-in-10-minutes.md](docs/try-in-10-minutes.md).
|
|
137
|
+
First-time command map: [docs/launch-command-surface.md](docs/launch-command-surface.md).
|
|
138
|
+
|
|
139
|
+
## Why Not Just Run Codex Or Claude Yourself?
|
|
140
|
+
|
|
141
|
+
You should, at first. Code Mower is not a replacement for a good local agent or
|
|
142
|
+
reviewer CLI.
|
|
143
|
+
|
|
144
|
+
Code Mower adds the operating layer around those tools:
|
|
145
|
+
|
|
146
|
+
- consistent reviewer lanes on real pull requests;
|
|
147
|
+
- setup checks for auth, Python, GitHub permissions, private-repo Actions cost,
|
|
148
|
+
provider CLIs, and cloud-token posture;
|
|
149
|
+
- calibration against known-clean and known-blocked PRs instead of vibes;
|
|
150
|
+
- evidence-gated lane promotion: informational, selective, or merge-gating;
|
|
151
|
+
- spend/latency/usefulness reporting across providers and lenses; and
|
|
152
|
+
- privacy boundaries for optional metadata sharing.
|
|
153
|
+
|
|
154
|
+
The goal is to learn which AI builders and reviewers are worth trusting on your
|
|
155
|
+
actual codebase, at what cost, and under which merge policy.
|
|
156
|
+
|
|
157
|
+
## Optional Cloud Sharing
|
|
158
|
+
|
|
159
|
+
Code Mower Cloud currently provides private team dashboards from opt-in
|
|
160
|
+
metadata. Cross-team cohort benchmarking is a roadmap feature that becomes
|
|
161
|
+
valuable only as enough teams contribute sanitized data. The local OSS path
|
|
162
|
+
stays useful without the hosted service.
|
|
163
|
+
|
|
164
|
+
The cloud value loop is:
|
|
165
|
+
|
|
166
|
+
1. run local Code Mower reports;
|
|
167
|
+
2. inspect the metadata-only bundle or dogfood preview;
|
|
168
|
+
3. upload only with `--yes`; and
|
|
169
|
+
4. use [CodeMower.com](https://codemower.com) to see repo rollups, provider/lens
|
|
170
|
+
signal, cost/latency, noisy lanes, and next-lane recommendations over time.
|
|
171
|
+
|
|
172
|
+
Start with a dry run:
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
code-mower cloud dogfood --json
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Nothing uploads unless you pass `--yes`.
|
|
179
|
+
|
|
180
|
+
To connect to [CodeMower.com](https://codemower.com), sign in at
|
|
181
|
+
[https://codemower.com/login](https://codemower.com/login), create or receive a
|
|
182
|
+
team token, then run:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
code-mower cloud setup \
|
|
186
|
+
--token-stdin \
|
|
187
|
+
--team-id "YOUR_TEAM_SLUG" \
|
|
188
|
+
--install-id "your-laptop" \
|
|
189
|
+
--out ~/.config/code-mower/tokens/your-laptop.env
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
Cloud sharing details, historical catch-up, and repo-sync commands live in
|
|
193
|
+
[docs/cloud-sharing.md](docs/cloud-sharing.md).
|
|
194
|
+
|
|
195
|
+
## Provider Posture
|
|
196
|
+
|
|
197
|
+
The first recommended lanes are local/manual:
|
|
198
|
+
|
|
199
|
+
| Lane | Default role | Merge posture |
|
|
200
|
+
| --- | --- | --- |
|
|
201
|
+
| Codex audit | structured local peer audit | merge-gating eligible after setup |
|
|
202
|
+
| Claude audit | structured local peer audit | merge-gating eligible after setup |
|
|
203
|
+
| Gitar | advisory third signal | informational until calibrated |
|
|
204
|
+
|
|
205
|
+
Everything else starts manual or informational until your own calibration data
|
|
206
|
+
proves it is useful: Antigravity/Gemini, Hermes, CodeRabbit CLI, Cursor BugBot,
|
|
207
|
+
Qodo, Greptile, Devin, local LLMs, and future ACP bridges.
|
|
208
|
+
|
|
209
|
+
Provider details: [docs/provider-matrix.md](docs/provider-matrix.md).
|
|
210
|
+
Setup/auth fixes: [docs/troubleshooting.md](docs/troubleshooting.md).
|
|
211
|
+
|
|
212
|
+
## Road To v1.0
|
|
213
|
+
|
|
214
|
+
The v1.0 bar is not "every provider works." The v1.0 bar is that a fresh senior
|
|
215
|
+
engineer can:
|
|
216
|
+
|
|
217
|
+
1. install Code Mower in a clean repo;
|
|
218
|
+
2. understand the local/cloud trust boundary;
|
|
219
|
+
3. run `init --easy` and `doctor --preflight`;
|
|
220
|
+
4. detect and run the repo's native lint/test/build surface instead of assuming
|
|
221
|
+
every project uses the same tools;
|
|
222
|
+
5. produce a local value report from known PR outcomes;
|
|
223
|
+
6. decide which lanes should stay informational, selective, or merge-gating;
|
|
224
|
+
and
|
|
225
|
+
7. optionally upload sanitized metadata to CodeMower.com and see useful team
|
|
226
|
+
dashboard signal.
|
|
227
|
+
|
|
228
|
+
Future builder/orchestrator experiments extend the same loop from "who reviews
|
|
229
|
+
best?" to "which AI builder plus reviewer loop ships best on this product?" See
|
|
230
|
+
[docs/builder-experiments.md](docs/builder-experiments.md) and
|
|
231
|
+
[docs/authoring-intelligence.md](docs/authoring-intelligence.md).
|
|
232
|
+
|
|
233
|
+
## Installation Status
|
|
234
|
+
|
|
235
|
+
The current public beta is `v0.5.0-beta.5` from
|
|
236
|
+
[codemower-ai/code-mower](https://github.com/codemower-ai/code-mower). PyPI
|
|
237
|
+
distribution builds now run from GitHub Releases. Publishing to PyPI remains
|
|
238
|
+
off by default until trusted publishing is configured, so use the tagged GitHub
|
|
239
|
+
install command above for this beta.
|
|
240
|
+
|
|
241
|
+
For source checkout development and release rehearsal, use:
|
|
242
|
+
|
|
243
|
+
```bash
|
|
244
|
+
scripts/dev-python
|
|
245
|
+
scripts/dev-python -m venv .venv
|
|
246
|
+
.venv/bin/python -m pip install -e . ruff
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
The wrapper resolves Python 3.12+ and refuses stale or old system Python shims.
|
|
250
|
+
|
|
251
|
+
## Known Limitations
|
|
252
|
+
|
|
253
|
+
- PyPI distribution builds exist, but publishing is gated until trusted
|
|
254
|
+
publishing is configured; use the tagged GitHub install command. See
|
|
255
|
+
[docs/pypi-release.md](docs/pypi-release.md) for the TestPyPI/PyPI
|
|
256
|
+
activation path.
|
|
257
|
+
- GitHub is the primary supported forge. GitLab, Bitbucket, and ACP bridges are
|
|
258
|
+
roadmap items.
|
|
259
|
+
- Hosted/SaaS reviewers start informational or manual until calibration data
|
|
260
|
+
supports promotion.
|
|
261
|
+
- `calibration auto-discover` is a bootstrap tool, not an adjudicator. It
|
|
262
|
+
proposes a draft corpus from PR history; humans still confirm the ground truth.
|
|
263
|
+
- CodeMower.com currently provides private team dashboards; cohort benchmarks
|
|
264
|
+
are roadmap work and should not be treated as live product value yet.
|
|
265
|
+
- Self-service cloud data deletion/export basics are live. Retention remains
|
|
266
|
+
conservative and team-controlled while automated retention jobs are roadmap
|
|
267
|
+
work.
|
|
268
|
+
- Advanced/provider/operator commands remain available behind
|
|
269
|
+
`code-mower --help-all`. The default help path stays focused on `init`,
|
|
270
|
+
`doctor`, calibration, value reports, and optional cloud export/upload.
|
|
271
|
+
|
|
272
|
+
## Docs Map
|
|
273
|
+
|
|
274
|
+
- [Try Code Mower In 10 Minutes](docs/try-in-10-minutes.md)
|
|
275
|
+
- [Quickstart](docs/quickstart.md)
|
|
276
|
+
- [First Run Transcript](docs/first-run-transcript.md)
|
|
277
|
+
- [First-User Demo Transcript](docs/first-user-demo-transcript.md)
|
|
278
|
+
- [First-User Install Rehearsal](docs/first-user-install-rehearsal.md)
|
|
279
|
+
- [Launch Command Surface](docs/launch-command-surface.md)
|
|
280
|
+
- [Demo Calibration Example](examples/demo-calibration/README.md)
|
|
281
|
+
- [PyPI Release Runbook](docs/pypi-release.md)
|
|
282
|
+
- [Sample Doctor Output](docs/sample-doctor-output.md)
|
|
283
|
+
- [Architecture](docs/architecture.md)
|
|
284
|
+
- [Provider Matrix](docs/provider-matrix.md)
|
|
285
|
+
- [GitHub Setup](docs/github-setup.md)
|
|
286
|
+
- [Cloud Sharing](docs/cloud-sharing.md)
|
|
287
|
+
- [Cloud Data Contract](docs/cloud-data-contract.md)
|
|
288
|
+
- [Privacy And Threat Model](docs/privacy-threat-model.md)
|
|
289
|
+
- [Current State And Roadmap](docs/current-state-and-roadmap.md)
|
|
290
|
+
- [Public Release Checklist](docs/public-release-checklist.md)
|
|
291
|
+
- [Changelog](CHANGELOG.md)
|
|
292
|
+
- [Contributing](CONTRIBUTING.md)
|
|
293
|
+
- [Support](SUPPORT.md)
|
|
294
|
+
- [Security Policy](SECURITY.md)
|
|
295
|
+
- [Code of Conduct](CODE_OF_CONDUCT.md)
|
|
296
|
+
|
|
297
|
+
## License
|
|
298
|
+
|
|
299
|
+
The Code Mower open-source core is licensed under Apache-2.0. Hosted
|
|
300
|
+
benchmarking and reporting, managed integrations, private telemetry and
|
|
301
|
+
benchmark data products, enterprise controls, and support are commercial
|
|
302
|
+
surfaces unless licensed otherwise.
|