orbi-cli 0.7.41__tar.gz → 0.7.43__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.
- {orbi_cli-0.7.41/src/orbi_cli.egg-info → orbi_cli-0.7.43}/PKG-INFO +2 -2
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/README.md +1 -1
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/pyproject.toml +1 -1
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/__init__.py +1 -1
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/cli.py +10 -16
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/cli_commands.py +1 -1
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/config.py +30 -46
- orbi_cli-0.7.43/src/orbi/config_hint.py +70 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/example_config.toml +16 -0
- orbi_cli-0.7.43/src/orbi/implementation_delivery.py +961 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/journal.py +3 -3
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pi_command.py +2 -2
- orbi_cli-0.7.43/src/orbi/pi_exec.py +133 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pilot_setup.py +3 -3
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/repo_config.py +3 -3
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/runner.py +86 -666
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/setup_checks.py +10 -56
- orbi_cli-0.7.43/src/orbi/worktree_retention.py +135 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43/src/orbi_cli.egg-info}/PKG-INFO +2 -2
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi_cli.egg-info/SOURCES.txt +5 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_delivery.py +27 -8
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_preflight.py +61 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_runner_failure_report.py +3 -3
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_runner_main.py +8 -3
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_delivery_scene.py +36 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docs_releases.py +99 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_orbi.py +139 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pi_command.py +31 -0
- orbi_cli-0.7.43/tests/test_pi_exec.py +175 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_prerequisite_check.py +54 -28
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_release_docs_workflow.py +618 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_repo_config.py +2 -1
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_run_id_e2e.py +46 -6
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_runner_config.py +55 -1
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_size_ratchet.py +64 -13
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_worktree_reclaim.py +252 -1
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/LICENSE +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/docs/licenses/sustainable-use-license.md +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/setup.cfg +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/amend_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/base_ci_red.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/blocked_comment.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/branch_reclaim.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/check_permission.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/checks.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/claim.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/clarify.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/cli_doctor.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/cli_parser.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/cli_source.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/cli_status.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/cli_ticket_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/comment_kind.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/comment_rest_id.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/comment_trust.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/delivery_comment.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/delivery_labels.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/delivery_scene.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/draft.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/draft_cli.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/draft_marker.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/engine_source.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/extensions/clarify_verdict.ts +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/extensions/draft_tools.ts +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/failure.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/failure_report.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/gh_response.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/git_identity.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/git_transport.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/github.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/github_feedback.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/gitops.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/human_review.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/language.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/language_terms.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/launchd_deploy.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/merge_exec.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/merge_gate.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/merge_handoff.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/milestone.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/milestone_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/notify.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/ops_delivery.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pi_activity.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pi_idle.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pi_process.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pi_recovery.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pi_session.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pi_stream_log.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pilot_slots.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/pr_verification.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/progress.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/progress_display.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/progress_outcome.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/progress_summary.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/release.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/release_closeout.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/release_comments.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/release_declaration.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/release_git.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/release_notes.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/release_run.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/resume_scan.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/resume_verification.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/review_merge.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/review_rounds.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/review_verdict.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/run_fields.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/run_state.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/runner_health.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/runner_marker.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/runner_source.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/scene.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/scheduler.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/scheduler_units.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/session_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/setup_config.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/source_pool.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/split_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/status_observe.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/suggest.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/systemd_deploy.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/ticket_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/ticket_command_registry.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/ticket_criteria.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi/user_summary.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi_cli.egg-info/dependency_links.txt +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi_cli.egg-info/entry_points.txt +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/src/orbi_cli.egg-info/top_level.txt +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_agents_md.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_amend_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_apply_label_patch.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_base_branch_failure.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_base_ci_red.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_blocked_comment.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_adapters.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_pi.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_release.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_runner_claim_resume.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_runner_milestone.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_runner_outcome.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_runner_prompt.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_runner_reconcile.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_runner_session.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_bootstrap_runner_tickets.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_branch_reclaim.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_check_permission.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_ci_failure_issue_workflow.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_ci_failure_triage.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_ci_macos_workflow.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_ci_workflow.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_clarify.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_claude_plugin.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_cli_golden.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_cli_install.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_cli_milestone.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_cli_packaging.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_cli_source.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_cli_ticket_commands.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_command_receipt_contract.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_comment_identity.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_comment_readers_contract.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_comment_rest_id.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_comment_trust.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_concurrency_e2e.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_constitution.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_coverage_gate.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_deliver_pr_fakes.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_delivery_branch_delete.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_delivery_labels.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docker_docs.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docker_entrypoint.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docker_image_workflow.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docs_i18n.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docs_issue_shapes.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docs_labels.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docs_mermaid.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docs_single_source.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_docs_site.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_draft.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_engine_source.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_failure.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_failure_report.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_fix_needed_loop.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_gh_read_retry.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_gh_response.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_git_base_smoke.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_git_merge_smoke.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_git_network_retry.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_git_transport.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_github.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_github_fakes.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_gitops.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_gitops_fakes.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_human_review.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_import_graph.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_install_sh.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_issue_1367.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_issue_461.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_issue_template_config.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_journal.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_journal_events.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_launchd_deploy.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_license.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_merge_exec_extraction.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_message_language.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_milestone_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_notify.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_ops_e2e.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_orbi_dashboard.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_orbi_exporter.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_patch_ratchet.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pi_activity.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pi_child_reap.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pi_extensions.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pi_provider_templates.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pi_recovery.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pi_session.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pilot_setup.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pilot_slots.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pr_issue_link_workflow.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_pr_verification.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_progress.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_progress_wiring.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_prompt_contract.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_public_contracts.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_public_helpers.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_publish_workflow.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_release_extraction.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_release_ticket_templates.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_resume_continue_e2e.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_resume_e2e.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_resume_pr.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_review_merge.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_review_verdict.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_run_artifacts.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_run_fields.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_run_id_fixture.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_runner_health.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_runner_source_freshness.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_scene.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_scheduler.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_seam.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_setup_output_golden.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_split_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_src_layout.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_status_observe.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_steering_review.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_suggest.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_suite_hygiene.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_systemd_deploy.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_systemd_timer.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_ticket_command.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_ticket_command_registration.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_user_acceptance_contract.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_user_summary.py +0 -0
- {orbi_cli-0.7.41 → orbi_cli-0.7.43}/tests/test_versioned_comment_block.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: orbi-cli
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.43
|
|
4
4
|
Summary: Orbi — local AI development worker: claims GitHub Issues, runs Pi in isolated worktrees, and delivers PRs (GitHub Issues + labels are the only state store).
|
|
5
5
|
Author: xqliu
|
|
6
6
|
License-Expression: AGPL-3.0-only OR LicenseRef-Sustainable-Use-1.0
|
|
@@ -30,7 +30,7 @@ Orbi is an open-source **software dark factory**: a software delivery system for
|
|
|
30
30
|
|
|
31
31
|
**Ledger:** [merged PRs](https://github.com/orbi-build/orbi/pulls?q=is:merged) · [closed Issues](https://github.com/orbi-build/orbi/issues?q=is:closed) · [tagged releases](https://github.com/orbi-build/orbi/releases) — the repository is the record.
|
|
32
32
|
|
|
33
|
-
Website
|
|
33
|
+
Website [orbi.build](https://orbi.build/?ref=gh-readme-links) | Documentation <https://docs.orbi.build/> | [Discussions](https://github.com/orbi-build/orbi/discussions) | Docker [GHCR](https://ghcr.io/orbi-build/orbi) · [Docker Hub](https://hub.docker.com/r/orbibuild/orbi)
|
|
34
34
|
|
|
35
35
|
**Prefer to run it yourself?** Follow the Quick start below. Cloud founding members get 50% off forever with the code `FOUNDING50` at checkout (6 places).
|
|
36
36
|
## Quick start
|
|
@@ -14,7 +14,7 @@ Orbi is an open-source **software dark factory**: a software delivery system for
|
|
|
14
14
|
|
|
15
15
|
**Ledger:** [merged PRs](https://github.com/orbi-build/orbi/pulls?q=is:merged) · [closed Issues](https://github.com/orbi-build/orbi/issues?q=is:closed) · [tagged releases](https://github.com/orbi-build/orbi/releases) — the repository is the record.
|
|
16
16
|
|
|
17
|
-
Website
|
|
17
|
+
Website [orbi.build](https://orbi.build/?ref=gh-readme-links) | Documentation <https://docs.orbi.build/> | [Discussions](https://github.com/orbi-build/orbi/discussions) | Docker [GHCR](https://ghcr.io/orbi-build/orbi) · [Docker Hub](https://hub.docker.com/r/orbibuild/orbi)
|
|
18
18
|
|
|
19
19
|
**Prefer to run it yourself?** Follow the Quick start below. Cloud founding members get 50% off forever with the code `FOUNDING50` at checkout (6 places).
|
|
20
20
|
## Quick start
|
|
@@ -44,7 +44,7 @@ build-backend = "setuptools.build_meta"
|
|
|
44
44
|
|
|
45
45
|
[project]
|
|
46
46
|
name = "orbi-cli"
|
|
47
|
-
version = "0.7.
|
|
47
|
+
version = "0.7.43"
|
|
48
48
|
description = "Orbi — local AI development worker: claims GitHub Issues, runs Pi in isolated worktrees, and delivers PRs (GitHub Issues + labels are the only state store)."
|
|
49
49
|
readme = "README.md"
|
|
50
50
|
requires-python = ">=3.14"
|
|
@@ -23,13 +23,13 @@ runner.run_command; there is no fallback.
|
|
|
23
23
|
from __future__ import annotations
|
|
24
24
|
|
|
25
25
|
import logging
|
|
26
|
-
import os
|
|
27
26
|
import sys
|
|
28
27
|
from pathlib import Path
|
|
29
28
|
|
|
30
29
|
from orbi import (
|
|
31
30
|
cli_commands,
|
|
32
31
|
config as config_domain,
|
|
32
|
+
config_hint,
|
|
33
33
|
pilot_setup,
|
|
34
34
|
runner,
|
|
35
35
|
setup_checks,
|
|
@@ -55,19 +55,10 @@ LOGGER.addFilter(RunIdFilter())
|
|
|
55
55
|
# pyproject.toml, so the two cannot drift.
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
def _config_was_explicit(argv: list[str] | None) -> bool:
|
|
59
|
-
values = sys.argv[1:] if argv is None else argv
|
|
60
|
-
return any(value == "--config" or value.startswith("--config=")
|
|
61
|
-
for value in values)
|
|
62
|
-
|
|
63
|
-
|
|
64
58
|
def _missing_config_message(
|
|
65
59
|
path: Path, candidates: tuple[tuple[Path, str], ...],
|
|
66
60
|
) -> str:
|
|
67
|
-
candidate_lines =
|
|
68
|
-
f"; candidate={candidate} units={units}"
|
|
69
|
-
for candidate, units in candidates
|
|
70
|
-
)
|
|
61
|
+
candidate_lines = config_hint.candidate_lines(candidates)
|
|
71
62
|
return (
|
|
72
63
|
f"config_not_found path={path.resolve()}; "
|
|
73
64
|
"reason=no Orbi config at this path "
|
|
@@ -115,7 +106,7 @@ def resolve_config_path(args,
|
|
|
115
106
|
"""
|
|
116
107
|
candidates: tuple[tuple[Path, str], ...] = ()
|
|
117
108
|
read_only = args.command in cli_commands.READ_ONLY_COMMANDS
|
|
118
|
-
explicit =
|
|
109
|
+
explicit = config_hint.config_selected_explicitly(argv)
|
|
119
110
|
if read_only and not explicit and not args.config.exists():
|
|
120
111
|
candidates = _installed_unit_configs(
|
|
121
112
|
getattr(args, "installed_dir", None),
|
|
@@ -130,7 +121,8 @@ def resolve_config_path(args,
|
|
|
130
121
|
return candidates
|
|
131
122
|
|
|
132
123
|
|
|
133
|
-
def load_command_config(args, candidates: tuple[tuple[Path, str], ...]
|
|
124
|
+
def load_command_config(args, candidates: tuple[tuple[Path, str], ...],
|
|
125
|
+
argv: list[str] | None):
|
|
134
126
|
"""Load and validate the config one subcommand needs.
|
|
135
127
|
|
|
136
128
|
Returns the config, or None after printing the diagnostic (the caller
|
|
@@ -164,7 +156,8 @@ def load_command_config(args, candidates: tuple[tuple[Path, str], ...]):
|
|
|
164
156
|
if args.command == "setup":
|
|
165
157
|
print(f"setup_failed reason={exc}", file=sys.stderr)
|
|
166
158
|
else:
|
|
167
|
-
LOGGER.error(
|
|
159
|
+
LOGGER.error(config_hint.invalid_config_message(
|
|
160
|
+
args, argv, f"reason={exc}"))
|
|
168
161
|
return None
|
|
169
162
|
except config_domain.ConfigFileMissingError as exc:
|
|
170
163
|
if not candidates:
|
|
@@ -188,7 +181,8 @@ def load_command_config(args, candidates: tuple[tuple[Path, str], ...]):
|
|
|
188
181
|
file=sys.stderr,
|
|
189
182
|
)
|
|
190
183
|
else:
|
|
191
|
-
LOGGER.error(
|
|
184
|
+
LOGGER.error(config_hint.invalid_config_message(
|
|
185
|
+
args, argv, f"reason=required path missing: {exc}"))
|
|
192
186
|
return None
|
|
193
187
|
return config
|
|
194
188
|
|
|
@@ -214,7 +208,7 @@ def main(argv: list[str] | None = None) -> int:
|
|
|
214
208
|
return runner.main(["--config", str(args.config)])
|
|
215
209
|
if args.command == "check":
|
|
216
210
|
return cli_commands.command_check(args)
|
|
217
|
-
config = load_command_config(args, candidates)
|
|
211
|
+
config = load_command_config(args, candidates, argv)
|
|
218
212
|
if config is None:
|
|
219
213
|
return 1
|
|
220
214
|
return cli_commands.COMMAND_HANDLERS[args.command](config, args, parser)
|
|
@@ -7,7 +7,7 @@ returning an exit code. The behavior — stdout, stderr, exit codes and the
|
|
|
7
7
|
pins the help/version surface byte for byte.
|
|
8
8
|
|
|
9
9
|
The handlers are the command layer only: config path resolution and
|
|
10
|
-
loading stay in the entry module
|
|
10
|
+
loading stay in the entry module; `config_hint` renders the hint text.
|
|
11
11
|
"""
|
|
12
12
|
from __future__ import annotations
|
|
13
13
|
|
|
@@ -22,9 +22,19 @@ from orbi.release_git import RELEASE_VERSION_FILE_OPTIONS
|
|
|
22
22
|
# re-exported here for the modules that resolve it through the config.
|
|
23
23
|
from orbi.repo_config import REPO_CONFIG_PATH, repository_config_path
|
|
24
24
|
from orbi.scheduler_units import MAX_RUNNER_INSTANCES
|
|
25
|
+
from orbi.worktree_retention import (
|
|
26
|
+
KEEP_FAILED_WORKTREES,
|
|
27
|
+
WORKTREE_RETAIN_HOURS,
|
|
28
|
+
load_keep_failed_worktrees,
|
|
29
|
+
load_worktree_retain_hours,
|
|
30
|
+
)
|
|
25
31
|
|
|
26
32
|
ISSUE_COMMENTS_LIMIT = 200
|
|
27
|
-
|
|
33
|
+
|
|
34
|
+
# The Pi executable every session starts when `pi_executable` is unset
|
|
35
|
+
# (Issue #2182). The ONE validity rule for the key is
|
|
36
|
+
# :func:`read_pi_executable` (Issue #2188).
|
|
37
|
+
PI_EXECUTABLE_DEFAULT = "pi"
|
|
28
38
|
|
|
29
39
|
def _config_path(value: str, base: Path) -> Path:
|
|
30
40
|
path = Path(os.path.expandvars(os.path.expanduser(value)))
|
|
@@ -158,6 +168,9 @@ class RunnerConfig:
|
|
|
158
168
|
# page an account owner approves a newly requested permission on.
|
|
159
169
|
installation_id: int | None = None
|
|
160
170
|
slot_dir: Path | None = None
|
|
171
|
+
# The Pi executable every session starts (Issue #2182): a command
|
|
172
|
+
# name on PATH or an absolute path, e.g. `pi-bolt`. Host-only.
|
|
173
|
+
pi_executable: str = PI_EXECUTABLE_DEFAULT
|
|
161
174
|
pi_provider: str | None = None
|
|
162
175
|
pi_model: str | None = None
|
|
163
176
|
pi_thinking: str | None = None
|
|
@@ -168,6 +181,7 @@ class RunnerConfig:
|
|
|
168
181
|
model_wait_dead_seconds: float = PI_MODEL_WAIT_DEAD_SECONDS
|
|
169
182
|
issue_comments_limit: int = ISSUE_COMMENTS_LIMIT
|
|
170
183
|
worktree_retain_hours: float = WORKTREE_RETAIN_HOURS
|
|
184
|
+
keep_failed_worktrees: bool = KEEP_FAILED_WORKTREES
|
|
171
185
|
model_wait_probe_url: str | None = None
|
|
172
186
|
model_wait_probe_seconds: float = PI_MODEL_WAIT_PROBE_SECONDS
|
|
173
187
|
steering_enabled: bool = True
|
|
@@ -373,9 +387,8 @@ def load_config(path: Path, *, check_provider_api_keys: bool = True,
|
|
|
373
387
|
# Trusted-comment injection cap: how many of the
|
|
374
388
|
# Issue's trusted comments enter the agent's task context.
|
|
375
389
|
issue_comments_limit = _issue_comments_limit(data)
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
worktree_retain_hours = _worktree_retain_hours(data)
|
|
390
|
+
worktree_retain_hours = load_worktree_retain_hours(data)
|
|
391
|
+
keep_failed_worktrees = load_keep_failed_worktrees(data)
|
|
379
392
|
# Swallowed-model-request probe: the /slots endpoint
|
|
380
393
|
# (optional) and its sustained-idle grace (default 60 s). Absent URL
|
|
381
394
|
# -> the probe is disabled (the exact pre-#233 behavior: the run is
|
|
@@ -542,7 +555,7 @@ def load_config(path: Path, *, check_provider_api_keys: bool = True,
|
|
|
542
555
|
installation_id=installation_id,
|
|
543
556
|
slot_dir=slot_dir_for(repo_dir),
|
|
544
557
|
pi_provider=pi_provider,
|
|
545
|
-
pi_model=pi_model,
|
|
558
|
+
pi_model=pi_model, pi_executable=read_pi_executable(data),
|
|
546
559
|
pi_thinking=pi_thinking,
|
|
547
560
|
review_pi_provider=review_pi_provider,
|
|
548
561
|
review_pi_model=review_pi_model,
|
|
@@ -551,6 +564,7 @@ def load_config(path: Path, *, check_provider_api_keys: bool = True,
|
|
|
551
564
|
model_wait_dead_seconds=model_wait_dead_seconds,
|
|
552
565
|
issue_comments_limit=issue_comments_limit,
|
|
553
566
|
worktree_retain_hours=worktree_retain_hours,
|
|
567
|
+
keep_failed_worktrees=keep_failed_worktrees,
|
|
554
568
|
model_wait_probe_url=model_wait_probe_url,
|
|
555
569
|
model_wait_probe_seconds=model_wait_probe_seconds,
|
|
556
570
|
steering_enabled=steering_enabled,
|
|
@@ -586,6 +600,17 @@ def _optional_positive_int(data: dict, key: str) -> int | None:
|
|
|
586
600
|
return value
|
|
587
601
|
|
|
588
602
|
|
|
603
|
+
def read_pi_executable(data: dict) -> str:
|
|
604
|
+
"""The `pi_executable` a config document names, else the default.
|
|
605
|
+
|
|
606
|
+
The ONE rule for the key (Issue #2188): absent -> the default `pi`;
|
|
607
|
+
present -> a non-empty string, anything else fails fast. The config
|
|
608
|
+
load and the machine-level probe that runs before validation both
|
|
609
|
+
read the key through here.
|
|
610
|
+
"""
|
|
611
|
+
return _optional_pi_string(data, "pi_executable") or PI_EXECUTABLE_DEFAULT
|
|
612
|
+
|
|
613
|
+
|
|
589
614
|
def _optional_pi_string(data: dict, key: str) -> str | None:
|
|
590
615
|
"""Read one optional Pi model key.
|
|
591
616
|
|
|
@@ -724,47 +749,6 @@ def _model_wait_probe_url(data: dict) -> str | None:
|
|
|
724
749
|
return value
|
|
725
750
|
|
|
726
751
|
|
|
727
|
-
def _worktree_retain_hours(data: dict) -> float:
|
|
728
|
-
"""Load and validate the optional `worktree_retain_hours` (Issue
|
|
729
|
-
#760).
|
|
730
|
-
|
|
731
|
-
Omitted -> `WORKTREE_RETAIN_HOURS` (default 72 hours): a closed
|
|
732
|
-
Issue's scene stays inspectable for three days before the tick-start
|
|
733
|
-
reclamation removes it. Present -> must be a finite positive number
|
|
734
|
-
(int or float); booleans, zero, negative, NaN/infinity and
|
|
735
|
-
non-numeric values fail fast at config load with the field name and
|
|
736
|
-
the concrete reason.
|
|
737
|
-
"""
|
|
738
|
-
value = data.get("worktree_retain_hours", WORKTREE_RETAIN_HOURS)
|
|
739
|
-
if isinstance(value, bool):
|
|
740
|
-
raise ValueError(
|
|
741
|
-
"worktree_retain_hours must be a number, not a boolean "
|
|
742
|
-
f"(got {value!r})"
|
|
743
|
-
)
|
|
744
|
-
if not isinstance(value, (int, float)):
|
|
745
|
-
raise ValueError(
|
|
746
|
-
"worktree_retain_hours must be a number "
|
|
747
|
-
f"(got {type(value).__name__} {value!r})"
|
|
748
|
-
)
|
|
749
|
-
number = float(value)
|
|
750
|
-
if math.isnan(number):
|
|
751
|
-
raise ValueError(
|
|
752
|
-
"worktree_retain_hours must be a finite number of hours "
|
|
753
|
-
f"(got {value!r})"
|
|
754
|
-
)
|
|
755
|
-
if math.isinf(number):
|
|
756
|
-
raise ValueError(
|
|
757
|
-
"worktree_retain_hours must be a finite number of hours "
|
|
758
|
-
f"(got {value!r})"
|
|
759
|
-
)
|
|
760
|
-
if number <= 0:
|
|
761
|
-
raise ValueError(
|
|
762
|
-
"worktree_retain_hours must be a positive number of hours "
|
|
763
|
-
f"(got {value!r})"
|
|
764
|
-
)
|
|
765
|
-
return number
|
|
766
|
-
|
|
767
|
-
|
|
768
752
|
def _issue_comments_limit(data: dict) -> int:
|
|
769
753
|
"""Load and validate the optional `issue_comments_limit` (Issue
|
|
770
754
|
#745).
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"""The repair hint a config diagnostic prints (Issue #2190).
|
|
2
|
+
|
|
3
|
+
`cli.py` owns config path resolution and loading; this module owns the
|
|
4
|
+
installed-unit repair hint those diagnostics carry: which config files the
|
|
5
|
+
Orbi units installed for this user reference, and how a read-only command
|
|
6
|
+
is pointed at one of them. It is deliberately pure text — the scan is
|
|
7
|
+
`source_pool.installed_unit_configs` — and selecting a deployment stays the
|
|
8
|
+
user's decision (Issue #1001): an invalid local config names the
|
|
9
|
+
candidates next to itself, it is never replaced by one of them.
|
|
10
|
+
"""
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
import os
|
|
14
|
+
import sys
|
|
15
|
+
from pathlib import Path
|
|
16
|
+
|
|
17
|
+
from orbi import cli_commands
|
|
18
|
+
from orbi.source_pool import installed_unit_configs
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def candidate_lines(candidates: tuple[tuple[Path, str], ...]) -> str:
|
|
22
|
+
"""The `candidate=<path> units=<units>` tail a config hint carries."""
|
|
23
|
+
return "".join(
|
|
24
|
+
f"; candidate={candidate} units={units}"
|
|
25
|
+
for candidate, units in candidates
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def config_selected_explicitly(argv: list[str] | None) -> bool:
|
|
30
|
+
"""The caller already chose a config: the `--config` flag or the variable."""
|
|
31
|
+
values = sys.argv[1:] if argv is None else argv
|
|
32
|
+
flagged = any(
|
|
33
|
+
value == "--config" or value.startswith("--config=")
|
|
34
|
+
for value in values
|
|
35
|
+
)
|
|
36
|
+
return flagged or "ORBI_CONFIG" in os.environ
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def invalid_config_candidates(
|
|
40
|
+
args, argv: list[str] | None,
|
|
41
|
+
) -> tuple[tuple[Path, str], ...]:
|
|
42
|
+
"""The installed-unit configs an INVALID implicit config names.
|
|
43
|
+
|
|
44
|
+
Only a read-only command that picked up an implicit `./orbi.toml` names
|
|
45
|
+
them: an explicit `--config` / `ORBI_CONFIG` already made that choice,
|
|
46
|
+
and a mutating command never resolves another deployment.
|
|
47
|
+
"""
|
|
48
|
+
if (config_selected_explicitly(argv)
|
|
49
|
+
or args.command not in cli_commands.READ_ONLY_COMMANDS):
|
|
50
|
+
return ()
|
|
51
|
+
return installed_unit_configs(getattr(args, "installed_dir", None))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def invalid_config_message(args, argv: list[str] | None, detail: str) -> str:
|
|
55
|
+
"""The `config_invalid` line, plus the unit hint when one is installed.
|
|
56
|
+
|
|
57
|
+
Without an installed candidate the line is exactly the diagnosis a
|
|
58
|
+
build before Issue #2190 printed.
|
|
59
|
+
"""
|
|
60
|
+
candidates = invalid_config_candidates(args, argv)
|
|
61
|
+
if not candidates:
|
|
62
|
+
return f"config_invalid {detail}"
|
|
63
|
+
return (
|
|
64
|
+
f"config_invalid {detail}; "
|
|
65
|
+
"an invalid config is never replaced by another deployment; "
|
|
66
|
+
"fix=select the installed deployment config explicitly: "
|
|
67
|
+
"`--config <path>` (after the subcommand) or "
|
|
68
|
+
"`ORBI_CONFIG=<path> orbi <command>`"
|
|
69
|
+
f"{candidate_lines(candidates)}"
|
|
70
|
+
)
|
|
@@ -226,6 +226,18 @@ max_concurrency = 1
|
|
|
226
226
|
# inspectable for three days before reclamation. Must be a finite
|
|
227
227
|
# positive number of hours; anything else fails the start fast.
|
|
228
228
|
# worktree_retain_hours = 72
|
|
229
|
+
# Terminal-failure retention (Issue #2175): a delivery that ends
|
|
230
|
+
# `ai-blocked` keeps its worktree instead of removing it, so the failed
|
|
231
|
+
# attempt's uncommitted candidate changes, its `.pi-session/` session,
|
|
232
|
+
# its `.orbi/test.log` and its `.orbi/plan.md` stay inspectable. The
|
|
233
|
+
# retained scene is left on a DETACHED HEAD so the stable delivery
|
|
234
|
+
# branch is free for a retry, and it is logged as `worktree_retained`.
|
|
235
|
+
# Retention never changes `ai-blocked`, never authorizes a retry and
|
|
236
|
+
# never makes the attempt runnable; a scene of an Issue left open in
|
|
237
|
+
# `ai-blocked` is never reclaimed, so a disk-tight host sets this false
|
|
238
|
+
# (exactly the pre-#2175 behavior) or removes a scene by hand with
|
|
239
|
+
# `git worktree remove --force <dir>`. Default: true.
|
|
240
|
+
# keep_failed_worktrees = true
|
|
229
241
|
# Optional Pi model selection for implementation. Review sessions use
|
|
230
242
|
# these values unless a review_pi_* override is configured below. Omit a
|
|
231
243
|
# key to keep Pi's own default for that setting; values are passed verbatim
|
|
@@ -233,6 +245,10 @@ max_concurrency = 1
|
|
|
233
245
|
# pi_provider = "openai"
|
|
234
246
|
# pi_model = "gpt-5.6-sol"
|
|
235
247
|
# pi_thinking = "medium"
|
|
248
|
+
# Optional Pi executable (host-only): a command name on PATH or an absolute
|
|
249
|
+
# path to a pinned `pi` install, e.g. the deploy user's own copy. Omit it
|
|
250
|
+
# to start the default `pi`.
|
|
251
|
+
# pi_executable = "/home/orbi/.local/bin/pi"
|
|
236
252
|
# Optional independent review selection; each unset key falls back to its
|
|
237
253
|
# corresponding pi_* value.
|
|
238
254
|
# review_pi_provider = "deepseek"
|