orbi-cli 0.7.39__tar.gz → 0.7.41__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.
Files changed (252) hide show
  1. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/PKG-INFO +1 -1
  2. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/pyproject.toml +1 -1
  3. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/__init__.py +1 -1
  4. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/cli_commands.py +1 -1
  5. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/draft.py +112 -26
  6. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/draft_cli.py +8 -1
  7. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/extensions/draft_tools.ts +64 -6
  8. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/journal.py +1 -1
  9. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/suggest.py +141 -63
  10. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi_cli.egg-info/PKG-INFO +1 -1
  11. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_claude_plugin.py +90 -6
  12. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_draft.py +203 -21
  13. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_prompt_contract.py +47 -2
  14. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_public_contracts.py +9 -6
  15. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_suggest.py +326 -110
  16. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/LICENSE +0 -0
  17. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/README.md +0 -0
  18. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/docs/licenses/sustainable-use-license.md +0 -0
  19. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/setup.cfg +0 -0
  20. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/amend_command.py +0 -0
  21. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/base_ci_red.py +0 -0
  22. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/blocked_comment.py +0 -0
  23. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/branch_reclaim.py +0 -0
  24. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/check_permission.py +0 -0
  25. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/checks.py +0 -0
  26. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/claim.py +0 -0
  27. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/clarify.py +0 -0
  28. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/cli.py +0 -0
  29. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/cli_doctor.py +0 -0
  30. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/cli_parser.py +0 -0
  31. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/cli_source.py +0 -0
  32. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/cli_status.py +0 -0
  33. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/cli_ticket_command.py +0 -0
  34. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/comment_kind.py +0 -0
  35. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/comment_rest_id.py +0 -0
  36. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/comment_trust.py +0 -0
  37. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/config.py +0 -0
  38. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/delivery_comment.py +0 -0
  39. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/delivery_labels.py +0 -0
  40. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/delivery_scene.py +0 -0
  41. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/draft_marker.py +0 -0
  42. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/engine_source.py +0 -0
  43. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/example_config.toml +0 -0
  44. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/extensions/clarify_verdict.ts +0 -0
  45. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/failure.py +0 -0
  46. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/failure_report.py +0 -0
  47. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/gh_response.py +0 -0
  48. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/git_identity.py +0 -0
  49. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/git_transport.py +0 -0
  50. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/github.py +0 -0
  51. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/github_feedback.py +0 -0
  52. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/gitops.py +0 -0
  53. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/human_review.py +0 -0
  54. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/language.py +0 -0
  55. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/language_terms.py +0 -0
  56. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/launchd_deploy.py +0 -0
  57. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/merge_exec.py +0 -0
  58. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/merge_gate.py +0 -0
  59. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/merge_handoff.py +0 -0
  60. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/milestone.py +0 -0
  61. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/milestone_command.py +0 -0
  62. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/notify.py +0 -0
  63. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/ops_delivery.py +0 -0
  64. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pi_activity.py +0 -0
  65. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pi_command.py +0 -0
  66. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pi_idle.py +0 -0
  67. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pi_process.py +0 -0
  68. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pi_recovery.py +0 -0
  69. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pi_session.py +0 -0
  70. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pi_stream_log.py +0 -0
  71. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pilot_setup.py +0 -0
  72. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pilot_slots.py +0 -0
  73. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/pr_verification.py +0 -0
  74. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/progress.py +0 -0
  75. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/progress_display.py +0 -0
  76. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/progress_outcome.py +0 -0
  77. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/progress_summary.py +0 -0
  78. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/release.py +0 -0
  79. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/release_closeout.py +0 -0
  80. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/release_comments.py +0 -0
  81. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/release_declaration.py +0 -0
  82. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/release_git.py +0 -0
  83. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/release_notes.py +0 -0
  84. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/release_run.py +0 -0
  85. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/repo_config.py +0 -0
  86. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/resume_scan.py +0 -0
  87. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/resume_verification.py +0 -0
  88. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/review_merge.py +0 -0
  89. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/review_rounds.py +0 -0
  90. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/review_verdict.py +0 -0
  91. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/run_fields.py +0 -0
  92. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/run_state.py +0 -0
  93. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/runner.py +0 -0
  94. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/runner_health.py +0 -0
  95. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/runner_marker.py +0 -0
  96. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/runner_source.py +0 -0
  97. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/scene.py +0 -0
  98. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/scheduler.py +0 -0
  99. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/scheduler_units.py +0 -0
  100. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/session_command.py +0 -0
  101. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/setup_checks.py +0 -0
  102. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/setup_config.py +0 -0
  103. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/source_pool.py +0 -0
  104. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/split_command.py +0 -0
  105. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/status_observe.py +0 -0
  106. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/systemd_deploy.py +0 -0
  107. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/ticket_command.py +0 -0
  108. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/ticket_command_registry.py +0 -0
  109. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/ticket_criteria.py +0 -0
  110. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi/user_summary.py +0 -0
  111. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi_cli.egg-info/SOURCES.txt +0 -0
  112. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi_cli.egg-info/dependency_links.txt +0 -0
  113. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi_cli.egg-info/entry_points.txt +0 -0
  114. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/src/orbi_cli.egg-info/top_level.txt +0 -0
  115. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_agents_md.py +0 -0
  116. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_amend_command.py +0 -0
  117. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_apply_label_patch.py +0 -0
  118. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_base_branch_failure.py +0 -0
  119. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_base_ci_red.py +0 -0
  120. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_blocked_comment.py +0 -0
  121. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_adapters.py +0 -0
  122. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_delivery.py +0 -0
  123. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_pi.py +0 -0
  124. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_preflight.py +0 -0
  125. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_release.py +0 -0
  126. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_runner_claim_resume.py +0 -0
  127. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_runner_failure_report.py +0 -0
  128. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_runner_main.py +0 -0
  129. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_runner_milestone.py +0 -0
  130. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_runner_outcome.py +0 -0
  131. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_runner_prompt.py +0 -0
  132. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_runner_reconcile.py +0 -0
  133. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_runner_session.py +0 -0
  134. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_bootstrap_runner_tickets.py +0 -0
  135. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_branch_reclaim.py +0 -0
  136. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_check_permission.py +0 -0
  137. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_ci_failure_issue_workflow.py +0 -0
  138. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_ci_failure_triage.py +0 -0
  139. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_ci_macos_workflow.py +0 -0
  140. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_ci_workflow.py +0 -0
  141. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_clarify.py +0 -0
  142. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_cli_golden.py +0 -0
  143. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_cli_install.py +0 -0
  144. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_cli_milestone.py +0 -0
  145. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_cli_packaging.py +0 -0
  146. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_cli_source.py +0 -0
  147. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_cli_ticket_commands.py +0 -0
  148. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_command_receipt_contract.py +0 -0
  149. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_comment_identity.py +0 -0
  150. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_comment_readers_contract.py +0 -0
  151. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_comment_rest_id.py +0 -0
  152. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_comment_trust.py +0 -0
  153. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_concurrency_e2e.py +0 -0
  154. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_constitution.py +0 -0
  155. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_coverage_gate.py +0 -0
  156. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_deliver_pr_fakes.py +0 -0
  157. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_delivery_branch_delete.py +0 -0
  158. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_delivery_labels.py +0 -0
  159. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_delivery_scene.py +0 -0
  160. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docker_docs.py +0 -0
  161. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docker_entrypoint.py +0 -0
  162. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docker_image_workflow.py +0 -0
  163. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docs_i18n.py +0 -0
  164. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docs_issue_shapes.py +0 -0
  165. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docs_labels.py +0 -0
  166. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docs_mermaid.py +0 -0
  167. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docs_releases.py +0 -0
  168. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docs_single_source.py +0 -0
  169. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_docs_site.py +0 -0
  170. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_engine_source.py +0 -0
  171. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_failure.py +0 -0
  172. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_failure_report.py +0 -0
  173. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_fix_needed_loop.py +0 -0
  174. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_gh_read_retry.py +0 -0
  175. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_gh_response.py +0 -0
  176. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_git_base_smoke.py +0 -0
  177. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_git_merge_smoke.py +0 -0
  178. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_git_network_retry.py +0 -0
  179. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_git_transport.py +0 -0
  180. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_github.py +0 -0
  181. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_github_fakes.py +0 -0
  182. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_gitops.py +0 -0
  183. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_gitops_fakes.py +0 -0
  184. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_human_review.py +0 -0
  185. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_import_graph.py +0 -0
  186. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_install_sh.py +0 -0
  187. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_issue_1367.py +0 -0
  188. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_issue_461.py +0 -0
  189. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_issue_template_config.py +0 -0
  190. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_journal.py +0 -0
  191. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_journal_events.py +0 -0
  192. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_launchd_deploy.py +0 -0
  193. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_license.py +0 -0
  194. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_merge_exec_extraction.py +0 -0
  195. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_message_language.py +0 -0
  196. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_milestone_command.py +0 -0
  197. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_notify.py +0 -0
  198. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_ops_e2e.py +0 -0
  199. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_orbi.py +0 -0
  200. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_orbi_dashboard.py +0 -0
  201. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_orbi_exporter.py +0 -0
  202. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_patch_ratchet.py +0 -0
  203. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pi_activity.py +0 -0
  204. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pi_child_reap.py +0 -0
  205. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pi_command.py +0 -0
  206. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pi_extensions.py +0 -0
  207. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pi_provider_templates.py +0 -0
  208. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pi_recovery.py +0 -0
  209. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pi_session.py +0 -0
  210. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pilot_setup.py +0 -0
  211. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pilot_slots.py +0 -0
  212. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pr_issue_link_workflow.py +0 -0
  213. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_pr_verification.py +0 -0
  214. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_prerequisite_check.py +0 -0
  215. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_progress.py +0 -0
  216. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_progress_wiring.py +0 -0
  217. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_public_helpers.py +0 -0
  218. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_publish_workflow.py +0 -0
  219. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_release_docs_workflow.py +0 -0
  220. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_release_extraction.py +0 -0
  221. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_release_ticket_templates.py +0 -0
  222. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_repo_config.py +0 -0
  223. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_resume_continue_e2e.py +0 -0
  224. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_resume_e2e.py +0 -0
  225. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_resume_pr.py +0 -0
  226. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_review_merge.py +0 -0
  227. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_review_verdict.py +0 -0
  228. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_run_artifacts.py +0 -0
  229. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_run_fields.py +0 -0
  230. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_run_id_e2e.py +0 -0
  231. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_run_id_fixture.py +0 -0
  232. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_runner_config.py +0 -0
  233. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_runner_health.py +0 -0
  234. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_runner_source_freshness.py +0 -0
  235. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_scene.py +0 -0
  236. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_scheduler.py +0 -0
  237. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_seam.py +0 -0
  238. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_setup_output_golden.py +0 -0
  239. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_size_ratchet.py +0 -0
  240. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_split_command.py +0 -0
  241. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_src_layout.py +0 -0
  242. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_status_observe.py +0 -0
  243. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_steering_review.py +0 -0
  244. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_suite_hygiene.py +0 -0
  245. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_systemd_deploy.py +0 -0
  246. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_systemd_timer.py +0 -0
  247. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_ticket_command.py +0 -0
  248. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_ticket_command_registration.py +0 -0
  249. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_user_acceptance_contract.py +0 -0
  250. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_user_summary.py +0 -0
  251. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/tests/test_versioned_comment_block.py +0 -0
  252. {orbi_cli-0.7.39 → orbi_cli-0.7.41}/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.39
