Skip to content

The JSON result ​

What a review returns: the JSON the CLI prints on stdout when stdout is no terminal, or with -f json, and writes to a file with --output json=<path>, and the object review resolves with. It holds three lists of verdicts and meta. Every field below is listed in the order it is written, which is the order of its keys in the JSON. The CLI writes it with inertJson: a hidden character in a string is written as a \uXXXX escape, which a JSON parser reads back as the character. quorum bench keeps a result in each line of its results.jsonl, written with inertJsonLine, which escapes the same characters on one line.

A program reads a saved result, or a public view, back with readResult, which takes only a result of its own release and refuses any other with one message that names the cause and nothing of the text.

The JSON Schemas ​

Two files of schema/ describe what this page lists, as draft-07 JSON Schema: schema/result.schema.json for a result and schema/public-view.schema.json for its public view. They are strict, with additionalProperties: false wherever they name an object's fields, and structural: a rule a document must also meet, such as a verdict naming a profile of the result, stays with readResult, which reads a result whole. The contract files lists each of those rules, and says how a release attaches the files and how to check one.

The top level ​

FieldTypeHolds
keptverdict[]The findings whose kept votes reach a confidence level
discardedverdict[]The findings that reached none, and whose failed votes could not have changed that: the finder's and the scanner's candidates
unreviewedverdict[]The findings that reached none while their failed votes could have lifted them to a level: neither kept nor cleared
metaobjectWhat the review records about itself

Each list keeps the order in which the finder listed its findings, the first profile's verdicts first, in the order of the review's profiles. Failed votes says which list a verdict lands in.

A verdict ​

FieldTypeHolds
idstringNames the finding, stable across runs: the first 12 hexadecimal characters of the SHA-256 of the JSON array [profile, file, line, category]
fingerprintstringNames the finding across pushes: the first 16 hexadecimal characters of the SHA-256 of the JSON array [profile, file, category, row], the category in Unicode's composed form (NFC), in lower case with each run of other characters than letters and digits written -, and the cited row's code with its white space collapsed, then : and the finding's rank, from 1, among the profile's findings with that hash. It holds no line number, so a push that moves the code keeps it; the line comments and the SARIF results of a review carry it
profilestringThe id of the profile that found it
filestringThe diff's own path for the cited file. For a diff without per-file headers, the finder's name for it, cleaned and capped at 260 characters
linenumberThe line of the new file the finding is at, inside a hunk of the diff: the line the finder cited, or, for a finding the harness moved to its quote, the quote's line, with citedLine holding the cited one. The id, the fingerprint, the evidence and evidenceRow are taken at this line
citedLinenumberThe line the finder cited, present only when the harness moved the finding to the nearest occurrence of its quote in the cited file's section, before the panel voted: line is then that occurrence. The key is absent for a finding that stayed where it was cited, as one does whose quote stands more than 64 times in its window, which a quote that frequent cannot place, or at the nearest distance twice. The quote check says when a finding moves
categorystringThe finder's category, cleaned and capped at 80 characters; the security profile asks for a CWE. A finding whose category is absent, null or blank once cleaned reads uncategorized, and its id and fingerprint are taken of that word. A scanner's candidate has its rule id, cleaned and capped as a category is
rulestringThe id of the review rule the finding cites, checked by code once the finding is anchored: a rule this review sent whose paths match file, written as the configuration states its id and never as the finder wrote it. The key is absent when the finding cites none, and when its citation failed the check in a profile that does not require a rule: The citation
summarystringThe finder's claim, cleaned and capped at 500 characters; a scanner's candidate has the scanner's message, cleaned and capped as a claim is
evidencestringThe diff's lines around line, up to two on each side within its hunk, each with its +, - or space marker, read from the diff by the harness and capped at 2,000 characters
evidenceRownumberThe index, from 0, of the row of evidence that shows line: a reader marks it and numbers the rows around it, a + or space row counting a new-file line and a - row none. The key is absent when no row shows the line, as for a hunk that only deletes lines, or when the evidence's cap of 2,000 characters cut that row
quoteMatchedbooleanWhether the code the finder quoted appears in the evidence, which is read at line, once each evidence line's marker is removed and whitespace is collapsed on both sides; a quote that keeps its own + or - does not match. It is true for a finding the harness moved to its quote. A measure of hallucinated citations
foundByobjectWhat proposed the finding. { "kind": "model" } for a finding the model's finder reported in its reply to the research request: code sets it where research reads the replies, so no word of a model's is in it, and no request reads a model finding's foundBy. { "kind": "scanner", "report", "scanner", "ruleId", "level" } for a candidate a scanner's report gave (Scanner reports): report is the place of its report in meta.context.reports, from 0, and the report names the verdict's own profile; scanner is the scanner's name, cleaned and capped at 64 characters, and ruleId the rule the issue breaks, cleaned and capped at 256; level is how severe the report calls it, error, warning, note, none or unknown, a level the report does not state or quorum does not know. Then fileLevel: true when the issue had no usable line (none, 0, or a Trivy result's line 1), so it stands on its file's first changed line, and suppressed: true when the report marks it silenced, which quorum does not honour; both keys are absent, never false. The voters of a candidate read its scanner, its rule and its claim, fenced as data; its level, fileLevel, suppressed and report reach no request, and a model finding's foundBy reaches none. It follows quoteMatched in every verdict, the public view's too. Required in every verdict of this release: a result of 0.15.0 has none, and readResult refuses it
testCoverage"covered", "partial", "zero" or "not-measured"What the project's tests did to the line the finding stands on, as the coverage reports the review read say it, set by code after dedup for each finding of a profile that reads test coverage when a report was read: covered (a report lists the line with hits and no missed branch), partial (hits, and a branch on the line taken 0 times or never evaluated), zero (listed with no hit), not-measured (no report lists a hit for the line, or the line's file). Any row counts, a context row of a hunk too. A fact about the line and never a verdict: the panel judges the finding, and none is dropped on a report's word. The key is absent, never undefined, for a finding of any other profile and when no coverage report was read. It follows foundBy, the public view's too
functionstringThe name of the function around the cited row, as the rules of related code read it from the diff: a path review's whole file, a change review's hunk and then the function text of its @@ line. 3 to 64 characters of a letter, a digit, _ or $, not starting with a digit. A reader follows a finding whose row was edited by the function it stands in. It is read from the diff's rows, so it is there whether related code is on or off and for a test file, which related code never reads. The key is absent, never undefined, when the row stands in top-level code, in a file whose language the rules do not know, or has no row of its own (a scanner's candidate with no usable line, or a line only a deletion shows), and when the rules cannot tell the name is whole: the header goes on in a character that continues an identifier, such as a letter past ASCII, or, in Ruby, in the ?, ! or = that ends a predicate, a bang method or a setter (authorized?, save!, name=; an endless method, def name = expr, keeps its name) or in the . after the receiver of a method defined on an object or a class (def config.load, whose receiver is config; def self.load names load), or the name ends a hunk's @@ text of 40 bytes or more, a text the tool that wrote the diff may have cut (git cuts it to 80 bytes, Mercurial's git-style diffs to 40). It follows testCoverage, the public view's too. Nothing a person reads on a terminal, in Markdown or in SARIF prints it, and no request, store key or fingerprint reads it
keptVotesnumberThe votes that kept the finding
totalVotesnumberThe votes asked for, one per lens, failed ones included
confidence"high", "medium" or "low"The highest level the kept votes reach. A discarded or unreviewed verdict reached none: the JSON leaves the key out, and in the object review resolves with, the key is there with the value undefined
votesvote[]One per lens, in the profile's lens order
relatedCodeobjectOnly for a verdict of a profile that has a lens that asks for related code, in a review given a reader of the repository's code: what the finding's voters were given of it, and what the rules dropped: Related code. Last in the verdict, the public view's too. The key is absent for every other verdict, so a review with related code off writes no relatedCode key in any verdict

Cleaned means stripped of control, format and other invisible characters, with whitespace collapsed to single spaces. A value cut at its cap ends with …. A trailing carriage return is removed from each evidence line.

A vote ​

