orbi-cli 0.7.40__tar.gz → 0.7.42__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.40/src/orbi_cli.egg-info → orbi_cli-0.7.42}/PKG-INFO +2 -2
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/README.md +1 -1
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/pyproject.toml +1 -1
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/__init__.py +1 -1
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/cli_commands.py +1 -1
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/config.py +10 -45
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/draft.py +40 -39
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/example_config.toml +12 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/extensions/draft_tools.ts +34 -23
- orbi_cli-0.7.42/src/orbi/implementation_delivery.py +961 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/journal.py +4 -4
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/repo_config.py +2 -2
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/runner.py +49 -648
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/suggest.py +141 -63
- orbi_cli-0.7.42/src/orbi/worktree_retention.py +135 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42/src/orbi_cli.egg-info}/PKG-INFO +2 -2
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi_cli.egg-info/SOURCES.txt +2 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_delivery.py +27 -8
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_runner_failure_report.py +3 -3
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_claude_plugin.py +83 -2
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_delivery_scene.py +36 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docs_releases.py +99 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_draft.py +93 -19
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_prompt_contract.py +47 -2
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_public_contracts.py +9 -6
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_release_docs_workflow.py +618 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_run_id_e2e.py +46 -6
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_size_ratchet.py +64 -13
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_suggest.py +326 -110
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_worktree_reclaim.py +252 -1
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/LICENSE +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/docs/licenses/sustainable-use-license.md +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/setup.cfg +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/amend_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/base_ci_red.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/blocked_comment.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/branch_reclaim.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/check_permission.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/checks.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/claim.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/clarify.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/cli.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/cli_doctor.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/cli_parser.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/cli_source.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/cli_status.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/cli_ticket_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/comment_kind.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/comment_rest_id.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/comment_trust.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/delivery_comment.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/delivery_labels.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/delivery_scene.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/draft_cli.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/draft_marker.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/engine_source.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/extensions/clarify_verdict.ts +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/failure.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/failure_report.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/gh_response.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/git_identity.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/git_transport.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/github.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/github_feedback.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/gitops.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/human_review.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/language.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/language_terms.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/launchd_deploy.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/merge_exec.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/merge_gate.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/merge_handoff.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/milestone.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/milestone_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/notify.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/ops_delivery.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pi_activity.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pi_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pi_idle.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pi_process.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pi_recovery.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pi_session.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pi_stream_log.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pilot_setup.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pilot_slots.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/pr_verification.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/progress.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/progress_display.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/progress_outcome.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/progress_summary.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/release.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/release_closeout.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/release_comments.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/release_declaration.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/release_git.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/release_notes.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/release_run.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/resume_scan.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/resume_verification.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/review_merge.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/review_rounds.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/review_verdict.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/run_fields.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/run_state.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/runner_health.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/runner_marker.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/runner_source.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/scene.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/scheduler.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/scheduler_units.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/session_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/setup_checks.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/setup_config.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/source_pool.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/split_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/status_observe.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/systemd_deploy.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/ticket_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/ticket_command_registry.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/ticket_criteria.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi/user_summary.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi_cli.egg-info/dependency_links.txt +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi_cli.egg-info/entry_points.txt +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/src/orbi_cli.egg-info/top_level.txt +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_agents_md.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_amend_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_apply_label_patch.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_base_branch_failure.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_base_ci_red.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_blocked_comment.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_adapters.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_pi.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_preflight.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_release.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_runner_claim_resume.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_runner_main.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_runner_milestone.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_runner_outcome.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_runner_prompt.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_runner_reconcile.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_runner_session.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_bootstrap_runner_tickets.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_branch_reclaim.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_check_permission.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_ci_failure_issue_workflow.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_ci_failure_triage.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_ci_macos_workflow.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_ci_workflow.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_clarify.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_cli_golden.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_cli_install.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_cli_milestone.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_cli_packaging.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_cli_source.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_cli_ticket_commands.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_command_receipt_contract.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_comment_identity.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_comment_readers_contract.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_comment_rest_id.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_comment_trust.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_concurrency_e2e.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_constitution.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_coverage_gate.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_deliver_pr_fakes.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_delivery_branch_delete.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_delivery_labels.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docker_docs.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docker_entrypoint.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docker_image_workflow.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docs_i18n.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docs_issue_shapes.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docs_labels.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docs_mermaid.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docs_single_source.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_docs_site.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_engine_source.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_failure.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_failure_report.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_fix_needed_loop.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_gh_read_retry.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_gh_response.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_git_base_smoke.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_git_merge_smoke.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_git_network_retry.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_git_transport.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_github.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_github_fakes.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_gitops.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_gitops_fakes.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_human_review.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_import_graph.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_install_sh.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_issue_1367.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_issue_461.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_issue_template_config.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_journal.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_journal_events.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_launchd_deploy.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_license.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_merge_exec_extraction.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_message_language.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_milestone_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_notify.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_ops_e2e.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_orbi.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_orbi_dashboard.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_orbi_exporter.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_patch_ratchet.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pi_activity.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pi_child_reap.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pi_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pi_extensions.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pi_provider_templates.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pi_recovery.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pi_session.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pilot_setup.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pilot_slots.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pr_issue_link_workflow.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_pr_verification.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_prerequisite_check.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_progress.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_progress_wiring.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_public_helpers.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_publish_workflow.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_release_extraction.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_release_ticket_templates.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_repo_config.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_resume_continue_e2e.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_resume_e2e.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_resume_pr.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_review_merge.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_review_verdict.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_run_artifacts.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_run_fields.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_run_id_fixture.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_runner_config.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_runner_health.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_runner_source_freshness.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_scene.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_scheduler.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_seam.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_setup_output_golden.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_split_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_src_layout.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_status_observe.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_steering_review.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_suite_hygiene.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_systemd_deploy.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_systemd_timer.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_ticket_command.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_ticket_command_registration.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_user_acceptance_contract.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/tests/test_user_summary.py +0 -0
- {orbi_cli-0.7.40 → orbi_cli-0.7.42}/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.42
|
|
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.42"
|
|
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"
|
|
@@ -203,7 +203,7 @@ def command_suggest(config: config_domain.RunnerConfig, args, parser) -> int:
|
|
|
203
203
|
repo = _selected_repo(config, args, parser)
|
|
204
204
|
return suggest.run_suggest(
|
|
205
205
|
config, repo, json_output=args.json, locale=args.locale,
|
|
206
|
-
count=args.count, dispatch_issue=dispatch_issue,
|
|
206
|
+
count=args.count, size=args.size, dispatch_issue=dispatch_issue,
|
|
207
207
|
)
|
|
208
208
|
|
|
209
209
|
|
|
@@ -22,9 +22,14 @@ 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
|
-
WORKTREE_RETAIN_HOURS = 72
|
|
28
33
|
|
|
29
34
|
def _config_path(value: str, base: Path) -> Path:
|
|
30
35
|
path = Path(os.path.expandvars(os.path.expanduser(value)))
|
|
@@ -168,6 +173,7 @@ class RunnerConfig:
|
|
|
168
173
|
model_wait_dead_seconds: float = PI_MODEL_WAIT_DEAD_SECONDS
|
|
169
174
|
issue_comments_limit: int = ISSUE_COMMENTS_LIMIT
|
|
170
175
|
worktree_retain_hours: float = WORKTREE_RETAIN_HOURS
|
|
176
|
+
keep_failed_worktrees: bool = KEEP_FAILED_WORKTREES
|
|
171
177
|
model_wait_probe_url: str | None = None
|
|
172
178
|
model_wait_probe_seconds: float = PI_MODEL_WAIT_PROBE_SECONDS
|
|
173
179
|
steering_enabled: bool = True
|
|
@@ -373,9 +379,8 @@ def load_config(path: Path, *, check_provider_api_keys: bool = True,
|
|
|
373
379
|
# Trusted-comment injection cap: how many of the
|
|
374
380
|
# Issue's trusted comments enter the agent's task context.
|
|
375
381
|
issue_comments_limit = _issue_comments_limit(data)
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
worktree_retain_hours = _worktree_retain_hours(data)
|
|
382
|
+
worktree_retain_hours = load_worktree_retain_hours(data)
|
|
383
|
+
keep_failed_worktrees = load_keep_failed_worktrees(data)
|
|
379
384
|
# Swallowed-model-request probe: the /slots endpoint
|
|
380
385
|
# (optional) and its sustained-idle grace (default 60 s). Absent URL
|
|
381
386
|
# -> the probe is disabled (the exact pre-#233 behavior: the run is
|
|
@@ -551,6 +556,7 @@ def load_config(path: Path, *, check_provider_api_keys: bool = True,
|
|
|
551
556
|
model_wait_dead_seconds=model_wait_dead_seconds,
|
|
552
557
|
issue_comments_limit=issue_comments_limit,
|
|
553
558
|
worktree_retain_hours=worktree_retain_hours,
|
|
559
|
+
keep_failed_worktrees=keep_failed_worktrees,
|
|
554
560
|
model_wait_probe_url=model_wait_probe_url,
|
|
555
561
|
model_wait_probe_seconds=model_wait_probe_seconds,
|
|
556
562
|
steering_enabled=steering_enabled,
|
|
@@ -724,47 +730,6 @@ def _model_wait_probe_url(data: dict) -> str | None:
|
|
|
724
730
|
return value
|
|
725
731
|
|
|
726
732
|
|
|
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
733
|
def _issue_comments_limit(data: dict) -> int:
|
|
769
734
|
"""Load and validate the optional `issue_comments_limit` (Issue
|
|
770
735
|
#745).
|
|
@@ -106,7 +106,8 @@ DECLINE = frozenset({"n", "no", "cancel", "q", "quit"})
|
|
|
106
106
|
# never converges must fail fast instead of spinning forever.
|
|
107
107
|
MAX_ROUNDS = 12
|
|
108
108
|
|
|
109
|
-
#
|
|
109
|
+
# A recommended option's label carries this suffix (the Claude Agent SDK
|
|
110
|
+
# convention); where it sits is the caller's business, never the engine's.
|
|
110
111
|
RECOMMENDED_MARK = "(Recommended)"
|
|
111
112
|
|
|
112
113
|
# The one rule that replaced the skill's "draft only the first slice": the
|
|
@@ -119,9 +120,7 @@ SINGLE_OUTCOME_RULE = (
|
|
|
119
120
|
"may therefore hold one Issue or many."
|
|
120
121
|
)
|
|
121
122
|
|
|
122
|
-
# The
|
|
123
|
-
# engine (Issue #2041). They are page-independent: the ones about a hosted
|
|
124
|
-
# web page stay with the caller.
|
|
123
|
+
# The drafting rules are the engine's own (Issues #2041, #2147).
|
|
125
124
|
DRAFTING_RULES = (
|
|
126
125
|
"Rules for every draft:\n"
|
|
127
126
|
"- Write in the person's language: the Issue titles, the Issue bodies, "
|
|
@@ -130,20 +129,21 @@ DRAFTING_RULES = (
|
|
|
130
129
|
"- Do not write the commit SHA.\n"
|
|
131
130
|
"- Open the reply with one plain-language sentence of what will "
|
|
132
131
|
"change.\n"
|
|
133
|
-
"-
|
|
134
|
-
"decision you took instead of asking, saying
|
|
135
|
-
"why
|
|
132
|
+
"- An Assumptions section appears only when you took at least one "
|
|
133
|
+
"decision: one line per decision you took instead of asking, saying "
|
|
134
|
+
"what you chose and why. With no decision taken, the Issue body "
|
|
135
|
+
"carries no Assumptions section.\n"
|
|
136
136
|
"- Ask a question only when, after reading the repository, the request "
|
|
137
137
|
"itself still does not say what to build — it is empty or contradicts "
|
|
138
138
|
"itself — and no deliverable default version can be written. Then ask "
|
|
139
|
-
"at most three questions in one call
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
139
|
+
"at most three questions in one call. A question is one sentence in "
|
|
140
|
+
"the person's language, with an OPTIONAL header of one to three words "
|
|
141
|
+
"naming the decision, and OPTIONAL 2 to 4 options when the person has "
|
|
142
|
+
"to pick: every option a label of one to five words plus one sentence "
|
|
143
|
+
"of what it means or its trade-off. When one option is the reasonable "
|
|
144
|
+
"default, its label ends with \"" + RECOMMENDED_MARK + "\". Never "
|
|
145
|
+
"add an \"Other\" option and never say the person chose the "
|
|
146
|
+
"recommended option: the person always answers in their own words.\n"
|
|
147
147
|
"- Every other disagreement — which library, font or place to use, "
|
|
148
148
|
"what to leave out, how to word a deliverable version of a request "
|
|
149
149
|
"that cannot be done as asked — is a decision: take the most "
|
|
@@ -215,19 +215,20 @@ class DraftOption:
|
|
|
215
215
|
|
|
216
216
|
@dataclass(frozen=True)
|
|
217
217
|
class DraftQuestion:
|
|
218
|
-
"""One question
|
|
219
|
-
naming the decision and 2–4 options
|
|
218
|
+
"""One question (Issues #2136, #2147): the question itself, an optional
|
|
219
|
+
header naming the decision and optional 2–4 options to pick from."""
|
|
220
220
|
|
|
221
221
|
question: str
|
|
222
|
-
header: str
|
|
223
|
-
options: tuple[DraftOption, ...]
|
|
222
|
+
header: str | None = None
|
|
223
|
+
options: tuple[DraftOption, ...] = ()
|
|
224
224
|
|
|
225
225
|
def as_json(self) -> dict:
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
"header"
|
|
229
|
-
|
|
230
|
-
|
|
226
|
+
data: dict = {"question": self.question}
|
|
227
|
+
if self.header is not None:
|
|
228
|
+
data["header"] = self.header
|
|
229
|
+
if self.options:
|
|
230
|
+
data["options"] = [option.as_json() for option in self.options]
|
|
231
|
+
return data
|
|
231
232
|
|
|
232
233
|
|
|
233
234
|
@dataclass(frozen=True)
|
|
@@ -336,11 +337,12 @@ def parse_issues(value: object) -> tuple[DraftIssue, ...]:
|
|
|
336
337
|
|
|
337
338
|
|
|
338
339
|
def parse_options(value: object, position: int) -> tuple[DraftOption, ...]:
|
|
339
|
-
"""Validate one question's options: 2 to 4, each a label
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
preselects from, so a marker anywhere else contradicts the page.
|
|
340
|
+
"""Validate one question's options WHEN it has any: 2 to 4, each a label
|
|
341
|
+
and a sentence. A question without options is valid, and where a
|
|
342
|
+
recommended option sits is the caller's business.
|
|
343
343
|
"""
|
|
344
|
+
if value is None:
|
|
345
|
+
return ()
|
|
344
346
|
if not isinstance(value, list) or not 2 <= len(value) <= 4:
|
|
345
347
|
raise _unreadable(f"question {position} needs 2 to 4 options")
|
|
346
348
|
options: list[DraftOption] = []
|
|
@@ -359,32 +361,31 @@ def parse_options(value: object, position: int) -> tuple[DraftOption, ...]:
|
|
|
359
361
|
options.append(
|
|
360
362
|
DraftOption(label=label.strip(), description=description.strip())
|
|
361
363
|
)
|
|
362
|
-
marked = [index for index, option in enumerate(options)
|
|
363
|
-
if option.label.endswith(RECOMMENDED_MARK)]
|
|
364
|
-
if marked and marked[0] != 0:
|
|
365
|
-
raise _unreadable(
|
|
366
|
-
f"question {position}: the recommended option must come first")
|
|
367
364
|
return tuple(options)
|
|
368
365
|
|
|
369
366
|
|
|
370
367
|
def parse_questions(value: object) -> tuple[DraftQuestion, ...]:
|
|
371
|
-
"""Validate a round's questions: the
|
|
372
|
-
|
|
373
|
-
A bare string question carries no options, so the page cannot show it.
|
|
368
|
+
"""Validate a round's questions: the shape the engine defines itself. A
|
|
369
|
+
bare string is a question with no header and no options (Issue #2147).
|
|
374
370
|
"""
|
|
375
371
|
if not isinstance(value, list) or not value:
|
|
376
372
|
raise _unreadable("the answer carries no questions")
|
|
377
373
|
questions: list[DraftQuestion] = []
|
|
378
374
|
for position, entry in enumerate(value, start=1):
|
|
375
|
+
if isinstance(entry, str):
|
|
376
|
+
entry = {"question": entry}
|
|
379
377
|
if not isinstance(entry, dict):
|
|
380
378
|
raise _unreadable(f"question {position} is not an object")
|
|
381
379
|
question, header = entry.get("question"), entry.get("header")
|
|
382
380
|
if not isinstance(question, str) or not question.strip():
|
|
383
381
|
raise _unreadable(f"question {position} has no question")
|
|
384
|
-
if
|
|
385
|
-
|
|
382
|
+
if header is not None and (
|
|
383
|
+
not isinstance(header, str) or not header.strip()
|
|
384
|
+
):
|
|
385
|
+
raise _unreadable(f"question {position} has an unreadable header")
|
|
386
386
|
questions.append(DraftQuestion(
|
|
387
|
-
question=question.strip(),
|
|
387
|
+
question=question.strip(),
|
|
388
|
+
header=header.strip() if header is not None else None,
|
|
388
389
|
options=parse_options(entry.get("options"), position),
|
|
389
390
|
))
|
|
390
391
|
return tuple(questions)
|
|
@@ -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
|
|
@@ -72,11 +72,10 @@ const draftParameters = Type.Object(
|
|
|
72
72
|
);
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* here.
|
|
75
|
+
* Issues #2136, #2147: a question is a sentence, with an OPTIONAL header
|
|
76
|
+
* naming the decision and OPTIONAL choices. The engine accepts a bare string
|
|
77
|
+
* as a question with no header and no options, so the schema does too; there
|
|
78
|
+
* is no "Other" option, because the person always answers in their own words.
|
|
80
79
|
*/
|
|
81
80
|
const askOption = Type.Object(
|
|
82
81
|
{
|
|
@@ -92,26 +91,37 @@ const askOption = Type.Object(
|
|
|
92
91
|
{ additionalProperties: false },
|
|
93
92
|
);
|
|
94
93
|
|
|
95
|
-
const
|
|
94
|
+
const askQuestionObject = Type.Object(
|
|
96
95
|
{
|
|
97
96
|
question: Type.String({
|
|
98
97
|
minLength: 1,
|
|
99
98
|
description: "One sentence, in the person's language",
|
|
100
99
|
}),
|
|
101
|
-
header: Type.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
100
|
+
header: Type.Optional(
|
|
101
|
+
Type.String({
|
|
102
|
+
minLength: 1,
|
|
103
|
+
description:
|
|
104
|
+
"Optional: one to three words naming the decision, e.g. Sharing",
|
|
105
|
+
}),
|
|
106
|
+
),
|
|
107
|
+
options: Type.Optional(
|
|
108
|
+
Type.Array(askOption, {
|
|
109
|
+
minItems: 2,
|
|
110
|
+
maxItems: 4,
|
|
111
|
+
description:
|
|
112
|
+
"Optional, when the person has to pick: the 2 to 4 choices; a recommended one ends its label with (Recommended)",
|
|
113
|
+
}),
|
|
114
|
+
),
|
|
111
115
|
},
|
|
112
116
|
{ additionalProperties: false },
|
|
113
117
|
);
|
|
114
118
|
|
|
119
|
+
/** A question is its sentence, or an object carrying it. */
|
|
120
|
+
const askQuestion = Type.Union([
|
|
121
|
+
Type.String({ minLength: 1 }),
|
|
122
|
+
askQuestionObject,
|
|
123
|
+
]);
|
|
124
|
+
|
|
115
125
|
const askParameters = Type.Object(
|
|
116
126
|
{
|
|
117
127
|
reply: Type.String({
|
|
@@ -157,13 +167,14 @@ export const askUserTool = {
|
|
|
157
167
|
name: ASK_USER_TOOL,
|
|
158
168
|
label: "Ask the person",
|
|
159
169
|
description:
|
|
160
|
-
"Ask the person up to three questions in one call.
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
170
|
+
"Ask the person up to three questions in one call. A question is " +
|
|
171
|
+
"one sentence, either bare or as an object with an OPTIONAL header " +
|
|
172
|
+
"of one to three words naming the decision and OPTIONAL 2 to 4 " +
|
|
173
|
+
"options, every option a label plus one sentence of what it means " +
|
|
174
|
+
"or its trade-off. When one option is the reasonable default, its " +
|
|
175
|
+
"label ends with (Recommended). Never add an Other option, and never " +
|
|
176
|
+
"say the person chose the recommended option: the person always " +
|
|
177
|
+
"answers in their own words. Call this only " +
|
|
167
178
|
"when the request itself does not say what to build and no " +
|
|
168
179
|
"deliverable default can be written, and never in the same turn as " +
|
|
169
180
|
"write_draft.",
|