3
+ Version: 0.7.41
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.39"
47
+ version = "0.7.41"
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"
@@ -18,4 +18,4 @@ the package would shadow the installed package for every process with
18
18
  the checkout root on sys.path. The direct-execution compatibility entry
19
19
  is `python3 -m orbi.cli` (development path only).
20
20
  """
21
- __version__ = "0.7.39"
21
+ __version__ = "0.7.41"
@@ -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
 
@@ -106,6 +106,10 @@ 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
+ # 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.
111
+ RECOMMENDED_MARK = "(Recommended)"
112
+
109
113
  # The one rule that replaced the skill's "draft only the first slice": the
110
114
  # check reports single_outcome for a request that bundles independent
111
115
  # deliverables, so the drafter splits it BEFORE the check ever sees it.
@@ -116,9 +120,7 @@ SINGLE_OUTCOME_RULE = (
116
120
  "may therefore hold one Issue or many."
117
121
  )
118
122
 
119
- # The fixed drafting rules the hosted caller added itself move into the
120
- # engine (Issue #2041). They are page-independent: the ones about a hosted
121
- # web page stay with the caller.
123
+ # The drafting rules are the engine's own (Issues #2041, #2147).
122
124
  DRAFTING_RULES = (
123
125
  "Rules for every draft:\n"
124
126
  "- Write in the person's language: the Issue titles, the Issue bodies, "
@@ -127,14 +129,21 @@ DRAFTING_RULES = (
127
129
  "- Do not write the commit SHA.\n"
128
130
  "- Open the reply with one plain-language sentence of what will "
129
131
  "change.\n"
130
- "- Every Issue body carries an Assumptions section: one line per "
131
- "decision you took instead of asking, saying what you chose and "
132
- "why.\n"
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"
133
136
  "- Ask a question only when, after reading the repository, the request "
134
137
  "itself still does not say what to build — it is empty or contradicts "
135
138
  "itself — and no deliverable default version can be written. Then ask "
136
- "at most three questions, one sentence each, with no suggested "
137
- "answer.\n"
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"
138
147
  "- Every other disagreement — which library, font or place to use, "
139
148
  "what to leave out, how to word a deliverable version of a request "
140
149
  "that cannot be done as asked — is a decision: take the most "
@@ -193,12 +202,41 @@ class DraftIssue:
193
202
  return data
194
203
 
195
204
 
205
+ @dataclass(frozen=True)
206
+ class DraftOption:
207
+ """One choice a question offers: a short label and what it means."""
208
+
209
+ label: str
210
+ description: str
211
+
212
+ def as_json(self) -> dict:
213
+ return {"label": self.label, "description": self.description}
214
+
215
+
216
+ @dataclass(frozen=True)
217
+ class DraftQuestion:
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
+
221
+ question: str
222
+ header: str | None = None
223
+ options: tuple[DraftOption, ...] = ()
224
+
225
+ def as_json(self) -> dict:
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
232
+
233
+
196
234
  @dataclass(frozen=True)
197
235
  class DraftAnswer:
198
236
  """One drafting-session answer: questions, or a draft, never both."""
199
237
 
200
238
  reply: str
201
- questions: tuple[str, ...] = ()
239
+ questions: tuple[DraftQuestion, ...] = ()
202
240
  issues: tuple[DraftIssue, ...] = ()
203
241
 
204
242
 
@@ -207,7 +245,7 @@ class DraftRound:
207
245
  """One round as the caller reads it (the stdout contract)."""
208
246
 
209
247
  reply: str
210
- questions: tuple[str, ...] = ()
248
+ questions: tuple[DraftQuestion, ...] = ()
211
249
  issues: tuple[DraftIssue, ...] = ()
212
250
  check: str | None = None
213
251
  warning: str | None = None
@@ -215,7 +253,7 @@ class DraftRound:
215
253
  def as_json(self) -> dict:
216
254
  data: dict = {
217
255
  "reply": self.reply,
218
- "questions": list(self.questions),
256
+ "questions": [question.as_json() for question in self.questions],
219
257
  "issues": [issue.as_json() for issue in self.issues],
220
258
  }
221
259
  if self.check is not None:
@@ -231,6 +269,11 @@ def _invalid(detail: str) -> DraftError:
231
269
  return DraftError("invalid_input", "read stdin", detail)
232
270
 
233
271
 
272
+ def _unreadable(detail: str) -> DraftError:
273
+ """One answer the engine cannot read as a question (Issue #2136)."""
274
+ return DraftError("no_answer", "read the draft", detail)
275
+
276
+
234
277
  def read_payload(text: str) -> dict:
235
278
  """Parse one stdin document; a non-object or broken JSON fails fast."""
236
279
  try:
@@ -293,6 +336,61 @@ def parse_issues(value: object) -> tuple[DraftIssue, ...]:
293
336
  return tuple(issues)
294
337
 
295
338
 
339
+ def parse_options(value: object, position: int) -> tuple[DraftOption, ...]:
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
+ """
344
+ if value is None:
345
+ return ()
346
+ if not isinstance(value, list) or not 2 <= len(value) <= 4:
347
+ raise _unreadable(f"question {position} needs 2 to 4 options")
348
+ options: list[DraftOption] = []
349
+ for index, entry in enumerate(value, start=1):
350
+ if not isinstance(entry, dict):
351
+ raise _unreadable(
352
+ f"question {position}, option {index} is not an object")
353
+ label = entry.get("label")
354
+ description = entry.get("description")
355
+ if not isinstance(label, str) or not label.strip():
356
+ raise _unreadable(
357
+ f"question {position}, option {index} has no label")
358
+ if not isinstance(description, str) or not description.strip():
359
+ raise _unreadable(
360
+ f"question {position}, option {index} has no description")
361
+ options.append(
362
+ DraftOption(label=label.strip(), description=description.strip())
363
+ )
364
+ return tuple(options)
365
+
366
+
367
+ def parse_questions(value: object) -> tuple[DraftQuestion, ...]:
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).
370
+ """
371
+ if not isinstance(value, list) or not value:
372
+ raise _unreadable("the answer carries no questions")
373
+ questions: list[DraftQuestion] = []
374
+ for position, entry in enumerate(value, start=1):
375
+ if isinstance(entry, str):
376
+ entry = {"question": entry}
377
+ if not isinstance(entry, dict):
378
+ raise _unreadable(f"question {position} is not an object")
379
+ question, header = entry.get("question"), entry.get("header")
380
+ if not isinstance(question, str) or not question.strip():
381
+ raise _unreadable(f"question {position} has no question")
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
+ questions.append(DraftQuestion(
387
+ question=question.strip(),
388
+ header=header.strip() if header is not None else None,
389
+ options=parse_options(entry.get("options"), position),
390
+ ))
391
+ return tuple(questions)
392
+
393
+
296
394
  def parse_answer(value: object) -> DraftAnswer:
297
395
  """Parse the extension's answer file: a questions or a draft answer."""
298
396
  if not isinstance(value, dict):
@@ -307,22 +405,10 @@ def parse_answer(value: object) -> DraftAnswer:
307
405
  "no_answer", "read the draft", "the answer carries no reply",
308
406
  )