FieldTypeHolds
anglestringThe id of the lens the vote was cast from
voteobject or nullkeep, a boolean, then reasoning, a string; null when the vote failed
errorstring or nullnull, or why the vote failed: the message of the error, such as default: HTTP 503: "model is loading", or the text of anything else the provider threw
failureobject or nullnull for a vote that was cast; else kind, what the vote failed with: a provider's kind (http, network, timeout, refusal, truncated, no-answer, for a reply that ended with no answer, and the rest: ProviderError), token-cap, review-deadline or interrupted for a vote the review's token cap, its deadline or its interrupt stopped, provider-down for a vote never sent because its provider was found down (three of its calls in a row failed for a reason of its own), unusable-reply for a reply the panel could not read, or unknown; status, an http failure's HTTP status, when the provider stated one; and noAnswer, what a truncated or no-answer vote's reply lacked, when its failure said it: reply (its answer was cut off at the limit), thinking (its reasoning used the limit, or it held only reasoning), window (the server's window ended it) or empty (it held nothing)
relatedCodenumberOnly for a vote of a lens that asks for related code, in a review that reads some, whose request was built: how many of the finding's excerpts the request carried, the first ones, 0 when it carried none, as when the lens's voter has no room for the first or the finding has none. The key is absent for every other vote, and for a vote the review stopped before it built its request. The public view keeps it
quotesRelatedCodetrueOnly on a cast vote whose request carried an excerpt, when its reasoning, white space collapsed, holds a code row of an excerpt the request carried, trimmed and collapsed, of at least 16 characters and with a letter: a file's header line and a marker of left-out comment lines are no code row. A fact about the reasoning, which the public view withholds, so it holds none. Absent, never false, otherwise: the benchmark counts the discards that quote the code they were given

A failed vote counts as a reject. Its failure holds only what the code read, never a word of the server's or the model's, and it is what the CLI's --allow-incomplete reads to tell a vote that failed in passing from one a pull request can cause: Exit codes. The reports write it as words beside a finding's votes: How a failed vote reads.

meta ​

FieldTypeHolds
versionstringThe version of quorum that ran the review, from package.json
startedAtstringWhen the review started, in ISO 8601 and UTC: 2026-11-08T02:04:20.361Z
durationMsnumberHow long it took, in whole milliseconds
sourceobjectWhere the diff came from: The source
settingsobject or nullWhat the review ran under, so two results of two configs compare field by field: the runtime, the review's bounds each with where it came from, each provider's settings and each profile's prompts, lens questions and reply budgets, with no base URL, no origin and no key: The settings. null when the review's caller gave no settings record, which says no config describes it. Required in every result of this release: a result of 0.13.0 has none, and readResult refuses it. The public view withholds it
profilesobjectOne entry per profile, keyed by profile id, in the order of the review's profiles
usageobjectOnly when at least one call reported valid counts: inputTokens and outputTokens summed over those calls, then costUsd, summed over the calls that reported one, when any did
callsobjectWhat each provider's calls came to, one entry per provider id that made a call, keyed by it, in the order its first call ended: the models its replies named as the model that answered, and its research calls and its votes, counted apart: The calls. {} when the review made no call. Required in every result of this release: a result of 0.13.0 has none, and readResult refuses it. The public view withholds it
incompleteentry[]The gaps of the review, profile by profile, each profile's gaps for the files left out first, then its too-large gap, then the gaps of the scanner reports it reads (report-unreadable and report-partial, then issues-capped), then its research gaps, then its panel's, then its limits'. A review is complete when this list and unreviewed are both empty
leftOutentry[]Every file the review left out, once per file, reason and rule: the files its source left out before it made the diff first, then the diff's own in its order: A file left out. Empty when it left none out, a blank diff included
flagsflag[]The advisory flags, the secret-file flags of the files left out first, in the order leftOut lists them, then those read from the diff, file by file in its order, then the guideline-edited flags, in the order of the review's documents, then the scanner-config-edited flags, in the diff's order: A flag. Empty when nothing was flagged, a blank diff included
contextobjectThe documents the review read as policy and sent, documents, one record for each, and the scanner reports it read, reports, one record for each: The context. Both lists are required, and empty when no profile has a document and no report was given, a blank diff included. A result of 0.15.0 has no reports, and readResult refuses it
adaptationsentry[]What the review moved by itself, in the order it happened: The adaptations. Required, and empty when nothing moved, a blank diff included
concurrencyobjectOnly when the review made a call: what each provider's lane did, one entry per provider id, keyed by it: The lanes
reusedobjectOnly when the review was given a state directory (--state, or a store in the library), even when nothing was reused: research, the research calls, and votes, the votes, that the store answered instead of a provider, whole numbers of at least 0, counted from the call events that say reused: Saved state. A call the store answered spends nothing and adds nothing to usage
judgedobjectOnly in a result of Quorum.judge, which judges the findings it is given and runs no research: findings, how many it was given, a whole number of at least 0, each judged by its profile's panel, so it is the number of verdicts in kept, discarded and unreviewed of the full result. It comes after concurrency and reused, and the public view keeps it as it is, the count included: the view withholds a discarded given finding, as it withholds a finder's discarded finding (The public view), so findings can be more than the verdicts the view lists. A review's result never holds it: A judgment
relatedCodeobjectOnly when the review was given a reader of the repository's code, and as { "status": "off", "reason" } when the quorum's relatedCode is on and the source names no commit to read it at: what the review read of that code and what it dropped, summed over its findings: Related code. Last in meta, after judged, and the public view keeps it as it is

A usage count is valid when it is a finite number of at least 0. A failed call's usage counts too, when its reply reported valid counts, as a reply refused or cut off at its token limit does. meta.usage, meta.calls, each profile's stages and each invalidFindings, invalidRules and awayFromChange are counted from the review's own events, so meta and the events cannot disagree.

Per profile ​

FieldTypeHolds
providersobjectresearch, the { id, model } of the research provider, then lenses, the { id, model } of each lens's provider, keyed by lens id
policyobjecthigh, medium and low: the kept votes each level needed, null for a level that is off
failOnstringThe level at or above which its kept findings exit 1: high, medium or low; none for an advisory profile: Gating
gatingbooleantrue unless failOn is none. A result of an earlier release has no failOn, and a reader takes gating: false as none and anything else as high
invalidFindingsnumberHow many findings it dropped for citing code outside the diff
rulesobjectlisted, how many review rules the profile lists, whatever their origin, and sent, how many of them the review sent: those whose paths match a file of the filtered diff, and every rule with none, when the filtered diff has a file: a change with no file at all, a blank diff or one whose every file exclude leaves out, sends no request, so sent is 0 for it, the rules with no paths too. { "listed": 0, "sent": 0 } for a profile that lists none. Required in every result of this release
invalidRulesnumberHow many rule citations failed their check: a finding's rule that names no rule the review sent whose paths match its file, and, in a profile that requires a rule, a finding that cites none. Each is a finding:invalid event of cause rule, which counts here, and a finding outside the diff is one without a cause, which counts in invalidFindings: the two stay apart. In a profile that requires a rule, each of them dropped its finding; in any other, the finding went on with no rule
awayFromChangenumberHow many findings a profile that reviews changed lines only (changedLinesOnly) dropped for standing away from the change: on its final line, after the anchor, the rows its evidence reads, the cited row and two on each side, hold no row the change adds or removes. Each is a finding:invalid event of cause away, which counts here, apart from invalidFindings, the findings that cite code outside the diff, so a finding the finder misplaced is told from one the profile's policy dropped. Such a finding was read and placed in the diff, so a reply whose findings all stand away records no gap. Present, and 0 when none was dropped, for a profile with changedLinesOnly, and absent, never 0, for every other, so a result of an earlier release, and the security profile's, hold none. The reports say it: , <n> away from the changed lines, The text report
testCoverage"read" or "none"Present for a profile that reads test coverage (testCoverage of the profile): read when a coverage report the review read gave states, so its research requests carry the block of their files' changed lines and each of its findings holds its line's state, none when no report was read or none could be used, so it sent and recorded nothing of coverage. Absent, never none, for every other profile, so a result of an earlier release, and the security profile's, hold none: Test coverage
researchobjectWhat the profile's research came to, in numbers: parts, the research parts of the plan, whether or not each was read (0 for a profile whose research asked nothing and for a blank diff, 1 for a research of one request); listed, the findings the research replies that were read listed, the unreadable ones and those the cap left unread included, so it is the sum of the listed of the part events; panel, the findings the panel was asked about that the finder reported, the output of the dedup stage whose foundBy is the model's, so a review with a scanner report and one without compare their research (a scanner's candidates are counted in their report's issues, in the context, and are judged all the same); capped, the findings the cap left unread, listed less those it read, 0 when nothing was capped; and saturated, the research replies that listed at least the findings they were asked for at most. Each is a whole number of at least 0, written in this order. Required in every result of this release: a result of 0.13.0 has none, and readResult refuses it. The text report writes them under the profile's coverage (The text report), and the public view withholds them
stagesobjectHow long each of the profile's stages took, in whole milliseconds, as its stage:end events say: research, dedup and panel, each present once it ended, in the order the stages ended, and {} for a blank diff. Each is the stage's wall-clock time, the waits for a slot and for the cap included, so the stages of the profiles, which run at once, overlap, and the review's durationMs is not their sum. A stage the review stopped before its end has none. Required in every result of this release: a result of 0.13.0 has none, and readResult refuses it. The text report's by role: line reads them, and the public view keeps them, as it keeps durationMs
asksNothingtruePresent, and true, for a profile whose research asked nothing: it requires a rule (requireRule) and the review sent it none, either because it lists none or because none applies to the change, so its finder was never called, its files read as reviewed, and it reports nothing, which a review that found nothing cannot be told from by the counts of findings and of files. It is the same fact as parts: 0 in the profile's research stage:start and asksNothing in the context event. Absent, never false, for every other profile, so a result with none is as it was. The reports say it: ; rules: <sent> of <listed> sent, so its research asks nothing, What a person sees of the rules
coverageentry[]Every file of the diff once, in its order, with how much of it the profile's research reviewed: Coverage
recoveryobjectWhat recovery did for the profile's research, present only when it split a research part (Recovering a cut-off part): parts, how many parts it split, pieces, how many final pieces they ended with, each read or left at the floor, not every piece asked on the way, saturated, how many of those splits were of a reply that listed as many findings as it was asked for at most, and unreadHunks, how many hunks the floor left unread in the parts it split, cut off even alone: a part cut off at the floor at once was not split, so it has no entry here, and its hunks are in the reply-cut-off gap. The key is absent for a profile that split none, and a result of an earlier release has none

The source ​

meta.source says where the diff came from. A program that calls review names the source it made the diff from, and a review given none records { "kind": "diff" }. Its kind is one of five, and the other fields depend on it:

kindOther fieldsWhere the diff came from
diffNoneA diff file or standard input, about which nothing more is known
rangebase, mergeBase, head, objectFormatThe commits base...head of a git repository: mergeBase is the commit where their histories meet, which the diff starts from
local, stagedhead, objectFormatThe local changes of a git repository, or only its staged ones, over the commit head; head is null before a first commit
pathscommit, paths, skips, objectFormatThe files under paths at commit: paths holds the normalized selections, . for the whole tree, and skips whether the default skips applied
  • Every id is a full commit id, never a revision as written: base, mergeBase, head and commit are 40 lowercase hexadecimal characters when objectFormat is sha1, and 64 when it is sha256.
  • It never holds a revision as written, a local file name or a git version.
  • Later releases may add kinds, a container image's say. A reader takes a kind it does not know as a source it cannot describe, never as an error, and goes on reading the rest of the result.

Sources says how each source makes its diff.

The settings ​

meta.settings is what the review ran under, which two results of two configs compare field by field (jq reads both, and the difference is the setting that changed). The core cannot know a preset, an auth style or an extraBody, since it holds provider objects and not the config's specs, so the record is given by the caller, as source is: the CLI builds it for every review it runs, from the resolved config and the review's own bounds, with reviewSettings, and a program passes its own as ReviewInput.settings. The review checks it against the schema of a result, refuses one that does not match before any call, and records a copy. It is null when no settings record was given, which says no config describes the review: a program's review that passes none, and each review of quorum bench, whose run is identified by its fingerprint. It holds, in this order:

FieldTypeHolds
runtimeobjectWhat ran the review: name, bun or node, version, platform and arch, as the process reports them
strictbooleanWhether the config's strict or QUORUM_STRICT is on
relatedCodetruePresent only while related code is on (the config's relatedCode), after strict: the key is absent while it is off, so the record of a review that leaves it off is as it always was
concurrencynumber or "auto"The config's calls at once, auto when it sets none
excludestring[]The config's patterns, [] when it lists none
partTokensobject{ value, origin }: the tokens of diff a research part holds at most
maxFindingsobject{ value, origin }: the findings a research request asks for at most
findingsCapobject{ value, origin }: the most findings of the research each profile sends to its panel
maxScannerIssuesobject{ value, origin }: the most scanner issues on the change each profile's panel judges, beside its findings: config when the config sets it, else default, 50
maxReviewTokensobject{ value, origin }: the review's token cap
reviewTimeoutMsobject{ value, origin }: the review's deadline, in milliseconds
providersobjectEach provider of the config, keyed by the key the config gives it, in the order the config defines them
profilesobjectEach profile that runs, keyed by id, in run order
  • origin says where a bound came from: config (the config set it, or the variable that sets it did: QUORUM_MAX_REVIEW_TOKENS, QUORUM_REVIEW_TIMEOUT_MS or QUORUM_FINDINGS_CAP), default (the default quorum has for it), or derived (the review worked it out from its input). A --path review derives its token cap from its estimate's worst case, and its finding cap, when the config sets neither findingsCap nor maxFindings, from its research parts; its deadline is its own default of 24 hours, default unless the config sets one: The bounds of a path review. findingsCap is the config's findingsCap, else its maxFindings (config either way), else the default 50. maxScannerIssues is the config's or the default 50, never derived: no review works it out, and no variable sets it.
  • A provider holds the fields --print-config prints for it, in its order, less origin, command, args and apiKey, so the result holds no base URL, no host and no key: preset, protocol, model, contextTokens, auth (a name, or { header, prefix }; inherit for a claude-code provider that sets none), headers, query, extraBody, structuredOutput, temperature, maxTokens, maxTokensField, thinking, systemPrompt, stream, timeoutMs, stallTimeoutMs and retries, each present when the config sets it. systemPrompt is native, inline or, for a prompt, sha256: and the hex SHA-256 of its text. A provider object holds implements ("Provider"), its model when that is a string, and the timeoutMs, stallTimeoutMs and retries it states.
  • headers and query keep their names, each with the value "[redacted]": a header's value is a credential and a query's can be. extraBody keeps its names and writes a value only when a rule that fails closed finds it safe, a number, a boolean, null or a string of at most 64 code points that holds no credential, e-mail address or long opaque run, under a key that names no secret, and "[redacted]" for any other: What a result records of a provider. A name that is no safe string is one entry, "[redacted]": "[redacted]", where the first of them stood.
  • A profile holds, in this order, research, its research provider's key; lenses, each lens's { provider, question }, the provider's key and the question as sha256: and the hex SHA-256 of its text, testCoverage: true after them for a lens that is sent the cited file's test coverage (the key is absent for any other), and relatedCode: true after that for a lens that asks for related code, in a record whose top-level relatedCode is on (the key is absent for any other lens, and for every lens while the switch is off); prompts, research and vote, each as sha256: and the hex digest, as --print-config prints them; findings, how many findings a research request asks for at most; and replyTokens, research, the research reply budget in tokens (absent where nothing sizes it), and votes, each lens's vote budget, null where nothing sizes it; then testCoverage: true for a profile that reads test coverage, the key absent for a profile that reads none, so a profile that reads none records what it always did. best-practices reads test coverage, so its entry holds testCoverage: true, and its absent lens's, in every review, whether or not a coverage report was read. No prompt's text and no question's reaches the record.

The schema is strict. readResult and a review that is given a record refuse a field it does not list, a bound that is no whole number of at least 1 or whose origin is none of the three, a prompt or a question that is no hash, a provider that holds a field the view does not write (origin, command, args and apiKey, which --print-config prints and a result never records, and any other), a header or query value that is not "[redacted]", an extraBody value of another shape than the rule writes (a string of more than 64 code points, objects and arrays nested more than 4 levels, an entry of more than 64 values with each object and array counted as one), a string of more than 4096 characters, and a record or a list of more than 256 entries. A field the view does write is free text where it holds one: a URL typed into model or auth.header is recorded as written. A review that is given a record that does not match is refused before any call with settings: must be a review's settings record, as reviewSettings builds it: <path> does not match, the path of the first field and no value, and a program's record is never repeated.

json
{
  "meta": {
    "settings": {
      "runtime": { "name": "bun", "version": "1.4.3", "platform": "linux", "arch": "x64" },
      "strict": false,
      "concurrency": "auto",
      "exclude": [],
      "partTokens": { "value": 32768, "origin": "default" },
      "maxFindings": { "value": 50, "origin": "default" },
      "findingsCap": { "value": 436, "origin": "derived" },
      "maxScannerIssues": { "value": 50, "origin": "default" },
      "maxReviewTokens": { "value": 6500000, "origin": "derived" },
      "reviewTimeoutMs": { "value": 86400000, "origin": "default" },
      "providers": {
        "default": {
          "protocol": "openai-compatible",
          "model": "gateway-alias",
          "contextTokens": 131072,
          "headers": { "x-team": "[redacted]" },
          "extraBody": { "reasoning_effort": "low", "api_token": "[redacted]" }
        }
      },
      "profiles": {
        "security": {
          "research": "default",
          "lenses": {
            "reachability": { "provider": "default", "question": "sha256:<64 hex digits>" },
            "impact": { "provider": "default", "question": "sha256:<64 hex digits>" },
            "defenses": { "provider": "default", "question": "sha256:<64 hex digits>" }
          },
          "prompts": { "research": "sha256:<64 hex digits>", "vote": "sha256:<64 hex digits>" },
          "findings": 50,
          "replyTokens": { "research": 21024, "votes": { "reachability": 9216, "impact": 9216, "defenses": 9216 } }
        }
      }
    }
  }
}

Coverage ​

A review lists, for each profile, every file of the input diff once, in the diff's order, and how much of it that profile's research reviewed. A gap says that something was not reviewed and the coverage says what, so a reader can tell the files research read from the lines it did not. A profile whose research asked nothing (asksNothing) has every file reviewed, though no model was asked: reviewed says no research part of the file failed or was left unsent, and the finding cap left unread no finding a reply listed on it, among the findings each reply was asked for after its last one read.

FieldTypeHolds
filestringThe diff's own path of the file, decoded from git's quoting, as in A file left out: "" for a part of the diff that no header names
statusstringHow much of the file was reviewed, below
reasonstringWhy the file is unreviewed, below. The key is absent for any other status
leftrange[]The ranges of a partly reviewed file that were not reviewed, in the diff's order: start and end, new-file lines, both ends included, a hunk that only deletes lines at its start line, and the reason of each, below. The key is absent for any other status
statusWhat the profile's research reviewed of the file
reviewedAll of it: no research part of the file failed or was left unsent, and the finding cap left unread no finding a reply listed on it, among the findings each reply was asked for after its last one read; a profile whose research asked nothing (asksNothing) included
partialSome of it: left lists the ranges that were not, the lines of the findings the cap left unread included
unreviewedNone of it: reason says why
excludedNone of it, by choice: an exclude pattern leaves all of it out of every request, and it is no gap
reasonWhy the file, or the range, was not reviewed
binaryThe diff carries no content for the file, or the input's leftOut lists it as binary: A file left out. Its section is still sent, and the model reads nothing of the change
submoduleThe diff carries only a submodule's commit, or the input's leftOut lists the file as one
secretThe file was held back as a secret, so no model was sent any of it: A file left out
deleted-secretThe change deletes a file named as a secret, whole, so no model was sent it either, and it is no gap
too-largeThe hunk, or a section with no hunk, fits in no research part of the profile's model's window: no part holds it, so no model read it. It is the too-large gap's
request-too-largeThe provider refused the research part that held it as too large for its model, so it was not sent
token-capThe review's token cap stopped the research part that held it, so it was not sent
review-deadlineThe review's deadline stopped the research part that held it, in flight or not yet sent
interruptedThe review was interrupted, and the research part that held it was not read: not yet sent, or still in flight at the end of the grace
research-failedThe research part that held it failed after its retries, or its reply was no findings envelope, whether its profile gates or not
provider-downThe research part that held it was never sent, since its provider was found down
reply-cut-offThe reply for the hunk was cut off at its limit, though recovery had split its part as far as it goes (three splits deep, or down to one hunk): it is the reply-cut-off gap's, and no flag lifts it
findings-cappedA finding a research reply listed at this line of the file was left unread by the finding cap, so no voter judged it: it is counted in the findings-capped gap. Only a range has it, never a file's reason
not-researchedNo research read the file: a result of Quorum.judge runs none, so each file of the diff that no reason above names is unreviewed with this one, in every profile, and no gap says so. Only a file's reason has it, never a range's

A review's result never holds not-researched, nor meta.judged: both are a judgment's alone (judge).

  • Reviewed means no research part of the file failed or was left unsent, and the finding cap left unread no finding a reply listed on it, among the findings each reply was asked for after its last one read. Each research request that carried the file's text was answered with a valid findings envelope, whatever it found, and the cap left unread no finding it listed on the file among the findings each reply was asked for after its last one read (findings-capped). A profile whose research asked nothing, one that requires a rule and was sent none, made no request, so no part failed: every file of its coverage is reviewed though no model read it, and its asksNothing is the field that says so. The votes read only what a finding cites.
  • A finding the cap left unread that places nothing changes no file's coverage. One that is not among the findings its reply was asked for after its last one read, one with no file or no line of at least 1, one on a file outside the diff and one at a line no hunk shows is counted in the findings-capped gap and placed in no file, so the file it meant can stay reviewed. The coverage reads only the file and line the reply wrote, against the diff, and never checks the finding. The gap fails a gating review whatever the coverage says.
  • A binary or submodule file is unreviewed with that reason, though its section is sent, whatever became of its part. A secret or deleted-secret file is unreviewed with that reason too, and none of it is sent.
  • A recovered part is read by its pieces. When recovery split a research part (Recovering a cut-off part), a hunk is reviewed when the piece that held it was read, so a section split between its hunks is partial when some of its pieces were not, with the range of each hunk left and the reason of its piece. A file is never reviewed while a piece of it was not read.
  • A file is excluded when exclude left all of it out of the diff the research read.
  • Each profile has its own coverage, since each has its own research model, with its own window and so its own parts.
  • A range is one hunk's lines, as a finding can cite them, one range for each hunk left, not merged with a neighbour, but for the findings-capped ranges below. A piece with no hunk adds no range, so a file of several sections, as a format-patch series has, can be partial with left: [] when its only unread piece is a section with no hunk: the too-large gap, which counts it, is then the pointer.
  • A findings-capped range merges consecutive lines. The lines of the findings the cap left unread are the lines the replies gave, where the diff shows them, each run of consecutive lines one range, in line order among the file's other ranges, and a file with more than 16 such ranges has its capped lines as one range from the first to the last, so a flood of findings cannot swell the result. A reviewed file gains them and is partial, a partial file gains them beside its other ranges, and an unreviewed or excluded file is left as it was.

A file name is the author's text, so print it as Output handling says.

An incomplete entry ​

FieldTypeHolds
profilestringThe profile whose run has the gap
reasonstringOne of the eighteen incomplete reasons
filestringThe file of the finding the gap is about, when it is about one finding the harness could read: vote-failed has it, and so does a vote's request-too-large
detailstringWhat is missing, in words

A file left out ​

FieldTypeHolds
filestringThe path of the file as the review names it. A file the diff lists is named by the diff's own path, as the diff --git header names it, decoded from git's quoting: the new path of a rename, the old one of a deletion. "" for a part of the diff that no header names: the text before the first header, a diff without such headers, a section whose header names no path quorum reads, such as a rename under --no-prefix, and a submodule that git's log or diff format prints as a Submodule line. A readable header never names "", and no file of a change has an empty path, so the empty name is never a file's. A part of the diff with no path is never excluded. A file the review holds back as a secret is named the same way, so --send, the config's send and a program's send name it exactly as meta.leftOut writes it. A file the input's leftOut lists, as a path review's skipped files are, is named as its source named it: for a path review, the path in the tree, decoded as a diff would name it
reasonstringWhy the review left it out, below
rulestringThe rule that skipped the file, for skipped: below; the rule that held it, for secret and deleted-secret: The rules of a hold. The key is absent for any other reason
reasonWhy the review left the file out
excludedAn exclude pattern of the review matches its path, so its section reached no model, the size guard did not count it, and a finding that cites it was dropped as outside the diff. It is no gap: leaving it out was the operator's choice. A path review lists an excluded file and never reads it
binaryThe diff shows its change only as Binary files <a> and <b> differ, or as a GIT binary patch block, with none of the content. Git prints it for a file that holds a NUL byte near its start, or that an attribute marks -diff: the change's own .gitattributes included, when the diff is made in its checkout. A path review writes such a file the same way when its default skips are off, and the input's leftOut may list one
submoduleThe diff shows a submodule's change only as its commit: its Subproject commit lines, a header of mode 160000, or a Submodule line, and none of its code. The input's leftOut may list one
skippedA path review skipped the file, by the rule the entry names: it reached no model, and it is no gap, since the review listed it and nothing in the diff was left unread
secretThe review held the file back, by the rule the entry names: its name is a secret's (name), or a line of it holds a credential of one kind. No model was sent any of it, every section of it left the diff, and the file is a gap of every profile. The input's leftOut may list one. Files held back as secrets
deleted-secretThe change deletes a file named as a secret whole, so it adds no code a review would read. No model was sent it, and it is no gap; the file's secret-file flag says that the history still holds it. Its rule is name: a whole deletion of a file held for a credential in it is listed secret, a gap, since the code it removes would go unread. The input's leftOut may list a deleted-secret file with any rule

A binary, submodule or secret file makes the review incomplete: every profile records a gap of that reason that counts them, which no flag lifts for a gating profile (Incomplete reasons). That holds for such a file the input's leftOut lists as for one the diff shows. An excluded file, a skipped one and a deleted-secret one are no gap. To send a secret file all the same, an operator names it with --send or the config's send, and a program in review's send: Sending a held file, review. To review a change that holds images, fonts or other assets, list them in the named config's exclude: Excludes. The section of a binary or submodule file still reaches the models, which read nothing of the change; no section of a secret file does. A line of the same form elsewhere, such as a line of a commit message in a format-patch series, lists the file whose section holds it: quorum counts it, since a gap it should not have stops a review for a person to look, where a missed one would pass a change unread. A file stored outside git, such as a Git LFS pointer, is not detected in a diff, where a path review skips a pointer and lists it as lfs: Content the diff does not carry.

The rules of a skip ​

ruleWhat it matches
vendoredA file under a directory named node_modules, bower_components, jspm_packages, vendor, Vendor, vendors, third_party, third-party, thirdparty, Pods or Carthage, at any depth. The file's own name is not looked at: vendor.go is reviewed
lockfileA file named package-lock.json, npm-shrinkwrap.json, yarn.lock, pnpm-lock.yaml, bun.lock, bun.lockb, deno.lock, poetry.lock, Pipfile.lock, pdm.lock, uv.lock, go.sum, go.work.sum, Cargo.lock, composer.lock, gradle.lockfile, Gemfile.lock, packages.lock.json or paket.lock
minifiedA file whose name ends, in any case, in .min.js, .min.mjs, .min.cjs, .min.css, .js.map, .mjs.map, .cjs.map or .css.map; or a .js, .mjs, .cjs or .css file whose lines average over 110 bytes, linguist's rule
testA file whose own name marks a test, in its case (.test. or .spec. before a JavaScript or TypeScript extension, _test.go, _test.py, test_ before .py, Test.java, Tests.java, Test.kt, Tests.cs or _spec.rb), or a file under a directory named __tests__, test or tests, at any depth. A directory named testing is not matched
secretA file whose name is a secret's, by the name row of The rules of a hold, templates apart: a .env.example, .env.sample, .env.template or .env.dist and a Helm chart's templates/secrets.yaml are no secret by name, and are read; or a file whose text holds a credential of one of that section's kinds, found once the file is read, a template included. It is skipped whatever the default skips are, and raises a secret-file flag, which says by name or by content; a file named in send stays unskipped
binaryA file with a NUL byte among its first 8000 bytes, as git reads one
submoduleA gitlink: the commit of another repository, which a path review never enters. Always skipped
lfsA Git LFS pointer: under 1024 bytes of printable ASCII, exactly the version, optional ext- lines, oid and size lines of the spec. A pointer holds no code. Always skipped

The rules are tried in the order submodule (always), then secret by name, then vendored, lockfile, minified and test by name, then lfs once the file is read, then binary, then secret by content, then minified by content, so a file is listed under the first rule it fits. Only a path review skips, and only --no-default-skips turns the five default rules off, vendored, lockfile, minified, test and binary: a secret stays skipped and flagged, whatever the skips, and only --send or send sends it: What a path review skips.

The rules of a hold ​

A file is held back by its name, or by a line of it that holds a credential. Its rule says which: name, or the kind of credential. The name is judged first, so a .env that holds a key is name.

ruleWhat holds a filegitleaks 8.30.1 rule ids it takes
nameA name that is one of .env, .npmrc, .pypirc, .netrc, _netrc, .git-credentials, .pgpass, .htpasswd, id_rsa, id_dsa, id_ecdsa, id_ed25519, credentials, credentials.json, secrets.json, secrets.toml, secrets.yaml or secrets.yml; a name that starts with .env.; or a name that ends in .pem, .key, .p12, .pfx, .jks, .keystore, .ppk, .kdbx, .tfstate or .tfstate.backup. Only the last segment of a path counts, in any case, and an a/ or b/ prefix changes nothing. A name that starts with .env. and ends in .example, .sample, .template or .dist, and a secrets.yaml or secrets.yml whose directory is named templates, a Helm chart's, are templates and no secret by nameNone: the names are quorum's own
private-keyA private key's armor line, followed by a body: a run of at least 32 characters of the base64 alphabet that holds a digit and a letter, on the same line after the armor or on one of the next six lines. The ten markers are pre-commit-hooks' detect-private-key: the armor of an RSA, DSA, EC, OpenSSH, SSH2 encrypted and encrypted private key, of a PKCS#8 key that names no algorithm, and of a PGP private key block, PuTTY's first line of a version 2 key file, and the header of an OpenVPN static key. Code that parses keys, or a document that names a header, has no body, and is no hitNone: the markers are pre-commit-hooks'
aws-keyAn access key id: AKIA, ASIA, ABIA, ACCA, or A3T and a letter or digit, then 16 capital letters and digits from 2 to 7, ending at a word boundary, one that ends in EXAMPLE being no hit; and a long-lived Bedrock API key, which starts with ABSKaws-access-token, aws-amazon-bedrock-api-key-long-lived
github-tokenA token that starts with ghp_, gho_, ghu_, ghs_ or ghr_ and 36 more letters and digits, or with github_pat_ and 82 more word charactersgithub-pat, github-oauth, github-app-token, github-refresh-token, github-fine-grained-pat
slack-tokenA bot token (xoxb-, in two forms), a user token (xoxp- or xoxe-), an app-level token (xapp-), a configuration access token (xoxe.xoxb- or xoxe.xoxp-) or refresh token (xoxe-), a legacy token (xoxo-, xoxs-, xoxa- or xoxr-), and a webhook URL of hooks.slack.comslack-bot-token, slack-user-token, slack-app-token, slack-config-access-token, slack-config-refresh-token, slack-legacy-bot-token, slack-legacy-token, slack-legacy-workspace-token, slack-webhook-url
google-keyA Google API key: AIza and 35 more charactersgcp-api-key
stripe-keyA Stripe secret or restricted key: sk_ or rk_, then test_, live_ or prod_, and 10 to 99 letters and digitsstripe-access-token
anthropic-keyAn Anthropic API or admin key: sk-ant-api03- or sk-ant-admin01-, then 93 characters and AAanthropic-api-key, anthropic-admin-api-key
openai-keyAn OpenAI key: sk-, then proj-, svcacct- or admin- and a long body, or 20 letters and digits, with T3BlbkFJ in the middleopenai-api-key
  • The two sources. The credential rules are gitleaks 8.30.1's, for the seven providers of the table, each with its pattern as gitleaks ships it, MIT licensed, Copyright (c) 2019 Zachary Rice. The private-key markers are those of pre-commit-hooks v5.0.0's detect-private-key, MIT licensed, Copyright (c) 2014 pre-commit dev team. Quorum's source carries both notices.
  • What is left of gitleaks. The Bedrock key that expires within twelve hours, gitleaks' own private-key rule, which matches across lines, the allowlist of 16 public Google keys and the config's global allowlist are not taken: a key of a pattern quorum does not read is sent.
  • The entropy floor. A rule's match is no hit when its secret has a Shannon entropy, in bits per character, at or below the rule's floor, which gitleaks sets from 2 to 4 for each rule but Anthropic's two and Slack's webhook, which have none. A placeholder such as one character repeated is no hit.
  • Line by line. A line is tested for a private-key marker, which looks at most six lines ahead for its body, and, when it holds a keyword of the rules in any case, for each rule in order and every match of it. The first hit decides, a line of any length is read in linear time, and a removed or context line counts as an added one.
  • A hit holds the file. Never a line of it: no model is sent the rest, and nothing is redacted.

A later release may add reasons and rules. A reader takes a reason or a rule it does not know as a file left out, never as an error, and goes on reading the rest of the result.

A flag ​

FieldTypeHolds
code"hidden-characters", "ai-addressed-text", "secret-file", "guideline-edited", "suppression-added" or "scanner-config-edited"What the flag is about
profilestringThe id of the profile the flag is about, for a flag about one: a guideline-edited flag. The key is absent for every other flag
filestringThe path of the file the flag is about: the diff's own path, or for secret-file the path of the file held back or skipped. For guideline-edited it is the own path of the section of the diff that touches the document, and for scanner-config-edited the own path of the section that touches a scanner's file or a CI workflow. The key is absent for a diff without per-file headers, for a secret-file flag about the text no header names, and for a guideline-edited or scanner-config-edited flag about a section whose header names no path quorum can read
linenumberThe first added line, in the new file, that the flag is about. The key is absent for a flag about the file name, for secret-file, for guideline-edited and for scanner-config-edited
detailstringWhat was found, in words the code wrote, never text of the diff

A file raises at most one flag for each row of this table, in this order:

codeAboutlinedetail, for instance
hidden-charactersThe file nameAbsentthe file name holds U+202E
hidden-charactersThe added linesThe first added line that holds oneU+202E, U+200B on 3 added line(s)
ai-addressed-textThe added linesThe first added line that matchesa chat-template token, a tool-call tag on 2 added line(s)
secret-fileA file held back by its nameAbsentnamed as a secret, so no model was sent any of it: check that it belongs in the change
secret-fileA file held back by a credential in itAbsentholds what reads as an AWS key, so no model was sent any of it: keep it out of the repository, and rotate it if it is real
secret-fileA file named as a secret that the change deletes wholeAbsentdeletes a file named as a secret, so no model was sent any of it: the history still holds the file, so rotate what it held
secret-fileA file a path review skipped by its nameAbsentnamed as a secret, so a path review sent none of it: check that it belongs in the repository
secret-fileA file a path review skipped by a credential in its textAbsentholds what reads as a credential, so a path review sent none of it: remove it from the repository, and rotate it if it is real
guideline-editedA section of the diff that edits, renames, copies, adds or deletes the path of a document the review read from the repositoryAbsentthe guidelines this review read for the profile from 1f3a9c2, not the change's version
guideline-editedThe same, for an optional document the commit lackedAbsentthe guidelines this review looked for at 1f3a9c2 and did not find, not the change's version
suppression-addedThe added linesThe first added line that holds a markernosemgrep on 1 added line(s)
scanner-config-editedA section of the diff that edits, renames, copies, adds or deletes an ignore or config file of a scannerAbsentedits Trivy's ignore or config file
scanner-config-editedThe same, for the coverage tools' filesAbsentedits the coverage tools' ignore or config file
scanner-config-editedThe same, for a CI workflow, only when the review reads a scanner or a coverage reportAbsentedits a CI workflow while the review reads a scanner or coverage report

A secret-file flag comes from meta.leftOut, not from the diff: one for each skipped file of the rule secret, secret file and deleted-secret file, in its order, ahead of the diff's flags. The detail of a held file by a credential names the kind in words (a private key, an AWS key, a GitHub token, a Slack token or webhook, a Google API key, a Stripe key, an Anthropic key or an OpenAI key), and a deleted-secret entry that names a kind, which only the input's leftOut can hold, reads deletes a file that holds what reads as an AWS key, so no model was sent any of it: the history still holds it, so rotate it. A flag quotes no line of the file. A secret that an exclude pattern matched first is listed as excluded and raises none. A detail names at most eight code points or patterns, then and N more. Advisory flags says what each code looks for. A flag never changes a verdict, a gap or the exit code.

A guideline-edited flag comes from the repository documents of the review, not from a file's lines: one for each profile and path, after the diff's flags, in the order the documents are listed, at the first section of the diff that names the path. Its detail names the kind, guidelines, do-not-report text or rules, or the kinds the path holds joined by , and and, and the first 7 characters of the commit the review read, or looked for, the document at, and quotes nothing of the file or the diff. A path review raises none, and a { file } document none: When the change edits a document.

A suppression-added flag comes from the added lines of a file, after its ai-addressed-text flag: its detail names the markers the file's added lines hold, as the list of Suppressions writes them, in the order they first stand there, at most eight, and counts the added lines that hold one. A scanner-config-edited flag comes from the section names of the whole diff, as a guideline-edited flag does, one for each section, after the guideline-edited flags, and its detail names the first scanner of that page's list that the section names, or the CI workflow. Both are hints, read by code, and quote nothing of the file or the diff. A path review raises neither, since it adds and edits nothing. Neither changes a verdict, a gap or the exit code.

The context ​

meta.context records the documents each profile read as policy and the review sent: a profile's guidelines, do-not-report text and review rules, its documents and the repository documents the review brought (Documents), and the scanner and coverage reports it read. It holds two keys. documents is a list with one record for each document, in the order of the review's profiles and, for a profile, its guidelines, then its do-not-report text, then its rules, each in the order they were joined: the profile's own text, its config documents, then the repository's. reports is a list with one record for each report, the scanner reports in the order the review was given them (A scanner report's record), then the coverage reports in theirs (A coverage report's record). The same record is the context event the review sent before its stages (Events), which holds besides it rules, how many rules each profile that lists one or requires one lists and sent, as meta.profiles.<id>.rules records them, and asksNothing: true for a profile whose research asks nothing. A record holds a hash, a path, a commit and counts, never a document's text, and a report's never holds a file name or a text.

FieldTypeHolds
profilestringThe id of the profile the document was sent with
kind"guidelines", "do-not-report" or "rules"What the document tells the model: the criteria to judge by, what the research does not report, or the review rules a finding may cite
origin"profile", "config" or "repository"profile for the text a program set on the profile, config for a document of its configuration, repository for a file of the commit the review read
pathstringA repository document's path, of at most 4,096 characters. The key is there for repository alone
commitstringThe full id of the commit a repository document was read at: 40 lowercase hexadecimal digits, or 64 for a sha256 repository. The key is there for repository alone
sha256stringThe SHA-256 of the document's text as read, in UTF-8, before it was cleaned, 64 lowercase hexadecimal digits: the hash sha256sum gives a file with no byte-order mark. The key is there when the document's reader computed one, and never for a missing document
status"read" or "missing"missing for an optional document the commit does not hold
bytesnumberThe UTF-8 bytes of the cleaned text as it was sent, for a rules document those of its entries as the rules block holds them: 0 for a blank text, a missing document and a document of no rule
rulesnumberHow many rules a rules document holds, 0 for one that is missing. The key is there for rules alone
removedobjectWhat the cleaner removed from the text, characters, comments and entities: the hidden characters by code point, the HTML comments and the numeric character references by construct, counting what the document's reader removed and what the core removed again: Prose a model reads as policy

A review whose profiles have no document, none of which lists a review rule or requires one (requireRule), and that reads no report records { "documents": [], "reports": [] } and sends no context event: a profile that lists or requires a rule is in the event, in its rules, though it holds no document, and a review that reads a report is in it, in the report's record. The record is schema-strict: readResult refuses a kind, an origin or a status it does not know, a hash that is not 64 lowercase hexadecimal digits, a record of a repository document with no path or commit, a record of any other origin with one, a rules record with no count and a record of another kind with one. The public view keeps meta.context whole.

A scanner report's record ​

A report is a SARIF 2.1.0 log or a saved SonarQube api/issues/search response that a program hands the review, read for one profile. The core places each of its issues against the change and counts it under one outcome, before any stage, so the record is known when the review starts. It holds, in this order:

FieldTypeHolds
format"sarif" or "sonarqube"The format the report was read as
profilestringThe id of the profile the report is read for, and whose panel judges its candidates. The key is there for a scanner report
scannerstringThe scanner's name as the report gives it, cleaned and capped at 64 characters. The key is absent when the report names none, and when the name holds what reads as a credential
commitstringThe commit the report states, as a lowercase hexadecimal prefix of 7 to 64 digits. The key is absent when the report states none, or states a text that is no such prefix
sha256stringThe SHA-256 of the file's bytes as read, 64 lowercase hexadecimal digits. The key is absent when the file was not read
status"read", "partial" or "unreadable"unreadable when nothing of the report was used, whatever the problem; partial when part of it was not read or not placed; else read
problemsstring[]What is wrong with the report, in the order below; [] for a report read whole
issuesobjectWhere each issue of the report ended, below. The key is there for a scanner report
problemsThe report is
missingunreadable: its file does not exist
cannot-readunreadable: its file cannot be read, for another reason than its absence
not-a-fileunreadable: it is a symbolic link or no regular file, which quorum does not read
too-largeunreadable: it is over 16 MiB
not-the-formatunreadable: it is no SARIF 2.1.0 log, or no saved api/issues/search response
no-resultsunreadable: no run of the log holds a result list, so its scanner failed
another-commitunreadable: it states another commit than the reviewed one, or a revision that is no commit id. A review that names no commit (a diff file, standard input, an estimate) checks none
truncatedpartial: a SonarQube response holds fewer issues than its search found
too-manypartial: a log holds more than 20 runs, or a run more than 25,000 results, or a response more than 25,000 issues, and the rest was not read: issues.notRead counts what was not read, and the gap says <r> of its <t> results were not read (issues for a response), and <r> of its <t> runs were not read for the runs past the 20th
scanner-failedpartial: a run says its scanner failed, or holds no result list
unreadable-entriespartial: some entries could not be read, each read alone
unmapped-pathspartial: some issue names a path quorum could not place in the repository
held-textpartial: some issue holds what reads as a credential, or a text the cleaner cannot settle, so no model was sent it

issues counts the report's issues under nine outcomes, each issue under exactly one, listed, the sum of the nine and notRead, and fileLevel, a part of used. Each is a whole number of at least 0, in this order, notRead last and written only when it is above 0:

FieldCounts the issues
listedThe report holds, the sum of the nine below and notRead, so a file past a reader's limits is counted whole. For an unreadable report it is what its reader counted, the skipped, the unreadable and the notRead, and every other count is 0: no issue of it was placed
usedThat are candidates: the panel judges them, at the profile's maxScannerIssues at most
fileLevelOf used that had no usable line (none, 0, or a Trivy result's 1) and stand on their file's first changed line
heldWhose text holds what reads as a credential, or a text the cleaner cannot settle: no model was sent them
unmappedWhose path is none quorum could place in the repository
notInChangeWhose path names no file of the diff, or none
leftOutWhose file is one the review left out: excluded, held as a secret, skipped, binary or a submodule
unchangedOn a line of a file of the change that is not near what the change touches
cappedThat are candidates past the profile's maxScannerIssues, the least severe first (error, warning, note, none, unknown, then the order of the reports)
skippedThat are no open issue: a result of another kind than a failure, a SonarQube issue that is not open
unreadableIts reader could not read
notReadIts reader did not read, past its limits: the results (the issues, for a SonarQube response) a run holds past its 25,000, and every result of each run past a log's 20th, counted from the length of its result list. The gap says it as <r> of its <t> results were not read, <t> being listed

An issue is counted by the first outcome that holds, in this order: held, unmapped, leftOut, notInChange, then used (a line near the change, or the file's first changed line for an issue with no usable line) or unchanged. A candidate on the file, line and category of a finding the finder reported is dropped for the finder's finding and is still counted used. notInChange, unchanged, leftOut and skipped are no gap: each is an issue on code the change does not touch, or on a file the review already lists as left out, or one its scanner or a person closed. The record holds the report's place only as its index in the list, which foundBy.report and a gap's report <n> (from 1) name, and never its file name or the scan root. readResult refuses a record whose format, status or problems is none of the lists above, a hash or a commit of another form, a scanner of more than 64 characters, a count that is no whole number of at least 0, and a verdict whose foundBy.report names no record of its own profile.

A coverage report's record ​

A coverage report is an lcov tracefile that a program hands the review, read for every profile that reads test coverage. It is no scanner report: it holds no profile and no issues, and what it counts is the changed lines of the filtered diff, a changed line being a line the diff adds, in the new file. A file with no added row is in no count. It holds, in this order:

FieldTypeHolds
format"lcov"The format the report was read as
sha256stringThe SHA-256 of the file's bytes as read, 64 lowercase hexadecimal digits. The key is absent when the file was not read
status"read", "partial" or "unreadable"unreadable when nothing of the report was used (missing, cannot-read, not-a-file, too-large or not-the-format); partial when file records were not read or not placed, or its reader says it was read in part; else read
problemsstring[]What is wrong with the report: the reader's own (missing, cannot-read, not-a-file, too-large and not-the-format, with the words of the scanner report's table, it is no lcov tracefile for the last), then unreadable-entries when some file record could not be read and unmapped-paths when some record names a path quorum could not place in the repository; [] for a report read whole
linesobjectThe report's counts over the changed lines, below

lines holds, each a whole number of at least 0, in this order:

FieldCounts
changedFilesThe files of the filtered diff with an added row
measuredFilesOf them, the files the report lists a record of
coveredThe changed lines the report lists with hits and no missed branch
partialThe changed lines it lists with hits and a branch on the line taken 0 times or never evaluated
zeroThe changed lines it lists with no hit
notMeasuredThe changed lines it lists no hit for, or whose file it lists no record of: every changed line of a report that could not be used
unmappedThe file records whose path the path rules could not place in the repository
unreadableThe file records its reader could not read

Several records of one line merge, within a report and across reports, each line taking the strongest state any record gives it: covered, then partial, then zero. The record holds counts and code's words and never a path, a file name or a text of the report, and a profile that reads test coverage has a report-unreadable or report-partial gap of it, as for a scanner report, with report <n> for its place in meta.context.reports and no profile in its words: report 2 (lcov) was read in part: 3 file record(s) could not be read, ...: 1 file record(s) name a path quorum could not place in the repository, or report 2 (lcov) could not be read: it is no lcov tracefile. readResult refuses a record of format lcov that holds a profile or issues, or lacks lines, and a scanner record that holds lines.

The adaptations ​

FieldTypeHolds
providerstringThe id of the provider whose setting moved
setting"thinking", "structuredOutput", "stream" or "replyTokens"Which setting moved. A later release moves "tokenCount" and "window" too
fromstringWhat it was: default, or for a lowering the server refused, the level tried (low or off); json for the structured output; stream or bare for the stream; derived for the reply budget quorum derives
tostringWhat it became: the level low or off, or prompt; bare, a stream with no stream options, or whole, whole replies, for the stream; for a lowering the server refused, default, the server's own level; for replyTokens the tokens every later reply of the provider is held to, such as 14400
causestringWhy, a code word: cut-off-thinking (a reply ran out of room while reasoning), no-answer-thinking (a reply held only reasoning), empty-reply (a reply in JSON mode was empty), format-refused (the server refused the request's JSON mode), lowering-refused (the server refused the lowered thinking), stream-refused (the server refused a stream's options, or streaming itself), stream-answered-whole (the server answered a streamed call whole), cut-on-the-way (the provider's calls are cut at a length, so its derived reply budget is held to what the cut lets through). A later release writes byte-bound-refused and loaded-window

Each entry is one adapted event, once per provider and setting in a review, and the move holds for the rest of that review alone: What quorum adapts by itself. A setting you set, and a provider that does not state it may move, never appears. readResult refuses a result whose adaptations it cannot read, since the schema is strict and the lists of settings and causes are closed.

The lanes ​

This fragment shows only the part of meta that holds the lanes. meta.concurrency has one entry per provider id that a request went to, in the order their lanes began: at each provider's first call, before any wait for a slot, and whether or not --state answered that call. Two provider objects of one id are merged: the widest range, every cut, and whether either sent headers. The public view keeps it.

FieldTypeHolds
limit"auto" or number"auto" when concurrency is unset, so the provider had a lane, else the number it was set to
startnumberWhere the lane started: 4, the slots the provider states when fewer, or the concurrency set
lowestnumberThe lowest limit the lane had, at least 1
highestnumberThe highest limit it had, at most 16 with lanes, else the concurrency set
cutsnumberHow many times a throttle halved it: 0 with concurrency set
headersbooleanWhether the provider's replies carried rate-limit headers a lane reads: The rate-limit headers. A lane with none never passed its start
json
{
  "meta": {
    "concurrency": {
      "default": { "limit": "auto", "start": 4, "lowest": 2, "highest": 6, "cuts": 1, "headers": true }
    }
  }
}

Each change of a limit is a concurrency event (Events); the record keeps the range and the count, and a review with concurrency set records the number as limit, start, lowest and highest, and 0 cuts: Lanes.

The calls ​

meta.calls has one entry for each provider id that made a call, keyed by it, in the order the first call of each ended, and is {} for a review that made none, a blank diff included. It counts the call events of the review, every profile's, so a provider that serves two profiles holds both, and two provider objects of one id are merged, the first one's model kept. It says which model answered when the config names a gateway's alias, and whether the gateway switched models in the middle of a review, and what the provider cost in each role, so two runs can be compared by what research and the panel each spent.

FieldTypeHolds
modelstringThe model the provider's config names, as the review's events hold it
servedentry[]The models the replies of the provider's answered calls named, in the order they were first named, at most 8: each { model, calls }, model the name as the call event carries it, calls the answered calls whose reply named it, at least 1. The array is empty when no reply named a model
servedOthersnumberThe answered calls whose reply named a ninth model or a later one, at least 1. Absent when there are none
researchobjectWhat the provider did as a research provider, in the fields below. Absent when it made no research call
voteobjectWhat it did as a voter, in the same fields. Absent when it made no vote's call

Each of research and vote holds, in this order:

FieldTypeHolds
callsnumberEvery call event of the role: the calls that answered, the failed ones, and those --state answered. At least 1
failedobjectThe calls that failed, counted by what they failed with, {} when none did: the keys are the kinds a provider's failure has (http, network, process, timeout, aborted, refusal, truncated, no-answer, invalid-response, unsupported and too-large) and unusable-reply, and a key is present only for a kind that occurred. It counts the failure of the role's call events, so unusable-reply counts the calls whose reply answered and could not be read by the stage, which their event carries as ok: true
stoppednumberThe calls that failed and name no failure of their provider: the token cap, the review's deadline or its interrupt ended them, or the provider was found down since the call's last send, which is never counted under the kind of the calls that found it down
retriednumberThe sends beyond each call's first, the sum of the calls' attempts less one: a retry after a failure, the one more send of a bad reply and an adaptation's re-send each count
reusednumberThe calls --state answered, which no provider answered in this review
usageobjectinputTokens and outputTokens summed over the role's calls that reported valid counts, then costUsd when any reported one: 0 and 0 when none did, which is not a count of what the provider spent
callMsobjecttotal, the sum of the role's calls' durationMs, and longest, the longest one, in whole milliseconds. The calls run at once and each includes its waits, so total is no wall-clock time: a stage's time is the profile's stages

A served model is the server's own text, so quorum cleans it as it does a finding's category: its hidden characters are removed, its white space is collapsed to single spaces, and it is cut at 100 characters with …. An adapter whose server names no model reports the configured one, so served then holds the configured model. A call that failed, a call that --state answered, which no provider answered in this review, and a reply whose model is nothing but white space and hidden characters are in no count, so the counts of served and servedOthers can add up to less than the calls the review made, while the calls of its two roles add up to every one. The roles' usage adds up to meta.usage, and their calls to the review's call events. The summary and the text report say when a provider answered as another model than its config names, and warn when it answered as two or more: The summary; and they tell each role's tokens, and the text report each role's time and calls: The text report.

json
{
  "meta": {
    "calls": {
      "default": {
        "model": "gateway-alias",
        "served": [
          { "model": "local-model-a", "calls": 41 },
          { "model": "local-model-b", "calls": 3 }
        ],
        "research": {
          "calls": 12,
          "failed": {},
          "stopped": 0,
          "retried": 0,
          "reused": 0,
          "usage": { "inputTokens": 480000, "outputTokens": 31000 },
          "callMs": { "total": 640000, "longest": 91000 }
        },
        "vote": {
          "calls": 33,
          "failed": { "http": 1, "unusable-reply": 1 },
          "stopped": 0,
          "retried": 2,
          "reused": 0,
          "usage": { "inputTokens": 410000, "outputTokens": 52000 },
          "callMs": { "total": 880000, "longest": 64000 }
        }
      }
    }
  }
}

readResult refuses a served of nine entries, a served model of more than 100 characters, a calls or a servedOthers of served that is no whole number of at least 1, a role's count that is no whole number of at least 0, a failed key that is none of the kinds above, and a field that is none of these.

relatedCode is present only with related code on: a review given a reader of the repository's code (review's relatedCode), where a lens of a profile asks for it. A review with it off writes no relatedCode anywhere, and every other field above is as it was: a verdict's function is written with it on or off. The record says what each finding's voters were given and what was dropped, as paths, lines, kinds, names and counts: the code itself is never in a result, and is read again from the repository at meta.relatedCode.commit.

A verdict's relatedCode holds, in this order:

FieldTypeHolds
excerptsexcerpt[]The excerpts the finding's votes could carry, in the order they come: the definitions of the names on the cited row, in the names' order, then the callers of the function around it, ranked by locality. A vote carries the first ones that fit its room (votes[].relatedCode)
droppedobjectWhat the rules left out, each a whole number of at least 0, in this order: leftToDiff, the names whose definition the change itself holds, which the diff shows; tooCommon, the names and the function with more than 20 definitions or call sites, or too many hits for the lookup to hold; member, the member names (after ., -> or ::) defined more than once; moreNames, the names of the cited row past the 8 looked up; noFunction, true when no function was found around the cited row, so no caller was looked up, and absent otherwise; pastCap, the excerpts past a finding's 4 definitions and 3 callers; notSource, the excerpts of a file read as no source (a NUL byte, no UTF-8, a pointer to a large file, a row of over 1000 bytes, a comment read as code, a line that is not there); held, the excerpts held back whole, since their text holds a credential, a hidden character or text addressed to a reviewer; overRoom, the excerpts a vote of a lens that asks did not carry, the finding's excerpts less the fewest that a vote that built its request carried; unreadable, the lookups and reads git failed, 0 or 1
nonestringWhy the rules read nothing for the finding, absent when they read something: no-row, a scanner's file-level candidate, which cites no row, or a line no hunk shows of the new file; cited-file, the cited file is one related code does not read (a language it does not know, a vendored, minified, lock, test or secret file, or a file of instructions for an agent); review-cap, the files its excerpts need pass what is left of the review's 32 MiB of files (a file is read once, and a later finding whose files fit what is left is read); stopped, the review's deadline or its interrupt came first

An excerpt holds, in this order: file, its path in the repository, start and end, its first and last line from 1, kind, definition or caller, name, the name it defines or the function it calls, at most 64 characters, bytes, the UTF-8 bytes of its text, its header included, commentLines, the comment lines it leaves out, absent when none, and cut, true when it was cut at its 1536 bytes, absent otherwise.

meta.relatedCode is one of two records, told by status. "on" holds, in this order:

FieldTypeHolds
status"on"The review read related code
commitstringThe full id of the commit it was read at: the source's merge base, head or commit
rulesstringThe SHA-256, in hexadecimal, of the rules' starting values, the language table and the gates of the files read: two results with another rules were picked by other rules, and are not compared
findingsnumberThe verdicts that have a relatedCode: those of the profiles with a lens that asks
givennumberOf them, the verdicts a vote carried an excerpt to
excerpts, bytes, commentLinesnumberThe excerpts the verdicts record, their bytes and the comment lines they leave out
droppedobjectThe verdicts' counts of leftToDiff, tooCommon, member, moreNames, pastCap, notSource, overRoom and unreadable, summed, with noFunction the verdicts that have it and then one count of the verdicts with each none: noRow, citedFile, reviewCap and stopped. The held excerpts are in held
heldobjectThe excerpts held back whole, by what held them: credential, hidden (a hidden character) and addressed (text addressed to a reviewer), summed over the findings

"off" holds status and reason: diff, a diff names no commit to read code at, or no-commit-yet, the local changes of a repository that has no commit yet. It is written when the quorum's relatedCode is on, which asks for related code, and the source has none to give.

The public view keeps all of it as it is, a verdict's record copied, but for quotesRelatedCode, which speaks of the reasoning the view withholds.

Incomplete reasons ​

ReasonRecorded whendetail
finding-unreadableA finding that the finding cap takes from the research reply (see findings-capped; an entry the cap leaves unread is never checked) does not match the reply schema, names an empty file or a line below 1, or holds an object or array under a key the schema does not namefindings[<index>]: and what is wrong: findings[4]: quote: Invalid input: expected string, received undefined, findings[2]: file must be non-empty and line at least 1, or findings[3]: carries a nested object or array outside the reply schema. In a research in parts, part <n>: comes first: part 2: findings[4]: quote: Invalid input: expected string, received undefined
findings-cappedThe reply lists more findings than the cap, findingsCap, maxFindings when that is unset, 50 by default, or for the CLI's --path review whose config sets neither four times its largest profile's research part count when that is larger: the rest are counted, not read. The cap spans every part of a research in parts: it takes each reply's first finding, then each reply's second, and so on, up to the cap in all, so a capped review drops each reply's last findings, and one gap counts the rest, which are never read. It is also recorded for a reply that lists as many findings as it was asked for at most (N, which a small window lowers: Reply budgets) and was read all the same, because N is maxFindings or its piece is at the floor, since it may have stopped at the ask: one gap per profile, counting such replies and naming the largest ask, then the lever: raise maxFindings when that ask is maxFindings, else raise maxTokens, since the reply budget holds <N> of maxFindings <M>. When the replies list more than the cap too, the cap's count follows after ; , ending : raise findingsCap. meta.profiles.<id>.coverage lists the files whose unread findings it could place, as ranges of the coverage reason findings-capped (Coverage)12 of 62 reported findings were not reviewed, the last ones of the replies that listed the most (the cap is 50): raise findingsCap, or 1 research reply(ies) listed the 7 findings they were asked for at most, so they may have left some out: raise maxTokens, since the reply budget holds 7 of maxFindings 50, then, with the cap's, ; 12 of 62 reported findings were not reviewed, the last ones of the replies that listed the most (the cap is 50): raise findingsCap
research-unusableThe reply, or the replies of all the parts, list findings, and not one of those read is usable: each was unreadable or cited code outside the diff2 finding(s) reported, none usable, or, when the cap applied, 62 finding(s) reported, 50 of them read under the cap, none usable
research-failedA research call, of a gating profile or an advisory one, failed after its retries, or its reply was not one JSON object holding a findings array and nothing else: the part of the change it held went unreviewed. A research of one request that fails reviews nothing of its profile; in a research in parts it is the parts that failed, the other parts going on: one gap counts them. A gating profile's gap exits 4, and no flag lifts itthe research call failed (http 503) after 3 attempts, or the research reply could not be read: reply contains no JSON object; in parts, 2 of 6 research parts failed: the research call failed (http 503), the first failed part's words
provider-downA provider was found down, three of its calls in a row, across every profile and role that shares it, having failed for a reason of its own (network, http, timeout, process, unsupported, invalid-response or no-answer): its research request or the parts of its research that were not sent. The votes it was never sent are failed votes whose failure is provider-down, and the gap of a kept finding they could have raised is vote-failed. One gap per profile counts the partsthe research request was not sent, since its provider was down; in parts, 1 of 6 research parts were not sent, since their provider was down
reply-cut-offA research reply was cut off at its limit for a piece that recovery could not split further: the part was split in two, each half asked as a part, at most three splits deep, and a piece of one hunk, or at the third depth, was still cut off. One gap per profile, counting the hunks and the files, a section with no hunk counting as one hunk; meta.profiles.<id>.coverage lists their ranges. No text of a cut reply is read3 hunk(s) of 2 file(s) were cut off at their reply's limit even alone, listed as reply-cut-off in meta.profiles.security.coverage: raise maxTokens, set thinking: low, or lower partTokens
vote-failedA kept finding's failed votes, had they been keeps, would have raised it to a higher level"src/a.js":12 is kept at medium, but 1 failed vote(s) could have made it high, the file written as a JSON string
request-too-largeA request may not fit its provider's context, so it was not sent: the profile's research request, which leaves the profile with no finding, or the vote requests of a finding, each a failed vote. In a research in parts, a part its provider refused: one gap counts themthe research request was not sent: <the provider's message>, or "src/a.js":12: 2 of 3 vote requests were not sent: <the first provider's message>, the file written as a JSON string; in parts, 1 of 6 research requests were not sent: <the first provider's message>
too-largeA hunk of a file, with its header, or a section with no hunk, is too large for any research part of the profile's model's window, even in a part whose request lists no file name: no part holds it, so no model read it. One gap per profile, counting hunks and files, recorded before any call is sent; meta.profiles.<id>.coverage lists the ranges. A file that meta.leftOut lists as binary or submodule is not counted, since its own gap stands and its coverage entry is unreviewed with that reason1 hunk(s) of 1 file(s) fit in no research part of its model's window, listed as too-large in meta.profiles.security.coverage
token-capThe review's token cap stopped part of the profile's work: its research request, which leaves it with no finding, or the parts of its research that were not sent, or votes, each a failed vote whose failure is token-cap. One gap per profile, counting themthe review's token cap of 2000000 tokens stopped 7 vote(s), or ... stopped its research, or ... stopped its research and 7 vote(s); in parts, ... stopped 4 of its 6 research parts, or ... stopped 4 of its 6 research parts and 7 vote(s)
review-deadlineThe review reached its deadline, reviewTimeoutMs, which stopped part of the profile's work: its research request, which leaves it with no finding, or the parts of its research in flight or not yet sent, or votes, in flight or not yet sent, each a failed vote whose failure is review-deadline. One gap per profile, counting themthe review's deadline of 1800000 ms stopped 7 vote(s), or ... stopped its research, or ... stopped its research and 7 vote(s); in parts, ... stopped 5 of its 6 research parts
interruptedThe review was interrupted: its first SIGINT or SIGTERM stopped every wait and every new call, and the calls still in flight at the end of the grace, 5 seconds, were cancelled. It stopped part of the profile's work, whichever profile gates or not: its research parts not read, or votes not asked, each a failed vote whose failure is interrupted; the findings of those votes are unreviewed. One gap per profile, counting them. The CLI exits 130 for it, ahead of 1 and 4, and no flag lifts itthe interrupt stopped 5 of its 6 research parts and 3 vote(s), or ... stopped its research, or ... stopped 3 vote(s)
binarymeta.leftOut lists a file whose change the diff shows only as binary, or one the input's leftOut names as binary: one gap per profile, counting the files. A file a path review skipped as binary is no such file: it is listed as skipped and is no gapthe diff carries no content for 2 binary file(s), listed in meta.leftOut
submodulemeta.leftOut lists a submodule whose change the diff shows only as a commit, or one the input's leftOut names as submodule: one gap per profile, counting them. A gitlink a path review skipped is listed as skipped and is no gapthe diff carries no content for 1 submodule(s), listed in meta.leftOut
secretmeta.leftOut lists a file held back as a secret, or one the input's leftOut names as secret: one gap per profile, counting the files. A deleted-secret file and a file a path review skipped as a secret are no such file, and no gapno model was sent 2 file(s) held as secrets, listed in meta.leftOut
report-unreadableA scanner report no issue of which was used, or a coverage report nothing of which was used: its record is unreadable (A scanner report's record, A coverage report's record). One gap per report and profile it feeds (a coverage report's, each profile that reads test coverage), written by code and never from the report's text, with report <n>, its place in meta.context.reports from 1, and its formatreport 1 (sarif) could not be read: the file does not exist, ...: it is no SARIF 2.1.0 log, ...: it is over 16 MiB, ...: no run holds a result list, so its scanner failed, or ...: it states the commit 3333333, and the review is of 4444444
report-partialA scanner or a coverage report read in part: its record is partial. One gap per report and profile it feeds, the words of each of its problems joined by ; report 1 (sarif) was read in part: 2 issue(s) name a path quorum could not place in the repository, ...: it holds 1000 of the 12000 issues its search found, past the 10000 a SonarQube search returns at most: narrow the query, ...: 3 of its 40 entries could not be read, ...: 1 issue(s) hold what reads as a credential, so no model was sent them, or, for a coverage report, report 2 (lcov) was read in part: 3 file record(s) could not be read and ...: 1 file record(s) name a path quorum could not place in the repository
issues-cappedMore scanner issues fell on the change than the profile's panel reviews: maxScannerIssues, 50 by default, a cap of its own beside findingsCap, so a flood of issues never pushes a finder's finding out, nor the reverse. The least severe candidates are the ones left out, and the reports that held them count them capped. One gap per profile3 of 53 scanner issues on the change were not reviewed (the cap is 50)

Each gap makes the review incomplete, as an unreviewed finding does: the CLI exits 130 for an interrupted gap of any profile, which comes ahead of 1 and 4, else 1 when a gating profile kept a finding at or above its fail-on level, high by default, else 4 for a gap of a gating profile. --allow-incomplete lifts a gating profile's gaps only when each is an unreviewed finding or a vote-failed gap, and every failed vote behind them failed in passing: a dropped connection, a timeout of its own, or an HTTP 408, 409, 429 or 5xx, as the votes' failure says (Exit codes). Every other gap exits 4 whatever the flags, since a pull request causes it directly: a too-large gap by making one hunk larger than any window, a request-too-large gap by padding a request until its provider refuses it, a token-cap gap by decoy findings and drawn-out replies that spend the review's tokens, a reply-cut-off gap by text that makes every piece's reply run to its limit, a review-deadline gap by replies drawn out until the review's deadline (an interrupted gap needs the person who runs the review), binary and submodule with one .gitattributes line, one NUL byte or a submodule's bump, secret with a file named .env or one line that reads as a key, findings-capped with decoy findings, report-unreadable, report-partial and issues-capped with a scan job that writes a report quorum cannot read, reads in part or fills with issues, finding-unreadable and research-unusable with text that breaks the finder's reply, and research-failed and provider-down with text that makes a model refuse, cut its reply off or leave it unusable, or a server fail by content. A vote-failed gap beside a vote that was refused, cut off at its token limit, stopped by a limit of the review or unusable exits 4 too. On a gating profile, do not use the flag for a pull request you do not trust.

The public view ​

--view public writes, and publicView(result) makes, the result less what helps an attacker, for a sink a stranger can read: The public view says why. It keeps the shape above, with these differences:

WhereIn the public view
meta.view"public", right after version. A full result has no view
A voteThree fields, in this order: angle, keep, a boolean, null when the vote failed, and failure, as in A vote, then relatedCode when the vote has one, a count. There is no vote, no reasoning, no error and no quotesRelatedCode, which speaks of the reasoning
discardedOnly the discarded verdicts a scanner found (foundBy.kind is scanner), in the result's order, each with its votes as the view keeps them. The finder's discarded findings are withheld: a finding the panel rejected is a probe the author can read back, where a scanner's issue is no such secret, since the scan ran on the author's code and its report is the author's to read. [] when the review read no report. publicViewSchema refuses a discarded verdict the finder found
meta.profiles.<id>.discardedThe number of findings of the profile that were discarded, after gating, the scanner's included: the finder's withheld ones are that count less the list's
meta.profiles.<id>.providersAbsent: no provider and no model is named
meta.usageAbsent
meta.settingsAbsent: the settings hold the token cap, the deadline and the finding cap a flood aims at, and the pipeline's models and its configuration, which let an attacker rehearse on it. The full result, the terminal and a private artifact carry it
meta.callsAbsent, each provider's roles with it: a served model is a model's name, which lets an attacker rehearse on the same open pipeline, and a sharper one behind a gateway's alias, and a role's calls, failures, tokens and time say how a review ran
meta.profiles.<id>.researchAbsent: the counts measure how near research came to the finding cap, which a pull request's author can aim a flood of findings at
meta.contextKept whole, as it is: each document's hash, path, commit and counts, and each report's hash, commit, cleaned scanner name, code words and counts, never a text and never a report's file name
meta.adaptationsKept as it is: a provider's id and code words, nothing a server or a model wrote
meta.reusedKept as it is, when the review has one: two counts
meta.judgedKept as it is, when the result is a judgment's: one count, after concurrency
A verdict's relatedCodeKept, copied: paths, lines, kinds, names and counts, never code. Last in the verdict
meta.relatedCodeKept as it is, when the review has one, last in meta: Related code
meta.profiles.<id>.recoveryKept as it is, when the profile has one: four counts
meta.profiles.<id>.stagesKept as it is, after invalidRules: the time of each stage that ended, as meta.durationMs is kept
An incomplete entryprofile, reason, then file when it has one, and no detail: a report describes a gap by its reason, in fixed words

Everything else is as in the full result: the findings with their evidence and the id of the rule each cites, the profiles' policy, failOn, gating, invalidFindings, rules, invalidRules, awayFromChange, testCoverage, asksNothing and coverage, a finding's testCoverage, the files left out, a held file's name, reason and rule included, and the flags with their details. meta is written in this order: version, view, startedAt, durationMs, source, profiles, incomplete, leftOut, flags, context, adaptations, then reused when the review has one, concurrency when it made a call, judged in a judgment's result and relatedCode when the review has one; a profile in this one: policy, failOn, gating, discarded, invalidFindings, rules, invalidRules, awayFromChange when the profile reviews changed lines only, testCoverage when the profile reads test coverage, stages, asksNothing when the profile asked nothing, coverage.

json
{
  "kept": [
    {
      "id": "6f4bcc15476f",
      "fingerprint": "30315391ee0ccee3:1",
      "profile": "security",
      "file": "src/users.js",
      "line": 12,
      "category": "CWE-89",
      "summary": "The id from the query string is interpolated into the SQL text.",
      "evidence": "+  return db.query(sql)",
      "evidenceRow": 0,
      "quoteMatched": true,
      "foundBy": { "kind": "model" },
      "function": "findUser",
      "keptVotes": 2,
      "totalVotes": 3,
      "confidence": "medium",
      "votes": [
        { "angle": "reachability", "keep": true, "failure": null },
        { "angle": "impact", "keep": true, "failure": null },
        { "angle": "defenses", "keep": null, "failure": { "kind": "http", "status": 503 } }
      ]
    }
  ],
  "discarded": [],
  "unreviewed": [],
  "meta": {
    "version": "0.6.0",
    "view": "public",
    "profiles": {
      "security": {
        "policy": { "high": 3, "medium": 2, "low": null },
        "failOn": "high",
        "gating": true,
        "discarded": 1,
        "invalidFindings": 0,
        "rules": { "listed": 0, "sent": 0 },
        "invalidRules": 0,
        "stages": { "research": 4, "dedup": 0, "panel": 7 },
        "coverage": [{ "file": "src/users.js", "status": "reviewed" }]
      }
    },
    "incomplete": [
      { "profile": "security", "reason": "vote-failed", "file": "src/users.js" }
    ]
  }
}

The example leaves out the fields of meta that do not change, startedAt, durationMs, source, leftOut, flags, context and adaptations. outcome reads a view as the result it came from, so a program that holds only the view gets the review's exit code: outcome.

An example ​

A review of a diff that touches three files, run on the one provider, named default, that the CLI builds from QUORUM_RESEARCH_MODEL and QUORUM_RESEARCH_CONTEXT_TOKENS alone, answering for the finder and every voter; its replies are fake. The finder listed five findings: one cited src/auth.js, which the diff does not touch, and was dropped (invalidFindings is 1); one had no quote and could not be read (the finding-unreadable gap). The three others went to the panel. The SQL injection was kept by all three lenses: high. The path traversal was kept by one: discarded. The session token got one keep, one reject and a vote whose endpoint answered 503: one more keep would have reached medium, so it is unreviewed. The CLI would exit 1 for this result.

json
{
  "kept": [
    {
      "id": "6f4bcc15476f",
      "fingerprint": "30315391ee0ccee3:1",
      "profile": "security",
      "file": "src/users.js",
      "line": 12,
      "category": "CWE-89",
      "summary": "The id from the query string is interpolated into the SQL text.",
      "evidence": "-  return db.query('SELECT * FROM users WHERE id = $1', [id])\n+  const sql = `SELECT * FROM users WHERE id = ${id}`\n+  return db.query(sql)\n }",
      "evidenceRow": 2,
      "quoteMatched": true,
      "foundBy": { "kind": "model" },
      "keptVotes": 3,
      "totalVotes": 3,
      "confidence": "high",
      "votes": [
        {
          "angle": "reachability",
          "vote": {
            "keep": true,
            "reasoning": "request.query.id reaches the query text unchanged on every call of findUser."
          },
          "error": null,
          "failure": null
        },
        {
          "angle": "impact",
          "vote": {
            "keep": true,
            "reasoning": "Any caller can read or change every row of the users table."
          },
          "error": null,
          "failure": null
        },
        {
          "angle": "defenses",
          "vote": {
            "keep": true,
            "reasoning": "No validation or parameter binding is left on this path."
          },
          "error": null,
          "failure": null
        }
      ]
    }
  ],
  "discarded": [
    {
      "id": "31c4f568c9be",
      "fingerprint": "4af424c8bf4b8fd1:1",
      "profile": "security",
      "file": "src/upload.js",
      "line": 5,
      "category": "CWE-22",
      "summary": "A file name from the request is joined into the upload path.",
      "evidence": "   const name = path.basename(file.name)\n+  fs.writeFileSync(path.join(UPLOADS, name), file.data)\n }",
      "evidenceRow": 1,
      "quoteMatched": true,
      "foundBy": { "kind": "model" },
      "keptVotes": 1,
      "totalVotes": 3,
      "votes": [
        {
          "angle": "reachability",
          "vote": {
            "keep": true,
            "reasoning": "file.name comes from the multipart request."
          },
          "error": null,
          "failure": null
        },
        {
          "angle": "impact",
          "vote": {
            "keep": false,
            "reasoning": "The name has no directory part left, so the write stays inside UPLOADS."
          },
          "error": null,
          "failure": null
        },
        {
          "angle": "defenses",
          "vote": {
            "keep": false,
            "reasoning": "path.basename on the line above already removes any traversal."
          },
          "error": null,
          "failure": null
        }
      ]
    }
  ],
  "unreviewed": [
    {
      "id": "ea9ff1bf2f29",
      "fingerprint": "b279c4bcd79869ca:1",
      "profile": "security",
      "file": "src/session.js",
      "line": 20,
      "category": "CWE-338",
      "summary": "Session tokens come from Math.random, which is not a cryptographic generator.",
      "evidence": "-  return crypto.randomBytes(32).toString('hex')\n+  return Math.random().toString(36).slice(2)\n }",
      "evidenceRow": 1,
      "quoteMatched": true,
      "foundBy": { "kind": "model" },
      "keptVotes": 1,
      "totalVotes": 3,
      "votes": [
        {
          "angle": "reachability",
          "vote": {
            "keep": true,
            "reasoning": "newToken is called on every login."
          },
          "error": null,
          "failure": null
        },
        {
          "angle": "impact",
          "vote": null,
          "error": "default: HTTP 503: \"model is loading\"",
          "failure": {
            "kind": "http",
            "status": 503
          }
        },
        {
          "angle": "defenses",
          "vote": {
            "keep": false,
            "reasoning": "Each token is bound to the client address and expires after five minutes."
          },
          "error": null,
          "failure": null
        }
      ]
    }
  ],
  "meta": {
    "version": "0.1.0",
    "startedAt": "2026-11-08T02:04:20.361Z",
    "durationMs": 12,
    "source": {
      "kind": "diff"
    },
    "profiles": {
      "security": {
        "providers": {
          "research": {
            "id": "default",
            "model": "qwen3.6:27b"
          },
          "lenses": {
            "reachability": {
              "id": "default",
              "model": "qwen3.6:27b"
            },
            "impact": {
              "id": "default",
              "model": "qwen3.6:27b"
            },
            "defenses": {
              "id": "default",
              "model": "qwen3.6:27b"
            }
          }
        },
        "policy": {
          "high": 3,
          "medium": 2,
          "low": null
        },
        "failOn": "high",
        "gating": true,
        "invalidFindings": 1,
        "rules": {
          "listed": 0,
          "sent": 0
        },
        "invalidRules": 0,
        "research": {
          "parts": 1,
          "listed": 5,
          "panel": 3,
          "capped": 0,
          "saturated": 0
        },
        "stages": {
          "research": 4,
          "dedup": 0,
          "panel": 7
        },
        "coverage": [
          {
            "file": "src/users.js",
            "status": "reviewed"
          },
          {
            "file": "src/upload.js",
            "status": "reviewed"
          },
          {
            "file": "src/session.js",
            "status": "reviewed"
          }
        ]
      }
    },
    "usage": {
      "inputTokens": 9080,
      "outputTokens": 1180
    },
    "calls": {
      "default": {
        "model": "qwen3.6:27b",
        "served": [
          {
            "model": "qwen3.6:27b",
            "calls": 9
          }
        ],
        "research": {
          "calls": 1,
          "failed": {},
          "stopped": 0,
          "retried": 0,
          "reused": 0,
          "usage": {
            "inputTokens": 5000,
            "outputTokens": 600
          },
          "callMs": {
            "total": 4,
            "longest": 4
          }
        },
        "vote": {
          "calls": 9,
          "failed": {
            "http": 1
          },
          "stopped": 0,
          "retried": 0,
          "reused": 0,
          "usage": {
            "inputTokens": 4080,
            "outputTokens": 580
          },
          "callMs": {
            "total": 9,
            "longest": 2
          }
        }
      }
    },
    "incomplete": [
      {
        "profile": "security",
        "reason": "finding-unreadable",
        "detail": "findings[4]: quote: Invalid input: expected string, received undefined"
      }
    ],
    "leftOut": [],
    "flags": [],
    "context": { "documents": [], "reports": [] },
    "adaptations": []
  }
}
  • The CLI — the exit code each result leads to.
  • Lenses and policy — how kept votes become a confidence, and when a finding is unreviewed.
  • Library API — the events a review sends while it builds this result.
  • Output handling — which fields hold text an attacker can influence, and how to render them.

Released under the MIT License.