Skip to content

Start

Local review

Local review reads only Git objects, stores the run in local storage (STORAGE.md) and publishes nothing to the SCM.

--staged uses the index on top of HEAD. --worktree uses the index, tracked working-tree changes and untracked files that Git does not ignore. Both compare against the selected base.

Terminal window
sych review --staged
sych review --worktree

Run one mode at a time. The current HEAD is the parent of the synthetic commit, so these modes cannot be combined with --head, --change, or a positional target ending at a different ref. Sych builds the commit in a temporary index, with Git filters and hooks disabled. Your files, index, HEAD and branch refs stay intact. The report marks the head as uncommitted. Sych pins the commit in refs/sych/local/ while the run’s source is retained (normally seven days), and sych cache prune releases the pin when that source expires.

Terminal window
sych review --out-dir .sych-output --open
sych show --run RUN_ID --repo . --out-dir .sych-output --open
sych review --format html --output report.html
sych show --run RUN_ID --repo . --format html --output report.html
sych show --run RUN_ID --repo . --format markdown --fixes-patch fixes.patch
sych show --run RUN_ID --repo . --format report-view --output report-view.json

--out-dir DIR (on review and show) writes the whole report of the stored run into DIR/<run id>/: report.html, fix-brief.md (handoff@2 over all open findings), review.json, review.sarif, and fixes.patch when suggested changes exist. Combining --out-dir or --open with --format or --output exits 2. --open opens report.html with the platform opener (open on macOS, xdg-open on Linux, rundll32 on Windows); without --open, no browser starts.

--format html, markdown and report-view show pinned source excerpts with the finding’s lines marked, nearby change hunks (side by side on wide screens in HTML) and a validated fix when available. --format html writes a single offline HTML file built from the web UI (just report-template regenerates its embedded bundle; maximum template budget 300 KiB): CSS and JavaScript are inlined, a strict Content Security Policy blocks all network requests, light/dark themes follow prefers-color-scheme, print stylesheets format the report for paper/PDF, and labels follow review.language (en/ru). --repo defaults to the current directory. If source retention expired, the blobs are missing or an excerpt is withheld, the finding stays visible with “source unavailable”. The existing JSON report keeps its format. The opening summary separates the verdict from coverage. Use the priority list to jump to a finding, or filter findings by severity, category and path. Filters do not change the verdict or hide coverage gaps.

--fixes-patch PATH writes the applicable non-conflicting fixes as one patch for the reviewed head. Omissions are explained alongside the finding, including identical replacements, unavailable source and changes that expose protected text. Inspect the patch and run git apply --check fixes.patch on the reviewed version before applying it. If no fix is available, the patch file is empty.