309
407
  if kind == "questions":
310
- questions = value.get("questions")
311
- if not isinstance(questions, list):
312
- raise DraftError(
313
- "no_answer", "read the draft",
314
- "the answer carries no questions",
315
- )
316
- kept = tuple(
317
- str(question).strip() for question in questions
318
- if str(question).strip()
408
+ return DraftAnswer(
409
+ reply=reply,
410
+ questions=parse_questions(value.get("questions")),
319
411
  )
320
- if not kept:
321
- raise DraftError(
322
- "no_answer", "read the draft",
323
- "the answer carries no questions",
324
- )
325
- return DraftAnswer(reply=reply, questions=kept)
326
412
  if kind == "draft":
327
413
  return DraftAnswer(reply=reply, issues=parse_issues(value.get("issues")))
328
414
  raise DraftError(
@@ -101,7 +101,14 @@ def _interactive(
101
101
  for position, question in enumerate(
102
102
  round_.questions, start=1,
103
103
  ):
104
- print(f"Q{position} — {question}", file=stdout)
104
+ print(
105
+ f"Q{position} — {question.question}", file=stdout,
106
+ )
107
+ for option in question.options:
108
+ print(
109
+ f" - {option.label}: {option.description}",
110
+ file=stdout,
111
+ )
105
112
  answer = _ask(stdin, stdout, "Your answers: ")
106
113
  if answer is None:
107
114
  return _declined(stdout)
@@ -71,15 +71,66 @@ const draftParameters = Type.Object(
71
71
  { additionalProperties: false },
72
72
  );
73
73
 
74
+ /**
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.
79
+ */
80
+ const askOption = Type.Object(
81
+ {
82
+ label: Type.String({
83
+ minLength: 1,
84
+ description: "One to five words: the choice the person picks",
85
+ }),
86
+ description: Type.String({
87
+ minLength: 1,
88
+ description: "One sentence: what it means or its trade-off",
89
+ }),
90
+ },
91
+ { additionalProperties: false },
92
+ );
93
+
94
+ const askQuestionObject = Type.Object(
95
+ {
96
+ question: Type.String({
97
+ minLength: 1,
98
+ description: "One sentence, in the person's language",
99
+ }),
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
+ ),
115
+ },
116
+ { additionalProperties: false },
117
+ );
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
+
74
125
  const askParameters = Type.Object(
75
126
  {
76
127
  reply: Type.String({
77
128
  description: "One plain-language sentence for the person",
78
129
  }),
79
- questions: Type.Array(Type.String({ minLength: 1 }), {
130
+ questions: Type.Array(askQuestion, {
80
131
  minItems: 1,
81
132
  maxItems: 3,
82
- description: "The numbered questions to ask, in the person's language",
133
+ description: "The questions to ask, in the person's language",
83
134
  }),
84
135
  },
85
136
  { additionalProperties: false },
@@ -116,10 +167,17 @@ export const askUserTool = {
116
167
  name: ASK_USER_TOOL,
117
168
  label: "Ask the person",
118
169
  description:
119
- "Ask the person up to three questions, one sentence each and with no " +
120
- "suggested answer. Call this only when the request itself does not " +
121
- "say what to build and no deliverable default can be written, and " +
122
- "never in the same turn as write_draft.",
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 " +
178
+ "when the request itself does not say what to build and no " +
179
+ "deliverable default can be written, and never in the same turn as " +
180
+ "write_draft.",
123
181
  parameters: askParameters,
124
182
  async execute(_toolCallId: string, args: object) {
125
183
  return writeAnswer("questions", args);
@@ -320,7 +320,7 @@ JOURNAL_EVENTS: dict[str, str] = {
320
320
  "suggest_started": "an orbi suggest run started (first line of its run)",
321
321
  "suggest_created": "orbi suggest filed or labeled an Issue",
322
322
  "suggest_failed": "an orbi suggest run failed (invalid result or failed gh call)",
323
- "suggest_size_invalid": "an orbi suggest suggestion carried a size that is not an integer; the document prints size=null",
323
+ "suggest_size_invalid": "an orbi suggest --size suggestion carried a size that is not an integer; the document prints size=null",
324
324
  "suggest_understanding_failed": "the parallel understanding session of orbi suggest failed or timed out (bypass: no understanding.md)",
325
325
  # Drafting (Issue #2041, `orbi draft`).
326
326
  "draft_session_failed": "a drafting session failed after it wrote its draft: the draft is returned (bypass)",