syncade 0.6.2__py3-none-any.whl
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/__init__.py +3 -0
- syncade/__main__.py +6 -0
- syncade/adapters/__init__.py +0 -0
- syncade/adapters/anthropic.py +457 -0
- syncade/adapters/base.py +221 -0
- syncade/adapters/fake.py +73 -0
- syncade/adapters/fake_common.py +29 -0
- syncade/adapters/fake_producer_audit_draft.py +460 -0
- syncade/adapters/fake_reviewer_synth.py +310 -0
- syncade/adapters/openai.py +484 -0
- syncade/adapters/openai_parsing.py +119 -0
- syncade/adapters/producer.py +221 -0
- syncade/adapters/producer_anthropic.py +300 -0
- syncade/adapters/producer_openai.py +226 -0
- syncade/adapters/registry.py +81 -0
- syncade/auth_check.py +554 -0
- syncade/auth_preflight.py +342 -0
- syncade/base_resolution.py +214 -0
- syncade/billing.py +141 -0
- syncade/checks_config.py +113 -0
- syncade/cli/__init__.py +546 -0
- syncade/cli/auth_gate.py +59 -0
- syncade/cli/config_keys.py +135 -0
- syncade/cli/config_list.py +82 -0
- syncade/cli/config_menu_rows.py +166 -0
- syncade/cli/config_mode.py +609 -0
- syncade/cli/config_overrides.py +122 -0
- syncade/cli/config_tui.py +476 -0
- syncade/cli/doctor_mode.py +72 -0
- syncade/cli/gc_mode.py +109 -0
- syncade/cli/install_skill.py +514 -0
- syncade/cli/metrics_mode.py +363 -0
- syncade/cli/modes.py +573 -0
- syncade/cli/parser.py +450 -0
- syncade/cli/parser_types.py +137 -0
- syncade/cli/paths.py +38 -0
- syncade/cli/preflight_paths.py +90 -0
- syncade/cli/resolve.py +116 -0
- syncade/cli/resume_mode.py +324 -0
- syncade/cli/toml_writer.py +410 -0
- syncade/cli/validate.py +421 -0
- syncade/config.py +478 -0
- syncade/config_auth.py +310 -0
- syncade/config_cold.py +209 -0
- syncade/config_gc.py +55 -0
- syncade/config_loader.py +182 -0
- syncade/config_loop.py +282 -0
- syncade/config_producer.py +222 -0
- syncade/config_retry.py +49 -0
- syncade/config_types.py +59 -0
- syncade/diff_filter.py +437 -0
- syncade/dispatcher.py +571 -0
- syncade/doctor.py +425 -0
- syncade/doctor_env.py +218 -0
- syncade/doctor_preview.py +524 -0
- syncade/doctor_types.py +28 -0
- syncade/exit_codes.py +82 -0
- syncade/findings.py +242 -0
- syncade/findings_json.py +456 -0
- syncade/gc.py +211 -0
- syncade/gc_execute.py +372 -0
- syncade/gc_protection.py +129 -0
- syncade/gc_types.py +50 -0
- syncade/gc_worktrees.py +200 -0
- syncade/git_object_id.py +12 -0
- syncade/git_preconditions.py +389 -0
- syncade/logging.py +289 -0
- syncade/metrics/__init__.py +32 -0
- syncade/metrics/aggregate.py +550 -0
- syncade/metrics/schema.py +221 -0
- syncade/orchestrator/__init__.py +61 -0
- syncade/orchestrator/_runs_dir.py +24 -0
- syncade/orchestrator/branch_advance.py +165 -0
- syncade/orchestrator/branch_guard.py +98 -0
- syncade/orchestrator/budget.py +107 -0
- syncade/orchestrator/escalation_coverage.py +81 -0
- syncade/orchestrator/loop.py +611 -0
- syncade/orchestrator/loop_dispatch_check.py +112 -0
- syncade/orchestrator/loop_finalize.py +404 -0
- syncade/orchestrator/loop_preflight.py +131 -0
- syncade/orchestrator/loop_resume.py +91 -0
- syncade/orchestrator/loop_rmtree.py +70 -0
- syncade/orchestrator/loop_round_step.py +599 -0
- syncade/orchestrator/prior_round.py +336 -0
- syncade/orchestrator/producer_phase.py +169 -0
- syncade/orchestrator/results.py +306 -0
- syncade/orchestrator/resume.py +96 -0
- syncade/orchestrator/resume_load.py +483 -0
- syncade/orchestrator/resume_plan.py +554 -0
- syncade/orchestrator/resume_target.py +215 -0
- syncade/orchestrator/resume_types.py +182 -0
- syncade/orchestrator/reviewer_template_failure.py +99 -0
- syncade/orchestrator/round.py +573 -0
- syncade/orchestrator/round_checks.py +91 -0
- syncade/orchestrator/round_no_changes.py +369 -0
- syncade/orchestrator/round_predispatch.py +212 -0
- syncade/orchestrator/verdict.py +279 -0
- syncade/persistence/__init__.py +189 -0
- syncade/persistence/_atomic.py +33 -0
- syncade/persistence/_clusters.py +70 -0
- syncade/persistence/_findings_verdict.py +201 -0
- syncade/persistence/_markdown.py +286 -0
- syncade/persistence/_validation.py +37 -0
- syncade/persistence/checks.py +249 -0
- syncade/persistence/decision_needed.py +289 -0
- syncade/persistence/findings_md.py +389 -0
- syncade/persistence/handoff.py +389 -0
- syncade/persistence/handoff_classify.py +196 -0
- syncade/persistence/last_reviewed.py +67 -0
- syncade/persistence/loop_manifest.py +165 -0
- syncade/persistence/loop_summary.py +352 -0
- syncade/persistence/loop_summary_text.py +428 -0
- syncade/persistence/producer.py +250 -0
- syncade/persistence/reviewer.py +198 -0
- syncade/persistence/round_manifest.py +238 -0
- syncade/persistence/run_init.py +153 -0
- syncade/persistence/run_summary.py +585 -0
- syncade/persistence/run_summary_next_steps.py +443 -0
- syncade/persistence/synth.py +242 -0
- syncade/persistence/test_run.py +152 -0
- syncade/presets.py +36 -0
- syncade/pricing_config.py +72 -0
- syncade/process.py +600 -0
- syncade/producer.py +189 -0
- syncade/producer_attempt.py +463 -0
- syncade/producer_escalation.py +146 -0
- syncade/producer_git.py +199 -0
- syncade/producer_result.py +205 -0
- syncade/prompts.py +448 -0
- syncade/prompts_loader.py +238 -0
- syncade/retry.py +159 -0
- syncade/run_inputs.py +40 -0
- syncade/run_status.py +198 -0
- syncade/selfcheck.py +471 -0
- syncade/skills/claude/README.md +221 -0
- syncade/skills/claude/SKILL.md +625 -0
- syncade/skills/codex/README.md +116 -0
- syncade/skills/codex/SKILL.md +574 -0
- syncade/snapshot.py +598 -0
- syncade/spec_audit.py +437 -0
- syncade/spec_audit_schema.py +190 -0
- syncade/spec_draft.py +423 -0
- syncade/spec_source.py +135 -0
- syncade/synthesis.py +428 -0
- syncade/synthesis_clusters.py +203 -0
- syncade/synthesis_repair.py +230 -0
- syncade/synthesis_schema.py +65 -0
- syncade/synthesizer/__init__.py +38 -0
- syncade/synthesizer/constants.py +33 -0
- syncade/synthesizer/driver.py +531 -0
- syncade/synthesizer/rendering.py +63 -0
- syncade/synthesizer/result.py +73 -0
- syncade/synthesizer/validation.py +421 -0
- syncade/synthesizer/workspace.py +208 -0
- syncade/templates/presets/balanced.toml +13 -0
- syncade/templates/presets/cheap.toml +12 -0
- syncade/templates/presets/thorough.toml +9 -0
- syncade/templates/producer.md +231 -0
- syncade/templates/reviewer.md +279 -0
- syncade/templates/reviewer_adversarial.md +164 -0
- syncade/templates/reviewer_codex.md +165 -0
- syncade/templates/spec_audit.md +168 -0
- syncade/templates/spec_draft.md +62 -0
- syncade/templates/synthesizer.md +204 -0
- syncade/test_runner.py +476 -0
- syncade/test_runner_classify.py +98 -0
- syncade/transcript.py +150 -0
- syncade/usage.py +407 -0
- syncade/worktree.py +497 -0
- syncade/worktree_env.py +133 -0
- syncade/worktree_paths.py +139 -0
- syncade-0.6.2.dist-info/METADATA +314 -0
- syncade-0.6.2.dist-info/RECORD +177 -0
- syncade-0.6.2.dist-info/WHEEL +5 -0
- syncade-0.6.2.dist-info/entry_points.txt +2 -0
- syncade-0.6.2.dist-info/licenses/LICENSE +202 -0
- syncade-0.6.2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"""Worktree name/path/registration plumbing.
|
|
2
|
+
|
|
3
|
+
Holds :class:`WorktreeError` plus the pure helpers that don't touch the
|
|
4
|
+
patched ``subprocess`` / ``datetime`` module globals: reviewer-name validation,
|
|
5
|
+
the strip-files deletion, and the stale-metadata structural check. Extracted
|
|
6
|
+
verbatim from ``WorktreeManager``'s static/helper methods (now module functions
|
|
7
|
+
called by the manager); behavior unchanged. ``worktree.py`` re-exports
|
|
8
|
+
``WorktreeError`` so ``syncade.worktree.WorktreeError`` is the same class.
|
|
9
|
+
|
|
10
|
+
This module stays a leaf — it must NOT import ``worktree`` (that's a one-way
|
|
11
|
+
dependency: ``worktree`` imports this).
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
|
|
16
|
+
import os
|
|
17
|
+
from pathlib import Path
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class WorktreeError(Exception):
|
|
21
|
+
"""Raised when worktree provisioning or cleanup fails.
|
|
22
|
+
|
|
23
|
+
The message must include the underlying ``git`` error output when
|
|
24
|
+
applicable so the CLI can surface it via exit code 60
|
|
25
|
+
(``WORKTREE_ERROR``) without further introspection.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def _validate_reviewer_name(reviewer_name: str) -> None:
|
|
30
|
+
"""Reject anything that isn't a plain basename.
|
|
31
|
+
|
|
32
|
+
Raised at the top of :meth:`WorktreeManager.create` before any side effects
|
|
33
|
+
so a malformed name (empty, ``"."``, ``".."``, separator-containing,
|
|
34
|
+
or absolute) cannot make the worktree path resolve outside
|
|
35
|
+
:attr:`WorktreeManager.run_dir`.
|
|
36
|
+
"""
|
|
37
|
+
if (
|
|
38
|
+
not reviewer_name
|
|
39
|
+
or reviewer_name in (".", "..")
|
|
40
|
+
or "/" in reviewer_name
|
|
41
|
+
or "\\" in reviewer_name
|
|
42
|
+
or Path(reviewer_name).is_absolute()
|
|
43
|
+
):
|
|
44
|
+
raise WorktreeError(
|
|
45
|
+
f"invalid reviewer_name {reviewer_name!r}: must be a plain "
|
|
46
|
+
"basename (no separators, parent refs, or absolute paths)"
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _strip_files(worktree_path: Path, names: list[str]) -> None:
|
|
51
|
+
"""Best-effort recursive deletion of named files in the worktree.
|
|
52
|
+
|
|
53
|
+
Each entry must be a plain basename — entries containing a path
|
|
54
|
+
separator, a parent-directory reference, or an absolute path
|
|
55
|
+
are silently skipped so a malformed config cannot delete files
|
|
56
|
+
outside the worktree. Missing files (and directories — only files
|
|
57
|
+
and symlinks are unlinked) and unlink failures are also swallowed
|
|
58
|
+
silently, matching the brief's "best-effort" rule.
|
|
59
|
+
"""
|
|
60
|
+
strip_basenames: set[str] = set()
|
|
61
|
+
for name in names:
|
|
62
|
+
# Refuse to escape the worktree root. We silently skip
|
|
63
|
+
# rather than raising, mirroring how missing files are
|
|
64
|
+
# handled — both are "no eligible basename matches".
|
|
65
|
+
#
|
|
66
|
+
# A backslash is NOT an escape vector here (PR-h-02c item 2 / D2): on
|
|
67
|
+
# POSIX it is a legal filename character that cannot separate paths,
|
|
68
|
+
# so the `/`, `..`, and is_absolute() checks below already close every
|
|
69
|
+
# way out of the worktree. Rejecting it bought nothing and silently
|
|
70
|
+
# dropped a legitimate strip target — `back\slash.md` survived into
|
|
71
|
+
# the reviewer worktree, which is the leak this PR exists to close.
|
|
72
|
+
if not name or name in (".", "..") or "/" in name or Path(name).is_absolute():
|
|
73
|
+
continue
|
|
74
|
+
strip_basenames.add(name)
|
|
75
|
+
if not strip_basenames:
|
|
76
|
+
return
|
|
77
|
+
|
|
78
|
+
for root, dirnames, filenames in os.walk(worktree_path):
|
|
79
|
+
root_path = Path(root)
|
|
80
|
+
for dirname in list(dirnames):
|
|
81
|
+
target = root_path / dirname
|
|
82
|
+
if dirname not in strip_basenames or not target.is_symlink():
|
|
83
|
+
continue
|
|
84
|
+
try:
|
|
85
|
+
target.unlink()
|
|
86
|
+
except OSError:
|
|
87
|
+
pass
|
|
88
|
+
dirnames.remove(dirname)
|
|
89
|
+
for filename in filenames:
|
|
90
|
+
if filename not in strip_basenames:
|
|
91
|
+
continue
|
|
92
|
+
target = root_path / filename
|
|
93
|
+
try:
|
|
94
|
+
if target.is_file() or target.is_symlink():
|
|
95
|
+
target.unlink()
|
|
96
|
+
except OSError:
|
|
97
|
+
# Best-effort — leave anything we couldn't remove.
|
|
98
|
+
pass
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def _registered_path_differs_from_actual(repo_root: Path, worktree) -> bool:
|
|
102
|
+
"""Structural check for the stale-metadata-drift
|
|
103
|
+
case. Returns True iff git has a registration for this
|
|
104
|
+
worktree name AND the ``gitdir`` file inside that
|
|
105
|
+
registration points at a path different from the actual
|
|
106
|
+
on-disk worktree path.
|
|
107
|
+
|
|
108
|
+
Uses git's registration metadata rather than matching English stderr, so
|
|
109
|
+
the check works regardless of git's message language (operator-locale
|
|
110
|
+
environments, custom git locale settings).
|
|
111
|
+
|
|
112
|
+
The check is best-effort: if the ``gitdir`` file can't be
|
|
113
|
+
read for any reason (permissions, race, malformed
|
|
114
|
+
contents), returns False — falling back to the
|
|
115
|
+
no-recovery-attempted path. False negatives just mean we
|
|
116
|
+
miss the recovery opportunity; we don't risk false
|
|
117
|
+
positives that would trigger inappropriate recovery.
|
|
118
|
+
|
|
119
|
+
See git-worktree(1) §"DETAILS" for the ``.git/worktrees/
|
|
120
|
+
<name>/gitdir`` format: a single line whose contents are
|
|
121
|
+
the absolute path to the worktree's ``.git`` file (i.e.
|
|
122
|
+
``<worktree_path>/.git``).
|
|
123
|
+
"""
|
|
124
|
+
gitdir_file = repo_root / ".git" / "worktrees" / worktree.reviewer_name / "gitdir"
|
|
125
|
+
if not gitdir_file.is_file():
|
|
126
|
+
return False
|
|
127
|
+
try:
|
|
128
|
+
registered_text = gitdir_file.read_text(encoding="utf-8").strip()
|
|
129
|
+
except OSError:
|
|
130
|
+
return False
|
|
131
|
+
# ``gitdir`` contents point at ``<worktree_path>/.git``.
|
|
132
|
+
# Compare resolved paths to handle symlink differences
|
|
133
|
+
# (/tmp vs /private/tmp on macOS).
|
|
134
|
+
try:
|
|
135
|
+
registered = Path(registered_text).resolve(strict=False)
|
|
136
|
+
expected = (worktree.path / ".git").resolve(strict=False)
|
|
137
|
+
except (OSError, RuntimeError):
|
|
138
|
+
return False
|
|
139
|
+
return registered != expected
|
|
@@ -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.
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
syncade/__init__.py,sha256=B7Qd83PNsD2xFkzMtIqD4cXuxTNJtu1FhPOA0SGnFCk,89
|
|
2
|
+
syncade/__main__.py,sha256=AS9ZzMNuusX29bJ9s5HtEMz9gXQTKfZFFjnzUut9Xvw,132
|
|
3
|
+
syncade/auth_check.py,sha256=_x4osppQIkZFGdqhsEro_UQRV6a6Kc7vXmUNIqiNNUg,22805
|
|
4
|
+
syncade/auth_preflight.py,sha256=rDWFQMKcKFPrAPEV7K03O3gLEdhrDTBLD1B2Cbl_awE,17255
|
|
5
|
+
syncade/base_resolution.py,sha256=6zW5_pTE9C4TZycC_1HFXpD4H_LDI--i5Dh0aPGCGuc,9451
|
|
6
|
+
syncade/billing.py,sha256=s6gt4yeC4n_PxL-q-473cWiOLZl9_e3vqIC_iUmqkno,6604
|
|
7
|
+
syncade/checks_config.py,sha256=0O7cyR2NcPO4XIwzEG7lEaaUsRY3NvOSFGWkWZ9qtek,5093
|
|
8
|
+
syncade/config.py,sha256=I3TrG2KGGwHb8oJzioG288MB5q0iAwyuBwQL4JR1n3M,23974
|
|
9
|
+
syncade/config_auth.py,sha256=8AYTH51CPNKFmSJachcYlV29GJ-EuuheUvph_3sjeh4,15720
|
|
10
|
+
syncade/config_cold.py,sha256=hqV1wZzyM45XPrYzFLvDEhHN4-T7TYwFRbw_cNVnLzU,8783
|
|
11
|
+
syncade/config_gc.py,sha256=wIm-0eCAYBKHiDLkBEW4jV7EG9q7S2o8aFVoGLkuUdk,2610
|
|
12
|
+
syncade/config_loader.py,sha256=p2Bza64KoYt8-D6FeERyZ4QyI9zXCFwtGFG-z4D-7ic,8711
|
|
13
|
+
syncade/config_loop.py,sha256=3TcMbJzo2JMpdo4Zzt19PNSI5APGm8yrUMQKcuOpkzo,15973
|
|
14
|
+
syncade/config_producer.py,sha256=CaidGo0FSYaIQWQWmZvfXr3qKIAwUhjsHnIpYxcORSc,9937
|
|
15
|
+
syncade/config_retry.py,sha256=iL-atXpx4YJpWjn1mqqDNqC5TqLag8wBusKhL--vTe4,2452
|
|
16
|
+
syncade/config_types.py,sha256=8oGdkhumwo6jtrogCEMLPq7EMu9bpaxMeqkiKYVvIN8,2815
|
|
17
|
+
syncade/diff_filter.py,sha256=ZU5OBvCZLYZEWCNdSjpheJI79yMYiG38f75x1JQF0So,21007
|
|
18
|
+
syncade/dispatcher.py,sha256=C6sscVKuXm6Ry7AIs9QDBz0OXHMY_yQZy9BQuCNxLtI,27127
|
|
19
|
+
syncade/doctor.py,sha256=Jtpv0s3YNyLZXUIuyTRxM_TYmhCYuDvXCNnvNcpDuGg,19015
|
|
20
|
+
syncade/doctor_env.py,sha256=ZfypkLZYW06k_88UWFw-AxUIkrQXHT6O3fdPktUaYhM,10489
|
|
21
|
+
syncade/doctor_preview.py,sha256=tSEEh2AX4EwCC1L0xu6UIK7q0Rpl7aHE22R7CI0Utj8,25675
|
|
22
|
+
syncade/doctor_types.py,sha256=k8G3d4z7qS4WK_9GWDwjT06nqr9snD15LufIOXvnNBY,898
|
|
23
|
+
syncade/exit_codes.py,sha256=R1CKLdjW9xb0XGMxbswOqn99NakHkpDMYNYAvKBokbc,3680
|
|
24
|
+
syncade/findings.py,sha256=l1LTY_hWyHcW3_0lmyR1FIReCBEyoqQ9wK_RhJLShk8,10210
|
|
25
|
+
syncade/findings_json.py,sha256=Bzw1rwwxJ5UKmZh-H1_rH7KEHyS-QcYXZK2j10bZiX8,21562
|
|
26
|
+
syncade/gc.py,sha256=38CZdG4LrMMwnCgf7gaj4Wfq1X4KQyS36K4zT_wMnrM,7373
|
|
27
|
+
syncade/gc_execute.py,sha256=AexQ9KkWzJH5LdvfLab7hJWqI1NTNGdzTot7doF9kTw,14547
|
|
28
|
+
syncade/gc_protection.py,sha256=AOBalkgfLY5rSGPVRMpZWAZ_5BaGzsK-NWLLy4FKM48,4150
|
|
29
|
+
syncade/gc_types.py,sha256=Cbk3y_xl72j_7KofqEnEwhJsUiXZvpVfBbLzMzPM5II,2129
|
|
30
|
+
syncade/gc_worktrees.py,sha256=mTvp_tZYaJN0_8_DlAXGXg8InB2g6kLCcuB174XRy8w,7351
|
|
31
|
+
syncade/git_object_id.py,sha256=GUGoyewSSzpVc0vN-SUJSPsnANk8tbpkPGrOcOAaRJc,309
|
|
32
|
+
syncade/git_preconditions.py,sha256=N3fQzgB-OAqPzMgZmOd-BYsxnCk5zjvgq3TUtVEag2U,19151
|
|
33
|
+
syncade/logging.py,sha256=ilfwEFMaDEgDG33zWC0TdjKdl5ZRRbrgwjV-MLDOoqU,12736
|
|
34
|
+
syncade/presets.py,sha256=_F_1qP-bmxhkyguvf54CRaYSqsqqOulS4J4zN0hM9bc,1702
|
|
35
|
+
syncade/pricing_config.py,sha256=0iP40wQzmJnHcWsU33u496nrTazPN9Vg5bbz_KwqCBg,3107
|
|
36
|
+
syncade/process.py,sha256=N14QhjZKHUAHLceZxtBX7OMjKXAGx8Phauf83cc8z8c,27148
|
|
37
|
+
syncade/producer.py,sha256=d5MommmUA8jyPNrzmmxRaqhbMtKZL3mEfrVkF5zHrjQ,8975
|
|
38
|
+
syncade/producer_attempt.py,sha256=AD5MoRwOVc3R70tfqXo67xVt7aCq9aaA8KAgfU4IpZg,20081
|
|
39
|
+
syncade/producer_escalation.py,sha256=hqWn78eDt5cAS6kAoRqKrFbCrbxzcTZCXW2o6KsuNQs,6095
|
|
40
|
+
syncade/producer_git.py,sha256=PV4HKE2c4lxVwGZrnsAX48hd_CFKDhLAkETW5c-OTxI,9522
|
|
41
|
+
syncade/producer_result.py,sha256=Y204gL1Pi1iO5amhGjtkuBZbG80wTmYp_ceIubdNAjI,10467
|
|
42
|
+
syncade/prompts.py,sha256=8T8ahTPvg7eQvpaKV1GwPhAlCF2YFC0y8ybaDlXN8m0,19435
|
|
43
|
+
syncade/prompts_loader.py,sha256=taokxZaVtWCRpu2VRvHI5Pl_nAijIfMbepiDvJGJrY0,13315
|
|
44
|
+
syncade/retry.py,sha256=DIlmz2rNgSzzdvFGUsDl1q2eQhUMFeF9ShO8xpjdzF4,7473
|
|
45
|
+
syncade/run_inputs.py,sha256=hlCiCB_Fc7csd8tJoUlzWeB-68iHdB76d-Iaiog9Cy8,2168
|
|
46
|
+
syncade/run_status.py,sha256=LeuCQiTWv3V2g5C94NLp6GqvYHQOvb4BsiLaPA0ucMw,6376
|
|
47
|
+
syncade/selfcheck.py,sha256=TVXMOpem1CbouE-zj-DeC1YuKlZEMbNOGvuacnGtWTQ,20238
|
|
48
|
+
syncade/snapshot.py,sha256=QHzAmY-fT8FwGQ7-TcjdUjSWc5-pCQKDQlBG1dscbfs,27946
|
|
49
|
+
syncade/spec_audit.py,sha256=OWfnERSp2sYUol1Malhkr0mKoyzGgDY9vy9L3cA8JiY,18410
|
|
50
|
+
syncade/spec_audit_schema.py,sha256=tK0QjYH6qaJnZcOElLhHJEN8tzmNko9bSP7gwNULP0E,7631
|
|
51
|
+
syncade/spec_draft.py,sha256=qmghWgSdpA7B2HusxkV47l5ui6zSwF6REX6aE5-R2W4,17610
|
|
52
|
+
syncade/spec_source.py,sha256=Qj72jGYztU21d2nt6TqdC9x6jKVUqz4-nh669ri-8DU,5741
|
|
53
|
+
syncade/synthesis.py,sha256=LFHz8aLEgneNxa9P-hqgV_U35P6byo1UGxtXl39mMsc,21116
|
|
54
|
+
syncade/synthesis_clusters.py,sha256=C1uA3pRKNpxkMD_wu1c-GVELHsrWWPsDy3KxHhvpX-8,9119
|
|
55
|
+
syncade/synthesis_repair.py,sha256=t4pmBcPHzsVW4w2ex3Y8zvoQ0PuobMJLG_HRjUAx38E,11181
|
|
56
|
+
syncade/synthesis_schema.py,sha256=QJXdnwSPwgJ45MlCoGqWhaBBhiTogrJmkQkXu2OlVQU,2869
|
|
57
|
+
syncade/test_runner.py,sha256=1dzu8mfbpBtxjHtYoeLXpl2hvMTleAwWNKDeDlNRLJI,21563
|
|
58
|
+
syncade/test_runner_classify.py,sha256=pky5ZU6Bk0May8h5NoMXvUs_Gpx78LyVnft_gHYQuXg,4018
|
|
59
|
+
syncade/transcript.py,sha256=adAz2nN3ne6ZRUqbrOCF4x_dCSBBAQ9S_laNKs7cPtY,6485
|
|
60
|
+
syncade/usage.py,sha256=8rxYfsGZ1EDsdGrhJTaOzQIFpZQyEaJ6aX4cO5-5eYo,16338
|
|
61
|
+
syncade/worktree.py,sha256=3MIXzAt-y-Mc_BgjPTiyxaC2FNsw6BvvVDk_oCOn_lQ,20918
|
|
62
|
+
syncade/worktree_env.py,sha256=tmMa-H4IcyqHAuZoJx6zbWHflkMzSNr6IVdcuSGHCuU,5746
|
|
63
|
+
syncade/worktree_paths.py,sha256=rXZgCQc4swKuXM_C8pVlMPQBw-NSr2fagC5Q8EqNSec,5726
|
|
64
|
+
syncade/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
65
|
+
syncade/adapters/anthropic.py,sha256=XfZCHqWW0AaeLL_ILTcb42C2ngPL_AV9G2Hh2MV7Wl0,21055
|
|
66
|
+
syncade/adapters/base.py,sha256=YSZE7ZXfMKsK4gEGeNY2bbpeSmyHXNtJQvfWXgQ2CYg,9122
|
|
67
|
+
syncade/adapters/fake.py,sha256=jOKppCRDtNLPmsPzuKL9NFCVjqk9h4GoKILdBPtc8jI,2898
|
|
68
|
+
syncade/adapters/fake_common.py,sha256=h7i4SsRJNLz3-FweDYkTochdnHAnoXDVfMJ-n6cjV2U,1124
|
|
69
|
+
syncade/adapters/fake_producer_audit_draft.py,sha256=ZoSHsqP8c4H0ZCmAPjjHHqoFS8wr2DV6ECRRoolU7tw,18910
|
|
70
|
+
syncade/adapters/fake_reviewer_synth.py,sha256=mDJuUJKioJXQU064HmqzvlcTd_8Tg-Nf1GPLIBpU4CU,12916
|
|
71
|
+
syncade/adapters/openai.py,sha256=ayTea8YOFBQeOH2P-ZdBwKfyKypblD91xFPZ9zEzT3g,21001
|
|
72
|
+
syncade/adapters/openai_parsing.py,sha256=s46zcxEDKbqVahQiDQNsam5FDpy2bJqcylxzWhoLE4E,4300
|
|
73
|
+
syncade/adapters/producer.py,sha256=RwGbg4DQiusz4ge1SIoZu53XJ6755I-LtBt7w53eLj8,9410
|
|
74
|
+
syncade/adapters/producer_anthropic.py,sha256=4Djbeg1_2rT4c8WJ3twAV_8qgSKCHV85jz3A4FuSGFE,13403
|
|
75
|
+
syncade/adapters/producer_openai.py,sha256=UUlUPEZXQwj7Vzeeo1EU69E5CBW0Ou-_hyDuRJHMWDs,9514
|
|
76
|
+
syncade/adapters/registry.py,sha256=-i8TCi9Z5sqFvWgk-mqJ0ywQF5I8KS3igqy2bK2VbDs,2748
|
|
77
|
+
syncade/cli/__init__.py,sha256=W0h-zjO1TRXHkoAVSlRdgUgrVugfXgYMVchQDxK7OYo,28302
|
|
78
|
+
syncade/cli/auth_gate.py,sha256=mE314kbPo2LwX9XtkeO64l56APvlF21ERB5z2Ycw_Z0,2705
|
|
79
|
+
syncade/cli/config_keys.py,sha256=_-oxF9VxcGHqHp4lj0euyxQTkQwL8NE4sLrJR5gqbJI,5283
|
|
80
|
+
syncade/cli/config_list.py,sha256=B5pT9B84h64W1fO5ueo2tvwy8yzv2E7TlJoeTGVIOQ8,3457
|
|
81
|
+
syncade/cli/config_menu_rows.py,sha256=3udukTqAHgWsbTMi-b-Ky1ykKPBo2046uHyQzGs6TLs,5795
|
|
82
|
+
syncade/cli/config_mode.py,sha256=Qas3tKtHMYd-yXhwEJGTppMOvCSOlxh0qDwwn9DVplQ,27629
|
|
83
|
+
syncade/cli/config_overrides.py,sha256=Ebj_tq0F6RZwXG_7GWeI2Hyx_KDSj6VNTqX8Ae-pF30,5682
|
|
84
|
+
syncade/cli/config_tui.py,sha256=YhhAwBs_XkZuxGkfn9VcZsmfc733xMLMGCtOYMTS5qo,20542
|
|
85
|
+
syncade/cli/doctor_mode.py,sha256=m2oeHsHoHyAVtXXLk5ycUYyJJ_Ne_CC5lE7dda3WsE8,3324
|
|
86
|
+
syncade/cli/gc_mode.py,sha256=m0KI_bpZSRgW8k-g18DAxwY8Qk8NKEk6pC5lyxBUIyQ,5163
|
|
87
|
+
syncade/cli/install_skill.py,sha256=ixPDum8qMZCzIX6uN4ch6A9DX5QtU6M_VJwOdw1OE2A,26721
|
|
88
|
+
syncade/cli/metrics_mode.py,sha256=tMT6Gb7OTfZ0JheKVbTCrFyzKKE_3kDZpiy5XmAIEvY,16924
|
|
89
|
+
syncade/cli/modes.py,sha256=REMANTrbYQDtNEm3mHKuGbdu15Yyb3WJqOZox2g6Ilk,22431
|
|
90
|
+
syncade/cli/parser.py,sha256=QXsueA65T4Lex8zL3BCvyNjAh34Q4D2QBQ6R-dsDk08,21296
|
|
91
|
+
syncade/cli/parser_types.py,sha256=W57BeoYJgqsKQAQpufHSNLQJovrFp-RySH0qsoUP5O4,6418
|
|
92
|
+
syncade/cli/paths.py,sha256=1qEcGxor1HuZwZetUAjFyi15MskdJ4K3_it0tOMgL9w,939
|
|
93
|
+
syncade/cli/preflight_paths.py,sha256=VtnlCCuKTi_L76r1wwucV2o6tPjy9nJVDWt1szw5K9Y,3842
|
|
94
|
+
syncade/cli/resolve.py,sha256=jIlhlpfDPBcSw0mg1TLW8dSG7_tdYdTf6MKMnPISxtw,4904
|
|
95
|
+
syncade/cli/resume_mode.py,sha256=sw04Jzyr_t8zJCHUT5Xb9UvMyIP8mFJJrpzFc2673mA,15318
|
|
96
|
+
syncade/cli/toml_writer.py,sha256=FlPrelXoySVrkmDBPu3D-kwFX3A9GjLRCvnr6etauTs,17647
|
|
97
|
+
syncade/cli/validate.py,sha256=_6XSPmInd4X-GJTFvFuKeZbZGh8lW6NjjMssHN99iCs,19020
|
|
98
|
+
syncade/metrics/__init__.py,sha256=7FJMIx31qRnjv0f0sSY_wMCAXBar5g0116R7iknkOFo,753
|
|
99
|
+
syncade/metrics/aggregate.py,sha256=WfwppnmZ5sM5oNYssw8SApHKYWDghbmtDZeD-fiXS5k,20808
|
|
100
|
+
syncade/metrics/schema.py,sha256=PPpAvVLwqbFFVNvTZTwPatZjDwTzVBylnxcjzAvoD_E,8005
|
|
101
|
+
syncade/orchestrator/__init__.py,sha256=2ZVW1P7LqEojNqzxcQVS2ugTBWKf6Odkym_2C2XChsA,1693
|
|
102
|
+
syncade/orchestrator/_runs_dir.py,sha256=p3HADh8DJrdNR10WrtXQb5AyEFB0HS4TA2JSV5S7W6k,757
|
|
103
|
+
syncade/orchestrator/branch_advance.py,sha256=IfznLtx_tdoM5FVik3zlVcPHVFzNqUgNgtP1hwC7zMU,6884
|
|
104
|
+
syncade/orchestrator/branch_guard.py,sha256=LqxQ6x1Xq_ZN7W2a2M6cMp0fqxXj3QUYkcJtIz_XUhc,4621
|
|
105
|
+
syncade/orchestrator/budget.py,sha256=w9mAS9NDBSrKPQszh_ZK1GoEe3aDgp_XoeCxcJCV1eY,5156
|
|
106
|
+
syncade/orchestrator/escalation_coverage.py,sha256=dYaLC-F_9648AUW32_drEIKRorfkR-OacYp6nWTtLL4,3669
|
|
107
|
+
syncade/orchestrator/loop.py,sha256=TxocneR2NDGy_fSId1XFHFjtcXuSqvwS3zzRUsTKk7U,31039
|
|
108
|
+
syncade/orchestrator/loop_dispatch_check.py,sha256=P-T9omOwiw7yiWsc5B39nmZVlceX93ajrCjBN42Tj-w,6069
|
|
109
|
+
syncade/orchestrator/loop_finalize.py,sha256=F3ir0JUyPdRExVsCoXlB0guVjtRn9USrL-8iL1_j8WQ,18384
|
|
110
|
+
syncade/orchestrator/loop_preflight.py,sha256=N_ks9pmgmub1RYZPtngAb_2E9og3nJQ1uijk9UfOQB8,6477
|
|
111
|
+
syncade/orchestrator/loop_resume.py,sha256=lAx0wfUQdqbZrE2EM69bXfjw2bwiM3P6s5tv3UvJt8k,4093
|
|
112
|
+
syncade/orchestrator/loop_rmtree.py,sha256=htn44sXZUa-onO6hR-7HMSClYhfHVudx0jQtpeTzK-g,3049
|
|
113
|
+
syncade/orchestrator/loop_round_step.py,sha256=bhfyqOHfDeMDTaQ4xgjOjwSIXuzVZ39JOOUnwzzIDzg,26868
|
|
114
|
+
syncade/orchestrator/prior_round.py,sha256=EWz-ssl0NTiGoJVBkkLgFxs_pgmYQV1JNNMIk-16yBU,15024
|
|
115
|
+
syncade/orchestrator/producer_phase.py,sha256=oDcsxf5cvnx1FjNUie5jqBtJV_tIyKVE8BMkOjAQS6U,6904
|
|
116
|
+
syncade/orchestrator/results.py,sha256=ZnjaT5fw1FzfGoppccPBXH-fQX5kOny3vxNgUI66ETY,14242
|
|
117
|
+
syncade/orchestrator/resume.py,sha256=cCpzC4AxzHnC19DJMd_hqgPrK7eMP-TAF82D_rkZNRk,3229
|
|
118
|
+
syncade/orchestrator/resume_load.py,sha256=NLdNkFHWGRpoo9--JFlKBSL4HAbWRD4WEkJs1UfQG7U,20996
|
|
119
|
+
syncade/orchestrator/resume_plan.py,sha256=GPN9B8xWsEr1avoTzW0kNNgGB1tkQ5eDhG7gyH_i1Mc,26524
|
|
120
|
+
syncade/orchestrator/resume_target.py,sha256=-hBvWXUm5GvmMJmliWwasy0xyK6Orb0wqJBQ1LuZ5KM,9534
|
|
121
|
+
syncade/orchestrator/resume_types.py,sha256=Qm4VqfctGKhVeeFXplTRMR-u5NdPqXnfi9uywJoXj-w,7796
|
|
122
|
+
syncade/orchestrator/reviewer_template_failure.py,sha256=TQ4VQigkD5revRO7rzBvVvwRAhESgW5hk9xDE4hE-ew,2909
|
|
123
|
+
syncade/orchestrator/round.py,sha256=Lh64duDwbrFIaxWHpHmPLIRWsYJcf-VmoqjKkhrUr9c,27490
|
|
124
|
+
syncade/orchestrator/round_checks.py,sha256=WZVRO2fS3R8fH8Bmffpq7B9EQ5LPBfZUNJ4YGOeAtqc,3425
|
|
125
|
+
syncade/orchestrator/round_no_changes.py,sha256=9pKWUIpSR2VpmoyYAhXDaxPyVICUvcjMurbvjJsCsFo,13897
|
|
126
|
+
syncade/orchestrator/round_predispatch.py,sha256=uYwLtOLHKszaT30YF223X9tosJSnbRJJIneKCcMGzsI,9341
|
|
127
|
+
syncade/orchestrator/verdict.py,sha256=LUA0folv02KYD6FGU9lrwYkSbNxxlGB9Xo5LNOFJJJc,11850
|
|
128
|
+
syncade/persistence/__init__.py,sha256=JZe2VfC4zjJJjqeRcKbeyBOeKTZ-qnwQeCsGqpimZxs,6590
|
|
129
|
+
syncade/persistence/_atomic.py,sha256=jxEBOqeqVcLZn4dsrVbpbIWVCJ07bvEYjYu61zk6-ZA,885
|
|
130
|
+
syncade/persistence/_clusters.py,sha256=TstROm7ZnNGDvW8XEoFvUJX9nOWuccACr-s1K4y-tEo,3093
|
|
131
|
+
syncade/persistence/_findings_verdict.py,sha256=r-XZKLZgr5s6OXbwjsDxlOgeHRAu-n7ILfK32IzN2RQ,9735
|
|
132
|
+
syncade/persistence/_markdown.py,sha256=kmJQJ1nB7NVkg2V8_PAsFeQ-mktEPup0glA3_oW9PNo,11480
|
|
133
|
+
syncade/persistence/_validation.py,sha256=aeyN7o24eM40lSy_BWYsVCTkRbPrC9s1lmJLcmFiUCo,1273
|
|
134
|
+
syncade/persistence/checks.py,sha256=qKZjA-LaQSxvweR9MTrT9YgvHwlLtzM6spaPdoQjT30,10445
|
|
135
|
+
syncade/persistence/decision_needed.py,sha256=s2v6oXnUmnY6vYuSCPoDhL3PdM5RvKkGOlAkX83Q1EA,11592
|
|
136
|
+
syncade/persistence/findings_md.py,sha256=whTnoK2tegE-hWI8rE-R5ygjE1Jzk1tiuDwBsnUIino,16553
|
|
137
|
+
syncade/persistence/handoff.py,sha256=-3wEgV0w1OC-WBvYBUcKNYASgkTCuVMfTOBFSGGApCw,17464
|
|
138
|
+
syncade/persistence/handoff_classify.py,sha256=AJRTam8ctR7llGYCo3g2OxfulIg_niyBhVJ6KuGFuWc,8000
|
|
139
|
+
syncade/persistence/last_reviewed.py,sha256=phmHVaGVcOJr6Za0qfDXrLN77GVy8dCUq8Hdiijir6Y,2185
|
|
140
|
+
syncade/persistence/loop_manifest.py,sha256=lY2Y4kcAlopVzs0iy9m6mf_ejndSMwnH15L9ABO3zNQ,6423
|
|
141
|
+
syncade/persistence/loop_summary.py,sha256=f30sMWQDYUKVYfzOME9fMjZTOitzfr0DqMvQpJVFAY4,16294
|
|
142
|
+
syncade/persistence/loop_summary_text.py,sha256=AUBEtYwSo84JKh076HNT3blA2LhWKdhNMAHpJrUWdLo,21002
|
|
143
|
+
syncade/persistence/producer.py,sha256=X-awBl4zwoLaTmqM2lhRAPB_Ar2pCuRyeW3Gsg0JHV0,10303
|
|
144
|
+
syncade/persistence/reviewer.py,sha256=KSYaY-CPFXiS1e6nOVTk7lN3q59mS2CksUJt5WDFyz4,8703
|
|
145
|
+
syncade/persistence/round_manifest.py,sha256=VzVYGHYXRxvDK2l3HQ4Q0zIAesHSrOt12bmxNNwBNCE,10554
|
|
146
|
+
syncade/persistence/run_init.py,sha256=vxp9EbkIxCKf2StzxBjF2adIuh6oPkk6kCG168Mm6W4,5928
|
|
147
|
+
syncade/persistence/run_summary.py,sha256=chfPlDUYkAyanHQrSKDtl41y-7f4OxLmv3OUs6OxycE,26244
|
|
148
|
+
syncade/persistence/run_summary_next_steps.py,sha256=CEfKHDMuWWaMOgjaFpaT3C2KqRhDacNRYfyNQUS_KSg,22897
|
|
149
|
+
syncade/persistence/synth.py,sha256=zFyTkAuhSnxuJh5oUBxJpyVWj3ODhnrGaKZNDmKv_bU,9446
|
|
150
|
+
syncade/persistence/test_run.py,sha256=9dr75M4hi-tsia6qeRSqQPawgN4nB6BQjK99Yxc_7y4,5993
|
|
151
|
+
syncade/skills/claude/README.md,sha256=B10f0-9i3OJnosmuQPyCfueINLV1mH0hZVhVGqI0HVk,11607
|
|
152
|
+
syncade/skills/claude/SKILL.md,sha256=PzZvrNN0kdUjpUIyzQZdBC72pb0eZSgcbQmK1h0BKqo,32014
|
|
153
|
+
syncade/skills/codex/README.md,sha256=KzEqbMq51xQmAwmJrKJ6Cmbdb4N28kUqOsbkqBAQ6As,5917
|
|
154
|
+
syncade/skills/codex/SKILL.md,sha256=cHrdgmGEtmeiJ8HoIBhH6Erzzkpl4f1XXKrjEc-9pSw,28454
|
|
155
|
+
syncade/synthesizer/__init__.py,sha256=n9k9yC1bHA3mYaaLBYwN5q1VX7d1Yl0fr0zjxTfaCQ4,1150
|
|
156
|
+
syncade/synthesizer/constants.py,sha256=2WknwGjlr90Z0qFCGixaGsgIkmn33fC1MqZlij4ROt4,1375
|
|
157
|
+
syncade/synthesizer/driver.py,sha256=uyxtl8lj-htdwNSjDCz3EGG3XgfKr5HY-yMnPxeUnA0,26206
|
|
158
|
+
syncade/synthesizer/rendering.py,sha256=fp0YMrWgxthfLv4BryF3Bf3EZ11VhtYpAlr9aj6SQCI,2304
|
|
159
|
+
syncade/synthesizer/result.py,sha256=x7nEjLBdmI42TpizgC86xw-glQdLZDoAHBEcVDP6ujE,3363
|
|
160
|
+
syncade/synthesizer/validation.py,sha256=cU8jAhw3Nj-HQbKUD9MYcaX1LoP2YMQIb4_Sr8R5i_s,21800
|
|
161
|
+
syncade/synthesizer/workspace.py,sha256=vGAhDZ3vXNUUZdSim6NNnRTit_1KDAlug_X1P2jZsGs,9524
|
|
162
|
+
syncade/templates/producer.md,sha256=ScBL1tchlFN9G8kTqyglYlRNH6PyHty3W-74ydjD_D4,12149
|
|
163
|
+
syncade/templates/reviewer.md,sha256=-FHY-f7REs-Uxrs12WnuB3Kn29R_crw1C-m6GL1E5sU,15053
|
|
164
|
+
syncade/templates/reviewer_adversarial.md,sha256=69UTF51L1AX5Bik6lrdE50j_ZhL40BkIqidK0tRz-NE,10549
|
|
165
|
+
syncade/templates/reviewer_codex.md,sha256=8XplGGNgd9OzocMjfOpmAqSf8RPxt8vc_0Bgnch4eJk,8773
|
|
166
|
+
syncade/templates/spec_audit.md,sha256=A2khlzSgKaKovdKSPB7WjX2tbKOZ3_XXaQw9xPE73n4,7389
|
|
167
|
+
syncade/templates/spec_draft.md,sha256=pQY-MDGffeKSjq4itTmFDwXv9zdJ9TOjxHMikXdzI1A,2839
|
|
168
|
+
syncade/templates/synthesizer.md,sha256=6VlMivGoSB0JDPLQoZGeHgGXttyuahR1m7hcV59Lgf8,10976
|
|
169
|
+
syncade/templates/presets/balanced.toml,sha256=-w8JsLxISHhmkRoDopJZQcntMfMkoPbo32L1uWsMPmw,883
|
|
170
|
+
syncade/templates/presets/cheap.toml,sha256=GD7taQPts4xM-bN9YUzmy-ONRmeAv_48dpci4VxL49M,767
|
|
171
|
+
syncade/templates/presets/thorough.toml,sha256=-SMlpM17j_jrhVDl9L_VKt8Xev9EJaDnnpUtQ2DVqoc,641
|
|
172
|
+
syncade-0.6.2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
173
|
+
syncade-0.6.2.dist-info/METADATA,sha256=S5C04XGZsjKNgBCncLPXAhS_uN7qGDQSOa8TLpHVpms,17885
|
|
174
|
+
syncade-0.6.2.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
175
|
+
syncade-0.6.2.dist-info/entry_points.txt,sha256=u-rF5qys3S23iANlNzv8ZBy3bMjqSsNgtpUK1A9Qu5w,45
|
|
176
|
+
syncade-0.6.2.dist-info/top_level.txt,sha256=rNq7XFl0ogWUZDaulz4oCkb0sO06pHIk62Pcg5Aw-lk,8
|
|
177
|
+
syncade-0.6.2.dist-info/RECORD,,
|