Start
Local review
Local review reads only Git objects, stores the run in local storage (STORAGE.md) and publishes nothing to the SCM.
Uncommitted changes
Section titled “Uncommitted changes”--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.
sych review --stagedsych review --worktreeRun 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.
Code and fixes in a report
Section titled “Code and fixes in a report”sych review --out-dir .sych-output --opensych show --run RUN_ID --repo . --out-dir .sych-output --opensych review --format html --output report.htmlsych show --run RUN_ID --repo . --format html --output report.htmlsych show --run RUN_ID --repo . --format markdown --fixes-patch fixes.patchsych 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.
Workflow
Section titled “Workflow”sych reviewsych review feature/examplesych review main..HEAD --format json --output .sych-output/review.jsonsych review main...HEAD --format markdown --output .sych-output/review.mdsych review bondiano/sych#214sych review https://github.com/bondiano/sych/pull/214 --out-dir .sych-output --opensych review https://github.com/bondiano/sych/tree/feat/examplesych review https://github.com/bondiano/sych/compare/main...feat/examplesych show --run RUN_ID --format markdownsych explain --run RUN_ID --obligation EFFECT-01 --format markdown- With no target, Sych reviews
HEADagainst the default branch. It triesrefs/remotes/origin/HEAD,main, andmasterin order. If none resolves, pass--base REF(exit 2). - A positional
REFreviews that ref against the default branch.A..Bis equivalent to--diff-base A --head B, andA...Bto--base A --head B. Combining a positional target with--base,--heador--diff-baseexits 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/Nand shorthandOWNER/REPO#Nresolve head/base commits, base ref, title, body, open/closed/merged state and fork provenance viaGET /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/BRANCHcomparesBRANCHagainst 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/...useshttps://api.TENANT.ghe.com; self-hostedhttps://HOST/...useshttps://HOST/api/v3).--changestays the form for server connections. Combining a remote target with--staged,--worktreeor--repoexits 2. - Credentials resolve in order:
GH_TOKENandGITHUB_TOKEN(forgithub.com,*.ghe.com, or whenGH_HOSTmatchesHOST;GH_ENTERPRISE_TOKENandGITHUB_ENTERPRISE_TOKENwhenGH_HOSTmatchesHOST),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 prunemanages retention). When the current directory is a local clone of the same repository, its objects are reused throughobjects/info/alternates; the clone’s refs, index and work tree are never written. - Unless
--intent-fileoverrides 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 setsComparison.fork, refusing targeted execution profiles just like a server fork run. The run records the provider URL so HTML, Markdown andhandoff@2reports link excerpts to GitHub blobs.
--basenames the target tip for policy and computes the diff from the merge base.--diff-baseuses 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 faketo force a review with zero model calls, or--models PROFILEto select a model (ANALYSIS.md). - A changed file is not read, but stays in scope as excluded
GENERATED, when the target tip’s.gitattributessetslinguist-generatedorlinguist-vendoredfor it (third-party code, fixtures defective on purpose), or itsBASEversion’s first kilobyte already carried a marker (@generated,DO NOT EDIT,Code generated). As with policy, a change’s own.gitattributesdoes not count. A marker only the change writes still keeps the file from the models, but it is reported as unreviewedGENERATED_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--changereviews.- 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,--outputand--out-diromitted, a terminal writes the full bundle into.sych-output/<run id>/(writing.sych-output/.gitignorewith*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|sarifto select one format explicitly.--output PATHcreates parent directories and writes the selected format to a file, defaulting to JSON. sarif(onlyreviewandshow) 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 emptyresultsis not a clean review.
- every open finding is a result at its first HEAD anchor, keyed by
--semantic on|off(onby 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 onDIFF_BASE-vs-HEADOpenAPI specifications, and easement on each project aneasement.ymlroots (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|offoverrides.sych/config.yamlschema_lint.enabledfor a local review.--db-dsn DSNinspects a live PostgreSQL, MySQL or SQLite database read-only (and turns schema linting on for that run unless--schema-lint offis passed);--db-model-manifest PATHsupplies an explicitDbModelManifestJSON 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 ofcargo 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 aracediagnostic with its first frame),go test -coverprofile(import paths of the rootgo.mod→ repo paths),go vet -json,db_schema_snapshotanddb_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 FILEdescribes the job (YAML/JSON,schema_version: 1,job,tested_oid— hex fromgit rev-parse HEAD,toolchain,target,features). The report becomes an external input (ExternalInputManifest) with bindingciandtrust_class: AUTHOR_CLAIM: a local import does not prove provenance. Without a manifest it isUNBOUND/STALE; iftested_oidis 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 asREFUTING, the rest asSUPPORTING. Skipped tests,#[ignore],it.skipand#[allow]/#[expect]are recorded separately and are not counted as a fix.- Progress is written to stderr via
tracing; verbosity is set bySYCH_LOG(infoby default,debug,warn, or per crate:SYCH_LOG=sych_adapters=debug). An error is printed as a single chainsych <command>: context: cause. showandexplainread stored artifacts and do not run analysis; theshowJSON matches thereviewJSON until the 7-day snapshot/diff retention expires; after that those fields arenull, and the rest is still readable.--obligationaccepts 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;
explainshows 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.
Reading a tour
Section titled “Reading a tour”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:
sych tour show --run RUN [--tour ID] [--repo .] [--brief] [--format markdown] # starts your sessionsych tour reveal --run RUN --step stop-1 # the answer of a step's questionsych tour complete --run RUN # or: sych tour dismiss --run RUN- The newest tour of the run is used unless
--tournames 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 isSTALE, 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_unavailablein JSON) and is not dropped. - An answer stays hidden in
showuntil yourevealit. The session goesIN_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.
Asking about a stop
Section titled “Asking about a stop”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 underbudgets.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,askexits 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-requestrecords your own statement with author and time and calls no model; it is not evidence and does not change an accepted requirement.risk-decisionis refused locally (exit 4): a scoped waiver is the repository owner’s decision, made on the server (POST /v1/runs/:id/tours/:tour/questionswith the maintainer role, orPOST /v1/waivers) or in the accepted.sych/rules.yaml, and it never rewritesUNKNOWNorVIOLATED.- Your questions and replies are private to your session;
sych tour showlists them again without a model.
Handing off a fix
Section titled “Handing off a fix”sych handoff --run RUN --all [--min-severity high] [--category defect] [--repo .] --format markdown --output fix-brief.mdsych handoff --run RUN --finding FINDING_ID [--finding ID …] [--snapshot sha256:…] --format markdown --output fix-brief.mdThe 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
--stagedor--worktreeproduced 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,
alsofindings on the same lines, evidence IDs, violated or depended-on requirements, the fix criterion (validation_expectation), the suggested action, static remediation, an apply-readysuggested_patchunified 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 materialin Markdown) together with thesych showorsych explaincommand that displays the full material; - the gaps a fix does not settle: partial coverage, required
UNKNOWNobligations, 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.
Fake responses
Section titled “Fake responses”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: 1delay_ms: 0 # simulated model latency, for testing cancellationevidence: - 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 defaultassessments: - 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.
Exit codes
Section titled “Exit codes”| 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.
Fake eval
Section titled “Fake eval”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.
Quality suite
Section titled “Quality suite”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.
sych eval validate --suite eval/quality/devA 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-*.
Measuring with a real model
Section titled “Measuring with a real model”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.
sych eval measure --suite eval/quality/dev --config sych.yaml --models cheap_api --replay a.json --output a-replay.jsonsych 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.
Large pull requests
Section titled “Large pull requests”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.
Scoring by meaning
Section titled “Scoring by meaning”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 }sych eval judge report.json --judgments judgments.yamlleft_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.
sych eval auto-judge report.json --config sych.yaml --models cheap_go --output judgments.jsonsych eval judge report.json --judgments judgments.json
