orbi-cli 0.7.49__tar.gz → 0.7.51__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.49 → orbi_cli-0.7.51}/PKG-INFO +1 -1
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/pyproject.toml +1 -1
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/__init__.py +1 -1
- orbi_cli-0.7.51/src/orbi/delivery_push.py +168 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/failure_report.py +44 -12
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/gitops.py +16 -19
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/journal.py +4 -1
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/language_failure.py +22 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pr_head_sync.py +71 -16
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pr_verification.py +6 -3
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/runner.py +19 -35
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi_cli.egg-info/PKG-INFO +1 -1
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi_cli.egg-info/SOURCES.txt +1 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_delivery.py +19 -12
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_failure_report.py +59 -2
- orbi_cli-0.7.51/tests/test_git_base_smoke.py +793 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_gitops_fakes.py +42 -13
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_prompt_contract.py +111 -15
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_resume_pr.py +23 -17
- orbi_cli-0.7.49/tests/test_git_base_smoke.py +0 -398
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/LICENSE +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/README.md +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/docs/licenses/sustainable-use-license.md +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/setup.cfg +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/acceptance_section.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/amend_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/answer.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/base_ci_fix.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/base_ci_red.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/blocked_comment.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/blocked_record.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/blocked_scan.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/body_steering.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/branch_reclaim.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/check_permission.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/checks.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/claim.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/clarify.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/clarify_proposal.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/clarify_stop.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/cli.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/cli_commands.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/cli_doctor.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/cli_parser.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/cli_source.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/cli_status.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/cli_ticket_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/command_line.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/comment_kind.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/comment_rest_id.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/comment_trust.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/config.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/config_hint.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/delivery_comment.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/delivery_labels.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/delivery_scene.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/draft.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/draft_cli.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/draft_document.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/draft_marker.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/engine_source.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/example_config.toml +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/extensions/clarify_verdict.ts +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/extensions/draft_tools.ts +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/failure.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/failure_evidence.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/gh_response.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/git_identity.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/git_transport.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/github.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/github_feedback.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/human_review.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/implementation_delivery.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/language.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/language_terms.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/language_terms_criteria.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/language_terms_fix.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/launchd_deploy.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/merge_blocked.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/merge_exec.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/merge_gate.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/merge_handoff.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/milestone.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/milestone_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/milestone_errors.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/notify.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/ops_delivery.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pi_activity.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pi_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pi_exec.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pi_idle.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pi_process.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pi_recovery.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pi_session.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pi_stream_log.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pilot_setup.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/pilot_slots.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/progress.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/progress_display.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/progress_outcome.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/progress_summary.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/question.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/release.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/release_closeout.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/release_comments.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/release_declaration.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/release_git.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/release_notes.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/release_run.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/repo_config.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/requeue.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/restart_scan.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/resume_scan.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/resume_verification.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/review_merge.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/review_rounds.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/review_verdict.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/run_fields.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/run_state.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/runner_health.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/runner_marker.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/runner_source.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/scene.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/scheduler.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/scheduler_units.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/session_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/setup_checks.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/setup_config.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/source_pool.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/split_apply.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/split_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/status_observe.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/steering.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/stopped_scans.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/suggest.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/systemd_deploy.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/terminal_stops.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/tick_reads.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/ticket_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/ticket_command_registry.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/ticket_criteria.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/user_summary.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi/worktree_retention.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi_cli.egg-info/dependency_links.txt +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi_cli.egg-info/entry_points.txt +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/src/orbi_cli.egg-info/top_level.txt +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_agents_md.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_amend_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_answer.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_apply_label_patch.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_base_branch_failure.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_base_ci_red.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_blocked_comment.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_body_steering.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_adapters.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_pi.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_preflight.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_release.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_runner_claim_resume.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_runner_failure_report.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_runner_main.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_runner_milestone.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_runner_outcome.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_runner_prompt.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_runner_reconcile.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_runner_session.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_bootstrap_runner_tickets.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_branch_reclaim.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_check_permission.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_ci_failure_issue_workflow.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_ci_failure_triage.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_ci_macos_workflow.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_ci_workflow.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_clarify.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_claude_plugin.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_cli_golden.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_cli_install.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_cli_milestone.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_cli_packaging.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_cli_source.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_cli_ticket_commands.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_command_receipt_contract.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_comment_identity.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_comment_readers_contract.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_comment_rest_id.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_comment_trust.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_concurrency_e2e.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_constitution.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_coverage_gate.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_deliver_pr_fakes.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_delivery_branch_delete.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_delivery_labels.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_delivery_scene.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docker_docs.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docker_entrypoint.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docker_image_workflow.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docs_i18n.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docs_issue_shapes.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docs_labels.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docs_mermaid.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docs_releases.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docs_safety_matrix.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docs_single_source.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_docs_site.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_draft.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_engine_source.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_failure.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_fix_needed_loop.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_gh_read_retry.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_gh_response.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_git_merge_smoke.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_git_network_retry.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_git_transport.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_github.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_github_fakes.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_gitops.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_human_review.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_import_graph.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_install_sh.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_issue_1367.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_issue_461.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_issue_template_config.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_journal.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_journal_events.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_launchd_deploy.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_license.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_merge_exec_extraction.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_message_language.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_milestone_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_notify.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_ops_e2e.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_orbi.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_orbi_dashboard.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_orbi_exporter.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_patch_ratchet.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pi_activity.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pi_child_reap.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pi_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pi_exec.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pi_extensions.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pi_provider_templates.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pi_recovery.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pi_session.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pilot_setup.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pilot_slots.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pr_issue_link_workflow.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_pr_verification.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_prerequisite_check.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_progress.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_progress_wiring.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_public_contracts.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_public_helpers.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_publish_workflow.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_question.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_question_resume.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_release_docs_workflow.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_release_extraction.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_release_ticket_templates.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_repo_config.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_resume_continue_e2e.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_resume_e2e.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_review_merge.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_review_verdict.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_run_artifacts.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_run_fields.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_run_id_e2e.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_run_id_fixture.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_runner_config.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_runner_health.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_runner_source_freshness.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_scene.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_scheduler.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_seam.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_setup_output_golden.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_size_ratchet.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_split_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_src_layout.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_status_observe.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_steering_review.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_suggest.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_suite_hygiene.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_systemd_deploy.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_systemd_timer.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_tick_reads.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_ticket_command.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_ticket_command_registration.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_user_acceptance_contract.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_user_summary.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_versioned_comment_block.py +0 -0
- {orbi_cli-0.7.49 → orbi_cli-0.7.51}/tests/test_worktree_reclaim.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.51
|
|
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
|
|
@@ -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.51"
|
|
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"
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Make the delivery branch pushable, then push it (Issues #186, #2273).
|
|
3
|
+
|
|
4
|
+
The closeout's push (`deliver_pr`, step 3) is a plain push and nothing else:
|
|
5
|
+
no force push, no reset, no rewrite. Two things outside the worktree can make
|
|
6
|
+
that push a non-fast-forward, and both are absorbed HERE, right before it:
|
|
7
|
+
|
|
8
|
+
- the BASE advanced while the agent worked — a plain `git merge` of
|
|
9
|
+
`origin/<base>` (the pre-#186 agent contract, now the Runner's), and
|
|
10
|
+
- the DELIVERY BRANCH itself already carries pushed commits the worktree does
|
|
11
|
+
not hold (Issue #2273): a steering correction restarts the running session
|
|
12
|
+
in the same run, a branch was advanced on GitHub (the PR page's "Update
|
|
13
|
+
branch"), an earlier run of the same Issue pushed. Without the absorb that
|
|
14
|
+
push was rejected —
|
|
15
|
+
|
|
16
|
+
! [rejected] HEAD -> orbi/<owner>-<repo>-issue-<n> (fetch first)
|
|
17
|
+
|
|
18
|
+
— and the delivery ended `ai-blocked` with nothing but Git's "Note about
|
|
19
|
+
fast-forwards" hint on the Issue.
|
|
20
|
+
|
|
21
|
+
`absorb_pushed_commits` fast-forwards onto those commits (or merges them when
|
|
22
|
+
the two sides diverged, keeping both). A file conflict rolls the merge back
|
|
23
|
+
and stops with `DeliveryBranchChangedError`, as does a push rejection the
|
|
24
|
+
absorb could not prevent; the failure report renders that failure's plain
|
|
25
|
+
cause and next step (`orbi.failure_report`), so the reader never has to read
|
|
26
|
+
Git's hint to know what happened.
|
|
27
|
+
|
|
28
|
+
This module imports no `runner` (CONSTITUTION Article 3.3) and calls no
|
|
29
|
+
`subprocess` directly (Article 3.4): every git command goes through the one
|
|
30
|
+
seam in `orbi.journal`.
|
|
31
|
+
"""
|
|
32
|
+
from __future__ import annotations
|
|
33
|
+
|
|
34
|
+
import logging
|
|
35
|
+
import subprocess
|
|
36
|
+
from pathlib import Path
|
|
37
|
+
|
|
38
|
+
from orbi import gitops, run_state
|
|
39
|
+
from orbi.gitops import fetch_base_ref
|
|
40
|
+
from orbi.journal import event, run_command, run_git_network_command
|
|
41
|
+
from orbi.pr_head_sync import DeliveryBranchChangedError, fetch_delivery_branch
|
|
42
|
+
|
|
43
|
+
# Markers Git prints when a push is rejected because the remote ref moved
|
|
44
|
+
# (`! [rejected] ... (fetch first)`, `non-fast-forward`). They only tell that
|
|
45
|
+
# rejection apart from every other push failure; the reader-facing cause never
|
|
46
|
+
# repeats Git's hint text (Issue #2273).
|
|
47
|
+
_PUSH_REJECTED_MARKERS = (
|
|
48
|
+
"[rejected]", "fetch first", "non-fast-forward", "updates were rejected",
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def absorb_advanced_base(worktree: Path, base_branch: str, branch: str,
|
|
53
|
+
*, repo_dir: Path) -> None:
|
|
54
|
+
"""Absorb an advanced base into the task branch before the push.
|
|
55
|
+
|
|
56
|
+
The fetch updates the shared remote-tracking ref, so it runs under the
|
|
57
|
+
base-sync lock with the deployment checkout as the lock location. A
|
|
58
|
+
lock timeout or a fetch error fails fast — no retry, no lock bypass.
|
|
59
|
+
|
|
60
|
+
The base advanced while the agent worked: absorb it with a plain merge
|
|
61
|
+
(the same base update the old agent prompt required). A conflict is
|
|
62
|
+
rolled back: the worktree returns to the agent's exact commit boundary,
|
|
63
|
+
the PR opens on the agent's head, and the existing review loop
|
|
64
|
+
(ai-fix-needed -> the review session absorbs the base in-session)
|
|
65
|
+
handles the rest — the state machine is unchanged.
|
|
66
|
+
"""
|
|
67
|
+
fetch_base_ref(repo_dir, base_branch, cwd=worktree)
|
|
68
|
+
freshness = run_state.assess_base_freshness(
|
|
69
|
+
worktree, base_branch, head="HEAD",
|
|
70
|
+
)
|
|
71
|
+
if freshness is run_state.BaseFreshness.FRESH:
|
|
72
|
+
return
|
|
73
|
+
try:
|
|
74
|
+
run_command(
|
|
75
|
+
["git", "merge", f"origin/{base_branch}"], cwd=worktree,
|
|
76
|
+
)
|
|
77
|
+
event("base_absorbed", base_branch=base_branch, branch=branch)
|
|
78
|
+
except subprocess.CalledProcessError as exc:
|
|
79
|
+
run_command(["git", "merge", "--abort"], cwd=worktree)
|
|
80
|
+
event(
|
|
81
|
+
"base_merge_conflict", level=logging.ERROR,
|
|
82
|
+
base_branch=base_branch, branch=branch,
|
|
83
|
+
returncode=exc.returncode,
|
|
84
|
+
stderr=(exc.stderr or "").strip(),
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def absorb_pushed_commits(worktree: Path, branch: str, *,
|
|
89
|
+
repo_dir: Path) -> None:
|
|
90
|
+
"""Make the local delivery branch carry what `origin/<branch>` has.
|
|
91
|
+
|
|
92
|
+
Called by the closeout before its plain push. `repo_dir` is the
|
|
93
|
+
deployment checkout that owns the shared base-sync lock the fetch needs.
|
|
94
|
+
An unpushed branch (the first delivery's push) and a local head that
|
|
95
|
+
already contains the remote head (the PR's own earlier push, a killed
|
|
96
|
+
session's unpushed commit) need no network read beyond the remote-head
|
|
97
|
+
probe.
|
|
98
|
+
"""
|
|
99
|
+
remote = gitops.remote_branch_head(branch, cwd=worktree)
|
|
100
|
+
if remote is None or remote == run_command(
|
|
101
|
+
["git", "rev-parse", "HEAD"], cwd=worktree):
|
|
102
|
+
# Never pushed yet, or the local head IS the pushed head.
|
|
103
|
+
return
|
|
104
|
+
fetch_delivery_branch(repo_dir, branch, cwd=worktree)
|
|
105
|
+
if gitops.is_ancestor(remote, "HEAD", cwd=worktree):
|
|
106
|
+
# The local head already contains the pushed commits: a killed
|
|
107
|
+
# session's unpushed commit is the ahead side, which the push
|
|
108
|
+
# below carries as usual.
|
|
109
|
+
return
|
|
110
|
+
local_head = run_command(["git", "rev-parse", "HEAD"], cwd=worktree)
|
|
111
|
+
try:
|
|
112
|
+
# A plain merge: a fast-forward when the local branch is behind,
|
|
113
|
+
# a merge commit (both sides kept) when it diverged. Never
|
|
114
|
+
# `--force`, never a reset.
|
|
115
|
+
run_command(["git", "merge", f"origin/{branch}"], cwd=worktree)
|
|
116
|
+
except subprocess.CalledProcessError as exc:
|
|
117
|
+
run_command(["git", "merge", "--abort"], cwd=worktree)
|
|
118
|
+
event(
|
|
119
|
+
"delivery_branch_merge_conflict", level=logging.ERROR,
|
|
120
|
+
branch=branch, local_head=local_head, remote_head=remote,
|
|
121
|
+
# Git reports a merge conflict on stdout and a push rejection
|
|
122
|
+
# on stderr: the event carries whichever spoke.
|
|
123
|
+
output=((exc.stderr or "") + (exc.stdout or "")).strip(),
|
|
124
|
+
)
|
|
125
|
+
raise DeliveryBranchChangedError(
|
|
126
|
+
f"the delivery branch {branch} changed on GitHub and its "
|
|
127
|
+
f"changes conflict with this session's work; the merge was "
|
|
128
|
+
f"rolled back and the local head {local_head} is unchanged",
|
|
129
|
+
branch=branch, stderr=exc.stderr,
|
|
130
|
+
) from exc
|
|
131
|
+
event(
|
|
132
|
+
"delivery_branch_synced", branch=branch, previous_head=local_head,
|
|
133
|
+
remote_head=remote,
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def push_delivery_branch(worktree: Path, branch: str) -> None:
|
|
138
|
+
"""Push the task branch; a rejection names the outside change it is.
|
|
139
|
+
|
|
140
|
+
The closeout's ONE push (never a force push). The absorbs above already
|
|
141
|
+
brought the remote commits in, so a rejection here means the branch
|
|
142
|
+
moved again in the seconds between the fetch and this push, or a
|
|
143
|
+
repository rule refused it — both are outside the run's control.
|
|
144
|
+
"""
|
|
145
|
+
try:
|
|
146
|
+
run_git_network_command(
|
|
147
|
+
["git", "push", "origin", f"HEAD:{branch}"], cwd=worktree,
|
|
148
|
+
)
|
|
149
|
+
except subprocess.CalledProcessError as exc:
|
|
150
|
+
if not _push_was_rejected(exc):
|
|
151
|
+
raise
|
|
152
|
+
event(
|
|
153
|
+
"delivery_branch_push_rejected", level=logging.ERROR,
|
|
154
|
+
branch=branch, returncode=exc.returncode,
|
|
155
|
+
output=((exc.stderr or "") + (exc.stdout or "")).strip(),
|
|
156
|
+
)
|
|
157
|
+
raise DeliveryBranchChangedError(
|
|
158
|
+
f"the delivery branch {branch} changed on GitHub while this "
|
|
159
|
+
"session ran, so the plain push was rejected: the branch "
|
|
160
|
+
"carries a commit this worktree does not",
|
|
161
|
+
branch=branch, stderr=exc.stderr,
|
|
162
|
+
) from exc
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
def _push_was_rejected(exc: subprocess.CalledProcessError) -> bool:
|
|
166
|
+
"""Whether a `git push` was rejected by an advanced remote ref."""
|
|
167
|
+
stderr = (exc.stderr or "").lower()
|
|
168
|
+
return any(marker in stderr for marker in _PUSH_REJECTED_MARKERS)
|
|
@@ -59,6 +59,7 @@ from orbi.github import (
|
|
|
59
59
|
from orbi.journal import LOGGER, event, issue_context, run_command
|
|
60
60
|
from orbi.pi_activity import activity_snapshot
|
|
61
61
|
from orbi.pi_process import RateLimitExhaustedError
|
|
62
|
+
from orbi.pr_head_sync import DeliveryBranchChangedError
|
|
62
63
|
from orbi.progress import (
|
|
63
64
|
FAILURE_MARKER_PATTERN, RUN_MARKER_PATTERN, ProgressPublisher,
|
|
64
65
|
bump_failure_repeat, failure_marker, failure_repeat_count,
|
|
@@ -534,6 +535,41 @@ def _update_reported_failure(*, number: int, source_repo: str,
|
|
|
534
535
|
return False
|
|
535
536
|
|
|
536
537
|
|
|
538
|
+
def _typed_failure_wording(
|
|
539
|
+
exc: BaseException, *, pr_url: str | None, branch: str | None,
|
|
540
|
+
language_code: str,
|
|
541
|
+
) -> tuple[bool, tuple[str, str] | None]:
|
|
542
|
+
"""The reader-facing Action/Reason of a typed failure (#1651, #2273).
|
|
543
|
+
|
|
544
|
+
Two failures answer the reader themselves instead of with the generic
|
|
545
|
+
wording: the GitHub App Actions-workflow refusal (an authorization only
|
|
546
|
+
a human can grant, so the repair path names the permission) and the
|
|
547
|
+
delivery branch changed outside this run (Git answers with a "Note
|
|
548
|
+
about fast-forwards" hint that names neither the cause nor the next
|
|
549
|
+
step). Returns `(milestone_shows_the_action, (action, reason))`, or
|
|
550
|
+
`(False, None)` for a failure that keeps the generic wording.
|
|
551
|
+
"""
|
|
552
|
+
if failure.workflow_permission_refused(failure_detail(exc)):
|
|
553
|
+
return True, (
|
|
554
|
+
failure.workflow_permission_action(
|
|
555
|
+
pr_url, language_code=language_code),
|
|
556
|
+
failure.workflow_permission_cause(language_code),
|
|
557
|
+
)
|
|
558
|
+
if isinstance(exc, DeliveryBranchChangedError):
|
|
559
|
+
cause = language.text(
|
|
560
|
+
language_code, "failure.delivery_branch_changed_cause",
|
|
561
|
+
branch=branch or "-",
|
|
562
|
+
)
|
|
563
|
+
return False, (
|
|
564
|
+
language.text(
|
|
565
|
+
language_code, "failure.delivery_branch_changed_action",
|
|
566
|
+
cause=cause,
|
|
567
|
+
),
|
|
568
|
+
cause,
|
|
569
|
+
)
|
|
570
|
+
return False, None
|
|
571
|
+
|
|
572
|
+
|
|
537
573
|
def report_delivery_failure(
|
|
538
574
|
exc: BaseException, *, issue: dict, source_repo: str,
|
|
539
575
|
run_id: str | None, pr_url: str | None, worktree: Path | None,
|
|
@@ -607,24 +643,20 @@ def report_delivery_failure(
|
|
|
607
643
|
number = int(issue["number"])
|
|
608
644
|
title = issue["title"]
|
|
609
645
|
priority = issue_priority(issue)
|
|
610
|
-
#
|
|
611
|
-
# production paths; new callers provide the three named parts.
|
|
646
|
+
# `cause` stays a compatibility input; new callers name the parts.
|
|
612
647
|
if reason is None:
|
|
613
648
|
reason = cause or failure_detail(exc)
|
|
614
649
|
if diagnosis is None:
|
|
615
650
|
diagnosis = cause or failure_detail(exc)
|
|
616
651
|
blocked = not classify or is_unrecoverable_failure(exc)
|
|
617
|
-
#
|
|
618
|
-
#
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
workflow_refusal = failure.workflow_permission_refused(failure_detail(exc))
|
|
624
|
-
if workflow_refusal:
|
|
652
|
+
# A typed failure carries its own cause and repair, and it is terminal
|
|
653
|
+
# (`ai-blocked`) whichever path caught it (Issues #1651, #2273).
|
|
654
|
+
workflow_refusal, wording = _typed_failure_wording(
|
|
655
|
+
exc, pr_url=pr_url, branch=branch, language_code=language_code,
|
|
656
|
+
)
|
|
657
|
+
if wording is not None:
|
|
625
658
|
blocked = True
|
|
626
|
-
action =
|
|
627
|
-
reason = failure.workflow_permission_cause(language_code)
|
|
659
|
+
action, reason = wording
|
|
628
660
|
# Issue #2220: a stop that carries one structured question shows its
|
|
629
661
|
# one-sentence summary as the visible Reason and — when the class is not
|
|
630
662
|
# 'authority' and one recommended option is executable in place — answers
|
|
@@ -16,7 +16,6 @@ from __future__ import annotations
|
|
|
16
16
|
import fcntl
|
|
17
17
|
import logging
|
|
18
18
|
import os
|
|
19
|
-
import socket
|
|
20
19
|
import subprocess
|
|
21
20
|
import time
|
|
22
21
|
from collections.abc import Callable
|
|
@@ -187,12 +186,13 @@ def create_worktree(repo_dir: Path, source_repo: str, number: int,
|
|
|
187
186
|
the identity the takeover PR is frozen on. `pr_number` makes an
|
|
188
187
|
external takeover fetch the base repository's pull ref, which also
|
|
189
188
|
works when the head branch exists only in a fork. With
|
|
190
|
-
`existing_branch` the named branch is fetched and reused (
|
|
191
|
-
is fast-forwarded
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
189
|
+
`existing_branch` the named branch is fetched and reused (behind the
|
|
190
|
+
remote it is fast-forwarded, ahead of or diverged from it REUSED as-is —
|
|
191
|
+
those are the delivery's own commits and the closeout absorbs the pushed
|
|
192
|
+
ones, Issue #2273; a missing branch is created from `origin/<branch>`
|
|
193
|
+
with `--force` so the stale missing-but-registered entry a deleted
|
|
194
|
+
worktree leaves behind cannot block the rebuild); without it the branch
|
|
195
|
+
is created from the frozen base.
|
|
196
196
|
|
|
197
197
|
A local branch that already exists only in the orphan scene (no remote
|
|
198
198
|
counterpart, handled by `existing_branch=False`) is reused as-is rather
|
|
@@ -232,18 +232,15 @@ def create_worktree(repo_dir: Path, source_repo: str, number: int,
|
|
|
232
232
|
["git", "rev-parse", f"origin/{branch}"], cwd=repo_dir,
|
|
233
233
|
)
|
|
234
234
|
if local_head != remote_head:
|
|
235
|
-
if
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
f"origin/{branch}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
"git", "branch", "--force", branch,
|
|
245
|
-
f"origin/{branch}",
|
|
246
|
-
], cwd=repo_dir)
|
|
235
|
+
if is_ancestor(local_head, remote_head, cwd=repo_dir):
|
|
236
|
+
# Behind: fast-forward onto the pushed head.
|
|
237
|
+
run_command([
|
|
238
|
+
"git", "branch", "--force", branch,
|
|
239
|
+
f"origin/{branch}",
|
|
240
|
+
], cwd=repo_dir)
|
|
241
|
+
# Ahead or diverged: a rejected push's own commits (Issue
|
|
242
|
+
# #2273) are reused as-is; the closeout absorbs the pushed
|
|
243
|
+
# ones. Raising here blocked every later run of the Issue.
|
|
247
244
|
run_command([
|
|
248
245
|
"git", "worktree", "add", "--force", str(path), branch,
|
|
249
246
|
], cwd=repo_dir)
|
|
@@ -327,7 +327,7 @@ JOURNAL_EVENTS: dict[str, str] = {
|
|
|
327
327
|
# PR verification (fresh delivery and resume).
|
|
328
328
|
"pr_created": "the delivery PR was opened",
|
|
329
329
|
"pr_base_mismatch": "the PR base branch does not match the configured base",
|
|
330
|
-
"pr_head_diverged": "the PR head
|
|
330
|
+
"pr_head_diverged": "the PR head and the local delivery head diverged; the PR head is merged in (both sides kept)",
|
|
331
331
|
"pr_head_fast_forwarded": "the local branch was fast-forwarded to the PR head advanced on GitHub",
|
|
332
332
|
"pr_head_unreachable": "the PR head is missing from origin after the fetch (the branch was rewritten)",
|
|
333
333
|
"pr_repo_mismatch": "the PR belongs to a different repository",
|
|
@@ -397,6 +397,9 @@ JOURNAL_EVENTS: dict[str, str] = {
|
|
|
397
397
|
"worktree_reclaim_failed": "a worktree reclamation step failed (bypass; the pass continues)",
|
|
398
398
|
"branches_reclaimed": "merged-PR remote delivery branches were deleted in bulk",
|
|
399
399
|
"branch_reclaim_failed": "a remote-branch reclamation step failed (bypass; the pass continues)",
|
|
400
|
+
"delivery_branch_synced": "the local delivery branch absorbed commits the remote branch already carried",
|
|
401
|
+
"delivery_branch_merge_conflict": "the pushed delivery branch's changes conflict with this session's work; the merge was rolled back",
|
|
402
|
+
"delivery_branch_push_rejected": "the delivery branch push was rejected because the branch changed outside this run",
|
|
400
403
|
"delivery_branch_deleted": "a merged delivery's remote head branch was deleted",
|
|
401
404
|
"delivery_branch_delete_failed": "a merged delivery's remote head branch could not be deleted (bypass; the merge already landed)",
|
|
402
405
|
"worktrees_exclude_added": "a worktrees path was added to the local git exclude",
|
|
@@ -121,6 +121,28 @@ FAILURE_MESSAGES: dict[str, tuple[str, str]] = {
|
|
|
121
121
|
"以便重新运行这个 Issue。如果无法更新权限或同样的错误仍然出现,"
|
|
122
122
|
"请联系 App 的运维者。本次没有创建 PR。",
|
|
123
123
|
),
|
|
124
|
+
# Issue #2273: the delivery branch already carried commits this run
|
|
125
|
+
# could not absorb (a restarted session's push, a branch advanced on
|
|
126
|
+
# GitHub), or it moved again before the closeout push. Git answers
|
|
127
|
+
# with "Note about fast-forwards", which names neither the cause nor
|
|
128
|
+
# the repair: both are here, and the branch is named.
|
|
129
|
+
"failure.delivery_branch_changed_cause": (
|
|
130
|
+
"The delivery branch \u0060{branch}\u0060 changed on GitHub outside "
|
|
131
|
+
"this run: it carries commits this worktree does not have, and this "
|
|
132
|
+
"run could not combine them with its own work.",
|
|
133
|
+
"这个交付分支 \u0060{branch}\u0060 在本轮之外被改动过:分支上有这个"
|
|
134
|
+
"工作区没有的提交,本轮无法把它们与本轮的改动合并。",
|
|
135
|
+
),
|
|
136
|
+
"failure.delivery_branch_changed_action": (
|
|
137
|
+
"{cause} Review the branch's history on GitHub and decide what it "
|
|
138
|
+
"should contain. Then remove \u0060ai-blocked\u0060 and add "
|
|
139
|
+
"\u0060ai-ready\u0060 again, and the next run continues from the "
|
|
140
|
+
"branch as it is now. Nothing was force-pushed and no commit was "
|
|
141
|
+
"overwritten.",
|
|
142
|
+
"{cause} 请在 GitHub 上查看该分支的提交历史,确定它应该包含什么。"
|
|
143
|
+
"然后去掉 \u0060ai-blocked\u0060、重新加上 \u0060ai-ready\u0060,"
|
|
144
|
+
"下一轮会从分支当前的状态继续。整个过程没有强推,也没有覆盖任何提交。",
|
|
145
|
+
),
|
|
124
146
|
"failure.blocked_precondition": (
|
|
125
147
|
"this is an external precondition the AI cannot safely judge or "
|
|
126
148
|
"fix, so it cannot be recovered automatically (the Issue stays "
|
|
@@ -15,10 +15,14 @@ Two differences are RECOVERABLE and both continue the delivery:
|
|
|
15
15
|
the local head, so the delivery branch is FAST-FORWARDED to it
|
|
16
16
|
(Issue #2261).
|
|
17
17
|
|
|
18
|
-
A head that is neither an ancestor nor a descendant is a
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
A head that is neither an ancestor nor a descendant is a divergence:
|
|
19
|
+
each side carries commits the other lacks — most often the leftover local
|
|
20
|
+
commits of a push Git rejected, against the head the earlier session
|
|
21
|
+
pushed (Issue #2273). It is ABSORBED with a plain merge (both sides kept)
|
|
22
|
+
so the delivery continues instead of blocking every later run of the
|
|
23
|
+
Issue on the leftover branch; a file conflict is rolled back and stops
|
|
24
|
+
with the carried plain-words failure. Nothing here ever force pushes,
|
|
25
|
+
resets or rewrites a commit.
|
|
22
26
|
|
|
23
27
|
This module imports no `runner` (CONSTITUTION Article 3.3) and calls no
|
|
24
28
|
`subprocess` directly (Article 3.4): every git command goes through the
|
|
@@ -29,9 +33,11 @@ from __future__ import annotations
|
|
|
29
33
|
import fcntl
|
|
30
34
|
import logging
|
|
31
35
|
import os
|
|
36
|
+
import subprocess
|
|
32
37
|
from contextlib import contextmanager
|
|
33
38
|
from pathlib import Path
|
|
34
39
|
|
|
40
|
+
from orbi.failure import Failure
|
|
35
41
|
from orbi.gitops import acquire_base_sync_lock, is_ancestor
|
|
36
42
|
from orbi.journal import event, run_command, run_git_network_command
|
|
37
43
|
|
|
@@ -41,6 +47,36 @@ from orbi.journal import event, run_command, run_git_network_command
|
|
|
41
47
|
BASE_SYNC_LOCK_TIMEOUT_SECONDS = 300.0
|
|
42
48
|
|
|
43
49
|
|
|
50
|
+
class DeliveryBranchChangedError(RuntimeError):
|
|
51
|
+
"""The delivery branch carries work this checkout could not absorb.
|
|
52
|
+
|
|
53
|
+
Three scenes reach it: the commits GitHub already has conflict with
|
|
54
|
+
this run's own (the merge was rolled back, whether the closeout or the
|
|
55
|
+
resume reconciliation merged them), and the closeout's plain push is
|
|
56
|
+
still rejected after the absorb — the branch moved again between the
|
|
57
|
+
fetch and the push, or a repository rule refused it. All of them mean
|
|
58
|
+
the branch changed outside this run, so a person decides; the failure
|
|
59
|
+
report owns the reader-facing cause and next step (Issue #2273).
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
def __init__(self, message: str, *, branch: str,
|
|
63
|
+
stderr: str | None = None):
|
|
64
|
+
super().__init__(message)
|
|
65
|
+
self.branch = branch
|
|
66
|
+
# Git's own output is evidence for the run details, never the
|
|
67
|
+
# reader-facing reason.
|
|
68
|
+
self.stderr = stderr
|
|
69
|
+
# Decided at the source (#1756): the branch changed outside Orbi,
|
|
70
|
+
# so the repair is a human decision, never an automatic re-queue
|
|
71
|
+
# that would hit the same branch state again.
|
|
72
|
+
self.failure_record = Failure(
|
|
73
|
+
reason_code="human_decision_required",
|
|
74
|
+
action_code="decide",
|
|
75
|
+
retry_safe=False,
|
|
76
|
+
outcome="blocked",
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
|
|
44
80
|
def reconcile_pr_head(head_oid: str, local_head: str, *, branch: str,
|
|
45
81
|
worktree: Path, repo_dir: Path) -> None:
|
|
46
82
|
"""Make the local delivery branch consistent with the PR head.
|
|
@@ -54,7 +90,7 @@ def reconcile_pr_head(head_oid: str, local_head: str, *, branch: str,
|
|
|
54
90
|
commands run in.
|
|
55
91
|
"""
|
|
56
92
|
if not _commit_present(head_oid, cwd=worktree):
|
|
57
|
-
|
|
93
|
+
fetch_delivery_branch(repo_dir, branch, cwd=worktree)
|
|
58
94
|
if not _commit_present(head_oid, cwd=worktree):
|
|
59
95
|
event(
|
|
60
96
|
"pr_head_unreachable", level=logging.ERROR,
|
|
@@ -74,17 +110,34 @@ def reconcile_pr_head(head_oid: str, local_head: str, *, branch: str,
|
|
|
74
110
|
)
|
|
75
111
|
return
|
|
76
112
|
if not is_ancestor("HEAD", head_oid, cwd=worktree):
|
|
113
|
+
# Each side carries commits the other lacks: a rejected push left
|
|
114
|
+
# its own commits on the local branch while the pushed head moved
|
|
115
|
+
# on (Issue #2273). A plain merge keeps both, so the run continues
|
|
116
|
+
# instead of blocking every later run on the leftover branch — and
|
|
117
|
+
# the closeout's push is a fast-forward again.
|
|
77
118
|
event(
|
|
78
|
-
"pr_head_diverged",
|
|
79
|
-
|
|
80
|
-
)
|
|
81
|
-
raise RuntimeError(
|
|
82
|
-
f"PR head {head_oid} is not local HEAD {local_head} "
|
|
83
|
-
"and is not an ancestor of it (the branch diverged); "
|
|
84
|
-
"a plain push would be rejected and a force push is "
|
|
85
|
-
"forbidden, so the resume must not continue on this "
|
|
86
|
-
"branch"
|
|
119
|
+
"pr_head_diverged", pr_head=head_oid, local_head=local_head,
|
|
120
|
+
branch=branch,
|
|
87
121
|
)
|
|
122
|
+
try:
|
|
123
|
+
run_command(["git", "merge", head_oid], cwd=worktree)
|
|
124
|
+
except subprocess.CalledProcessError as exc:
|
|
125
|
+
run_command(["git", "merge", "--abort"], cwd=worktree)
|
|
126
|
+
event(
|
|
127
|
+
"delivery_branch_merge_conflict", level=logging.ERROR,
|
|
128
|
+
branch=branch, local_head=local_head, remote_head=head_oid,
|
|
129
|
+
# Git reports a merge conflict on stdout and a push
|
|
130
|
+
# rejection on stderr: the event carries whichever spoke.
|
|
131
|
+
output=((exc.stderr or "") + (exc.stdout or "")).strip(),
|
|
132
|
+
)
|
|
133
|
+
raise DeliveryBranchChangedError(
|
|
134
|
+
f"the delivery branch {branch} changed on GitHub and its "
|
|
135
|
+
"changes conflict with the commits this run carries; the "
|
|
136
|
+
f"merge was rolled back and the local head {local_head} is "
|
|
137
|
+
"unchanged",
|
|
138
|
+
branch=branch, stderr=exc.stderr,
|
|
139
|
+
) from exc
|
|
140
|
+
return
|
|
88
141
|
# `--ff-only`: the update is a fast-forward or nothing at all, so a
|
|
89
142
|
# head that moved between the ancestry probe and this line can never
|
|
90
143
|
# turn into a merge commit or a rewrite.
|
|
@@ -113,14 +166,16 @@ def _commit_present(commit: str, *, cwd: Path) -> bool:
|
|
|
113
166
|
return probe.returncode == 0
|
|
114
167
|
|
|
115
168
|
|
|
116
|
-
def
|
|
169
|
+
def fetch_delivery_branch(repo_dir: Path, branch: str, *, cwd: Path) -> None:
|
|
117
170
|
"""Fetch ``refs/heads/<branch>`` into its remote-tracking ref.
|
|
118
171
|
|
|
119
172
|
The fetch updates a SHARED remote-tracking ref, so it runs under the
|
|
120
173
|
base-sync lock like every other fetch. The destination is explicit: a
|
|
121
174
|
bare ``git fetch origin <branch>`` writes FETCH_HEAD only and creates
|
|
122
175
|
no ``refs/remotes/origin/<branch>`` when the clone's fetch refspec
|
|
123
|
-
does not cover that branch (Issue #898).
|
|
176
|
+
does not cover that branch (Issue #898). The closeout's delivery-branch
|
|
177
|
+
absorb (`orbi.delivery_push`, Issue #2273) reads the same ref,
|
|
178
|
+
so it shares this one fetch instead of a second copy.
|
|
124
179
|
"""
|
|
125
180
|
with _base_sync_lock(repo_dir):
|
|
126
181
|
run_git_network_command(
|
|
@@ -139,7 +139,8 @@ def verify_pr(ctx: RunContext, base_branch: str, *,
|
|
|
139
139
|
passed through — the next review session pushes the task branch on
|
|
140
140
|
the same PR; a PR head AHEAD of the local HEAD — GitHub's "Update
|
|
141
141
|
branch" — is fetched when absent and fast-forwarded onto; only a
|
|
142
|
-
diverged head is
|
|
142
|
+
diverged head is merged in, both sides kept, Issue #2273), the run
|
|
143
|
+
marker in the PR body, and the
|
|
143
144
|
`Fixes #<issue>`
|
|
144
145
|
keyword in the PR body (GitHub closes the source Issue
|
|
145
146
|
natively only when the body carries the keyword, so a PR without it
|
|
@@ -334,8 +335,10 @@ def verify_pr(ctx: RunContext, base_branch: str, *,
|
|
|
334
335
|
# it), and a PR head advanced on GitHub — the "Update branch"
|
|
335
336
|
# button merging the base into the branch — is fetched when this
|
|
336
337
|
# worktree lacks it and fast-forwarded onto. Only a real
|
|
337
|
-
# divergence (each side carries commits the other lacks)
|
|
338
|
-
# a plain
|
|
338
|
+
# divergence (each side carries commits the other lacks) is
|
|
339
|
+
# ABSORBED by a plain merge (both sides kept, Issue #2273): a
|
|
340
|
+
# rejected push's leftover commits continue instead of blocking
|
|
341
|
+
# every later run, and a force push is never used.
|
|
339
342
|
pr_head_sync.reconcile_pr_head(
|
|
340
343
|
head_oid, local_head, branch=branch, worktree=worktree,
|
|
341
344
|
repo_dir=repo_dir,
|
|
@@ -182,6 +182,7 @@ from orbi.pi_command import (
|
|
|
182
182
|
# calls them through the module and never imports a launcher name into
|
|
183
183
|
# its own namespace (Article 3.3: `pi_session` imports no runner).
|
|
184
184
|
from orbi import pi_session
|
|
185
|
+
from orbi import delivery_push
|
|
185
186
|
from orbi import review_merge
|
|
186
187
|
# The ops-only branch of the implementation dispatch is its own module
|
|
187
188
|
# (Issue #2006): the ops playbook and the evidence-only ops closeout live
|
|
@@ -1133,8 +1134,11 @@ def deliver_pr(ctx: RunContext, base_branch: str, base_sha: str, *,
|
|
|
1133
1134
|
commit boundary) and the PR opens on the Agent's head — the
|
|
1134
1135
|
existing review loop absorbs the base in-session, the state
|
|
1135
1136
|
machine is unchanged;
|
|
1136
|
-
3. push:
|
|
1137
|
-
|
|
1137
|
+
3. push: the commits the delivery branch already carries are
|
|
1138
|
+
absorbed first (`orbi.delivery_push`, Issue #2273 — a
|
|
1139
|
+
restarted session's pushed commits must not be a rejected push),
|
|
1140
|
+
then a plain push of the task branch (never a force push), verified
|
|
1141
|
+
against the remote head;
|
|
1138
1142
|
4. PR: exactly one open PR of the branch — created by the Runner
|
|
1139
1143
|
with the run marker and `Fixes #<issue>` in the body when absent,
|
|
1140
1144
|
verified by `verify_pr` with `require_latest_base=False` (this
|
|
@@ -1180,37 +1184,17 @@ def deliver_pr(ctx: RunContext, base_branch: str, base_sha: str, *,
|
|
|
1180
1184
|
run_state.delivery_commit_guard(
|
|
1181
1185
|
worktree, local_head=local_head, base_sha=base_sha, branch=branch,
|
|
1182
1186
|
)
|
|
1183
|
-
#
|
|
1184
|
-
#
|
|
1185
|
-
#
|
|
1186
|
-
#
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
worktree,
|
|
1187
|
+
# The delivery branch may already carry pushed commits this worktree
|
|
1188
|
+
# does not hold — a restarted (steered) session, a branch advanced on
|
|
1189
|
+
# GitHub, an earlier run of the Issue. Absorb them BEFORE the push, so
|
|
1190
|
+
# the plain push below is a fast-forward instead of a rejection that
|
|
1191
|
+
# left the Issue ai-blocked (Issue #2273).
|
|
1192
|
+
delivery_push.absorb_pushed_commits(
|
|
1193
|
+
worktree, branch, repo_dir=repo_dir,
|
|
1194
|
+
)
|
|
1195
|
+
delivery_push.absorb_advanced_base(
|
|
1196
|
+
worktree, base_branch, branch, repo_dir=repo_dir,
|
|
1190
1197
|
)
|
|
1191
|
-
if freshness is not run_state.BaseFreshness.FRESH:
|
|
1192
|
-
# The base advanced while the agent worked: absorb it with a
|
|
1193
|
-
# plain merge (the same base update the old agent prompt
|
|
1194
|
-
# required). A conflict is rolled back: the worktree returns
|
|
1195
|
-
# to the agent's exact commit boundary, the PR opens on the
|
|
1196
|
-
# agent's head, and the existing review loop (ai-fix-needed ->
|
|
1197
|
-
# the review session absorbs the base in-session) handles the
|
|
1198
|
-
# rest — the state machine is unchanged.
|
|
1199
|
-
try:
|
|
1200
|
-
run_command(
|
|
1201
|
-
["git", "merge", f"origin/{base_branch}"], cwd=worktree,
|
|
1202
|
-
)
|
|
1203
|
-
event(
|
|
1204
|
-
"base_absorbed", base_branch=base_branch, branch=branch,
|
|
1205
|
-
)
|
|
1206
|
-
except subprocess.CalledProcessError as exc:
|
|
1207
|
-
run_command(["git", "merge", "--abort"], cwd=worktree)
|
|
1208
|
-
event(
|
|
1209
|
-
"base_merge_conflict", level=logging.ERROR,
|
|
1210
|
-
base_branch=base_branch, branch=branch,
|
|
1211
|
-
returncode=exc.returncode,
|
|
1212
|
-
stderr=(exc.stderr or "").strip(),
|
|
1213
|
-
)
|
|
1214
1198
|
# Plain push of the task branch (never a force push), then verify
|
|
1215
1199
|
# the remote head: the PR must be created from exactly this head.
|
|
1216
1200
|
# The head is re-read after the absorb step: a successful base
|
|
@@ -1220,9 +1204,9 @@ def deliver_pr(ctx: RunContext, base_branch: str, base_sha: str, *,
|
|
|
1220
1204
|
# refspec does not cover it, e.g. a `--single-branch` clone
|
|
1221
1205
|
# (Issue #898).
|
|
1222
1206
|
local_head = run_command(["git", "rev-parse", "HEAD"], cwd=worktree)
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
)
|
|
1207
|
+
# A rejection here means the branch moved outside this run; the leaf's
|
|
1208
|
+
# typed failure names that in plain words (Issue #2273).
|
|
1209
|
+
delivery_push.push_delivery_branch(worktree, branch)
|
|
1226
1210
|
remote_head = gitops.remote_branch_head(branch, cwd=worktree)
|
|
1227
1211
|
if remote_head != local_head:
|
|
1228
1212
|
event(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: orbi-cli
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.51
|
|
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
|