orbi-cli 0.7.34__tar.gz → 0.7.35__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.34 → orbi_cli-0.7.35}/PKG-INFO +2 -1
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/README.md +1 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/pyproject.toml +1 -1
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/__init__.py +1 -1
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/draft.py +26 -7
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/example_config.toml +1 -1
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi_cli.egg-info/PKG-INFO +2 -1
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docker_docs.py +30 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docs_i18n.py +107 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docs_site.py +193 -5
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_draft.py +46 -2
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_public_contracts.py +29 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_runner_config.py +23 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/LICENSE +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/docs/licenses/sustainable-use-license.md +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/setup.cfg +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/amend_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/base_ci_red.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/blocked_comment.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/branch_reclaim.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/check_permission.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/checks.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/claim.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/clarify.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/cli.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/cli_commands.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/cli_doctor.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/cli_parser.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/cli_source.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/cli_status.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/cli_ticket_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/comment_kind.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/comment_rest_id.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/comment_trust.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/config.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/delivery_comment.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/delivery_labels.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/delivery_scene.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/draft_cli.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/draft_marker.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/engine_source.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/extensions/clarify_verdict.ts +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/extensions/draft_tools.ts +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/failure.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/failure_report.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/gh_response.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/git_identity.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/git_transport.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/github.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/github_feedback.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/gitops.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/human_review.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/journal.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/language.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/language_terms.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/launchd_deploy.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/merge_exec.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/merge_gate.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/merge_handoff.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/milestone.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/milestone_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/notify.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/ops_delivery.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pi_activity.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pi_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pi_idle.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pi_process.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pi_recovery.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pi_session.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pi_stream_log.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pilot_setup.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pilot_slots.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/pr_verification.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/progress.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/progress_display.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/progress_outcome.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/progress_summary.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/release.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/release_closeout.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/release_comments.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/release_declaration.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/release_git.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/release_notes.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/release_run.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/repo_config.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/resume_scan.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/resume_verification.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/review_merge.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/review_rounds.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/review_verdict.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/run_fields.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/run_state.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/runner.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/runner_health.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/runner_marker.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/runner_source.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/scene.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/scheduler.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/scheduler_units.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/session_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/setup_checks.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/setup_config.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/source_pool.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/split_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/status_observe.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/suggest.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/systemd_deploy.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/ticket_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/ticket_command_registry.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/ticket_criteria.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi/user_summary.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi_cli.egg-info/SOURCES.txt +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi_cli.egg-info/dependency_links.txt +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi_cli.egg-info/entry_points.txt +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/src/orbi_cli.egg-info/top_level.txt +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_agents_md.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_amend_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_apply_label_patch.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_base_branch_failure.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_base_ci_red.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_blocked_comment.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_adapters.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_delivery.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_pi.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_preflight.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_release.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_runner_claim_resume.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_runner_failure_report.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_runner_main.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_runner_milestone.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_runner_outcome.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_runner_prompt.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_runner_reconcile.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_runner_session.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_bootstrap_runner_tickets.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_branch_reclaim.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_check_permission.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_ci_failure_issue_workflow.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_ci_failure_triage.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_ci_macos_workflow.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_ci_workflow.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_clarify.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_claude_plugin.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_cli_golden.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_cli_install.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_cli_milestone.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_cli_packaging.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_cli_source.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_cli_ticket_commands.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_command_receipt_contract.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_comment_identity.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_comment_readers_contract.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_comment_rest_id.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_comment_trust.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_concurrency_e2e.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_constitution.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_coverage_gate.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_deliver_pr_fakes.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_delivery_branch_delete.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_delivery_labels.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_delivery_scene.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docker_entrypoint.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docker_image_workflow.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docs_issue_shapes.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docs_labels.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docs_mermaid.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docs_releases.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_docs_single_source.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_engine_source.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_failure.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_failure_report.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_fix_needed_loop.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_gh_read_retry.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_gh_response.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_git_base_smoke.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_git_merge_smoke.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_git_network_retry.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_git_transport.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_github.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_github_fakes.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_gitops.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_gitops_fakes.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_human_review.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_import_graph.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_install_sh.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_issue_1367.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_issue_461.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_issue_template_config.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_journal.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_journal_events.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_launchd_deploy.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_license.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_merge_exec_extraction.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_message_language.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_milestone_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_notify.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_ops_e2e.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_orbi.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_orbi_dashboard.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_orbi_exporter.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_patch_ratchet.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pi_activity.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pi_child_reap.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pi_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pi_extensions.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pi_provider_templates.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pi_recovery.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pi_session.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pilot_setup.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pilot_slots.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pr_issue_link_workflow.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_pr_verification.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_prerequisite_check.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_progress.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_progress_wiring.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_prompt_contract.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_public_helpers.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_publish_workflow.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_release_docs_workflow.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_release_extraction.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_release_ticket_templates.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_repo_config.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_resume_continue_e2e.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_resume_e2e.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_resume_pr.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_review_merge.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_review_verdict.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_run_artifacts.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_run_fields.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_run_id_e2e.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_run_id_fixture.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_runner_health.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_runner_source_freshness.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_scene.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_scheduler.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_seam.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_setup_output_golden.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_size_ratchet.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_split_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_src_layout.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_status_observe.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_steering_review.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_suggest.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_suite_hygiene.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_systemd_deploy.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_systemd_timer.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_ticket_command.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_ticket_command_registration.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_user_acceptance_contract.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_user_summary.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/tests/test_versioned_comment_block.py +0 -0
- {orbi_cli-0.7.34 → orbi_cli-0.7.35}/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.35
|
|
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
|
|
@@ -53,6 +53,7 @@ Choose the mode in [Getting started](docs/getting-started.mdx): bootstrap uses t
|
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
55
|
cp src/orbi/example_config.toml orbi.toml
|
|
56
|
+
# edit orbi.toml: set source_repos = ["OWNER/REPO"] (the repository whose Issues Orbi delivers)
|
|
56
57
|
orbi setup --config orbi.toml # 4. run one-time setup (checks prior gh auth, labels, scheduler units (systemd/launchd), and checkout; idempotent)
|
|
57
58
|
PYTHONPATH=src python3 -m orbi.runner --config orbi.toml # 5. manually run one tick (for initial verification; the timer schedules normal runs)
|
|
58
59
|
orbi doctor --config orbi.toml # 6. verify deployment health
|
|
@@ -37,6 +37,7 @@ Choose the mode in [Getting started](docs/getting-started.mdx): bootstrap uses t
|
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
cp src/orbi/example_config.toml orbi.toml
|
|
40
|
+
# edit orbi.toml: set source_repos = ["OWNER/REPO"] (the repository whose Issues Orbi delivers)
|
|
40
41
|
orbi setup --config orbi.toml # 4. run one-time setup (checks prior gh auth, labels, scheduler units (systemd/launchd), and checkout; idempotent)
|
|
41
42
|
PYTHONPATH=src python3 -m orbi.runner --config orbi.toml # 5. manually run one tick (for initial verification; the timer schedules normal runs)
|
|
42
43
|
orbi doctor --config orbi.toml # 6. verify deployment health
|
|
@@ -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.35"
|
|
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"
|
|
@@ -542,7 +542,13 @@ def check_draft(
|
|
|
542
542
|
|
|
543
543
|
|
|
544
544
|
def _parse_revised(output: str) -> tuple[DraftIssue, ...] | None:
|
|
545
|
-
"""The fidelity pass answer, or None
|
|
545
|
+
"""The titles and bodies of the fidelity pass answer, or None.
|
|
546
|
+
|
|
547
|
+
The pass only revises titles and bodies (Issue #2085): the order is the
|
|
548
|
+
drafter's, so its `after` fields are dropped here and never judged. A
|
|
549
|
+
revision that moved `after` onto the wrong Issue is still a usable
|
|
550
|
+
revision, and judging its copy would throw the whole pass away.
|
|
551
|
+
"""
|
|
546
552
|
text = output.strip()
|
|
547
553
|
if text.startswith("{") is False:
|
|
548
554
|
start = text.find("{")
|
|
@@ -554,8 +560,14 @@ def _parse_revised(output: str) -> tuple[DraftIssue, ...] | None:
|
|
|
554
560
|
data = json.loads(text)
|
|
555
561
|
except ValueError:
|
|
556
562
|
return None
|
|
563
|
+
entries = data.get("issues")
|
|
564
|
+
if not isinstance(entries, list):
|
|
565
|
+
return None
|
|
557
566
|
try:
|
|
558
|
-
return parse_issues(
|
|
567
|
+
return parse_issues([
|
|
568
|
+
{**entry, "after": None} if isinstance(entry, dict) else entry
|
|
569
|
+
for entry in entries
|
|
570
|
+
])
|
|
559
571
|
except DraftError:
|
|
560
572
|
return None
|
|
561
573
|
|
|
@@ -566,9 +578,13 @@ def fidelity_pass(
|
|
|
566
578
|
) -> tuple[tuple[DraftIssue, ...], str | None]:
|
|
567
579
|
"""Run the independent fidelity pass; never fails the round.
|
|
568
580
|
|
|
569
|
-
The pass
|
|
570
|
-
|
|
571
|
-
and
|
|
581
|
+
The pass revises titles and bodies only (Issue #2085): the returned
|
|
582
|
+
Issues are the answer's wording at the drafter's positions, so the
|
|
583
|
+
number of Issues and every `after` link stay exactly as the drafter
|
|
584
|
+
wrote them. The pass is a bypass (Issue #79): a missing rules file, a
|
|
585
|
+
failed or empty session, an unusable answer or a different Issue count
|
|
586
|
+
keeps the draft the drafter wrote and the round reports it in the
|
|
587
|
+
`warning` field.
|
|
572
588
|
"""
|
|
573
589
|
rules_path = Path(config.deploy_home) / FIDELITY_REL
|
|
574
590
|
try:
|
|
@@ -588,9 +604,12 @@ def fidelity_pass(
|
|
|
588
604
|
except Exception as exc:
|
|
589
605
|
return issues, f"fidelity_pass_failed: {type(exc).__name__}"
|
|
590
606
|
revised = _parse_revised(output)
|
|
591
|
-
if revised is None:
|
|
607
|
+
if revised is None or len(revised) != len(issues):
|
|
592
608
|
return issues, "fidelity_pass_empty"
|
|
593
|
-
return
|
|
609
|
+
return tuple(
|
|
610
|
+
DraftIssue(title=entry.title, body=entry.body, after=drafted.after)
|
|
611
|
+
for entry, drafted in zip(revised, issues)
|
|
612
|
+
), None
|
|
594
613
|
|
|
595
614
|
|
|
596
615
|
# --- one drafting round --------------------------------------------------
|
|
@@ -198,7 +198,7 @@ engine_source_track = "release"
|
|
|
198
198
|
# positive number.
|
|
199
199
|
# model_wait_probe_seconds = 60
|
|
200
200
|
# Maximum concurrent Pilot tasks and enabled Runner timers on this machine.
|
|
201
|
-
# Must be 1
|
|
201
|
+
# Must be 1–5 (MAX_RUNNER_INSTANCES); missing means 1. The local AI/GPU can only serve one stable task, so keep
|
|
202
202
|
# the default. A slot (flock on <repo_dir>/.orbi/slots/slot-N) is
|
|
203
203
|
# taken before any claim and held for the whole delivery lifecycle
|
|
204
204
|
# (implement -> review -> fix -> merge); the kernel releases it when the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: orbi-cli
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.35
|
|
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
|
|
@@ -53,6 +53,7 @@ Choose the mode in [Getting started](docs/getting-started.mdx): bootstrap uses t
|
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
55
|
cp src/orbi/example_config.toml orbi.toml
|
|
56
|
+
# edit orbi.toml: set source_repos = ["OWNER/REPO"] (the repository whose Issues Orbi delivers)
|
|
56
57
|
orbi setup --config orbi.toml # 4. run one-time setup (checks prior gh auth, labels, scheduler units (systemd/launchd), and checkout; idempotent)
|
|
57
58
|
PYTHONPATH=src python3 -m orbi.runner --config orbi.toml # 5. manually run one tick (for initial verification; the timer schedules normal runs)
|
|
58
59
|
orbi doctor --config orbi.toml # 6. verify deployment health
|
|
@@ -30,6 +30,10 @@ DOC_FILES = (
|
|
|
30
30
|
)
|
|
31
31
|
DOCS_PAGE = DOC_FILES[0]
|
|
32
32
|
ZH_DOC = REPO_ROOT / "docs" / "zh" / "docker.mdx"
|
|
33
|
+
SECURITY_PAGES = (
|
|
34
|
+
REPO_ROOT / "docs" / "security.mdx",
|
|
35
|
+
REPO_ROOT / "docs" / "zh" / "security.mdx",
|
|
36
|
+
)
|
|
33
37
|
SETUP_ENTRYPOINT = REPO_ROOT / "3rd" / "docker" / "docker-entrypoint.sh"
|
|
34
38
|
HUB_README = REPO_ROOT / "3rd" / "docker" / "README.dockerhub.md"
|
|
35
39
|
|
|
@@ -222,6 +226,32 @@ def test_entrypoint_and_docs_agree_on_the_variable_surface():
|
|
|
222
226
|
)
|
|
223
227
|
|
|
224
228
|
|
|
229
|
+
def test_security_docs_name_the_real_github_credential():
|
|
230
|
+
"""Issue #2097: the security page's credential-routing red line named
|
|
231
|
+
`ORBI_GITHUB_TOKEN`, a variable nothing reads (no hit in src/,
|
|
232
|
+
systemd/, launchd/, tools/ or the Docker entrypoint). The real
|
|
233
|
+
credential is gh's own token — `GH_TOKEN` in the Docker image, which
|
|
234
|
+
the entrypoint requires and writes into the env file. Both security
|
|
235
|
+
pages name that one."""
|
|
236
|
+
entrypoint = ENTRYPOINT.read_text(encoding="utf-8")
|
|
237
|
+
assert "GH_TOKEN is required" in entrypoint, (
|
|
238
|
+
"the entrypoint's fail-fast guard is the real contract"
|
|
239
|
+
)
|
|
240
|
+
assert "GH_TOKEN=$GH_TOKEN" in entrypoint, (
|
|
241
|
+
"the entrypoint writes GH_TOKEN into the env file gh reads"
|
|
242
|
+
)
|
|
243
|
+
for page in SECURITY_PAGES:
|
|
244
|
+
text = page.read_text(encoding="utf-8")
|
|
245
|
+
assert "ORBI_GITHUB_TOKEN" not in text, (
|
|
246
|
+
f"{page.relative_to(REPO_ROOT)} names ORBI_GITHUB_TOKEN, "
|
|
247
|
+
"which no code reads"
|
|
248
|
+
)
|
|
249
|
+
assert "GH_TOKEN" in text, (
|
|
250
|
+
f"{page.relative_to(REPO_ROOT)} must name GH_TOKEN, the Docker "
|
|
251
|
+
"image's GitHub credential"
|
|
252
|
+
)
|
|
253
|
+
|
|
254
|
+
|
|
225
255
|
def test_one_wiring_table_explains_the_three_paths():
|
|
226
256
|
"""One table per docs file explains how the repository, the GitHub
|
|
227
257
|
token and the model key/provider reach the runner — plus the two
|
|
@@ -25,8 +25,14 @@ REPO_ROOT = Path(__file__).resolve().parent.parent
|
|
|
25
25
|
DOCS_DIR = REPO_ROOT / "docs"
|
|
26
26
|
ZH_DIR = DOCS_DIR / "zh"
|
|
27
27
|
README = REPO_ROOT / "README.md"
|
|
28
|
+
ZH_README = REPO_ROOT / "README.zh-CN.md"
|
|
28
29
|
EXAMPLE_CONFIG = REPO_ROOT / "src" / "orbi" / "example_config.toml"
|
|
29
30
|
|
|
31
|
+
# The Chinese README's link to the external single-repo mode (Issue #2087).
|
|
32
|
+
# `[^)]+` stops at the ASCII `)` closing the markdown destination; the
|
|
33
|
+
# full-width `(` / `)` inside the fragment are ordinary characters there.
|
|
34
|
+
EXTERNAL_MODE_LINK = re.compile(r"\[External single-repo mode\]\(([^)\s]+)\)")
|
|
35
|
+
|
|
30
36
|
# One page per English topic page (same structure, same slugs).
|
|
31
37
|
REQUIRED_ZH_PAGES = (
|
|
32
38
|
"index",
|
|
@@ -285,6 +291,33 @@ def test_english_homepage_carries_a_descriptive_frontmatter_title():
|
|
|
285
291
|
)
|
|
286
292
|
|
|
287
293
|
|
|
294
|
+
# Card destinations on the Chinese home page: internal hrefs are page paths
|
|
295
|
+
# (`/...`); an external `https://` destination would not start with `/` and
|
|
296
|
+
# is therefore outside this check.
|
|
297
|
+
CARD_HREF = re.compile(r'<Card\b[^>]*\bhref="([^"]+)"')
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
def test_chinese_homepage_cards_link_the_chinese_pages():
|
|
301
|
+
"""Issue #2100: the Chinese home page is the Chinese entry point, so
|
|
302
|
+
every card that stays inside the docs must land on the Chinese
|
|
303
|
+
counterpart (`/zh/...`). The operations card still pointed at the
|
|
304
|
+
English `/operations#event-reference`, sending a Chinese reader to
|
|
305
|
+
the English event-reference table; the fragment test in
|
|
306
|
+
tests/test_docs_site.py pinned the anchor's existence but not the
|
|
307
|
+
language of the page behind it. The fragment of a `/zh/` card is
|
|
308
|
+
still resolved against the Chinese page by that test."""
|
|
309
|
+
hrefs = CARD_HREF.findall(zh_page_text("index"))
|
|
310
|
+
assert hrefs, "the Chinese home page must carry its cards"
|
|
311
|
+
wrong = [
|
|
312
|
+
href for href in hrefs
|
|
313
|
+
if href.startswith("/") and not href.startswith("/zh/")
|
|
314
|
+
]
|
|
315
|
+
assert not wrong, (
|
|
316
|
+
"Chinese home cards must link the Chinese pages (/zh/...), "
|
|
317
|
+
f"found English targets: {wrong}"
|
|
318
|
+
)
|
|
319
|
+
|
|
320
|
+
|
|
288
321
|
def test_chinese_overview_names_the_task_pool_and_mvp_boundary():
|
|
289
322
|
"""The Chinese overview (index) must say what the project is (GitHub
|
|
290
323
|
Issue task pool) and the explicit MVP boundary (no database/queue/
|
|
@@ -543,6 +576,18 @@ def test_chinese_testing_documents_the_contract_commands():
|
|
|
543
576
|
assert "tools/diff_coverage_gate.py" in text, (
|
|
544
577
|
"testing must show the changed-code gate command"
|
|
545
578
|
)
|
|
579
|
+
assert "python3 tools/patch_ratchet.py" in text, (
|
|
580
|
+
"testing must show the patch ratchet CI runs (Issue #2098)"
|
|
581
|
+
)
|
|
582
|
+
assert "python3 tools/size_ratchet.py" in text, (
|
|
583
|
+
"testing must show the size ratchet CI runs (Issue #2098)"
|
|
584
|
+
)
|
|
585
|
+
assert "tools/patch_ratchet.py --update" in text, (
|
|
586
|
+
"testing must document the patch ratchet refreeze flag (Issue #2098)"
|
|
587
|
+
)
|
|
588
|
+
assert "tools/size_ratchet.py --update" in text, (
|
|
589
|
+
"testing must document the size ratchet refreeze flag (Issue #2098)"
|
|
590
|
+
)
|
|
546
591
|
assert "95%" in text, "testing must state the 95% line/branch tiers"
|
|
547
592
|
assert "100%" in text, (
|
|
548
593
|
"testing must state the 100% changed-code and core-path tiers"
|
|
@@ -607,6 +652,31 @@ def test_chinese_kv_cache_page_matches_the_upstream_port_contract():
|
|
|
607
652
|
)
|
|
608
653
|
|
|
609
654
|
|
|
655
|
+
def test_chinese_kv_cache_install_commands_match_the_unit_paths():
|
|
656
|
+
"""Issue #2079: same contract as the English page — the upstream unit
|
|
657
|
+
hard-codes `WorkingDirectory=%h/server-ops/local-llm-kv-cache` and
|
|
658
|
+
`ExecStart=/usr/bin/python3 %h/server-ops/local-llm-kv-cache/cache_proxy.py`
|
|
659
|
+
(verified against the upstream repo, service file lines 8-9), so the
|
|
660
|
+
Chinese install block must clone there and copy the unit from that
|
|
661
|
+
clone, and say that cloning elsewhere needs both unit lines edited."""
|
|
662
|
+
text = zh_page_text("optional-kv-cache")
|
|
663
|
+
assert (
|
|
664
|
+
"git clone https://github.com/xqliu/local-llm-kv-cache.git "
|
|
665
|
+
"~/server-ops/local-llm-kv-cache" in text
|
|
666
|
+
), "zh: the install command must clone to the unit's WorkingDirectory path"
|
|
667
|
+
assert (
|
|
668
|
+
"cp ~/server-ops/local-llm-kv-cache/local-llm-kv-cache.service "
|
|
669
|
+
"~/.config/systemd/user/" in text
|
|
670
|
+
), "zh: the unit must be copied from the cloned path the unit points at"
|
|
671
|
+
assert "WorkingDirectory" in text and "ExecStart" in text, (
|
|
672
|
+
"zh: the page must say the unit's WorkingDirectory/ExecStart name "
|
|
673
|
+
"this path, so cloning elsewhere needs both lines edited"
|
|
674
|
+
)
|
|
675
|
+
assert "cd local-llm-kv-cache" not in text, (
|
|
676
|
+
"zh: the old clone-into-cwd block no longer matches the unit"
|
|
677
|
+
)
|
|
678
|
+
|
|
679
|
+
|
|
610
680
|
def test_chinese_docs_document_the_uv_prerequisite_boundary():
|
|
611
681
|
"""Issue #156: the Chinese docs carry the same initialization
|
|
612
682
|
boundary as the English page — the user installs uv (official
|
|
@@ -678,6 +748,43 @@ def test_readme_points_at_the_chinese_docs_entry():
|
|
|
678
748
|
)
|
|
679
749
|
|
|
680
750
|
|
|
751
|
+
def test_chinese_readme_external_single_repo_link_lands_on_its_section():
|
|
752
|
+
"""Issue #2087 (finding R1 of #2073): the Chinese README's
|
|
753
|
+
"External single-repo mode" link must land on the
|
|
754
|
+
「外部单仓库模式(deploy_home)」 section.
|
|
755
|
+
|
|
756
|
+
The Chinese heading renders two different anchor ids: the docs site
|
|
757
|
+
(Mintlify) keeps the full-width parentheses (`外部单仓库模式(deploy_home)`,
|
|
758
|
+
verified on https://docs.orbi.build/zh/getting-started) while GitHub's
|
|
759
|
+
slugger strips them (`外部单仓库模式deploy_home`). The English anchor
|
|
760
|
+
(`external-single-repo-mode-deploy_home`) matches neither, so the link
|
|
761
|
+
did not move. The link therefore targets the docs site with the id it
|
|
762
|
+
really renders."""
|
|
763
|
+
text = ZH_README.read_text(encoding="utf-8")
|
|
764
|
+
match = EXTERNAL_MODE_LINK.search(text)
|
|
765
|
+
assert match is not None, (
|
|
766
|
+
"README.zh-CN.md must link the external single-repo mode section"
|
|
767
|
+
)
|
|
768
|
+
page, _, fragment = match.group(1).partition("#")
|
|
769
|
+
assert page == "https://docs.orbi.build/zh/getting-started", (
|
|
770
|
+
"the Chinese README's external single-repo mode link must target the "
|
|
771
|
+
f"Chinese getting-started docs page, got {page!r}"
|
|
772
|
+
)
|
|
773
|
+
heading = "### 外部单仓库模式(deploy_home)"
|
|
774
|
+
zh_page = (ZH_DIR / "getting-started.mdx").read_text(encoding="utf-8")
|
|
775
|
+
assert heading in zh_page, (
|
|
776
|
+
"docs/zh/getting-started.mdx must keep the "
|
|
777
|
+
"「外部单仓库模式(deploy_home)」 heading the README links"
|
|
778
|
+
)
|
|
779
|
+
# Mintlify renders a heading's id as its text verbatim (it does not strip
|
|
780
|
+
# the full-width parentheses), which is why the fragment is the heading
|
|
781
|
+
# text and not the English anchor.
|
|
782
|
+
assert fragment == heading.removeprefix("### "), (
|
|
783
|
+
"the link fragment must be the id the docs site renders for that "
|
|
784
|
+
f"heading ({heading.removeprefix('### ')!r}), got {fragment!r}"
|
|
785
|
+
)
|
|
786
|
+
|
|
787
|
+
|
|
681
788
|
def test_chinese_getting_started_clones_the_orbi_build_org_repo():
|
|
682
789
|
"""Issue #183: same clone-URL contract as the English page — the
|
|
683
790
|
repository moved to the orbi-build org, and the Chinese smoke
|
|
@@ -28,6 +28,8 @@ import pytest
|
|
|
28
28
|
|
|
29
29
|
import orbi.runner as runner
|
|
30
30
|
import orbi.release_run as release_run
|
|
31
|
+
import orbi.cli as cli
|
|
32
|
+
from orbi.ticket_command_registry import ticket_commands
|
|
31
33
|
|
|
32
34
|
REPO_ROOT = Path(__file__).resolve().parent.parent
|
|
33
35
|
DOCS_DIR = REPO_ROOT / "docs"
|
|
@@ -635,6 +637,31 @@ def test_docs_ship_the_five_step_quickstart_in_both_languages():
|
|
|
635
637
|
assert "curl -LsSf https://raw.githubusercontent.com/orbi-build/orbi/main/install.sh | bash" in zh
|
|
636
638
|
|
|
637
639
|
|
|
640
|
+
def test_quickstart_commands_work_on_macos():
|
|
641
|
+
"""Issue #2074: every quickstart command must run as written on macOS.
|
|
642
|
+
|
|
643
|
+
`sed -i.bak` is the portable in-place form (the same one install.sh
|
|
644
|
+
uses); BSD sed reads the `-e` after a bare `-i` as the backup suffix.
|
|
645
|
+
The runner start and its log must carry the launchd commands the
|
|
646
|
+
scheduler itself emits (label `org.orbi.runner.1`, instance log under
|
|
647
|
+
`<repo_dir>/.orbi/<label>.log`), not only the systemd ones."""
|
|
648
|
+
for page in (DOCS_DIR / "quickstart.mdx", DOCS_DIR / "zh" / "quickstart.mdx"):
|
|
649
|
+
text = page.read_text(encoding="utf-8")
|
|
650
|
+
assert (
|
|
651
|
+
"sed -i.bak -e '/^pi_providers = /d' -e '/^pi_provider = /d' "
|
|
652
|
+
"-e '/^pi_model = /d' orbi.toml && rm -f orbi.toml.bak"
|
|
653
|
+
) in text, f"{page}: provider edit must use the portable sed form"
|
|
654
|
+
assert "sed -i -e" not in text, (
|
|
655
|
+
f"{page}: a bare sed -i -e breaks BSD sed (macOS)"
|
|
656
|
+
)
|
|
657
|
+
assert (
|
|
658
|
+
"launchctl kickstart -k gui/$(id -u)/org.orbi.runner.1" in text
|
|
659
|
+
), f"{page}: must carry the launchd start command"
|
|
660
|
+
assert "~/.orbi/src/.orbi/org.orbi.runner.1.log" in text, (
|
|
661
|
+
f"{page}: must carry the launchd instance log path"
|
|
662
|
+
)
|
|
663
|
+
|
|
664
|
+
|
|
638
665
|
def test_docs_navigation_matches_the_actual_pages_exactly():
|
|
639
666
|
"""KISS: one group per topic per language, every page listed once, no
|
|
640
667
|
orphan page outside the navigation and no navigation entry without a
|
|
@@ -1223,8 +1250,35 @@ def test_docs_document_operations_commands():
|
|
|
1223
1250
|
assert "ExecStartPre" in text, "operations must document the code-update preflight"
|
|
1224
1251
|
|
|
1225
1252
|
|
|
1226
|
-
def
|
|
1227
|
-
"""The
|
|
1253
|
+
def _missing_subcommands(public_surface: str, names) -> list[str]:
|
|
1254
|
+
"""The names absent from a public-surface section, word-boundary
|
|
1255
|
+
matched so `milestone` counts inside `milestone set`."""
|
|
1256
|
+
missing: list[str] = []
|
|
1257
|
+
for name in names:
|
|
1258
|
+
if not re.search(
|
|
1259
|
+
rf"(?<![\w-]){re.escape(name)}(?![\w-])", public_surface,
|
|
1260
|
+
):
|
|
1261
|
+
missing.append(name)
|
|
1262
|
+
return missing
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
def test_operations_public_surface_matches_cli_config_and_concurrency(capsys):
|
|
1266
|
+
"""The localized public-surface summaries must not repeat stale limits
|
|
1267
|
+
and must list the full public surface (Issue #2081): every CLI
|
|
1268
|
+
subcommand `orbi --help` shows, every registered in-ticket command and
|
|
1269
|
+
the `ai-awaiting-merge` label state — in both languages."""
|
|
1270
|
+
with pytest.raises(SystemExit) as excinfo:
|
|
1271
|
+
cli.main(["--help"])
|
|
1272
|
+
assert excinfo.value.code == 0
|
|
1273
|
+
usage = capsys.readouterr().out
|
|
1274
|
+
choices = re.search(r"\{([^}]*)\}", usage)
|
|
1275
|
+
assert choices, f"no subcommand choices in --help output: {usage}"
|
|
1276
|
+
subcommands = choices.group(1).split(",")
|
|
1277
|
+
# The matcher itself fails on an absent name (a check that only asks
|
|
1278
|
+
# "did anything fail?" must not pass on an empty result).
|
|
1279
|
+
assert _missing_subcommands(
|
|
1280
|
+
"`add`, `milestone set`", ["add", "milestone", "draft"],
|
|
1281
|
+
) == ["draft"]
|
|
1228
1282
|
for slug, heading, config_link in (
|
|
1229
1283
|
("operations", "Public surface", "/configuration"),
|
|
1230
1284
|
("zh/operations", "公开表面", "/zh/configuration"),
|
|
@@ -1235,16 +1289,42 @@ def test_operations_public_surface_matches_cli_config_and_concurrency():
|
|
|
1235
1289
|
)
|
|
1236
1290
|
assert section, f"{slug} must have a {heading} section"
|
|
1237
1291
|
public_surface = section.group()
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1292
|
+
missing = _missing_subcommands(public_surface, subcommands)
|
|
1293
|
+
assert not missing, (
|
|
1294
|
+
f"{slug} public surface must list the CLI subcommands {missing}"
|
|
1295
|
+
)
|
|
1296
|
+
for spec in ticket_commands():
|
|
1297
|
+
assert f"/orbi {spec.subcommand}" in public_surface, (
|
|
1298
|
+
f"{slug} public surface must list the in-ticket command "
|
|
1299
|
+
f"/orbi {spec.subcommand}"
|
|
1241
1300
|
)
|
|
1301
|
+
assert "ai-awaiting-merge" in public_surface, (
|
|
1302
|
+
f"{slug} public surface must list the ai-awaiting-merge label state"
|
|
1303
|
+
)
|
|
1242
1304
|
assert f"]({config_link})" in public_surface
|
|
1243
1305
|
assert "MAX_RUNNER_INSTANCES = 5" in public_surface
|
|
1244
1306
|
assert "permits `1` or `2`" not in text
|
|
1245
1307
|
assert "只允许 `1` 或 `2`" not in text
|
|
1246
1308
|
|
|
1247
1309
|
|
|
1310
|
+
def test_operations_zh_carries_the_idle_stall_recovery_and_doctor_facts():
|
|
1311
|
+
"""Issue #2081 (C3, C4): the Chinese Operations page carries the same
|
|
1312
|
+
`pi_idle_term` / `pi_idle_kill` paragraph and the same `deploy_home`
|
|
1313
|
+
doctor item as the English one — the ZH page used to name the two
|
|
1314
|
+
events in the table only and omitted the deployment-home check."""
|
|
1315
|
+
english = page_text("operations")
|
|
1316
|
+
chinese = page_text("zh/operations")
|
|
1317
|
+
for marker in ("subset=pid", "pid_reused"):
|
|
1318
|
+
assert marker in english, f"EN operations lost the idle-recovery {marker!r}"
|
|
1319
|
+
assert marker in chinese, (
|
|
1320
|
+
f"ZH operations must carry the idle-recovery paragraph ({marker!r})"
|
|
1321
|
+
)
|
|
1322
|
+
for slug, text in (("operations", english), ("zh/operations", chinese)):
|
|
1323
|
+
assert "deploy_home: clean" in text, (
|
|
1324
|
+
f"{slug} doctor example must list the deploy_home cleanliness check"
|
|
1325
|
+
)
|
|
1326
|
+
|
|
1327
|
+
|
|
1248
1328
|
def test_docs_document_the_security_boundary():
|
|
1249
1329
|
"""Security: the AI never merges or pushes the protected branch (the
|
|
1250
1330
|
Runner is the only merge actor), the GitHub token is a local secret,
|
|
@@ -1279,6 +1359,18 @@ def test_docs_document_tests_and_coverage_commands():
|
|
|
1279
1359
|
assert "tools/diff_coverage_gate.py" in text, (
|
|
1280
1360
|
"testing must show the changed-code gate command"
|
|
1281
1361
|
)
|
|
1362
|
+
assert "python3 tools/patch_ratchet.py" in text, (
|
|
1363
|
+
"testing must show the patch ratchet CI runs (Issue #2098)"
|
|
1364
|
+
)
|
|
1365
|
+
assert "python3 tools/size_ratchet.py" in text, (
|
|
1366
|
+
"testing must show the size ratchet CI runs (Issue #2098)"
|
|
1367
|
+
)
|
|
1368
|
+
assert "tools/patch_ratchet.py --update" in text, (
|
|
1369
|
+
"testing must document the patch ratchet refreeze flag (Issue #2098)"
|
|
1370
|
+
)
|
|
1371
|
+
assert "tools/size_ratchet.py --update" in text, (
|
|
1372
|
+
"testing must document the size ratchet refreeze flag (Issue #2098)"
|
|
1373
|
+
)
|
|
1282
1374
|
assert "95%" in text, "testing must state the 95% line/branch tiers"
|
|
1283
1375
|
assert "100%" in text, (
|
|
1284
1376
|
"testing must state the 100% changed-code and core-path tiers"
|
|
@@ -1440,6 +1532,69 @@ def test_docs_document_the_five_minute_timer():
|
|
|
1440
1532
|
)
|
|
1441
1533
|
|
|
1442
1534
|
|
|
1535
|
+
def test_docs_state_the_current_idle_recovery_limit():
|
|
1536
|
+
"""Issue #2077: the idle-stall recovery cap is
|
|
1537
|
+
`PI_IDLE_RECOVERY_CYCLES` idle windows — `PI_IDLE_WAIT_MAX_SECONDS`
|
|
1538
|
+
(3600 s) / `PI_IDLE_WARN_SECONDS` (300 s) = 12, about one hour — and
|
|
1539
|
+
the terminal reason is `idle_recovery_stale_<duration>`
|
|
1540
|
+
(pi_process.py: `idle_recovery_stale_{format_duration(stale)}`). The
|
|
1541
|
+
pages that state the limit (operations and getting-started, EN and
|
|
1542
|
+
ZH) must carry the code's own numbers, not the pre-#1089 15-minute
|
|
1543
|
+
value, so an operator reading `reason=idle_recovery_stale_1h5m` in the
|
|
1544
|
+
journal finds the same limit in the docs."""
|
|
1545
|
+
import orbi.pi_idle as pi_idle
|
|
1546
|
+
|
|
1547
|
+
cycles = pi_idle.PI_IDLE_RECOVERY_CYCLES
|
|
1548
|
+
window = int(pi_idle.PI_IDLE_WARN_SECONDS)
|
|
1549
|
+
|
|
1550
|
+
def flat(text: str) -> str:
|
|
1551
|
+
# Wrap-proof: the statements span lines in the sources.
|
|
1552
|
+
return re.sub(r"\s+", " ", text)
|
|
1553
|
+
|
|
1554
|
+
en_ops = flat(page_text("operations"))
|
|
1555
|
+
zh_ops = flat((DOCS_DIR / "zh" / "operations.mdx").read_text(encoding="utf-8"))
|
|
1556
|
+
en_start = flat(page_text("getting-started"))
|
|
1557
|
+
zh_start = flat(
|
|
1558
|
+
(DOCS_DIR / "zh" / "getting-started.mdx").read_text(encoding="utf-8")
|
|
1559
|
+
)
|
|
1560
|
+
|
|
1561
|
+
# C1: the `run_failed` reason bullet names the real window count.
|
|
1562
|
+
assert f"`PI_IDLE_RECOVERY_CYCLES` ({cycles} idle windows" in en_ops, (
|
|
1563
|
+
f"operations must state PI_IDLE_RECOVERY_CYCLES = {cycles} idle windows "
|
|
1564
|
+
"(pi_idle.py: PI_IDLE_WAIT_MAX_SECONDS / PI_IDLE_WARN_SECONDS)"
|
|
1565
|
+
)
|
|
1566
|
+
assert f"({cycles} 个 idle 窗口" in zh_ops, (
|
|
1567
|
+
f"zh/operations must state PI_IDLE_RECOVERY_CYCLES = {cycles} 个 idle 窗口"
|
|
1568
|
+
)
|
|
1569
|
+
|
|
1570
|
+
# A7: the getting-started troubleshooting row names the real cap.
|
|
1571
|
+
assert f"{cycles} × {window} s windows" in en_start, (
|
|
1572
|
+
f"getting-started must state the idle-recovery cap as "
|
|
1573
|
+
f"{cycles} × {window} s windows (about one hour)"
|
|
1574
|
+
)
|
|
1575
|
+
assert f"{cycles} 个 {window} 秒窗口" in zh_start, (
|
|
1576
|
+
f"zh/getting-started must state the idle-recovery cap as "
|
|
1577
|
+
f"{cycles} 个 {window} 秒窗口(约 1 小时)"
|
|
1578
|
+
)
|
|
1579
|
+
|
|
1580
|
+
# C2: the `session_pending` scene names the current stale reason.
|
|
1581
|
+
for text, page in ((en_ops, "operations"), (zh_ops, "zh/operations")):
|
|
1582
|
+
assert "idle_recovery_stale_1h" in text, (
|
|
1583
|
+
f"{page} must name the current idle-recovery stale reason "
|
|
1584
|
+
"(idle_recovery_stale_1h…, about one hour), not 15 minutes"
|
|
1585
|
+
)
|
|
1586
|
+
|
|
1587
|
+
# No non-release page keeps the pre-#1089 15-minute claim.
|
|
1588
|
+
for path in docs_files():
|
|
1589
|
+
if path.stem.startswith("release-v"):
|
|
1590
|
+
continue # frozen release history (Issue #2077 scope)
|
|
1591
|
+
content = path.read_text(encoding="utf-8")
|
|
1592
|
+
assert "idle_recovery_stale_15m" not in content, (
|
|
1593
|
+
f"{path}: states the retired 15-minute idle-recovery cap; the "
|
|
1594
|
+
f"current cap is {cycles} × {window} s idle windows (about one hour)"
|
|
1595
|
+
)
|
|
1596
|
+
|
|
1597
|
+
|
|
1443
1598
|
def test_docs_kv_cache_page_matches_the_upstream_port_contract():
|
|
1444
1599
|
"""The upstream proxy's CODE default port is 8081
|
|
1445
1600
|
(cache_proxy.py: os.environ.get("PI_LLAMA_CACHE_PORT", "8081"));
|
|
@@ -1463,6 +1618,39 @@ def test_docs_kv_cache_page_matches_the_upstream_port_contract():
|
|
|
1463
1618
|
)
|
|
1464
1619
|
|
|
1465
1620
|
|
|
1621
|
+
def test_docs_kv_cache_install_commands_match_the_unit_paths():
|
|
1622
|
+
"""Issue #2079: the upstream unit hard-codes the clone path —
|
|
1623
|
+
`WorkingDirectory=%h/server-ops/local-llm-kv-cache` and
|
|
1624
|
+
`ExecStart=/usr/bin/python3 %h/server-ops/local-llm-kv-cache/cache_proxy.py`
|
|
1625
|
+
(verified with `gh api
|
|
1626
|
+
repos/xqliu/local-llm-kv-cache/contents/local-llm-kv-cache.service`,
|
|
1627
|
+
lines 8-9). Cloning into the caller's current directory leaves the
|
|
1628
|
+
unit unable to start — systemd cannot enter the missing
|
|
1629
|
+
`WorkingDirectory` (`Changing to the requested working directory
|
|
1630
|
+
failed: No such file or directory`, `status=200/CHDIR`) — and
|
|
1631
|
+
`/health` is unreachable. The documented block must clone to the path
|
|
1632
|
+
the unit expects and copy the unit from that clone."""
|
|
1633
|
+
text = page_text("optional-kv-cache")
|
|
1634
|
+
assert (
|
|
1635
|
+
"git clone https://github.com/xqliu/local-llm-kv-cache.git "
|
|
1636
|
+
"~/server-ops/local-llm-kv-cache" in text
|
|
1637
|
+
), (
|
|
1638
|
+
"the install command must clone to the unit's WorkingDirectory path "
|
|
1639
|
+
"(~/server-ops/local-llm-kv-cache)"
|
|
1640
|
+
)
|
|
1641
|
+
assert (
|
|
1642
|
+
"cp ~/server-ops/local-llm-kv-cache/local-llm-kv-cache.service "
|
|
1643
|
+
"~/.config/systemd/user/" in text
|
|
1644
|
+
), "the unit must be copied from the cloned path the unit points at"
|
|
1645
|
+
assert "WorkingDirectory" in text and "ExecStart" in text, (
|
|
1646
|
+
"the page must say the unit's WorkingDirectory/ExecStart name this "
|
|
1647
|
+
"path, so cloning elsewhere needs both lines edited"
|
|
1648
|
+
)
|
|
1649
|
+
assert "cd local-llm-kv-cache" not in text, (
|
|
1650
|
+
"the old clone-into-cwd block no longer matches the unit"
|
|
1651
|
+
)
|
|
1652
|
+
|
|
1653
|
+
|
|
1466
1654
|
def test_readme_keeps_the_docs_site_entry():
|
|
1467
1655
|
"""Issue #183 (v0.3.0 rebrand): the root README stays the GitHub
|
|
1468
1656
|
homepage and must carry the documentation site entry — the bound
|
|
@@ -334,6 +334,47 @@ def test_an_empty_fidelity_pass_returns_the_draft_with_a_warning(
|
|
|
334
334
|
assert len(answer["issues"]) == 2
|
|
335
335
|
|
|
336
336
|
|
|
337
|
+
# Issue #2085: the pass only revises titles and bodies; the number of
|
|
338
|
+
# Issues and every `after` link stay exactly as the drafter wrote them.
|
|
339
|
+
def test_a_fidelity_answer_that_moves_after_still_revises_the_draft(
|
|
340
|
+
config, sessions, monkeypatch, tmp_path,
|
|
341
|
+
):
|
|
342
|
+
draft_fakes.judge_passing(monkeypatch)
|
|
343
|
+
sessions.queue_draft(*TWO_ISSUES)
|
|
344
|
+
sessions.fidelity.append(json.dumps({"issues": [
|
|
345
|
+
issue("Tag a note, revised", after=1),
|
|
346
|
+
issue("Filter notes, revised"),
|
|
347
|
+
]}))
|
|
348
|
+
code, out, err = run_round_cli(
|
|
349
|
+
config, {"message": "notes"}, tmp_path / "session",
|
|
350
|
+
)
|
|
351
|
+
assert code == 0, err
|
|
352
|
+
answer = json.loads(out)
|
|
353
|
+
assert "warning" not in answer
|
|
354
|
+
assert [entry["title"] for entry in answer["issues"]] == [
|
|
355
|
+
"Tag a note, revised", "Filter notes, revised",
|
|
356
|
+
]
|
|
357
|
+
# The drafter's order survives the pass's copy of `after`.
|
|
358
|
+
assert [entry.get("after") for entry in answer["issues"]] == [None, 1]
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
def test_a_fidelity_answer_with_another_issue_count_keeps_the_draft(
|
|
362
|
+
config, sessions, monkeypatch, tmp_path,
|
|
363
|
+
):
|
|
364
|
+
draft_fakes.judge_passing(monkeypatch)
|
|
365
|
+
sessions.queue_draft(*TWO_ISSUES)
|
|
366
|
+
sessions.fidelity.append(json.dumps({
|
|
367
|
+
"issues": [issue("Tag a note, revised")],
|
|
368
|
+
}))
|
|
369
|
+
code, out, err = run_round_cli(
|
|
370
|
+
config, {"message": "notes"}, tmp_path / "session",
|
|
371
|
+
)
|
|
372
|
+
assert code == 0, err
|
|
373
|
+
answer = json.loads(out)
|
|
374
|
+
assert answer["warning"] == "fidelity_pass_empty"
|
|
375
|
+
assert answer["issues"] == TWO_ISSUES
|
|
376
|
+
|
|
377
|
+
|
|
337
378
|
def test_a_failed_fidelity_pass_never_fails_the_round(
|
|
338
379
|
config, sessions, monkeypatch, tmp_path,
|
|
339
380
|
):
|
|
@@ -977,6 +1018,9 @@ def test_the_fidelity_session_uses_the_configured_agent_dir(
|
|
|
977
1018
|
("no json at all", "fidelity_pass_empty"),
|
|
978
1019
|
("{broken", "fidelity_pass_empty"),
|
|
979
1020
|
('{"issues": []}', "fidelity_pass_empty"),
|
|
1021
|
+
("{}", "fidelity_pass_empty"),
|
|
1022
|
+
('{"issues": "junk"}', "fidelity_pass_empty"),
|
|
1023
|
+
('{"issues": ["junk"]}', "fidelity_pass_empty"),
|
|
980
1024
|
],
|
|
981
1025
|
)
|
|
982
1026
|
def test_an_unusable_fidelity_answer_keeps_the_draft(
|
|
@@ -999,7 +1043,7 @@ def test_a_fidelity_answer_may_be_wrapped_in_text(
|
|
|
999
1043
|
):
|
|
1000
1044
|
draft_fakes.judge_passing(monkeypatch)
|
|
1001
1045
|
sessions.queue_draft(*TWO_ISSUES)
|
|
1002
|
-
revised = json.dumps({"issues":
|
|
1046
|
+
revised = json.dumps({"issues": TWO_ISSUES})
|
|
1003
1047
|
sessions.fidelity.append(f"Here is the revised draft:\n{revised}\nDone.")
|
|
1004
1048
|
code, out, err = run_round_cli(
|
|
1005
1049
|
config, {"message": "notes"}, tmp_path / "session",
|
|
@@ -1007,7 +1051,7 @@ def test_a_fidelity_answer_may_be_wrapped_in_text(
|
|
|
1007
1051
|
assert code == 0, err
|
|
1008
1052
|
answer = json.loads(out)
|
|
1009
1053
|
assert "warning" not in answer
|
|
1010
|
-
assert answer["issues"] ==
|
|
1054
|
+
assert answer["issues"] == TWO_ISSUES
|
|
1011
1055
|
|
|
1012
1056
|
|
|
1013
1057
|
def test_a_missing_fidelity_file_is_only_a_warning(
|