orcho-core 0.1.0__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.
- orcho_core-0.1.0/LICENSE +201 -0
- orcho_core-0.1.0/PKG-INFO +282 -0
- orcho_core-0.1.0/README.md +243 -0
- orcho_core-0.1.0/agents/__init__.py +41 -0
- orcho_core-0.1.0/agents/command_guard.py +336 -0
- orcho_core-0.1.0/agents/entities.py +70 -0
- orcho_core-0.1.0/agents/protocols.py +135 -0
- orcho_core-0.1.0/agents/pty_diagnostics.py +43 -0
- orcho_core-0.1.0/agents/registry.py +267 -0
- orcho_core-0.1.0/agents/runtimes/__init__.py +32 -0
- orcho_core-0.1.0/agents/runtimes/_failures.py +232 -0
- orcho_core-0.1.0/agents/runtimes/_strategy.py +1952 -0
- orcho_core-0.1.0/agents/runtimes/auth.py +180 -0
- orcho_core-0.1.0/agents/runtimes/claude.py +789 -0
- orcho_core-0.1.0/agents/runtimes/codex.py +790 -0
- orcho_core-0.1.0/agents/runtimes/codex_telemetry.py +225 -0
- orcho_core-0.1.0/agents/runtimes/gemini.py +494 -0
- orcho_core-0.1.0/agents/runtimes/identity.py +125 -0
- orcho_core-0.1.0/agents/stall_protocol.py +223 -0
- orcho_core-0.1.0/agents/stream.py +759 -0
- orcho_core-0.1.0/agents/stream_parsers/__init__.py +47 -0
- orcho_core-0.1.0/agents/stream_parsers/claude_jsonl.py +273 -0
- orcho_core-0.1.0/agents/stream_parsers/codex_jsonl.py +239 -0
- orcho_core-0.1.0/agents/stream_parsers/gemini_jsonl.py +226 -0
- orcho_core-0.1.0/agents/stream_parsers/skill_registry.py +94 -0
- orcho_core-0.1.0/agents/stream_parsers/tool_invocations.py +411 -0
- orcho_core-0.1.0/agents/stream_stall.py +131 -0
- orcho_core-0.1.0/cli/_formatters.py +1410 -0
- orcho_core-0.1.0/cli/_help.py +193 -0
- orcho_core-0.1.0/cli/_profile_menu.py +310 -0
- orcho_core-0.1.0/cli/_profile_prompt.py +371 -0
- orcho_core-0.1.0/cli/_repair_state.py +116 -0
- orcho_core-0.1.0/cli/_run.py +30 -0
- orcho_core-0.1.0/cli/_task_prompt.py +61 -0
- orcho_core-0.1.0/cli/install_guard.py +138 -0
- orcho_core-0.1.0/cli/orcho.py +1693 -0
- orcho_core-0.1.0/core/__init__.py +16 -0
- orcho_core-0.1.0/core/_config/config.defaults.json +121 -0
- orcho_core-0.1.0/core/_config/pipeline_profiles_v2.json +596 -0
- orcho_core-0.1.0/core/_config/pricing.openai.snapshot.json +9 -0
- orcho_core-0.1.0/core/_prompts/AGENTS.md +64 -0
- orcho_core-0.1.0/core/_prompts/CLAUDE.md +1 -0
- orcho_core-0.1.0/core/_prompts/README.md +192 -0
- orcho_core-0.1.0/core/_prompts/formats/bullets.md +2 -0
- orcho_core-0.1.0/core/_prompts/formats/compact.md +4 -0
- orcho_core-0.1.0/core/_prompts/formats/detailed.md +3 -0
- orcho_core-0.1.0/core/_prompts/formats/handoff.md +2 -0
- orcho_core-0.1.0/core/_prompts/formats/terse.md +2 -0
- orcho_core-0.1.0/core/_prompts/roles/code_reviewer.md +13 -0
- orcho_core-0.1.0/core/_prompts/roles/implementation_engineer.md +11 -0
- orcho_core-0.1.0/core/_prompts/roles/plan_reviewer.md +21 -0
- orcho_core-0.1.0/core/_prompts/roles/product_owner.md +11 -0
- orcho_core-0.1.0/core/_prompts/roles/release_manager.md +14 -0
- orcho_core-0.1.0/core/_prompts/roles/systems_architect.md +22 -0
- orcho_core-0.1.0/core/_prompts/tasks/code_review.md +17 -0
- orcho_core-0.1.0/core/_prompts/tasks/commit_message.md +30 -0
- orcho_core-0.1.0/core/_prompts/tasks/correction_triage.md +25 -0
- orcho_core-0.1.0/core/_prompts/tasks/cross_contract_bundle.md +11 -0
- orcho_core-0.1.0/core/_prompts/tasks/cross_final_acceptance.md +40 -0
- orcho_core-0.1.0/core/_prompts/tasks/cross_plan.md +28 -0
- orcho_core-0.1.0/core/_prompts/tasks/cross_replan.md +21 -0
- orcho_core-0.1.0/core/_prompts/tasks/cross_validate_plan.md +31 -0
- orcho_core-0.1.0/core/_prompts/tasks/decompose.md +21 -0
- orcho_core-0.1.0/core/_prompts/tasks/final_acceptance.md +59 -0
- orcho_core-0.1.0/core/_prompts/tasks/handoff_advice.md +32 -0
- orcho_core-0.1.0/core/_prompts/tasks/hypothesis.md +10 -0
- orcho_core-0.1.0/core/_prompts/tasks/implement.md +21 -0
- orcho_core-0.1.0/core/_prompts/tasks/plan.md +24 -0
- orcho_core-0.1.0/core/_prompts/tasks/readonly_plan.md +2 -0
- orcho_core-0.1.0/core/_prompts/tasks/repair_changes.md +20 -0
- orcho_core-0.1.0/core/_prompts/tasks/replan.md +18 -0
- orcho_core-0.1.0/core/_prompts/tasks/review_uncommitted.md +8 -0
- orcho_core-0.1.0/core/_prompts/tasks/validate_hypothesis.md +13 -0
- orcho_core-0.1.0/core/_prompts/tasks/validate_plan.md +25 -0
- orcho_core-0.1.0/core/context/__init__.py +330 -0
- orcho_core-0.1.0/core/contracts/__init__.py +0 -0
- orcho_core-0.1.0/core/contracts/commit_decision_schema.py +803 -0
- orcho_core-0.1.0/core/contracts/cross_plan_schema.py +259 -0
- orcho_core-0.1.0/core/contracts/plan_schema.py +249 -0
- orcho_core-0.1.0/core/contracts/release_schema.py +283 -0
- orcho_core-0.1.0/core/contracts/review_schema.py +153 -0
- orcho_core-0.1.0/core/contracts/subtask_attestation_schema.py +141 -0
- orcho_core-0.1.0/core/infra/__init__.py +20 -0
- orcho_core-0.1.0/core/infra/config.py +859 -0
- orcho_core-0.1.0/core/infra/lazy.py +43 -0
- orcho_core-0.1.0/core/infra/paths.py +72 -0
- orcho_core-0.1.0/core/infra/platform.py +223 -0
- orcho_core-0.1.0/core/io/__init__.py +5 -0
- orcho_core-0.1.0/core/io/ansi.py +165 -0
- orcho_core-0.1.0/core/io/git_helpers.py +364 -0
- orcho_core-0.1.0/core/io/journey_prompt.py +79 -0
- orcho_core-0.1.0/core/io/output_elision.py +200 -0
- orcho_core-0.1.0/core/io/pipeline_block.py +362 -0
- orcho_core-0.1.0/core/io/prompt_loader.py +246 -0
- orcho_core-0.1.0/core/io/retry.py +784 -0
- orcho_core-0.1.0/core/io/stdout_render.py +281 -0
- orcho_core-0.1.0/core/io/terminal_input.py +86 -0
- orcho_core-0.1.0/core/io/transcript.py +1584 -0
- orcho_core-0.1.0/core/io/verification_header.py +471 -0
- orcho_core-0.1.0/core/observability/__init__.py +4 -0
- orcho_core-0.1.0/core/observability/event_hub.py +535 -0
- orcho_core-0.1.0/core/observability/event_kinds.py +387 -0
- orcho_core-0.1.0/core/observability/events.py +504 -0
- orcho_core-0.1.0/core/observability/live_card.py +399 -0
- orcho_core-0.1.0/core/observability/logging.py +254 -0
- orcho_core-0.1.0/core/observability/metrics.py +1321 -0
- orcho_core-0.1.0/core/observability/phases.py +39 -0
- orcho_core-0.1.0/core/observability/pricing.py +273 -0
- orcho_core-0.1.0/core/observability/pricing_scrapers.py +481 -0
- orcho_core-0.1.0/core/observability/prompt_trace.py +105 -0
- orcho_core-0.1.0/core/observability/trace.py +100 -0
- orcho_core-0.1.0/orcho_core.egg-info/PKG-INFO +282 -0
- orcho_core-0.1.0/orcho_core.egg-info/SOURCES.txt +406 -0
- orcho_core-0.1.0/orcho_core.egg-info/dependency_links.txt +1 -0
- orcho_core-0.1.0/orcho_core.egg-info/entry_points.txt +19 -0
- orcho_core-0.1.0/orcho_core.egg-info/requires.txt +18 -0
- orcho_core-0.1.0/orcho_core.egg-info/top_level.txt +5 -0
- orcho_core-0.1.0/pipeline/__init__.py +0 -0
- orcho_core-0.1.0/pipeline/agent_resolver.py +136 -0
- orcho_core-0.1.0/pipeline/allowed_modifications.py +58 -0
- orcho_core-0.1.0/pipeline/argv.py +214 -0
- orcho_core-0.1.0/pipeline/artifacts/__init__.py +29 -0
- orcho_core-0.1.0/pipeline/artifacts/types.py +125 -0
- orcho_core-0.1.0/pipeline/attachment_inject.py +101 -0
- orcho_core-0.1.0/pipeline/attachment_loader.py +149 -0
- orcho_core-0.1.0/pipeline/checkpoint.py +281 -0
- orcho_core-0.1.0/pipeline/commit_message_parser.py +174 -0
- orcho_core-0.1.0/pipeline/control/__init__.py +155 -0
- orcho_core-0.1.0/pipeline/control/from_run_plan.py +185 -0
- orcho_core-0.1.0/pipeline/control/handoff_banners.py +254 -0
- orcho_core-0.1.0/pipeline/control/handoff_decisions.py +168 -0
- orcho_core-0.1.0/pipeline/control/handoff_labels.py +119 -0
- orcho_core-0.1.0/pipeline/control/handoff_prompt.py +868 -0
- orcho_core-0.1.0/pipeline/control/implement_handoff_digest.py +232 -0
- orcho_core-0.1.0/pipeline/control/operator_decisions.py +152 -0
- orcho_core-0.1.0/pipeline/control/resume_context.py +1015 -0
- orcho_core-0.1.0/pipeline/control/resume_preflight.py +242 -0
- orcho_core-0.1.0/pipeline/control/resume_prompt.py +361 -0
- orcho_core-0.1.0/pipeline/control/reviewed_loop.py +191 -0
- orcho_core-0.1.0/pipeline/cross_project/__init__.py +82 -0
- orcho_core-0.1.0/pipeline/cross_project/agent_setup.py +350 -0
- orcho_core-0.1.0/pipeline/cross_project/app.py +72 -0
- orcho_core-0.1.0/pipeline/cross_project/app_types.py +183 -0
- orcho_core-0.1.0/pipeline/cross_project/artifact_bundle.py +391 -0
- orcho_core-0.1.0/pipeline/cross_project/cfa_gate.py +656 -0
- orcho_core-0.1.0/pipeline/cross_project/checkpoint.py +88 -0
- orcho_core-0.1.0/pipeline/cross_project/cli.py +905 -0
- orcho_core-0.1.0/pipeline/cross_project/constants.py +27 -0
- orcho_core-0.1.0/pipeline/cross_project/contract_check.py +591 -0
- orcho_core-0.1.0/pipeline/cross_project/cross_delivery.py +430 -0
- orcho_core-0.1.0/pipeline/cross_project/final_acceptance.py +1498 -0
- orcho_core-0.1.0/pipeline/cross_project/finalization.py +639 -0
- orcho_core-0.1.0/pipeline/cross_project/gate_decisions.py +136 -0
- orcho_core-0.1.0/pipeline/cross_project/gate_entries.py +115 -0
- orcho_core-0.1.0/pipeline/cross_project/handoff.py +333 -0
- orcho_core-0.1.0/pipeline/cross_project/handoff_payloads.py +372 -0
- orcho_core-0.1.0/pipeline/cross_project/orchestrator.py +328 -0
- orcho_core-0.1.0/pipeline/cross_project/path_alias.py +133 -0
- orcho_core-0.1.0/pipeline/cross_project/plan_parser.py +338 -0
- orcho_core-0.1.0/pipeline/cross_project/planning_loop.py +1415 -0
- orcho_core-0.1.0/pipeline/cross_project/profile_projection.py +498 -0
- orcho_core-0.1.0/pipeline/cross_project/profile_setup.py +157 -0
- orcho_core-0.1.0/pipeline/cross_project/project_dispatch.py +538 -0
- orcho_core-0.1.0/pipeline/cross_project/prompts.py +348 -0
- orcho_core-0.1.0/pipeline/cross_project/rendering.py +299 -0
- orcho_core-0.1.0/pipeline/cross_project/run_setup.py +336 -0
- orcho_core-0.1.0/pipeline/cross_project/session_invoke.py +118 -0
- orcho_core-0.1.0/pipeline/cross_project/session_run.py +700 -0
- orcho_core-0.1.0/pipeline/cross_project/task_plan.py +98 -0
- orcho_core-0.1.0/pipeline/cross_project/terminal.py +92 -0
- orcho_core-0.1.0/pipeline/cross_project/types.py +317 -0
- orcho_core-0.1.0/pipeline/cross_project/usage.py +327 -0
- orcho_core-0.1.0/pipeline/dag_runner.py +1125 -0
- orcho_core-0.1.0/pipeline/engine/__init__.py +42 -0
- orcho_core-0.1.0/pipeline/engine/artifact_mirror.py +135 -0
- orcho_core-0.1.0/pipeline/engine/commit_delivery.py +1898 -0
- orcho_core-0.1.0/pipeline/engine/companion_scope.py +460 -0
- orcho_core-0.1.0/pipeline/engine/delivery_scope.py +534 -0
- orcho_core-0.1.0/pipeline/engine/diff_apply_check.py +476 -0
- orcho_core-0.1.0/pipeline/engine/hypothesis.py +457 -0
- orcho_core-0.1.0/pipeline/engine/pre_run_dirty.py +610 -0
- orcho_core-0.1.0/pipeline/engine/run_diff.py +674 -0
- orcho_core-0.1.0/pipeline/engine/run_logging.py +81 -0
- orcho_core-0.1.0/pipeline/engine/scope_expansion.py +624 -0
- orcho_core-0.1.0/pipeline/engine/session.py +57 -0
- orcho_core-0.1.0/pipeline/engine/worktree.py +836 -0
- orcho_core-0.1.0/pipeline/engine/worktree_bootstrap.py +425 -0
- orcho_core-0.1.0/pipeline/engine/worktree_source.py +204 -0
- orcho_core-0.1.0/pipeline/entry_points.py +179 -0
- orcho_core-0.1.0/pipeline/evidence/__init__.py +48 -0
- orcho_core-0.1.0/pipeline/evidence/bundle.py +159 -0
- orcho_core-0.1.0/pipeline/evidence/collector.py +1048 -0
- orcho_core-0.1.0/pipeline/evidence/prompt_render.py +136 -0
- orcho_core-0.1.0/pipeline/evidence/render_md.py +563 -0
- orcho_core-0.1.0/pipeline/evidence/schema.py +570 -0
- orcho_core-0.1.0/pipeline/evidence/verification_receipt.py +822 -0
- orcho_core-0.1.0/pipeline/json_contract.py +157 -0
- orcho_core-0.1.0/pipeline/lifecycle.py +651 -0
- orcho_core-0.1.0/pipeline/observability/__init__.py +10 -0
- orcho_core-0.1.0/pipeline/observability/context_clearing.py +406 -0
- orcho_core-0.1.0/pipeline/observability/context_growth.py +277 -0
- orcho_core-0.1.0/pipeline/observability/context_pressure.py +690 -0
- orcho_core-0.1.0/pipeline/observability/invocation_outcome.py +164 -0
- orcho_core-0.1.0/pipeline/observability/output_class.py +309 -0
- orcho_core-0.1.0/pipeline/observability/prompt_render.py +430 -0
- orcho_core-0.1.0/pipeline/observability/runtime_compaction.py +572 -0
- orcho_core-0.1.0/pipeline/participant_promotion.py +644 -0
- orcho_core-0.1.0/pipeline/participants.py +341 -0
- orcho_core-0.1.0/pipeline/phases/__init__.py +45 -0
- orcho_core-0.1.0/pipeline/phases/adapters.py +459 -0
- orcho_core-0.1.0/pipeline/phases/builtin/__init__.py +90 -0
- orcho_core-0.1.0/pipeline/phases/builtin/handlers/__init__.py +10 -0
- orcho_core-0.1.0/pipeline/phases/builtin/handlers/compliance_check.py +25 -0
- orcho_core-0.1.0/pipeline/phases/builtin/handlers/correction_triage.py +356 -0
- orcho_core-0.1.0/pipeline/phases/builtin/handlers/final_acceptance.py +396 -0
- orcho_core-0.1.0/pipeline/phases/builtin/handlers/implement.py +207 -0
- orcho_core-0.1.0/pipeline/phases/builtin/handlers/plan.py +491 -0
- orcho_core-0.1.0/pipeline/phases/builtin/handlers/repair_changes.py +367 -0
- orcho_core-0.1.0/pipeline/phases/builtin/handlers/review_changes.py +402 -0
- orcho_core-0.1.0/pipeline/phases/builtin/handlers/validate_plan.py +235 -0
- orcho_core-0.1.0/pipeline/phases/builtin/lifecycle.py +165 -0
- orcho_core-0.1.0/pipeline/phases/builtin/plan_artifact.py +375 -0
- orcho_core-0.1.0/pipeline/phases/builtin/prompt_parts.py +236 -0
- orcho_core-0.1.0/pipeline/phases/builtin/registry.py +103 -0
- orcho_core-0.1.0/pipeline/phases/builtin/review_support.py +661 -0
- orcho_core-0.1.0/pipeline/phases/builtin/scope_expansion_support.py +565 -0
- orcho_core-0.1.0/pipeline/phases/builtin/session_invoke.py +469 -0
- orcho_core-0.1.0/pipeline/phases/builtin/session_keys.py +504 -0
- orcho_core-0.1.0/pipeline/phases/builtin/session_observability.py +344 -0
- orcho_core-0.1.0/pipeline/phases/builtin/subtask_dag.py +944 -0
- orcho_core-0.1.0/pipeline/phases/builtin/subtask_dag_handoff.py +402 -0
- orcho_core-0.1.0/pipeline/phases/review_contract_recovery.py +102 -0
- orcho_core-0.1.0/pipeline/plan_artifacts.py +441 -0
- orcho_core-0.1.0/pipeline/plan_contract.py +100 -0
- orcho_core-0.1.0/pipeline/plan_markdown.py +137 -0
- orcho_core-0.1.0/pipeline/plan_parser.py +504 -0
- orcho_core-0.1.0/pipeline/plugins.py +485 -0
- orcho_core-0.1.0/pipeline/presentation.py +52 -0
- orcho_core-0.1.0/pipeline/profiles/__init__.py +31 -0
- orcho_core-0.1.0/pipeline/profiles/loader.py +1031 -0
- orcho_core-0.1.0/pipeline/profiles/session_split_override.py +93 -0
- orcho_core-0.1.0/pipeline/project/__init__.py +15 -0
- orcho_core-0.1.0/pipeline/project/app.py +234 -0
- orcho_core-0.1.0/pipeline/project/auto_detect.py +586 -0
- orcho_core-0.1.0/pipeline/project/bootstrap.py +644 -0
- orcho_core-0.1.0/pipeline/project/cli.py +1417 -0
- orcho_core-0.1.0/pipeline/project/constants.py +20 -0
- orcho_core-0.1.0/pipeline/project/correction_fixed_point.py +242 -0
- orcho_core-0.1.0/pipeline/project/correction_followup.py +554 -0
- orcho_core-0.1.0/pipeline/project/correction_gate_rerun.py +184 -0
- orcho_core-0.1.0/pipeline/project/correction_route.py +131 -0
- orcho_core-0.1.0/pipeline/project/correction_route_display.py +209 -0
- orcho_core-0.1.0/pipeline/project/finalization.py +2386 -0
- orcho_core-0.1.0/pipeline/project/followup_worktree.py +469 -0
- orcho_core-0.1.0/pipeline/project/gate_repair.py +909 -0
- orcho_core-0.1.0/pipeline/project/handoff.py +2047 -0
- orcho_core-0.1.0/pipeline/project/handoff_advice.py +713 -0
- orcho_core-0.1.0/pipeline/project/handoff_advice_artifact.py +165 -0
- orcho_core-0.1.0/pipeline/project/handoff_advice_ci.py +147 -0
- orcho_core-0.1.0/pipeline/project/handoff_advice_dispatch.py +166 -0
- orcho_core-0.1.0/pipeline/project/handoff_advice_evidence.py +799 -0
- orcho_core-0.1.0/pipeline/project/handoff_advice_policy.py +251 -0
- orcho_core-0.1.0/pipeline/project/handoff_waiver.py +110 -0
- orcho_core-0.1.0/pipeline/project/isolation_setup.py +589 -0
- orcho_core-0.1.0/pipeline/project/phase_config.py +114 -0
- orcho_core-0.1.0/pipeline/project/profile_dispatch.py +970 -0
- orcho_core-0.1.0/pipeline/project/profile_setup.py +451 -0
- orcho_core-0.1.0/pipeline/project/project_aliases.py +116 -0
- orcho_core-0.1.0/pipeline/project/project_discovery_prompt.py +231 -0
- orcho_core-0.1.0/pipeline/project/provider_recovery.py +141 -0
- orcho_core-0.1.0/pipeline/project/resume_artifacts.py +301 -0
- orcho_core-0.1.0/pipeline/project/resume_worktree.py +253 -0
- orcho_core-0.1.0/pipeline/project/retry_subject.py +146 -0
- orcho_core-0.1.0/pipeline/project/run.py +1486 -0
- orcho_core-0.1.0/pipeline/project/run_setup.py +574 -0
- orcho_core-0.1.0/pipeline/project/runtime_setup.py +438 -0
- orcho_core-0.1.0/pipeline/project/session_run.py +562 -0
- orcho_core-0.1.0/pipeline/project/state_setup.py +542 -0
- orcho_core-0.1.0/pipeline/project/types.py +211 -0
- orcho_core-0.1.0/pipeline/project/verification_autorun.py +475 -0
- orcho_core-0.1.0/pipeline/project/verification_timeline.py +902 -0
- orcho_core-0.1.0/pipeline/project/workspace_picker.py +194 -0
- orcho_core-0.1.0/pipeline/project_orchestrator.py +36 -0
- orcho_core-0.1.0/pipeline/project_testing.py +177 -0
- orcho_core-0.1.0/pipeline/prompts/__init__.py +103 -0
- orcho_core-0.1.0/pipeline/prompts/builders.py +2083 -0
- orcho_core-0.1.0/pipeline/prompts/composer.py +372 -0
- orcho_core-0.1.0/pipeline/prompts/contract_templates.py +724 -0
- orcho_core-0.1.0/pipeline/prompts/contracts.py +713 -0
- orcho_core-0.1.0/pipeline/prompts/delta.py +375 -0
- orcho_core-0.1.0/pipeline/prompts/envelope.py +264 -0
- orcho_core-0.1.0/pipeline/prompts/minimal_intents.py +283 -0
- orcho_core-0.1.0/pipeline/prompts/modes.py +112 -0
- orcho_core-0.1.0/pipeline/prompts/session.py +249 -0
- orcho_core-0.1.0/pipeline/prompts/spec.py +86 -0
- orcho_core-0.1.0/pipeline/prompts/subtask.py +294 -0
- orcho_core-0.1.0/pipeline/prompts/turn.py +402 -0
- orcho_core-0.1.0/pipeline/prompts/types.py +276 -0
- orcho_core-0.1.0/pipeline/quality_gates.py +337 -0
- orcho_core-0.1.0/pipeline/release_markdown.py +130 -0
- orcho_core-0.1.0/pipeline/release_parser.py +239 -0
- orcho_core-0.1.0/pipeline/repair_protocol.py +297 -0
- orcho_core-0.1.0/pipeline/review_markdown.py +75 -0
- orcho_core-0.1.0/pipeline/review_parser.py +140 -0
- orcho_core-0.1.0/pipeline/run_state/__init__.py +139 -0
- orcho_core-0.1.0/pipeline/run_state/consistency.py +258 -0
- orcho_core-0.1.0/pipeline/run_state/cross.py +398 -0
- orcho_core-0.1.0/pipeline/run_state/cross_repair.py +238 -0
- orcho_core-0.1.0/pipeline/run_state/handoff.py +289 -0
- orcho_core-0.1.0/pipeline/run_state/phase_outcome.py +63 -0
- orcho_core-0.1.0/pipeline/run_state/projector.py +56 -0
- orcho_core-0.1.0/pipeline/run_state/provider_runtime.py +118 -0
- orcho_core-0.1.0/pipeline/run_state/reducer.py +236 -0
- orcho_core-0.1.0/pipeline/run_state/release_verdict.py +76 -0
- orcho_core-0.1.0/pipeline/run_state/repair.py +426 -0
- orcho_core-0.1.0/pipeline/run_state/setup_failure.py +390 -0
- orcho_core-0.1.0/pipeline/run_state/stalled_command.py +113 -0
- orcho_core-0.1.0/pipeline/run_state/status_vocab.py +56 -0
- orcho_core-0.1.0/pipeline/run_state/subtask_progress.py +81 -0
- orcho_core-0.1.0/pipeline/run_state/terminal.py +388 -0
- orcho_core-0.1.0/pipeline/run_state/terminal_outcome.py +653 -0
- orcho_core-0.1.0/pipeline/run_state/types.py +213 -0
- orcho_core-0.1.0/pipeline/runtime/__init__.py +166 -0
- orcho_core-0.1.0/pipeline/runtime/handoff.py +684 -0
- orcho_core-0.1.0/pipeline/runtime/profile.py +549 -0
- orcho_core-0.1.0/pipeline/runtime/results.py +63 -0
- orcho_core-0.1.0/pipeline/runtime/roles.py +343 -0
- orcho_core-0.1.0/pipeline/runtime/run_shape.py +440 -0
- orcho_core-0.1.0/pipeline/runtime/runner.py +1192 -0
- orcho_core-0.1.0/pipeline/runtime/scope_expansion_sanction.py +292 -0
- orcho_core-0.1.0/pipeline/runtime/semantic_mode_defaults.py +83 -0
- orcho_core-0.1.0/pipeline/runtime/session_disposition.py +149 -0
- orcho_core-0.1.0/pipeline/runtime/state.py +105 -0
- orcho_core-0.1.0/pipeline/runtime/steps.py +388 -0
- orcho_core-0.1.0/pipeline/runtime/topology_detection.py +212 -0
- orcho_core-0.1.0/pipeline/runtime/work_kind_detection.py +634 -0
- orcho_core-0.1.0/pipeline/sandbox/__init__.py +64 -0
- orcho_core-0.1.0/pipeline/sandbox/backends/__init__.py +7 -0
- orcho_core-0.1.0/pipeline/sandbox/backends/_env_filter.py +70 -0
- orcho_core-0.1.0/pipeline/sandbox/backends/env_unix.py +132 -0
- orcho_core-0.1.0/pipeline/sandbox/backends/env_windows.py +148 -0
- orcho_core-0.1.0/pipeline/sandbox/backends/null_backend.py +45 -0
- orcho_core-0.1.0/pipeline/sandbox/capabilities.py +76 -0
- orcho_core-0.1.0/pipeline/sandbox/context.py +59 -0
- orcho_core-0.1.0/pipeline/sandbox/defaults.py +128 -0
- orcho_core-0.1.0/pipeline/sandbox/launcher.py +129 -0
- orcho_core-0.1.0/pipeline/sandbox/masking.py +100 -0
- orcho_core-0.1.0/pipeline/sandbox/policy.py +168 -0
- orcho_core-0.1.0/pipeline/sandbox/resolver.py +255 -0
- orcho_core-0.1.0/pipeline/session_adapters.py +780 -0
- orcho_core-0.1.0/pipeline/skills/__init__.py +56 -0
- orcho_core-0.1.0/pipeline/skills/discover.py +296 -0
- orcho_core-0.1.0/pipeline/skills/inject.py +202 -0
- orcho_core-0.1.0/pipeline/skills/loader.py +531 -0
- orcho_core-0.1.0/pipeline/skills/migrate.py +351 -0
- orcho_core-0.1.0/pipeline/skills/types.py +113 -0
- orcho_core-0.1.0/pipeline/subtask_attestation_parser.py +154 -0
- orcho_core-0.1.0/pipeline/subtask_attestation_repair.py +123 -0
- orcho_core-0.1.0/pipeline/subtask_substance_repair.py +169 -0
- orcho_core-0.1.0/pipeline/verification_command.py +206 -0
- orcho_core-0.1.0/pipeline/verification_contract.py +1002 -0
- orcho_core-0.1.0/pipeline/verification_delivery.py +605 -0
- orcho_core-0.1.0/pipeline/verification_dependencies.py +202 -0
- orcho_core-0.1.0/pipeline/verification_env.py +353 -0
- orcho_core-0.1.0/pipeline/verification_policy.py +256 -0
- orcho_core-0.1.0/pipeline/verification_readiness.py +1405 -0
- orcho_core-0.1.0/pipeline/verification_receipt_index.py +178 -0
- orcho_core-0.1.0/pipeline/verification_selection.py +408 -0
- orcho_core-0.1.0/pipeline/verification_waiver.py +154 -0
- orcho_core-0.1.0/pyproject.toml +200 -0
- orcho_core-0.1.0/sdk/__init__.py +312 -0
- orcho_core-0.1.0/sdk/_jsonable.py +41 -0
- orcho_core-0.1.0/sdk/_time.py +48 -0
- orcho_core-0.1.0/sdk/actions.py +526 -0
- orcho_core-0.1.0/sdk/cost.py +239 -0
- orcho_core-0.1.0/sdk/errors.py +94 -0
- orcho_core-0.1.0/sdk/events.py +36 -0
- orcho_core-0.1.0/sdk/evidence.py +105 -0
- orcho_core-0.1.0/sdk/evidence_slices.py +1069 -0
- orcho_core-0.1.0/sdk/fine_tune.py +278 -0
- orcho_core-0.1.0/sdk/handoff_advice.py +339 -0
- orcho_core-0.1.0/sdk/history.py +57 -0
- orcho_core-0.1.0/sdk/metrics.py +79 -0
- orcho_core-0.1.0/sdk/phase_handoff.py +837 -0
- orcho_core-0.1.0/sdk/pricing.py +91 -0
- orcho_core-0.1.0/sdk/prompts.py +62 -0
- orcho_core-0.1.0/sdk/run_control/__init__.py +74 -0
- orcho_core-0.1.0/sdk/run_control/commands.py +91 -0
- orcho_core-0.1.0/sdk/run_control/delivery.py +944 -0
- orcho_core-0.1.0/sdk/run_control/diagnosis.py +511 -0
- orcho_core-0.1.0/sdk/run_control/events.py +82 -0
- orcho_core-0.1.0/sdk/run_control/recovery_lineage.py +703 -0
- orcho_core-0.1.0/sdk/run_control/recovery_lineage_resolve.py +69 -0
- orcho_core-0.1.0/sdk/run_control/runtime_override.py +194 -0
- orcho_core-0.1.0/sdk/run_control/service.py +472 -0
- orcho_core-0.1.0/sdk/run_control/snapshots.py +225 -0
- orcho_core-0.1.0/sdk/run_control/types.py +425 -0
- orcho_core-0.1.0/sdk/run_diff.py +320 -0
- orcho_core-0.1.0/sdk/runner.py +230 -0
- orcho_core-0.1.0/sdk/runs.py +196 -0
- orcho_core-0.1.0/sdk/runtimes.py +70 -0
- orcho_core-0.1.0/sdk/status.py +195 -0
- orcho_core-0.1.0/sdk/types.py +340 -0
- orcho_core-0.1.0/sdk/verification_timeline.py +542 -0
- orcho_core-0.1.0/sdk/verify.py +516 -0
- orcho_core-0.1.0/sdk/workspace.py +818 -0
- orcho_core-0.1.0/sdk/workspace_scaffold.py +190 -0
- orcho_core-0.1.0/setup.cfg +4 -0
orcho_core-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Symphos
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: orcho-core
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Local-first control plane for cross-agent AI software delivery
|
|
5
|
+
Author: Symphos
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/symphos-ai/orcho-core
|
|
8
|
+
Project-URL: Repository, https://github.com/symphos-ai/orcho-core
|
|
9
|
+
Project-URL: Issues, https://github.com/symphos-ai/orcho-core/issues
|
|
10
|
+
Keywords: agents,ai,automation,cli,developer-tools,orchestration
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: MacOS
|
|
15
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Topic :: Software Development
|
|
20
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
21
|
+
Requires-Python: >=3.12
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
Requires-Dist: tiktoken>=0.12
|
|
25
|
+
Requires-Dist: pywin32>=306; sys_platform == "win32"
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: build>=1.2; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
29
|
+
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
|
|
30
|
+
Requires-Dist: pytest-cov>=4.0; extra == "dev"
|
|
31
|
+
Requires-Dist: ruff>=0.5; extra == "dev"
|
|
32
|
+
Requires-Dist: setuptools>=77; extra == "dev"
|
|
33
|
+
Provides-Extra: codemap
|
|
34
|
+
Requires-Dist: tree-sitter>=0.22; extra == "codemap"
|
|
35
|
+
Requires-Dist: tree-sitter-python>=0.21; extra == "codemap"
|
|
36
|
+
Requires-Dist: tree-sitter-c-sharp>=0.21; extra == "codemap"
|
|
37
|
+
Requires-Dist: tree-sitter-php>=0.22; extra == "codemap"
|
|
38
|
+
Dynamic: license-file
|
|
39
|
+
|
|
40
|
+
# Orcho — Multi-Agent Pipeline Engine
|
|
41
|
+
|
|
42
|
+
[](https://pypi.org/project/orcho-core/)
|
|
43
|
+
[](https://pypi.org/project/orcho-core/)
|
|
44
|
+
[](LICENSE)
|
|
45
|
+
[](https://github.com/symphos-ai/orcho-core/actions/workflows/ci.yml)
|
|
46
|
+
[](https://github.com/symphos-ai/orcho-core/actions/workflows/dco.yml)
|
|
47
|
+
[](https://github.com/symphos-ai/orcho-core/actions/workflows/release.yml)
|
|
48
|
+
[](https://codecov.io/gh/symphos-ai/orcho-core)
|
|
49
|
+
[](https://scorecard.dev/viewer/?uri=github.com/symphos-ai/orcho-core)
|
|
50
|
+
|
|
51
|
+
**Orcho** — local-first control plane for agentic software delivery.
|
|
52
|
+
Use the coding agents you already trust; Orcho supervises the workflow
|
|
53
|
+
around them: plan → implementation → review → repair → final acceptance.
|
|
54
|
+
|
|
55
|
+
It is built for work that needs more structure than a single interactive
|
|
56
|
+
agent session:
|
|
57
|
+
|
|
58
|
+
- one task or one coordinated change across several repositories;
|
|
59
|
+
- explicit phase topology through profiles;
|
|
60
|
+
- human/agent review gates with resume and retry;
|
|
61
|
+
- durable run state: plans, diffs, findings, metrics, evidence;
|
|
62
|
+
- CLI, SDK, and MCP control surfaces.
|
|
63
|
+
|
|
64
|
+
Which model runs which phase is **fully configurable**.
|
|
65
|
+
Default: Claude (PLAN / BUILD / FIX) + Codex (REVIEW / QA).
|
|
66
|
+
Assign Claude, Codex, or Gemini to any phase via env vars, profiles,
|
|
67
|
+
or `config.local.json`.
|
|
68
|
+
|
|
69
|
+
Zero project-specific code — all project context comes through `plugin.py`.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Try the golden mock demo
|
|
74
|
+
|
|
75
|
+
The fastest zero-API proof is the single-project CLI demo. It creates a
|
|
76
|
+
disposable git-backed fixture, runs the full mock pipeline, reviews the
|
|
77
|
+
diff, and writes evidence:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
examples/scripts/bootstrap_demo_1a.sh
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Then paste the printed `orcho run ... --mock` command and inspect:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
orcho evidence --format md --workspace /tmp/orcho_demo_1a/workspace-orchestrator
|
|
87
|
+
orcho status --workspace /tmp/orcho_demo_1a/workspace-orchestrator
|
|
88
|
+
orcho diff <run-id> --stat --workspace /tmp/orcho_demo_1a/workspace-orchestrator
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Full walkthrough: [docs/demos/demo-1a-single-project-cli.md](docs/demos/demo-1a-single-project-cli.md).
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## First time? Start here
|
|
96
|
+
|
|
97
|
+
**→ [docs/user/00_getting_started.md](docs/user/00_getting_started.md)**
|
|
98
|
+
|
|
99
|
+
The full path from zero to the first result: prerequisites → install →
|
|
100
|
+
connect your project → first run.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Install
|
|
105
|
+
|
|
106
|
+
**Recommended once the packages are published:**
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
pipx install orcho
|
|
110
|
+
orcho --help
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Use `python -m pip install orcho` if you prefer a project-managed
|
|
114
|
+
environment over `pipx`.
|
|
115
|
+
|
|
116
|
+
Optional control surfaces are available through extras:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
pipx install 'orcho[mcp]'
|
|
120
|
+
pipx install 'orcho[all]'
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
**Source checkout for development:**
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
git clone git@github.com:symphos-ai/orcho-core.git ~/.local/share/orcho-core
|
|
127
|
+
cd ~/.local/share/orcho-core
|
|
128
|
+
python3 -m venv .venv && source .venv/bin/activate
|
|
129
|
+
pip install -e ".[dev]"
|
|
130
|
+
```
|
|
131
|
+
Add to `~/.zshrc` / `~/.bashrc`:
|
|
132
|
+
```bash
|
|
133
|
+
export ORCHO_CORE="$HOME/.local/share/orcho-core"
|
|
134
|
+
orcho() { (source "$ORCHO_CORE/.venv/bin/activate" && "$ORCHO_CORE/.venv/bin/python" -m cli.orcho "$@"); }
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Windows (PowerShell):**
|
|
138
|
+
|
|
139
|
+
```powershell
|
|
140
|
+
git clone git@github.com:symphos-ai/orcho-core.git "$env:LOCALAPPDATA\orcho-core"
|
|
141
|
+
cd "$env:LOCALAPPDATA\orcho-core"
|
|
142
|
+
python -m venv .venv; .\.venv\Scripts\Activate.ps1
|
|
143
|
+
pip install -e ".[dev]"
|
|
144
|
+
```
|
|
145
|
+
Add to `$PROFILE`:
|
|
146
|
+
```powershell
|
|
147
|
+
. "$env:LOCALAPPDATA\orcho-core\shell\orcho-env-base.ps1"
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## How it works
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
Task
|
|
156
|
+
→ Claude [PLAN] writes the implementation plan
|
|
157
|
+
→ Codex [validate_plan] audits the plan
|
|
158
|
+
→ Claude [BUILD] implements the code
|
|
159
|
+
→ Codex [REVIEW] reviews the diff
|
|
160
|
+
→ Claude [FIX] fixes the findings
|
|
161
|
+
→ Codex [final_acceptance] final verdict
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Core commands
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
# One project
|
|
170
|
+
orcho run --task "Add input validation to /api/login" --project ~/my-project
|
|
171
|
+
|
|
172
|
+
# Several projects at once
|
|
173
|
+
orcho cross --task "Add rate limiting: API + client" \
|
|
174
|
+
--projects api:~/api client:~/client
|
|
175
|
+
|
|
176
|
+
# No API calls (test)
|
|
177
|
+
orcho run --mock --task "..." --project ~/my-project
|
|
178
|
+
|
|
179
|
+
# Plan only (no code)
|
|
180
|
+
orcho run --profile planning --task "..." --project ~/my-project
|
|
181
|
+
|
|
182
|
+
# Resume an interrupted run
|
|
183
|
+
orcho run --resume 20260503_104135
|
|
184
|
+
|
|
185
|
+
# Status, history, metrics
|
|
186
|
+
orcho status | orcho history | orcho metrics
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Connecting a project
|
|
192
|
+
|
|
193
|
+
Create `your-project/.orcho/multiagent/plugin.py`:
|
|
194
|
+
|
|
195
|
+
```python
|
|
196
|
+
from pipeline.plugins import PluginConfig
|
|
197
|
+
|
|
198
|
+
plugin = PluginConfig(
|
|
199
|
+
name="My Project",
|
|
200
|
+
tech_stack="FastAPI + PostgreSQL",
|
|
201
|
+
architecture="REST API. Routes: app/routes/, Services: app/services/",
|
|
202
|
+
file_hints=["app/routes/", "app/services/", "tests/"],
|
|
203
|
+
build_prompt_extra="Run: pytest -x after changes.",
|
|
204
|
+
review_focus_extra="Check N+1 queries, missing validations.",
|
|
205
|
+
)
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
Without `plugin.py`, orcho runs in generic mode.
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## Package layout
|
|
213
|
+
|
|
214
|
+
```
|
|
215
|
+
orcho-core/
|
|
216
|
+
├── cli/ ← CLI facade (orcho run / cross / status…)
|
|
217
|
+
├── sdk/ ← typed headless API for tools and embedders
|
|
218
|
+
├── pipeline/
|
|
219
|
+
│ ├── project_orchestrator.py ← single-project pipeline
|
|
220
|
+
│ ├── cross_project/ ← cross-project planning, dispatch, gates
|
|
221
|
+
│ ├── runtime/ ← profiles, steps, state, runner
|
|
222
|
+
│ ├── prompts/ ← composable prompt parts and contracts
|
|
223
|
+
│ ├── control/ ← handoff, resume, operator decisions
|
|
224
|
+
│ ├── engine/ ← sessions, logging, worktrees, run diff
|
|
225
|
+
│ ├── evidence/ ← evidence bundle and renderers
|
|
226
|
+
│ ├── profiles/ ← profile loading and validation
|
|
227
|
+
│ ├── sandbox/ ← command isolation backends
|
|
228
|
+
│ ├── skills/ ← skill discovery and injection
|
|
229
|
+
│ ├── plugins.py ← PluginConfig + load_plugin()
|
|
230
|
+
│ └── checkpoint.py ← SQLite store (--resume)
|
|
231
|
+
├── core/
|
|
232
|
+
│ ├── _prompts/ ← core prompt templates
|
|
233
|
+
│ ├── _config/ ← packaged defaults
|
|
234
|
+
│ ├── contracts/ ← plan/review/release schemas
|
|
235
|
+
│ ├── infra/ ← config, platform, binary discovery
|
|
236
|
+
│ ├── observability/ ← logging, metrics, trace
|
|
237
|
+
│ ├── io/ ← retry, git helpers, prompt loader
|
|
238
|
+
│ └── context/ ← codemap builder (optional)
|
|
239
|
+
├── agents/ ← runtimes, registry, stream parsers
|
|
240
|
+
└── tests/ ← unit, integration, acceptance, SDK contract tests
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Documentation
|
|
246
|
+
|
|
247
|
+
Ordered from general to specific — start at the top, go deeper as needed.
|
|
248
|
+
|
|
249
|
+
| Level | For whom | Link |
|
|
250
|
+
|---------|---------|--------|
|
|
251
|
+
| **User** | You want to use the system | [docs/user/](docs/user/) |
|
|
252
|
+
| **Expert** | You tune prompts, plugins, and models | [docs/expert/](docs/expert/) |
|
|
253
|
+
| **Integrator** | You author profiles, gates, and adapters | [docs/guides/](docs/guides/) |
|
|
254
|
+
| **Reference** | Exact schemas and registries | [docs/reference/](docs/reference/) |
|
|
255
|
+
| **Creator** | You develop the engine itself | [docs/creator/](docs/creator/) |
|
|
256
|
+
|
|
257
|
+
Full index: [docs/README.md](docs/README.md).
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## Testing
|
|
262
|
+
|
|
263
|
+
```bash
|
|
264
|
+
pytest tests/ -q
|
|
265
|
+
pytest tests/unit/ -v
|
|
266
|
+
pytest tests/integration/ -v
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
Tests must not call real models. Use `MockAgentProvider` for
|
|
270
|
+
pipeline-flow scenarios.
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## Key principles
|
|
275
|
+
|
|
276
|
+
- **Zero hardcoding** — all project context comes through `plugin.py`
|
|
277
|
+
- **DRY engine** — `pipeline/engine/` is shared by both orchestrators
|
|
278
|
+
- **3-level prompts** — project → workspace → core (always overridable)
|
|
279
|
+
- **Discoverable extension points** — `workspace init` creates safe
|
|
280
|
+
`.orcho/` guides and templates without overwriting local edits
|
|
281
|
+
- **Resumable** — `--resume` continues from the last checkpoint
|
|
282
|
+
- **Cross-platform** — macOS, Linux, Windows (native + WSL2)
|