syncade 0.6.2__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.
- syncade-0.6.2/LICENSE +202 -0
- syncade-0.6.2/MANIFEST.in +7 -0
- syncade-0.6.2/PKG-INFO +314 -0
- syncade-0.6.2/README.md +284 -0
- syncade-0.6.2/docs/config-reference.md +261 -0
- syncade-0.6.2/docs/how-to-use.md +473 -0
- syncade-0.6.2/pyproject.toml +92 -0
- syncade-0.6.2/setup.cfg +4 -0
- syncade-0.6.2/src/syncade/__init__.py +3 -0
- syncade-0.6.2/src/syncade/__main__.py +6 -0
- syncade-0.6.2/src/syncade/adapters/__init__.py +0 -0
- syncade-0.6.2/src/syncade/adapters/anthropic.py +457 -0
- syncade-0.6.2/src/syncade/adapters/base.py +221 -0
- syncade-0.6.2/src/syncade/adapters/fake.py +73 -0
- syncade-0.6.2/src/syncade/adapters/fake_common.py +29 -0
- syncade-0.6.2/src/syncade/adapters/fake_producer_audit_draft.py +460 -0
- syncade-0.6.2/src/syncade/adapters/fake_reviewer_synth.py +310 -0
- syncade-0.6.2/src/syncade/adapters/openai.py +484 -0
- syncade-0.6.2/src/syncade/adapters/openai_parsing.py +119 -0
- syncade-0.6.2/src/syncade/adapters/producer.py +221 -0
- syncade-0.6.2/src/syncade/adapters/producer_anthropic.py +300 -0
- syncade-0.6.2/src/syncade/adapters/producer_openai.py +226 -0
- syncade-0.6.2/src/syncade/adapters/registry.py +81 -0
- syncade-0.6.2/src/syncade/auth_check.py +554 -0
- syncade-0.6.2/src/syncade/auth_preflight.py +342 -0
- syncade-0.6.2/src/syncade/base_resolution.py +214 -0
- syncade-0.6.2/src/syncade/billing.py +141 -0
- syncade-0.6.2/src/syncade/checks_config.py +113 -0
- syncade-0.6.2/src/syncade/cli/__init__.py +546 -0
- syncade-0.6.2/src/syncade/cli/auth_gate.py +59 -0
- syncade-0.6.2/src/syncade/cli/config_keys.py +135 -0
- syncade-0.6.2/src/syncade/cli/config_list.py +82 -0
- syncade-0.6.2/src/syncade/cli/config_menu_rows.py +166 -0
- syncade-0.6.2/src/syncade/cli/config_mode.py +609 -0
- syncade-0.6.2/src/syncade/cli/config_overrides.py +122 -0
- syncade-0.6.2/src/syncade/cli/config_tui.py +476 -0
- syncade-0.6.2/src/syncade/cli/doctor_mode.py +72 -0
- syncade-0.6.2/src/syncade/cli/gc_mode.py +109 -0
- syncade-0.6.2/src/syncade/cli/install_skill.py +514 -0
- syncade-0.6.2/src/syncade/cli/metrics_mode.py +363 -0
- syncade-0.6.2/src/syncade/cli/modes.py +573 -0
- syncade-0.6.2/src/syncade/cli/parser.py +450 -0
- syncade-0.6.2/src/syncade/cli/parser_types.py +137 -0
- syncade-0.6.2/src/syncade/cli/paths.py +38 -0
- syncade-0.6.2/src/syncade/cli/preflight_paths.py +90 -0
- syncade-0.6.2/src/syncade/cli/resolve.py +116 -0
- syncade-0.6.2/src/syncade/cli/resume_mode.py +324 -0
- syncade-0.6.2/src/syncade/cli/toml_writer.py +410 -0
- syncade-0.6.2/src/syncade/cli/validate.py +421 -0
- syncade-0.6.2/src/syncade/config.py +478 -0
- syncade-0.6.2/src/syncade/config_auth.py +310 -0
- syncade-0.6.2/src/syncade/config_cold.py +209 -0
- syncade-0.6.2/src/syncade/config_gc.py +55 -0
- syncade-0.6.2/src/syncade/config_loader.py +182 -0
- syncade-0.6.2/src/syncade/config_loop.py +282 -0
- syncade-0.6.2/src/syncade/config_producer.py +222 -0
- syncade-0.6.2/src/syncade/config_retry.py +49 -0
- syncade-0.6.2/src/syncade/config_types.py +59 -0
- syncade-0.6.2/src/syncade/diff_filter.py +437 -0
- syncade-0.6.2/src/syncade/dispatcher.py +571 -0
- syncade-0.6.2/src/syncade/doctor.py +425 -0
- syncade-0.6.2/src/syncade/doctor_env.py +218 -0
- syncade-0.6.2/src/syncade/doctor_preview.py +524 -0
- syncade-0.6.2/src/syncade/doctor_types.py +28 -0
- syncade-0.6.2/src/syncade/exit_codes.py +82 -0
- syncade-0.6.2/src/syncade/findings.py +242 -0
- syncade-0.6.2/src/syncade/findings_json.py +456 -0
- syncade-0.6.2/src/syncade/gc.py +211 -0
- syncade-0.6.2/src/syncade/gc_execute.py +372 -0
- syncade-0.6.2/src/syncade/gc_protection.py +129 -0
- syncade-0.6.2/src/syncade/gc_types.py +50 -0
- syncade-0.6.2/src/syncade/gc_worktrees.py +200 -0
- syncade-0.6.2/src/syncade/git_object_id.py +12 -0
- syncade-0.6.2/src/syncade/git_preconditions.py +389 -0
- syncade-0.6.2/src/syncade/logging.py +289 -0
- syncade-0.6.2/src/syncade/metrics/__init__.py +32 -0
- syncade-0.6.2/src/syncade/metrics/aggregate.py +550 -0
- syncade-0.6.2/src/syncade/metrics/schema.py +221 -0
- syncade-0.6.2/src/syncade/orchestrator/__init__.py +61 -0
- syncade-0.6.2/src/syncade/orchestrator/_runs_dir.py +24 -0
- syncade-0.6.2/src/syncade/orchestrator/branch_advance.py +165 -0
- syncade-0.6.2/src/syncade/orchestrator/branch_guard.py +98 -0
- syncade-0.6.2/src/syncade/orchestrator/budget.py +107 -0
- syncade-0.6.2/src/syncade/orchestrator/escalation_coverage.py +81 -0
- syncade-0.6.2/src/syncade/orchestrator/loop.py +611 -0
- syncade-0.6.2/src/syncade/orchestrator/loop_dispatch_check.py +112 -0
- syncade-0.6.2/src/syncade/orchestrator/loop_finalize.py +404 -0
- syncade-0.6.2/src/syncade/orchestrator/loop_preflight.py +131 -0
- syncade-0.6.2/src/syncade/orchestrator/loop_resume.py +91 -0
- syncade-0.6.2/src/syncade/orchestrator/loop_rmtree.py +70 -0
- syncade-0.6.2/src/syncade/orchestrator/loop_round_step.py +599 -0
- syncade-0.6.2/src/syncade/orchestrator/prior_round.py +336 -0
- syncade-0.6.2/src/syncade/orchestrator/producer_phase.py +169 -0
- syncade-0.6.2/src/syncade/orchestrator/results.py +306 -0
- syncade-0.6.2/src/syncade/orchestrator/resume.py +96 -0
- syncade-0.6.2/src/syncade/orchestrator/resume_load.py +483 -0
- syncade-0.6.2/src/syncade/orchestrator/resume_plan.py +554 -0
- syncade-0.6.2/src/syncade/orchestrator/resume_target.py +215 -0
- syncade-0.6.2/src/syncade/orchestrator/resume_types.py +182 -0
- syncade-0.6.2/src/syncade/orchestrator/reviewer_template_failure.py +99 -0
- syncade-0.6.2/src/syncade/orchestrator/round.py +573 -0
- syncade-0.6.2/src/syncade/orchestrator/round_checks.py +91 -0
- syncade-0.6.2/src/syncade/orchestrator/round_no_changes.py +369 -0
- syncade-0.6.2/src/syncade/orchestrator/round_predispatch.py +212 -0
- syncade-0.6.2/src/syncade/orchestrator/verdict.py +279 -0
- syncade-0.6.2/src/syncade/persistence/__init__.py +189 -0
- syncade-0.6.2/src/syncade/persistence/_atomic.py +33 -0
- syncade-0.6.2/src/syncade/persistence/_clusters.py +70 -0
- syncade-0.6.2/src/syncade/persistence/_findings_verdict.py +201 -0
- syncade-0.6.2/src/syncade/persistence/_markdown.py +286 -0
- syncade-0.6.2/src/syncade/persistence/_validation.py +37 -0
- syncade-0.6.2/src/syncade/persistence/checks.py +249 -0
- syncade-0.6.2/src/syncade/persistence/decision_needed.py +289 -0
- syncade-0.6.2/src/syncade/persistence/findings_md.py +389 -0
- syncade-0.6.2/src/syncade/persistence/handoff.py +389 -0
- syncade-0.6.2/src/syncade/persistence/handoff_classify.py +196 -0
- syncade-0.6.2/src/syncade/persistence/last_reviewed.py +67 -0
- syncade-0.6.2/src/syncade/persistence/loop_manifest.py +165 -0
- syncade-0.6.2/src/syncade/persistence/loop_summary.py +352 -0
- syncade-0.6.2/src/syncade/persistence/loop_summary_text.py +428 -0
- syncade-0.6.2/src/syncade/persistence/producer.py +250 -0
- syncade-0.6.2/src/syncade/persistence/reviewer.py +198 -0
- syncade-0.6.2/src/syncade/persistence/round_manifest.py +238 -0
- syncade-0.6.2/src/syncade/persistence/run_init.py +153 -0
- syncade-0.6.2/src/syncade/persistence/run_summary.py +585 -0
- syncade-0.6.2/src/syncade/persistence/run_summary_next_steps.py +443 -0
- syncade-0.6.2/src/syncade/persistence/synth.py +242 -0
- syncade-0.6.2/src/syncade/persistence/test_run.py +152 -0
- syncade-0.6.2/src/syncade/presets.py +36 -0
- syncade-0.6.2/src/syncade/pricing_config.py +72 -0
- syncade-0.6.2/src/syncade/process.py +600 -0
- syncade-0.6.2/src/syncade/producer.py +189 -0
- syncade-0.6.2/src/syncade/producer_attempt.py +463 -0
- syncade-0.6.2/src/syncade/producer_escalation.py +146 -0
- syncade-0.6.2/src/syncade/producer_git.py +199 -0
- syncade-0.6.2/src/syncade/producer_result.py +205 -0
- syncade-0.6.2/src/syncade/prompts.py +448 -0
- syncade-0.6.2/src/syncade/prompts_loader.py +238 -0
- syncade-0.6.2/src/syncade/retry.py +159 -0
- syncade-0.6.2/src/syncade/run_inputs.py +40 -0
- syncade-0.6.2/src/syncade/run_status.py +198 -0
- syncade-0.6.2/src/syncade/selfcheck.py +471 -0
- syncade-0.6.2/src/syncade/skills/claude/README.md +221 -0
- syncade-0.6.2/src/syncade/skills/claude/SKILL.md +625 -0
- syncade-0.6.2/src/syncade/skills/codex/README.md +116 -0
- syncade-0.6.2/src/syncade/skills/codex/SKILL.md +574 -0
- syncade-0.6.2/src/syncade/snapshot.py +598 -0
- syncade-0.6.2/src/syncade/spec_audit.py +437 -0
- syncade-0.6.2/src/syncade/spec_audit_schema.py +190 -0
- syncade-0.6.2/src/syncade/spec_draft.py +423 -0
- syncade-0.6.2/src/syncade/spec_source.py +135 -0
- syncade-0.6.2/src/syncade/synthesis.py +428 -0
- syncade-0.6.2/src/syncade/synthesis_clusters.py +203 -0
- syncade-0.6.2/src/syncade/synthesis_repair.py +230 -0
- syncade-0.6.2/src/syncade/synthesis_schema.py +65 -0
- syncade-0.6.2/src/syncade/synthesizer/__init__.py +38 -0
- syncade-0.6.2/src/syncade/synthesizer/constants.py +33 -0
- syncade-0.6.2/src/syncade/synthesizer/driver.py +531 -0
- syncade-0.6.2/src/syncade/synthesizer/rendering.py +63 -0
- syncade-0.6.2/src/syncade/synthesizer/result.py +73 -0
- syncade-0.6.2/src/syncade/synthesizer/validation.py +421 -0
- syncade-0.6.2/src/syncade/synthesizer/workspace.py +208 -0
- syncade-0.6.2/src/syncade/templates/presets/balanced.toml +13 -0
- syncade-0.6.2/src/syncade/templates/presets/cheap.toml +12 -0
- syncade-0.6.2/src/syncade/templates/presets/thorough.toml +9 -0
- syncade-0.6.2/src/syncade/templates/producer.md +231 -0
- syncade-0.6.2/src/syncade/templates/reviewer.md +279 -0
- syncade-0.6.2/src/syncade/templates/reviewer_adversarial.md +164 -0
- syncade-0.6.2/src/syncade/templates/reviewer_codex.md +165 -0
- syncade-0.6.2/src/syncade/templates/spec_audit.md +168 -0
- syncade-0.6.2/src/syncade/templates/spec_draft.md +62 -0
- syncade-0.6.2/src/syncade/templates/synthesizer.md +204 -0
- syncade-0.6.2/src/syncade/test_runner.py +476 -0
- syncade-0.6.2/src/syncade/test_runner_classify.py +98 -0
- syncade-0.6.2/src/syncade/transcript.py +150 -0
- syncade-0.6.2/src/syncade/usage.py +407 -0
- syncade-0.6.2/src/syncade/worktree.py +497 -0
- syncade-0.6.2/src/syncade/worktree_env.py +133 -0
- syncade-0.6.2/src/syncade/worktree_paths.py +139 -0
- syncade-0.6.2/src/syncade.egg-info/PKG-INFO +314 -0
- syncade-0.6.2/src/syncade.egg-info/SOURCES.txt +463 -0
- syncade-0.6.2/src/syncade.egg-info/dependency_links.txt +1 -0
- syncade-0.6.2/src/syncade.egg-info/entry_points.txt +2 -0
- syncade-0.6.2/src/syncade.egg-info/requires.txt +5 -0
- syncade-0.6.2/src/syncade.egg-info/top_level.txt +1 -0
- syncade-0.6.2/tests/__init__.py +0 -0
- syncade-0.6.2/tests/adapters/__init__.py +0 -0
- syncade-0.6.2/tests/adapters/_anthropic_helpers.py +102 -0
- syncade-0.6.2/tests/adapters/_openai_helpers.py +70 -0
- syncade-0.6.2/tests/adapters/test_anthropic.py +503 -0
- syncade-0.6.2/tests/adapters/test_anthropic_more.py +218 -0
- syncade-0.6.2/tests/adapters/test_openai.py +381 -0
- syncade-0.6.2/tests/adapters/test_openai_more.py +348 -0
- syncade-0.6.2/tests/adapters/test_producer.py +310 -0
- syncade-0.6.2/tests/adapters/test_producer_more.py +394 -0
- syncade-0.6.2/tests/adapters/test_prompt_transport.py +150 -0
- syncade-0.6.2/tests/auth_check/__init__.py +0 -0
- syncade-0.6.2/tests/auth_check/test_probes.py +224 -0
- syncade-0.6.2/tests/auth_check/test_run_auth_check.py +427 -0
- syncade-0.6.2/tests/cli/__init__.py +0 -0
- syncade-0.6.2/tests/cli/_helpers.py +39 -0
- syncade-0.6.2/tests/cli/_undo_helpers.py +64 -0
- syncade-0.6.2/tests/cli/test_basic_and_mutex.py +511 -0
- syncade-0.6.2/tests/cli/test_cli_library_divergence.py +156 -0
- syncade-0.6.2/tests/cli/test_config_keys.py +122 -0
- syncade-0.6.2/tests/cli/test_config_list.py +414 -0
- syncade-0.6.2/tests/cli/test_config_menu_rows.py +104 -0
- syncade-0.6.2/tests/cli/test_config_mode.py +632 -0
- syncade-0.6.2/tests/cli/test_config_overrides.py +191 -0
- syncade-0.6.2/tests/cli/test_config_tui.py +455 -0
- syncade-0.6.2/tests/cli/test_config_tui_pty.py +543 -0
- syncade-0.6.2/tests/cli/test_documented_exit_codes.py +103 -0
- syncade-0.6.2/tests/cli/test_documented_flags_exist.py +107 -0
- syncade-0.6.2/tests/cli/test_flags.py +467 -0
- syncade-0.6.2/tests/cli/test_gc.py +393 -0
- syncade-0.6.2/tests/cli/test_help_retention_contract.py +39 -0
- syncade-0.6.2/tests/cli/test_mode_exclusivity_matrix.py +90 -0
- syncade-0.6.2/tests/cli/test_mode_flag_guards.py +242 -0
- syncade-0.6.2/tests/cli/test_resume_reports_hard_kill.py +69 -0
- syncade-0.6.2/tests/cli/test_run_and_config.py +532 -0
- syncade-0.6.2/tests/cli/test_run_status_cli.py +107 -0
- syncade-0.6.2/tests/cli/test_scope_openspec_draft.py +465 -0
- syncade-0.6.2/tests/cli/test_toml_writer.py +493 -0
- syncade-0.6.2/tests/cli/test_undo_auto_init.py +484 -0
- syncade-0.6.2/tests/cli/test_undo_scope.py +216 -0
- syncade-0.6.2/tests/cli/test_validate_before_mutate.py +543 -0
- syncade-0.6.2/tests/config/__init__.py +0 -0
- syncade-0.6.2/tests/config/test_auth_enforcement.py +452 -0
- syncade-0.6.2/tests/config/test_auth_modes.py +215 -0
- syncade-0.6.2/tests/config/test_auth_preflight.py +358 -0
- syncade-0.6.2/tests/config/test_auth_report_scope.py +544 -0
- syncade-0.6.2/tests/config/test_budget_config.py +111 -0
- syncade-0.6.2/tests/config/test_cold_actors.py +200 -0
- syncade-0.6.2/tests/config/test_config_checks.py +498 -0
- syncade-0.6.2/tests/config/test_config_reference_drift.py +130 -0
- syncade-0.6.2/tests/config/test_config_schema.py +682 -0
- syncade-0.6.2/tests/config/test_gc_config.py +90 -0
- syncade-0.6.2/tests/config/test_global_config_layer.py +120 -0
- syncade-0.6.2/tests/config/test_presets.py +87 -0
- syncade-0.6.2/tests/config/test_retry_config.py +84 -0
- syncade-0.6.2/tests/config/test_reviewer_config.py +93 -0
- syncade-0.6.2/tests/config/test_reviewer_permissions.py +36 -0
- syncade-0.6.2/tests/config/test_worktree_base_config.py +43 -0
- syncade-0.6.2/tests/conftest.py +78 -0
- syncade-0.6.2/tests/dispatcher/__init__.py +0 -0
- syncade-0.6.2/tests/dispatcher/_helpers.py +99 -0
- syncade-0.6.2/tests/dispatcher/test_dispatch_core.py +492 -0
- syncade-0.6.2/tests/dispatcher/test_dispatch_misc.py +400 -0
- syncade-0.6.2/tests/dispatcher/test_dispatch_usage.py +126 -0
- syncade-0.6.2/tests/doctor/__init__.py +0 -0
- syncade-0.6.2/tests/doctor/_helpers.py +114 -0
- syncade-0.6.2/tests/doctor/conftest.py +41 -0
- syncade-0.6.2/tests/doctor/test_doctor.py +668 -0
- syncade-0.6.2/tests/doctor/test_doctor_diff_size.py +195 -0
- syncade-0.6.2/tests/doctor/test_doctor_malformed_diff.py +70 -0
- syncade-0.6.2/tests/doctor/test_doctor_preview.py +557 -0
- syncade-0.6.2/tests/findings/__init__.py +0 -0
- syncade-0.6.2/tests/findings/_helpers.py +47 -0
- syncade-0.6.2/tests/findings/test_parser_and_fields.py +470 -0
- syncade-0.6.2/tests/findings/test_parser_resilience.py +426 -0
- syncade-0.6.2/tests/findings/test_verdict_block_selection.py +401 -0
- syncade-0.6.2/tests/gc/__init__.py +0 -0
- syncade-0.6.2/tests/gc/_helpers.py +103 -0
- syncade-0.6.2/tests/gc/test_autoprune.py +260 -0
- syncade-0.6.2/tests/gc/test_execute.py +531 -0
- syncade-0.6.2/tests/gc/test_plan.py +239 -0
- syncade-0.6.2/tests/gc/test_plan_execution_races.py +177 -0
- syncade-0.6.2/tests/gc/test_reaping_scope.py +144 -0
- syncade-0.6.2/tests/gc/test_robustness.py +57 -0
- syncade-0.6.2/tests/gc/test_self_orphan_protection.py +196 -0
- syncade-0.6.2/tests/gc/test_smoke.py +188 -0
- syncade-0.6.2/tests/gc/test_two_tier_retention.py +388 -0
- syncade-0.6.2/tests/logging/__init__.py +0 -0
- syncade-0.6.2/tests/logging/_helpers.py +196 -0
- syncade-0.6.2/tests/logging/test_logging.py +131 -0
- syncade-0.6.2/tests/logging/test_logging_summary.py +375 -0
- syncade-0.6.2/tests/metrics/conftest.py +27 -0
- syncade-0.6.2/tests/metrics/test_actor_spend.py +463 -0
- syncade-0.6.2/tests/metrics/test_aggregate.py +555 -0
- syncade-0.6.2/tests/metrics/test_billing_reconciliation.py +344 -0
- syncade-0.6.2/tests/metrics/test_billing_surfaces_agree.py +156 -0
- syncade-0.6.2/tests/metrics/test_budget_metrics.py +102 -0
- syncade-0.6.2/tests/metrics/test_cost_honesty.py +399 -0
- syncade-0.6.2/tests/metrics/test_metrics_cli.py +36 -0
- syncade-0.6.2/tests/metrics/test_metrics_mode.py +128 -0
- syncade-0.6.2/tests/metrics/test_schema.py +255 -0
- syncade-0.6.2/tests/orchestrator/__init__.py +0 -0
- syncade-0.6.2/tests/orchestrator/_helpers.py +375 -0
- syncade-0.6.2/tests/orchestrator/_resume_fixtures.py +236 -0
- syncade-0.6.2/tests/orchestrator/conftest.py +89 -0
- syncade-0.6.2/tests/orchestrator/test_budget.py +347 -0
- syncade-0.6.2/tests/orchestrator/test_budget_resume_e2e.py +326 -0
- syncade-0.6.2/tests/orchestrator/test_budget_stop_message.py +239 -0
- syncade-0.6.2/tests/orchestrator/test_budget_warning.py +208 -0
- syncade-0.6.2/tests/orchestrator/test_checks_and_recording.py +402 -0
- syncade-0.6.2/tests/orchestrator/test_contracts.py +133 -0
- syncade-0.6.2/tests/orchestrator/test_cross_round.py +341 -0
- syncade-0.6.2/tests/orchestrator/test_cross_round_more.py +351 -0
- syncade-0.6.2/tests/orchestrator/test_default_branch_guard.py +568 -0
- syncade-0.6.2/tests/orchestrator/test_diff_size_cap.py +508 -0
- syncade-0.6.2/tests/orchestrator/test_dispatch_record.py +345 -0
- syncade-0.6.2/tests/orchestrator/test_empty_diff.py +538 -0
- syncade-0.6.2/tests/orchestrator/test_empty_diff_no_side_effects.py +171 -0
- syncade-0.6.2/tests/orchestrator/test_escalation.py +356 -0
- syncade-0.6.2/tests/orchestrator/test_last_reviewed_truthful.py +238 -0
- syncade-0.6.2/tests/orchestrator/test_loop_audit_remediation.py +411 -0
- syncade-0.6.2/tests/orchestrator/test_matrix_and_e2e.py +388 -0
- syncade-0.6.2/tests/orchestrator/test_multiround.py +426 -0
- syncade-0.6.2/tests/orchestrator/test_multiround_dirty.py +278 -0
- syncade-0.6.2/tests/orchestrator/test_multiround_more.py +511 -0
- syncade-0.6.2/tests/orchestrator/test_paraphrase_escalation.py +419 -0
- syncade-0.6.2/tests/orchestrator/test_pipeline.py +436 -0
- syncade-0.6.2/tests/orchestrator/test_provider_usage_limit.py +226 -0
- syncade-0.6.2/tests/orchestrator/test_rename_boundary.py +215 -0
- syncade-0.6.2/tests/orchestrator/test_resume.py +514 -0
- syncade-0.6.2/tests/orchestrator/test_resume_base_oid.py +152 -0
- syncade-0.6.2/tests/orchestrator/test_reviewer_blindness_is_structural.py +107 -0
- syncade-0.6.2/tests/orchestrator/test_round_input_boundaries.py +176 -0
- syncade-0.6.2/tests/orchestrator/test_run_layout.py +510 -0
- syncade-0.6.2/tests/orchestrator/test_run_status_wiring.py +492 -0
- syncade-0.6.2/tests/orchestrator/test_safety_warning_survives_quiet.py +76 -0
- syncade-0.6.2/tests/orchestrator/test_snapshot_and_base.py +529 -0
- syncade-0.6.2/tests/orchestrator/test_synth_phase.py +408 -0
- syncade-0.6.2/tests/orchestrator/test_synth_phase_more.py +411 -0
- syncade-0.6.2/tests/orchestrator/test_synth_provenance.py +398 -0
- syncade-0.6.2/tests/orchestrator/test_synth_validation.py +230 -0
- syncade-0.6.2/tests/orchestrator/test_template_robustness.py +106 -0
- syncade-0.6.2/tests/orchestrator/test_termination_reason_drift.py +141 -0
- syncade-0.6.2/tests/orchestrator/test_testleg.py +459 -0
- syncade-0.6.2/tests/orchestrator/test_timeout_is_per_subprocess.py +115 -0
- syncade-0.6.2/tests/orchestrator/test_usage_limit_message.py +130 -0
- syncade-0.6.2/tests/orchestrator/test_worktree_cleanup.py +537 -0
- syncade-0.6.2/tests/persistence/__init__.py +0 -0
- syncade-0.6.2/tests/persistence/_helpers.py +249 -0
- syncade-0.6.2/tests/persistence/test_atomic_writes.py +133 -0
- syncade-0.6.2/tests/persistence/test_checks_surfacing.py +229 -0
- syncade-0.6.2/tests/persistence/test_diff_size_recording.py +439 -0
- syncade-0.6.2/tests/persistence/test_findings_md.py +400 -0
- syncade-0.6.2/tests/persistence/test_findings_md_more.py +291 -0
- syncade-0.6.2/tests/persistence/test_findings_md_verdict.py +275 -0
- syncade-0.6.2/tests/persistence/test_handoff.py +483 -0
- syncade-0.6.2/tests/persistence/test_loop_manifest_checks.py +348 -0
- syncade-0.6.2/tests/persistence/test_loop_summary.py +374 -0
- syncade-0.6.2/tests/persistence/test_loop_summary_more.py +389 -0
- syncade-0.6.2/tests/persistence/test_md_safety.py +336 -0
- syncade-0.6.2/tests/persistence/test_next_steps.py +357 -0
- syncade-0.6.2/tests/persistence/test_producer_persist.py +136 -0
- syncade-0.6.2/tests/persistence/test_reviewer.py +207 -0
- syncade-0.6.2/tests/persistence/test_round_manifest.py +306 -0
- syncade-0.6.2/tests/persistence/test_run_init.py +236 -0
- syncade-0.6.2/tests/persistence/test_run_summary.py +254 -0
- syncade-0.6.2/tests/persistence/test_run_summary_more.py +478 -0
- syncade-0.6.2/tests/persistence/test_run_summary_producer.py +464 -0
- syncade-0.6.2/tests/persistence/test_synth_persist.py +344 -0
- syncade-0.6.2/tests/persistence/test_test_run.py +432 -0
- syncade-0.6.2/tests/producer/__init__.py +0 -0
- syncade-0.6.2/tests/producer/_helpers.py +70 -0
- syncade-0.6.2/tests/producer/test_producer.py +395 -0
- syncade-0.6.2/tests/producer/test_producer_confinement.py +236 -0
- syncade-0.6.2/tests/producer/test_producer_retry.py +406 -0
- syncade-0.6.2/tests/producer/test_producer_run.py +549 -0
- syncade-0.6.2/tests/producer/test_producer_timeout.py +226 -0
- syncade-0.6.2/tests/producer/test_producer_usage.py +69 -0
- syncade-0.6.2/tests/prompts/__init__.py +0 -0
- syncade-0.6.2/tests/prompts/test_load_template.py +597 -0
- syncade-0.6.2/tests/prompts/test_misc.py +323 -0
- syncade-0.6.2/tests/prompts/test_producer.py +329 -0
- syncade-0.6.2/tests/prompts/test_render_synthesizer.py +404 -0
- syncade-0.6.2/tests/prompts/test_synthesizer.py +353 -0
- syncade-0.6.2/tests/resume/__init__.py +0 -0
- syncade-0.6.2/tests/resume/_helpers.py +166 -0
- syncade-0.6.2/tests/resume/test_budget_resume.py +146 -0
- syncade-0.6.2/tests/resume/test_checks_phase_failure.py +211 -0
- syncade-0.6.2/tests/resume/test_cli_malformed_rehydration.py +145 -0
- syncade-0.6.2/tests/resume/test_find_resolve_plan.py +307 -0
- syncade-0.6.2/tests/resume/test_plan_resume.py +326 -0
- syncade-0.6.2/tests/resume/test_round_trip.py +777 -0
- syncade-0.6.2/tests/resume/test_tree_drift_and_escalation.py +231 -0
- syncade-0.6.2/tests/skills/test_config_section.py +64 -0
- syncade-0.6.2/tests/skills/test_install_skill.py +119 -0
- syncade-0.6.2/tests/skills/test_install_skill_multi_harness.py +336 -0
- syncade-0.6.2/tests/skills/test_install_skill_ownership.py +427 -0
- syncade-0.6.2/tests/skills/test_install_skill_refuses.py +432 -0
- syncade-0.6.2/tests/skills/test_skill_drift.py +126 -0
- syncade-0.6.2/tests/smoke/__init__.py +0 -0
- syncade-0.6.2/tests/smoke/test_anthropic_smoke.py +194 -0
- syncade-0.6.2/tests/smoke/test_auth_check_smoke.py +180 -0
- syncade-0.6.2/tests/smoke/test_codex_smoke.py +340 -0
- syncade-0.6.2/tests/smoke/test_loop_smoke.py +325 -0
- syncade-0.6.2/tests/smoke/test_orchestrator_smoke.py +234 -0
- syncade-0.6.2/tests/smoke/test_orchestrator_smoke_more.py +402 -0
- syncade-0.6.2/tests/smoke/test_producer_smoke.py +311 -0
- syncade-0.6.2/tests/smoke/test_resume_reap_smoke.py +101 -0
- syncade-0.6.2/tests/smoke/test_selfcheck_smoke.py +106 -0
- syncade-0.6.2/tests/smoke/test_synthesizer_smoke.py +375 -0
- syncade-0.6.2/tests/smoke/test_test_runner_smoke.py +110 -0
- syncade-0.6.2/tests/snapshot/__init__.py +0 -0
- syncade-0.6.2/tests/snapshot/_helpers.py +52 -0
- syncade-0.6.2/tests/snapshot/conftest.py +24 -0
- syncade-0.6.2/tests/snapshot/test_snapshot.py +246 -0
- syncade-0.6.2/tests/snapshot/test_snapshot_diff_identity.py +556 -0
- syncade-0.6.2/tests/snapshot/test_snapshot_dirty.py +321 -0
- syncade-0.6.2/tests/snapshot/test_snapshot_warning.py +182 -0
- syncade-0.6.2/tests/snapshot/test_three_dot_diff.py +138 -0
- syncade-0.6.2/tests/synthesis/__init__.py +0 -0
- syncade-0.6.2/tests/synthesis/_helpers.py +44 -0
- syncade-0.6.2/tests/synthesis/test_cluster_repair.py +290 -0
- syncade-0.6.2/tests/synthesis/test_clusters.py +300 -0
- syncade-0.6.2/tests/synthesis/test_models.py +481 -0
- syncade-0.6.2/tests/synthesis/test_models_distinct_keying.py +208 -0
- syncade-0.6.2/tests/synthesis/test_parsing.py +468 -0
- syncade-0.6.2/tests/synthesis/test_unanimous_blocker_downgrade.py +136 -0
- syncade-0.6.2/tests/synthesizer/test_provenance_fabrication.py +251 -0
- syncade-0.6.2/tests/synthesizer/test_provenance_repair.py +301 -0
- syncade-0.6.2/tests/test_adapter_registry.py +125 -0
- syncade-0.6.2/tests/test_adapters_fake.py +125 -0
- syncade-0.6.2/tests/test_auto_init_policy.py +176 -0
- syncade-0.6.2/tests/test_base_resolution.py +263 -0
- syncade-0.6.2/tests/test_check_loc_script.py +75 -0
- syncade-0.6.2/tests/test_checks.py +243 -0
- syncade-0.6.2/tests/test_config_loader.py +348 -0
- syncade-0.6.2/tests/test_cross_model_claim.py +56 -0
- syncade-0.6.2/tests/test_diff_filter.py +196 -0
- syncade-0.6.2/tests/test_diff_filter_binary.py +323 -0
- syncade-0.6.2/tests/test_diff_filter_quoted_paths.py +377 -0
- syncade-0.6.2/tests/test_escalation_coverage.py +100 -0
- syncade-0.6.2/tests/test_exit_codes.py +157 -0
- syncade-0.6.2/tests/test_git_choke_point.py +105 -0
- syncade-0.6.2/tests/test_git_config_isolation.py +70 -0
- syncade-0.6.2/tests/test_git_preconditions.py +553 -0
- syncade-0.6.2/tests/test_last_reviewed.py +55 -0
- syncade-0.6.2/tests/test_parse_repair_extra_keys.py +221 -0
- syncade-0.6.2/tests/test_pricing.py +147 -0
- syncade-0.6.2/tests/test_private_identifier_gate.py +186 -0
- syncade-0.6.2/tests/test_process.py +479 -0
- syncade-0.6.2/tests/test_process_teardown.py +99 -0
- syncade-0.6.2/tests/test_producer_escalation.py +139 -0
- syncade-0.6.2/tests/test_regression_acme.py +72 -0
- syncade-0.6.2/tests/test_retry.py +469 -0
- syncade-0.6.2/tests/test_run_status.py +141 -0
- syncade-0.6.2/tests/test_run_status_signals.py +71 -0
- syncade-0.6.2/tests/test_runner/__init__.py +0 -0
- syncade-0.6.2/tests/test_runner/test_test_runner.py +295 -0
- syncade-0.6.2/tests/test_runner/test_test_runner_more.py +350 -0
- syncade-0.6.2/tests/test_safety_disclosures_survive_quiet.py +71 -0
- syncade-0.6.2/tests/test_selfcheck.py +380 -0
- syncade-0.6.2/tests/test_spec_audit.py +492 -0
- syncade-0.6.2/tests/test_spec_draft.py +194 -0
- syncade-0.6.2/tests/test_spec_source.py +133 -0
- syncade-0.6.2/tests/test_streamed_capture.py +372 -0
- syncade-0.6.2/tests/test_strip_list_semantics.py +65 -0
- syncade-0.6.2/tests/test_synthesizer.py +462 -0
- syncade-0.6.2/tests/test_synthesizer_passthrough.py +345 -0
- syncade-0.6.2/tests/test_synthesizer_provenance.py +243 -0
- syncade-0.6.2/tests/test_transcript.py +177 -0
- syncade-0.6.2/tests/test_usage.py +348 -0
- syncade-0.6.2/tests/test_usage_persistence.py +158 -0
- syncade-0.6.2/tests/test_workflow_action_pins.py +190 -0
- syncade-0.6.2/tests/test_worktree_env.py +198 -0
- syncade-0.6.2/tests/test_worktree_strip_guard.py +61 -0
- syncade-0.6.2/tests/worktree/__init__.py +0 -0
- syncade-0.6.2/tests/worktree/_helpers.py +38 -0
- syncade-0.6.2/tests/worktree/conftest.py +29 -0
- syncade-0.6.2/tests/worktree/test_worktree.py +432 -0
- syncade-0.6.2/tests/worktree/test_worktree_cleanup.py +346 -0
syncade-0.6.2/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
syncade-0.6.2/PKG-INFO
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: syncade
|
|
3
|
+
Version: 0.6.2
|
|
4
|
+
Summary: External blind multi-judge review orchestrator for AI-assisted coding
|
|
5
|
+
Author-email: Syncade <build@syncade.ai>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/syncade-ai/syncade-ai
|
|
8
|
+
Project-URL: Repository, https://github.com/syncade-ai/syncade-ai
|
|
9
|
+
Project-URL: Issues, https://github.com/syncade-ai/syncade-ai/issues
|
|
10
|
+
Keywords: code-review,llm,ai,code-quality,ai-agents,orchestrator,claude,codex
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: MacOS
|
|
15
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
21
|
+
Classifier: Topic :: Software Development :: Testing
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Requires-Dist: pydantic>=2.0
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
28
|
+
Requires-Dist: ruff<0.16.0,>=0.15.0; extra == "dev"
|
|
29
|
+
Dynamic: license-file
|
|
30
|
+
|
|
31
|
+
# syncade
|
|
32
|
+
|
|
33
|
+
**A blind, multi-judge review loop that catches and fixes the bugs your coding agent can't see in
|
|
34
|
+
its own work.**
|
|
35
|
+
|
|
36
|
+
syncade reviews your changes with a panel of blind reviewers that share none of the context, prompt,
|
|
37
|
+
or model that wrote the code, consolidates their findings with a cold judge, and returns a ship /
|
|
38
|
+
no-ship decision as a mechanical exit code. On no-ship it fixes the code and reviews again, looping
|
|
39
|
+
until your change either ships or runs out of budget. It runs without leaving your Claude Code or
|
|
40
|
+
Codex session.
|
|
41
|
+
|
|
42
|
+
> **New here? Start with [How to use syncade](docs/how-to-use.md)** — what to hand it, why your PR
|
|
43
|
+
> should be 3–6 items, how to prompt your agent *before* you invoke it, and which settings to change.
|
|
44
|
+
|
|
45
|
+
## Why syncade
|
|
46
|
+
|
|
47
|
+
The model that writes your code is the worst reviewer of it. It reviews with the same context that
|
|
48
|
+
produced the bug, so a wrong assumption in the code is a wrong assumption in the review: it can't see
|
|
49
|
+
the gap between what the spec says and what it actually wrote. It's anchored to work it just committed
|
|
50
|
+
to, so review turns into rationalization instead of scrutiny. And by the end of a long session the
|
|
51
|
+
real diff is buried under thousands of tokens of its own narrative. That is why bugs sail past the
|
|
52
|
+
harness and land in your PR.
|
|
53
|
+
|
|
54
|
+
Stacking more of the same doesn't help. An IDE assistant, a PR bot, a "review this file" prompt: each
|
|
55
|
+
is one model, one lens, one failure distribution. Every model has systematic blind spots, whole
|
|
56
|
+
categories of bug it reliably misses, and when the same model writes and reviews, those blind spots
|
|
57
|
+
pass straight through.
|
|
58
|
+
|
|
59
|
+
syncade attacks the code from outside that failure distribution:
|
|
60
|
+
|
|
61
|
+
- **Blind and isolated.** Reviewers run as fresh CLI subprocesses with zero shared context: not your
|
|
62
|
+
session, not each other, not the producer's narrative. They start from the diff and the spec, so the
|
|
63
|
+
gap between the two is visible to them and invisible to whatever wrote the code.
|
|
64
|
+
- **Diverse judges by design.** A bug survives only if every judge misses it, so the reviewers are
|
|
65
|
+
deliberately not interchangeable. Out of the box you get **cross-prompt** diversity — a standard
|
|
66
|
+
reviewer and an adversarial one, same model, different instructions — and that alone is worth
|
|
67
|
+
more than it sounds. Across **341 runs on this codebase over ten weeks**, the panel raised 407
|
|
68
|
+
blocking findings — and **56% of them were caught by only one of the two reviewers** (126 by the
|
|
69
|
+
adversarial one, 101 by the standard one). Drop either and you lose half, and not the same half.
|
|
70
|
+
Every actor is independently configurable, so **cross-model / cross-lab** is one setting away.
|
|
71
|
+
- **It finds and fixes.** On a no-ship verdict a producer attempts the fix and commits, then the loop
|
|
72
|
+
runs again, converging to a shippable state instead of just handing you a report.
|
|
73
|
+
- **The verdict is mechanical.** Ship or no-ship is an exit code computed from the consolidated
|
|
74
|
+
findings plus your own tests and checks, so an LLM never decides it directly.
|
|
75
|
+
|
|
76
|
+
The result is a review that finds what the tool that wrote your code structurally cannot.
|
|
77
|
+
|
|
78
|
+
## How it fits your flow
|
|
79
|
+
|
|
80
|
+
Point syncade at a short spec and it reviews your changes the way a careful team would: it
|
|
81
|
+
spawns fresh, isolated CLI subprocesses — **blind reviewers**, a **cold synthesizer** that
|
|
82
|
+
consolidates their findings into one mechanical verdict, and, on NO-SHIP, a **producer** that
|
|
83
|
+
attempts a fix and commits it — looping up to five rounds by default until it ships or runs out of
|
|
84
|
+
budget. The verdict comes back in the same Claude Code or Codex session; you never open another
|
|
85
|
+
terminal or copy-paste between tools.
|
|
86
|
+
|
|
87
|
+
## Install
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
uv tool install git+https://github.com/syncade-ai/syncade-ai.git # recommended
|
|
91
|
+
# or with pip:
|
|
92
|
+
pip install git+https://github.com/syncade-ai/syncade-ai.git
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Then install the harness integration so you can invoke it as `/syncade`:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
syncade --install-skill # Claude Code + Codex; or: --install-skill claude | codex
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Installing **refuses rather than overwrites**. If anything in the destination is not something
|
|
102
|
+
syncade wrote — a skill you hand-edited, an unrelated file you keep there — it exits without
|
|
103
|
+
touching the directory and names every file at risk. Ordinary upgrades need no flag: syncade
|
|
104
|
+
recognises its own past output by content, not by filename. Use `--force-install` to overwrite
|
|
105
|
+
deliberately; it still lists what it destroys.
|
|
106
|
+
|
|
107
|
+
**Requirements**
|
|
108
|
+
- **Python 3.11+**, on **macOS or Linux** (on Windows, use WSL).
|
|
109
|
+
- **`codex`** (OpenAI), on your `PATH` and authenticated — required for the default
|
|
110
|
+
reviewers and judge. **`claude`** (Anthropic) is additionally required if you run from
|
|
111
|
+
inside Claude Code (where the default producer uses Anthropic); in a plain terminal or
|
|
112
|
+
Codex, all actors resolve to OpenAI.
|
|
113
|
+
- `git`. (`lsof` is optional — only `syncade --gc` uses it.)
|
|
114
|
+
|
|
115
|
+
Check your setup any time with `syncade --doctor`.
|
|
116
|
+
|
|
117
|
+
**What a run costs.** Measured across 102 priced runs on this repo: **median $4.07**, 90th
|
|
118
|
+
percentile **$14.90**, worst observed **$35.50**. A clean single-round review lands nearer $2;
|
|
119
|
+
the expensive tail is multi-round loops where a producer rewrites code each round. If your
|
|
120
|
+
`claude` / `codex` CLIs are signed in to a subscription the marginal cost is **$0** — that is how
|
|
121
|
+
every run in this project has been paid for, which is precisely why these numbers are easy to
|
|
122
|
+
forget. On API billing it is real money. `syncade --doctor` previews the cost of the run you are
|
|
123
|
+
about to start, and `--budget-usd N` (or `[loop] budget_usd`) stops the loop at a ceiling instead
|
|
124
|
+
of reporting the damage afterwards.
|
|
125
|
+
|
|
126
|
+
## Quick start
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
cd your-git-repo
|
|
130
|
+
syncade --doctor --quick # green/red readiness check (CLIs, worktree) — skips auth probe; no live provider calls
|
|
131
|
+
syncade path/to/brief.md # run the review loop against a short markdown spec
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Or, from inside Claude Code once the skill is installed:
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
/syncade path/to/brief.md
|
|
138
|
+
/syncade review what I just did # drafts a spec from the session, then reviews
|
|
139
|
+
/syncade dogfood the brief for 2 rounds
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
From inside Codex (draft-from-session is a follow-up; supply a brief or OpenSpec):
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
/syncade path/to/brief.md
|
|
146
|
+
/syncade dogfood the brief for 2 rounds
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
syncade finds the repo root itself, writes all artifacts under `.syncade/runs/`
|
|
150
|
+
(gitignored), and **refuses to run on your default branch** unless you pass
|
|
151
|
+
`--allow-default-branch` — because the producer commits to the current branch.
|
|
152
|
+
|
|
153
|
+
For the full walkthrough — writing a brief the blind panel can use, keeping the change small enough
|
|
154
|
+
to converge, and the pre-review prompt that raises the floor — see
|
|
155
|
+
**[How to use syncade](docs/how-to-use.md)**.
|
|
156
|
+
|
|
157
|
+
## How it works
|
|
158
|
+
|
|
159
|
+
Each round of `syncade <brief>`:
|
|
160
|
+
|
|
161
|
+
1. **Snapshot** the repo — HEAD plus the diff under review.
|
|
162
|
+
2. **Reviewers** (two, blind, in parallel) investigate inside throwaway worktree copies and return structured findings.
|
|
163
|
+
3. **Cold synthesizer** — a third blind judge — consolidates them into one `findings.md` with a **mechanical verdict**; unanimous blockers can't be dismissed.
|
|
164
|
+
4. Optional **test / check legs** run in a clean worktree and fold into the verdict.
|
|
165
|
+
5. On **NO-SHIP**, a **producer** attempts a fix and commits; the branch fast-forwards and the next round begins.
|
|
166
|
+
|
|
167
|
+
It ships the moment a round is clean, or stops at `max_rounds` (default 5), a budget
|
|
168
|
+
ceiling, or a producer stall.
|
|
169
|
+
|
|
170
|
+
**Cross-prompt and cross-model.** Reviewer diversity is the point — a blind spot shared by every
|
|
171
|
+
judge is a blind spot in the verdict. The default panel is two `codex` (OpenAI `gpt-5.5`) reviewers
|
|
172
|
+
running *different prompts* — a standard reviewer and an adversarial one — so it's **cross-prompt** out
|
|
173
|
+
of the box. And every actor is now fully configurable: set the provider and model per reviewer to run
|
|
174
|
+
**cross-model / cross-lab** (e.g. one OpenAI reviewer + one Anthropic reviewer) whenever you want a
|
|
175
|
+
second lab's perspective.
|
|
176
|
+
|
|
177
|
+
**We recommend `codex` (OpenAI) models as your blind reviewers.** Not a shrug at the alternatives —
|
|
178
|
+
a measurement. On mixed panels in our own dogfooding, reviewing the *same diff in the same round*,
|
|
179
|
+
the OpenAI reviewer raised **1.18 findings per reviewer-round against the Anthropic reviewer's
|
|
180
|
+
0.38**; across the whole corpus it is 6.37 findings per run against 0.57. We offlined an Anthropic reviewer and reverted a
|
|
181
|
+
`gpt-5.6` panel after both audited too leniently.
|
|
182
|
+
|
|
183
|
+
Read that with its limits: one codebase, one language, and a small Anthropic sample (13
|
|
184
|
+
reviewer-rounds). Fewer findings is not automatically worse — it can mean fewer false positives —
|
|
185
|
+
so the leniency reading rests on the two reversals as much as on the ratio. It is enough for a
|
|
186
|
+
default, not enough for a law. Reach for cross-model deliberately; the config is there precisely
|
|
187
|
+
so you can test that recommendation against your own repo, and we would like to hear if it does
|
|
188
|
+
not hold.
|
|
189
|
+
|
|
190
|
+
## The verdict is an exit code
|
|
191
|
+
|
|
192
|
+
The verdict is mechanical — the LLMs never decide the exit code directly.
|
|
193
|
+
|
|
194
|
+
| Code | Meaning |
|
|
195
|
+
|---|---|
|
|
196
|
+
| `0` | SHIP — or nothing to review (`termination_reason: no_changes_to_review` in `loop-manifest.json`) |
|
|
197
|
+
| `10` | Clarification or operator decision needed (see `decision-needed.md`) |
|
|
198
|
+
| `20` | Max rounds reached, still NO-SHIP |
|
|
199
|
+
| `25` | Stopped early, resumable — your budget ceiling, or the provider's usage limit |
|
|
200
|
+
| `30` | Findings present, test failed, or producer stalled |
|
|
201
|
+
| `40` | A subprocess failed |
|
|
202
|
+
| `50` | Config error |
|
|
203
|
+
| `60` | Environment / worktree / repo problem — also a refused run: the diff is unreadable, or too large for a reviewer to be asked to read (`diff_too_large` / `prompt_too_large`) |
|
|
204
|
+
| `70` | Reviewer or synthesizer output couldn't be parsed |
|
|
205
|
+
|
|
206
|
+
## Configuration
|
|
207
|
+
|
|
208
|
+
Zero-config works out of the box. To customize, add `.syncade/config.toml`:
|
|
209
|
+
|
|
210
|
+
```toml
|
|
211
|
+
[loop]
|
|
212
|
+
max_rounds = 5 # recommended default; hard ceiling is 10
|
|
213
|
+
timeout_seconds = 1800 # per SUBPROCESS, not per round; see below
|
|
214
|
+
test_command = "pytest -q" # optional third convergence leg
|
|
215
|
+
max_diff_bytes = 1_000_000 # refuse rather than review a diff this large (exit 60)
|
|
216
|
+
|
|
217
|
+
[[reviewers]]
|
|
218
|
+
name = "codex-reviewer"
|
|
219
|
+
provider = "openai" # codex/OpenAI recommended for blind review; swap per reviewer for cross-model
|
|
220
|
+
model = "gpt-5.5"
|
|
221
|
+
thinking = "xhigh"
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Rounds & time budget.** We recommend **5 rounds**, and `timeout_seconds` around **~30 minutes**.
|
|
225
|
+
|
|
226
|
+
`timeout_seconds` is a cap on **each subprocess**, not on a round. It is the fallback wall clock for
|
|
227
|
+
every leg — each reviewer, the judge, the test run, each mechanical check, and the producer — so a
|
|
228
|
+
round's worst case is a multiple of it. With two reviewers (parallel, so they count once), a test
|
|
229
|
+
command and three checks, one round can run **7×** the configured value before anything times out.
|
|
230
|
+
Size it as "how long may a single model call take". The actual runaway guard is the token
|
|
231
|
+
ceiling, and it is **on by default** — `budget_tokens = 50000000`, which stops about 4% of runs
|
|
232
|
+
in our own corpus and is `--resume`-able when it does. Set `budget_tokens = 0` to remove it, or
|
|
233
|
+
add a `budget_usd` ceiling alongside. You can raise `max_rounds` up to **10**; the round cap
|
|
234
|
+
is a typo-guard, not a spend guard. Per-invocation: `syncade --max-rounds N`, `--budget-usd N`.
|
|
235
|
+
|
|
236
|
+
Every reachable knob — reviewers, producer, the cold actors, retry, GC, budgets — is in
|
|
237
|
+
**[docs/config-reference.md](docs/config-reference.md)**, and three bundled presets
|
|
238
|
+
(`--preset cheap | balanced | thorough`) cover the common cases.
|
|
239
|
+
|
|
240
|
+
Prefer not to hand-edit TOML? `syncade --config` opens an arrow-key menu that **drills in** to every
|
|
241
|
+
actor and Advanced section (Producer / Reviewer / Judge → model, thinking, permissions, auth — plus
|
|
242
|
+
timeout for Producer/Reviewers; Advanced… → retry / gc / review / checks); `syncade --config set <key> <value>` sets **any** scalar
|
|
243
|
+
field on any actor/section (the scriptable form, one shared resolver); `--config list` shows the common
|
|
244
|
+
surfaced settings with the layer that set it, and `--config list --all` dumps the **full** settable
|
|
245
|
+
surface (every field, with layer + `overrides global` shadow notes + the dotted key). A bad key exits 2,
|
|
246
|
+
a bad value exits 50 — never a broken file. Edits go to a machine-wide **`~/.syncade/config.toml`** by
|
|
247
|
+
default — set "my producer is Opus everywhere" once — with precedence `defaults → global → repo
|
|
248
|
+
`.syncade/config.toml` → CLI flags`; in the menu, `t` switches the edit target and a `shadowed by
|
|
249
|
+
<layer>` flag warns when a higher layer would mask your edit. Add `--repo` to target the current repo
|
|
250
|
+
instead. Inside Claude Code / Codex, the `/syncade` skill renders that same surface as a **conversational
|
|
251
|
+
config menu** — browse and edit by chatting, no terminal needed.
|
|
252
|
+
|
|
253
|
+
**Billing caveat.** The two CLIs resolve credentials *oppositely* — `claude` lets
|
|
254
|
+
`ANTHROPIC_API_KEY` override your login, while `codex` ignores `OPENAI_API_KEY` and uses
|
|
255
|
+
its own login. Each actor takes `auth = "auto" | "subscription" | "api"`, and **every run
|
|
256
|
+
prints which account is about to pay**, even under `--quiet`. Details in
|
|
257
|
+
[SECURITY.md](SECURITY.md) and the config reference.
|
|
258
|
+
|
|
259
|
+
## Security
|
|
260
|
+
|
|
261
|
+
syncade runs AI coding-agent CLIs with **elevated tool access on your repo**:
|
|
262
|
+
|
|
263
|
+
- **Reviewers** run headless inside throwaway worktree copies under `/tmp/syncade/` (Codex reviewers are additionally sandboxed to theirs).
|
|
264
|
+
- **The producer** runs unsandboxed and **commits to your current branch** (syncade refuses the default branch by default).
|
|
265
|
+
- Full LLM transcripts — including source a reviewer read — are written to `.syncade/runs/` (gitignored, auto-pruned). **A secret in a file a reviewer opens lands there in plaintext.**
|
|
266
|
+
- syncade makes **no network calls of its own**; its only egress is the provider CLIs you already authenticated and the test/check commands you configure.
|
|
267
|
+
|
|
268
|
+
Running syncade is comparable to running the target repo's `Makefile` — it executes code
|
|
269
|
+
with your permissions. See **[SECURITY.md](SECURITY.md)** for the full threat model and how
|
|
270
|
+
to report a vulnerability.
|
|
271
|
+
|
|
272
|
+
## Known limitations
|
|
273
|
+
|
|
274
|
+
Early access. These are measured, not suspected.
|
|
275
|
+
|
|
276
|
+
- **A clean verdict is evidence, not proof.** The panel is not deterministic: on two runs 25
|
|
277
|
+
minutes apart over byte-identical code, one raised two blockers and the other shipped clean.
|
|
278
|
+
Both findings were real. If a SHIP arrives over code you did not change since a NO-SHIP, treat
|
|
279
|
+
it as the weaker signal — compare the verdict to what the *code* changed, not to the previous
|
|
280
|
+
verdict.
|
|
281
|
+
- **NO-SHIP runs keep their worktrees.** They are preserved so you can inspect what a reviewer
|
|
282
|
+
saw, and `syncade --gc` deliberately will not reclaim a run that is still resumable — so
|
|
283
|
+
`<worktree_base>` grows, and each worktree is a full checkout. It reached 4.4 GB on this
|
|
284
|
+
machine before a cleanup. Point `worktree_base` somewhere you do not mind, delete old run
|
|
285
|
+
directories once you are done with them, and run `git worktree prune` afterwards: removing the
|
|
286
|
+
directory does not remove git's registration of it.
|
|
287
|
+
- **A hard-killed run keeps almost all of what its reviewers had written.** Reviewer stdout and
|
|
288
|
+
stderr are copied to `<round>/<name>.stdout` / `<round>/<name>.stderr` as the child produces
|
|
289
|
+
them, rather than held in memory until it exits, so a run ended by `SIGKILL` (or a machine
|
|
290
|
+
going away) leaves those files behind instead of an empty directory. The honest limit: the
|
|
291
|
+
guarantee is everything written *so far*, not every byte produced — a chunk still in flight
|
|
292
|
+
when the parent dies is lost. Completed rounds are unaffected, and `--resume` picks up from
|
|
293
|
+
the last one and reports that the previous run was hard-killed and in which phase.
|
|
294
|
+
- **The producer commits to your current branch.** That is the design — it fast-forwards only,
|
|
295
|
+
refuses the default branch without `--allow-default-branch`, and prints every commit it made.
|
|
296
|
+
Your working tree is *not* updated to match, so `git status` afterwards shows what looks like a
|
|
297
|
+
staged revert; sync with `git stash && git reset --hard HEAD && git stash pop` rather than
|
|
298
|
+
committing it. syncade warns about this and the warning is not suppressible.
|
|
299
|
+
|
|
300
|
+
## Development
|
|
301
|
+
|
|
302
|
+
```bash
|
|
303
|
+
uv venv --seed && source .venv/bin/activate
|
|
304
|
+
uv pip install -e ".[dev]"
|
|
305
|
+
uv run python -m pytest -q # smoke tests are opt-in: add -m smoke
|
|
306
|
+
uv run ruff check . && uv run ruff format --check .
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
The only runtime dependency is `pydantic`. See **[CONTRIBUTING.md](CONTRIBUTING.md)** for the
|
|
310
|
+
full contributor guide.
|
|
311
|
+
|
|
312
|
+
## License
|
|
313
|
+
|
|
314
|
+
[Apache-2.0](LICENSE). © 2026 Syncade.
|