Terminal window
sych review
sych review feature/example
sych review main..HEAD --format json --output .sych-output/review.json
sych review main...HEAD --format markdown --output .sych-output/review.md
sych review bondiano/sych#214
sych review https://github.com/bondiano/sych/pull/214 --out-dir .sych-output --open
sych review https://github.com/bondiano/sych/tree/feat/example
sych review https://github.com/bondiano/sych/compare/main...feat/example
sych show --run RUN_ID --format markdown
sych explain --run RUN_ID --obligation EFFECT-01 --format markdown
  • With no target, Sych reviews HEAD against the default branch. It tries refs/remotes/origin/HEAD, main, and master in order. If none resolves, pass --base REF (exit 2).
  • A positional REF reviews that ref against the default branch. A..B is equivalent to --diff-base A --head B, and A...B to --base A --head B. Combining a positional target with --base, --head or --diff-base exits 2.
  • A positional GitHub target reviews a remote pull request, branch or comparison directly through the local pipeline without a GitHub App or --config:
    • https://github.com/OWNER/REPO/pull/N and shorthand OWNER/REPO#N resolve head/base commits, base ref, title, body, open/closed/merged state and fork provenance via GET /repos/{owner}/{repo}/pulls/{n}. Closed and merged pull requests can be reviewed, and the report states their status.
    • https://github.com/OWNER/REPO/tree/BRANCH compares BRANCH against the repository’s default branch.
    • https://github.com/OWNER/REPO/compare/A...B (merge-base) and .../compare/A..B (two-dot) resolve the comparison commits on the provider.
    • GitHub Enterprise hosts come from the URL (https://TENANT.ghe.com/... uses https://api.TENANT.ghe.com; self-hosted https://HOST/... uses https://HOST/api/v3). --change stays the form for server connections. Combining a remote target with --staged, --worktree or --repo exits 2.
    • Credentials resolve in order: GH_TOKEN and GITHUB_TOKEN (for github.com, *.ghe.com, or when GH_HOST matches HOST; GH_ENTERPRISE_TOKEN and GITHUB_ENTERPRISE_TOKEN when GH_HOST matches HOST), gh auth token --hostname HOST, then anonymous access for public repositories. The token is used read-only and never lands in a run, artifact or log.
    • Exact commit IDs are fetched into <data>/mirrors/<host>/<owner>__<repo>.git (sych cache prune manages retention). When the current directory is a local clone of the same repository, its objects are reused through objects/info/alternates; the clone’s refs, index and work tree are never written.
    • Unless --intent-file overrides it, a pull request’s title and body become the low-trust change description (first 8000 characters, redacted, never shown to the verifier or risk audit). A fork head sets Comparison.fork, refusing targeted execution profiles just like a server fork run. The run records the provider URL so HTML, Markdown and handoff@2 reports link excerpts to GitHub blobs.
  • --base names the target tip for policy and computes the diff from the merge base. --diff-base uses an exact two-dot comparison.
  • A committed review warns when the working tree is dirty. Every run reads the pinned snapshot.
  • Model selection follows the personal configuration. Pass --models fake to force a review with zero model calls, or --models PROFILE to select a model (ANALYSIS.md).
  • A changed file is not read, but stays in scope as excluded GENERATED, when the target tip’s .gitattributes sets linguist-generated or linguist-vendored for it (third-party code, fixtures defective on purpose), or its BASE version’s first kilobyte already carried a marker (@generated, DO NOT EDIT, Code generated). As with policy, a change’s own .gitattributes does not count. A marker only the change writes still keeps the file from the models, but it is reported as unreviewed GENERATED_IN_CHANGE: coverage is partial, and the summary names the file for a human to check. A change cannot quietly hide its code that way. The models are told which generated files changed, without their content.
  • The author’s description of the change reaches discovery as data of low trust. By default it is the commit messages from the diff base to the head, newest first, at most 20, without merges. --intent-file PATH (up to 1 MiB) replaces them on a local review, and a pull request’s non-empty description (with its title) replaces them on server and --change reviews.
    • Discovery, the combined review and expansion rounds see its first 8000 characters, without control characters and redacted like all repository text. They are told to look for code that does something else or only part of it; the text is not a requirement and does not excuse a defect.
    • No verifier and no high-risk audit sees it, so a description can add a hypothesis, never argue one away.
    • Unreadable history leaves no description rather than failing the review.
  • With --format, --output and --out-dir omitted, a terminal writes the full bundle into .sych-output/<run id>/ (writing .sych-output/.gitignore with * on first use so tracked files stay clean) and prints a short summary with the recommendation, coverage, severity counts, top findings with locations, run ID, and bundle paths. Piped or redirected stdout gets JSON by default without writing .sych-output/. Use --format json|markdown|html|report-view|sarif to select one format explicitly. --output PATH creates parent directories and writes the selected format to a file, defaulting to JSON.
  • sarif (only review and show) writes SARIF 2.1.0 for GitHub code scanning and editors:
    • every open finding is a result at its first HEAD anchor, keyed by partialFingerprints["sych/v1"];
    • a dismissed finding carries a suppression, and resolved or obsolete findings are left out;
    • a finding only on deleted lines has no location;
    • partial coverage, UNKNOWN obligations, unreviewed paths and open questions go to invocations[0].toolExecutionNotifications, so an empty results is not a clean review.
  • --semantic on|off (on by default): for Rust, TS/JS, Go and Python (ty) files, pinned language servers; the same switch runs the pinned linters ruff, oxlint, sqruff (SQL), squawk (PostgreSQL migrations), vacuum (OpenAPI/AsyncAPI 3), mago (PHP), jarl (R), clj-kondo (Clojure), actionlint and zizmor on changed head files, oasdiff on DIFF_BASE-vs-HEAD OpenAPI specifications, and easement on each project an easement.yml roots (SEMANTIC.md); they produce semantic facts (SEMANTIC.md), which are stored as derived evidence, and the ContextBroker builds context packets. The first run downloads the servers; a repeat on the same snapshot takes facts from the semantic cache.
  • --schema-lint on|off overrides .sych/config.yaml schema_lint.enabled for a local review. --db-dsn DSN inspects a live PostgreSQL, MySQL or SQLite database read-only (and turns schema linting on for that run unless --schema-lint off is passed); --db-model-manifest PATH supplies an explicit DbModelManifest JSON instead of built-in static ORM extraction. Standalone commands (sych schema check|baseline|snapshot|extract|rules|explain) and all 18 rules are documented in DB_SCHEMA.md.
  • --ci-facts FILE (repeatable) imports ready-made CI reports: output of cargo check/clippy/build --message-format=json, JUnit XML (cargo-nextest, vitest, Jest, gotestsum), SARIF, GitLab Code Quality, LCOV, Cobertura, go test -json (with -race: each race is a race diagnostic with its first frame), go test -coverprofile (import paths of the root go.mod → repo paths), go vet -json, db_schema_snapshot and db_model_manifest. Absolute CI checkout paths are matched to the repo by suffix. Race and coverage confirm only executed paths. The format is detected from the content; files up to 32 MiB. --ci-manifest FILE describes the job (YAML/JSON, schema_version: 1, job, tested_oid — hex from git rev-parse HEAD, toolchain, target, features). The report becomes an external input (ExternalInputManifest) with binding ci and trust_class: AUTHOR_CLAIM: a local import does not prove provenance. Without a manifest it is UNBOUND/STALE; if tested_oid is not equal to head — STALE, and its locations are not carried over to head. Errors and warnings on changed head lines enter the context packet as REFUTING, the rest as SUPPORTING. Skipped tests, #[ignore], it.skip and #[allow]/#[expect] are recorded separately and are not counted as a fix.
  • Progress is written to stderr via tracing; verbosity is set by SYCH_LOG (info by default, debug, warn, or per crate: SYCH_LOG=sych_adapters=debug). An error is printed as a single chain sych <command>: context: cause.
  • show and explain read stored artifacts and do not run analysis; the show JSON matches the review JSON until the 7-day snapshot/diff retention expires; after that those fields are null, and the rest is still readable. --obligation accepts an obligation id or a rule id.
  • JSON and Markdown contain the snapshot (target tip, diff base, head), PolicySnapshot, provenance and head policy diff, scope, obligations, findings, gaps, evidence, semantic facts, context packets and usage; explain shows the obligation’s context packet. Repository text in Markdown is escaped (HTML, markup); terminal control characters and bidi characters are not output verbatim in any format.

Output examples: review.json, review.md, report.html, explain.md.

sych tour --run RUN --config sych.yaml generates a tour with a model and stores it (ANALYSIS.md). A stored tour is read without a model or a config:

Terminal window
sych tour show --run RUN [--tour ID] [--repo .] [--brief] [--format markdown] # starts your session
sych tour reveal --run RUN --step stop-1 # the answer of a step's question
sych tour complete --run RUN # or: sych tour dismiss --run RUN
  • The newest tour of the run is used unless --tour names one. Code comes from the run’s pinned blobs, read from --repo, never from the model’s text. When the repository has moved past the reviewed head, the tour is STALE, but it keeps the code the review saw. Once the source snapshot is pruned or the blobs are gone, each location is listed as “source unavailable” (source_unavailable in JSON) and is not dropped.
  • An answer stays hidden in show until you reveal it. The session goes IN_PROGRESS → COMPLETED | DISMISSED, and a finished session only reads.
  • Completing a tour is not an approval. A session is your personal progress (tour_sessions): it never changes the tour artifact, the result, its recommendation, obligations or a waiver, and progress and answers are never published to the PR.
Terminal window
sych ask --run RUN --step stop-1 --question "What happens on a retry?" --config sych.yaml [--repo .] [--models PROFILE]
sych ask --run RUN --step stop-1 --kind fact-request --question "The consumer deduplicates by order id"
  • comprehension (the default) calls the model under budgets.followup_session, counted per session (tour and reader), apart from the run’s analysis and tour budgets. It sees the stop’s code, the review’s statements about the stop and the overview, and may ask for one round of typed context queries; never the whole repository or anyone else’s questions. With the budget spent, ask exits 3 and records nothing.
  • The answer is an explanation, not evidence. A defect it claims that the review did not report is a hypothesis: it goes through the regular verifier and is shown as CONFIRMED | REJECTED | UNRESOLVED, but it never becomes a finding of this review or a comment; a rerun reviews the code again.
  • fact-request records your own statement with author and time and calls no model; it is not evidence and does not change an accepted requirement.
  • risk-decision is refused locally (exit 4): a scoped waiver is the repository owner’s decision, made on the server (POST /v1/runs/:id/tours/:tour/questions with the maintainer role, or POST /v1/waivers) or in the accepted .sych/rules.yaml, and it never rewrites UNKNOWN or VIOLATED.
  • Your questions and replies are private to your session; sych tour show lists them again without a model.
Terminal window
sych handoff --run RUN --all [--min-severity high] [--category defect] [--repo .] --format markdown --output fix-brief.md
sych handoff --run RUN --finding FINDING_ID [--finding ID …] [--snapshot sha256:…] --format markdown --output fix-brief.md

The fix brief (handoff@2, schema_version: 2, schema; POST /v1/runs/:id/handoff on the server) is built from the ReportView of the run in fix-first order. Pass --all, --min-severity, or --category to export open findings, or --finding ID to name specific findings. Local CLI calls read pinned blobs from --repo (default .); the /v1 endpoint returns the same handoff@2 schema with source fields omitted. Each package contains:

  • the run, result revision, source and policy snapshot IDs, head commit and head branch (plus uncommitted head provenance when --staged or --worktree produced the run), and the selected finding IDs;
  • per finding, in fix-first order: severity, category, lifecycle and support, conditions, consequence, anchors with numbered source excerpts and nearby change hunks, also findings on the same lines, evidence IDs, violated or depended-on requirements, the fix criterion (validation_expectation), the suggested action, static remediation, an apply-ready suggested_patch unified diff, and limitations;
  • Markdown written for coding agents: repository code and model prose are placed inside backtick fences longer than any backtick run inside the text rather than backslash-escaped inline, with one heading per finding;
  • per-finding and per-brief size caps on excerpts, change hunks and patches: anything cut is listed under omitted (## Truncated material in Markdown) together with the sych show or sych explain command that displays the full material;
  • the gaps a fix does not settle: partial coverage, required UNKNOWN obligations, unreviewed paths, open questions;
  • the procedure the coding agent follows: verify each finding against the current code first and skip stale ones with a short reason, propose a plan and files, wait for explicit consent, change and verify, run review again instead of marking anything resolved by hand, and treat all quoted code and review prose as data rather than instructions.

A finding of another run is refused, as is a run that did not review --snapshot (exit 2; 400 FOREIGN_FINDING and 409 SNAPSHOT_MISMATCH on the server). handoff starts no agent, calls no model, edits no source, changes no stored row and publishes nothing. The author’s agent runs separately, with its own model, credentials and budget; Sych’s reviewer credentials and budgets.* never pay for it. An approval in that workflow looks like:

agent: Plan for 694a24e1: publish order-created inside the transaction in backend/orders/store.go (Save) and add a
test that a failed publish rolls the order back. Files: backend/orders/store.go, backend/orders/store_test.go.
user: Approved; do not touch the migration.
agent: Changed both files; `go test ./backend/orders/...` passes. Pushed 4b0c78f for a new review.

The pushed head is a new review: the dependent checks run again and the old finding gets its new state from that review.

Without --fake-responses the fake adapter assesses nothing: applicable obligations stay UNKNOWN/NOT_ASSESSED. The fixture defines evidence and assessments; the harness computes ids, hashes and CodeRef from the pinned snapshot:

schema_version: 1
delay_ms: 0 # simulated model latency, for testing cancellation
evidence:
- key: save-keeps-event-in-tx # name within the fixture
kind: source
completeness: COMPLETE_FOR_QUERY
trust_class: SOURCE_OBSERVATION
validity: VALID # default
code_refs:
- { path: backend/orders/store.go, start_line: 4, end_line: 9 } # side: HEAD by default
assessments:
- rule_id: EFFECT-01
status: SUPPORTED # VIOLATED | UNKNOWN (+reason_code, next_evidence_needed) | NOT_APPLICABLE (+basis)
evidence: [save-keeps-event-in-tx]

Unknown fields, evidence keys, paths and lines outside the file — exit 2 before the run is created. The reducer applies the same rules to the responses as to a model: SUPPORTED only on VALID complete evidence of an allowed kind and not solely on the author’s word, otherwise UNKNOWN/INSUFFICIENT_EVIDENCE.

Code When
0 result stored (operational mode does not fail because of findings)
2 invalid flags, refs, config, policy or fixture
3 no usable stored result: database migration needed or failed, storage or output failure
4 missing credentials or access: a model profile’s credentials are not set, a sign-in failed, or a local ask --kind risk-decision
10 --exit-policy strict and a significant violation (ATTENTION_REQUIRED)
11 --exit-policy strict and coverage is not COMPLETE_FOR_SCOPE; 10 takes precedence
130 SIGINT/Ctrl-C during analysis: run CANCELLED, result not stored

On exit 3 after storing (--output could not be written), the result is available via sych show.

Terminal window
sych eval run --suite eval/smoke.yaml --models fake [--output report.json]

Each suite case builds a temporary Git repository (base — files of the target commit, head — changes on top, null deletes a file), runs a review with the fake adapter in temporary storage and compares significant states: recommendation, coverage, obligation statuses by rule id, the number of findings and units. Runtime ids and timestamps are not included in the report, so identical fixtures produce an identical report (example). Exit 0 — all cases matched, 1 — there are mismatches, 2 — invalid suite. There are no external calls: model_attempts equals 0.

eval/quality/dev/ is a labelled development suite: one <id>.yaml per case, safe/unsafe pairs and honest unknown cases for Rust (Result/RAII, cancellation, task lifetime, lock across .await, blocking in async, trait API, cfg/features, serde contract, weakened error handling and tests) and TS/React (cleanup, stale response and preserved guard, timers, subscriptions, invalidation, controlled inputs, form submit, project hook, API removal), clean changes, nitpick and a real Sych commit (repository_fixture). eval/quality/holdout/ ships empty: holdout cases come from your own repositories, and the rules are in its README.

Terminal window
sych eval validate --suite eval/quality/dev

A case with a repository_fixture needs --repo NAME=PATH for the repository it names. real-sych-context-broker refers to commits that the published Sych history does not contain, so it runs only with a clone that has them.

validate sends nothing to a model: it checks labelling completeness (rationale, profiles, defect for unsafe, no defect for safe, target and locations for tolerated, a reason for unknown, complete pairs, file name = id, one split per directory), that every evidence location opens as a CodeRef, and that expected syntax facts are present (and forbidden ones absent). Cases with repository_fixture without --repo are SKIPPED. This is a check of labelling and the harness, not a measurement of review quality: that is done with a real model (eval measure, below).

A case may carry CI reports as ci: {<file name>: <text>} — a Terraform plan (terraform show -json), rendered Kubernetes manifests, test outcomes. They are imported like sych review --ci-facts, with a manifest bound to the case head, so domain rules (TF-CHANGE, K8S-ROLLOUT) see them; validate fails a case whose report does not import. expected.obligations may name a generic rule (MIG-*, TF-CHANGE, K8S-ROLLOUT, EFFECT-*, TEST-INTEGRITY) without a .sych/rules.yaml; repository rule ids must still be in it. Domain cases: mig-*, old-frontend-*, tf-replace-db-*, k8s-selector-*.

Terminal window
sych eval measure --suite eval/quality/dev --config sych.yaml --models cheap_api \
[--case ID]... [--runs N] [--variant b|c] [--semantic on|off] [--repo NAME=PATH] [--output report.json]

Each case goes through a regular sych review with the --models profile in the storage from --config: the ledger is shared, so run/day/month limits apply to the whole suite, and each review remains a stored run. --variant c is the regular pipeline, b — without the additional high-risk search (baseline B), a — a single reviewer over the diff (baseline A): without semantic facts, high-risk search and verifier; its unverified hypotheses are scored as findings. --runs repeats a case for a nondeterministic model.

Report per run: recommendation, coverage, expected and found defects, findings with anchors and a labelled flag, reconciliation of obligation statuses, for unknown — whether the case remained unresolved, attempts and money. Totals (overall and per language): recall (labelled defects found, also by a finding kept in another’s also), precision (correctness findings at labelled locations), clean_false_positive_rate (safe cases with any correctness finding), clean_false_finding_rate (the same without tolerated_findings — correctness findings at expected.tolerated locations: a correct but non-target remark for the case — and without overrated_nits — correctness findings at the location of a labelled nitpick), unknown_kept_rate, nit_recall (labelled nitpicks hit by a nit or improvement), nits, attempts and cost, and the gaps of the pipeline itself: verifier_dropped (labelled defects that only a candidate the verifier rejected or left unresolved reached), partial_coverage_runs (reviews short of COMPLETE_FOR_SCOPE), unreviewed_paths and context_limited (obligations left UNKNOWN with CONTEXT_LIMIT). Every labelled defect a review missed is also counted once, at the furthest stage a correctness candidate reached it: discovery_failed (none did, and every search shown those lines failed, was cut off or never ran — a provider failure or the deadline, not a model miss), not_discovered (none did, though a finished search was shown the lines), not_shown (none did, and no packet showed those lines: the context lost them before any model could look), verifier_rejected (only rejected ones), verifier_unresolved (one left unresolved, none confirmed) and confirmed_unmatched (a confirmed one, yet no finding at those lines: it was merged into an overlapping finding or the verdict anchored it elsewhere); the six add up to the missed labels. spread holds the lowest, mean and highest recall, clean_false_finding_rate and unknown_kept_rate over the suite’s 1st, 2nd, … run of every case: with --runs 3, a difference between two reports smaller than that range is noise. A match is an intersection of an anchor with a labelled evidence location: this approximates meaning (see Scoring by meaning). The numbers are a measurement; acceptance criteria are yours. The report records config_sha256, the hash of --config, so that measurements under other budgets are not compared.

To judge a verifier change apart from discovery, which a model answers differently every time, replay an earlier report: --replay a.json (same suite; the same --config, which the report’s config_sha256 must match) takes each run of a.json, reads the discoveries its review stored in the analysis artifact, and verifies those very candidates again on the context their pass built, with no new search. Only the verifier runs and nothing is assessed, so in a replay report only the candidate and finding numbers — recall, precision, the false-finding rates and the stages of a missed defect — mean anything; obligations, coverage and unknown_kept do not. Two replays of one report, one per verifier, compare with eval compare. A run that failed in the report, one whose case the suite does not select, and one stored before discoveries named their packets are skipped; --runs does not combine with --replay.

Terminal window
sych eval measure --suite eval/quality/dev --config sych.yaml --models cheap_api --replay a.json --output a-replay.json
sych eval compare a.json b.json c.json [--output comparison.json]

compare puts saved measure reports side by side without calling a model: the totals of each, and under differing every case whose outcome (labelled defects found, correctness findings, labelled findings, UNKNOWN kept, or a failed run) differs between reports or between repeated runs of one report, with the outcome of each run. Reports of another suite, another case set or another config hash are refused (exit 2); a report without config_sha256 gives config_sha256: null, so equal budgets are not proven.

eval/quality/large/ holds real large PRs of Sych and Runlark (26–77 files); two carry a defect planted by eval/bench/plants/. scripts/large-pr-bench [RUNS] clones both repositories into ~/.cache/sych-bench, builds the planted branches, reviews every case RUNS times (default 2) with the production reviewer model and budgets of eval/bench/sych.yaml (the risk audit runs on that model too, not on production’s premium profile) and prints one line per run: case, execution outcome, failed passes, coverage, defects found, attempts, attempts that used their whole output bound, the largest reasoning, seconds, known cost and attempts of unknown cost. Coverage also counts generated files nobody reviews (Cargo.lock, schemas/openapi.json), so PLAN_EXECUTED is the measure of the model’s part. It spends real money through SYCH_OPENROUTER_API_KEY.

eval measure matches a finding to a label when their anchors overlap. Its totals are location matches: a finding that states a different defect on the labelled lines counts, and the right defect anchored one line off does not. unknown_kept only means that there is no correctness finding and something stayed open.

eval judge rescores a saved report by your judgments and shows both scores. Each finding in the report lists the labels it overlaps (labels, indexes into the run’s labels). For unknown cases the run also lists what the review left open (left_open).

# judgments.yaml: a correctness finding states label N (null: none), or an unknown run kept the labelled question
- { case: orders-retry-unsafe, run: 1, finding: 0, label: 0 }
- { case: orders-retry-unsafe, run: 1, finding: 2, label: null }
- { case: orders-retry-unknown, run: 1, unknown_kept: false }
Terminal window
sych eval judge report.json --judgments judgments.yaml

left_open also lists unresolved questions, which unknown_kept ignores; an unknown counts by meaning only when unknown_kept holds and a judgment confirms it. A correctness finding on a nitpick label counts as labelled by location but is no judgment candidate: by meaning it is an overrated nit.

A location match or a kept unknown that nobody judged is listed in unjudged and does not count by meaning. Nitpicks and obligations stay scored by location and status.

eval auto-judge writes the same judgments with a model instead of by hand. For each measured run it makes one call: the call sees the run’s labels and every correctness finding that overlaps one, and names the label each finding states or null — the same-place, same-concern match AACR-Bench scores as SEM-F1. Each call is a follow-up of the judged run, counted in its ledger under budgets.followup_session. Use the config the report was measured with, since its store holds the runs. A run whose call fails is reported on stderr, and the exit code is 1; its findings stay unjudged. Unknown runs are never judged this way.

Terminal window
sych eval auto-judge report.json --config sych.yaml --models cheap_go --output judgments.json
sych eval judge report.json --judgments judgments.json