Skip to content

Port verdict to a single static Go binary - #9

Merged
SutuSebastian merged 342 commits into
mainfrom
agent/go-port
Nov 4, 2026
Merged

SutuSebastian merged 342 commits into
mainfrom
agent/go-port

Conversation

@SutuSebastian

@SutuSebastian SutuSebastian commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Replaces the ~6.6k-line scripts/review.sh with a single static Go binary. Every verb is an internal/core service with typed refusals; the CLI, MCP server, and Go/TS clients are thin transports over it.

-scripts/review.sh            # bash + jq + shasum, one 6.6k-line script
+cmd/verdict/                 # CLI dispatch
+internal/core/<verb>/        # one service per verb: Run(ctx, req) (resp, *RefusalError)
+internal/core/exec/          # Commander seam: every gh/git spawn, bounded capture
+internal/controls/           # review controls resolved at the PR base commit
+internal/mcp/                # `verdict mcp`: stdio JSON-RPC, 18 tools (+triage with --operator), --read-only, tool annotations
+internal/schemagen/          # schemas/*.json generated from Go (`make schemas`)
+pkg/verdict/                 # experimental Go client (pilot for other languages)
+clients/ts/                  # @stainless-code/verdict/client
+install.sh install.ps1       # verified, atomic binary installers (served at stainless-code.com/verdict)
+release/ + goreleaser        # npm platform packages, Homebrew formula, cosign
+setup-verdict/               # composite GitHub Action
+examples/usage-adapters/     # optional out-of-core harness usage adapters

New verbs and surfaces: verdict mcp (+ mcp config --agent claude|cursor|codex), verdict skill (embedded skill, skill install), verdict upgrade / uninstall (channel-aware, no prompt), VERDICT_USAGE open usage contract (schemas/usage.schema.json) — verdict never reads other tools' files.

Security fix landed with the port — a PR can no longer edit the rules it is judged by:

 fetch (pull_request checkout)
-  read .review/{kb.jsonl,learnings.md,panel,budget,...} from the working tree
+  git ls-tree / git show <base>:<path>   # full-SHA-validated, size-capped
+  (no local base object: GitHub contents API at the same base SHA)
+  snapshot into the bundle + controls.json (sha256 per file)
 post / record
+  verify controls.json vs bundle base + re-hash  → controls-stale | controls-unavailable
-  read .review/overrides/* from the working tree
+  read overrides from the verified snapshot

--allow-head-controls is the only opt-out; it is recorded in controls.json and warned. CI recipes now use fetch-depth: 0; fetch outside a checkout reads the base controls through the contents API, so the no-clone flow keeps working.

Final Go audit + host/agent hardening (fixed here; the rest is ticketed as follow-ups):

Fix What
bounded input agent files capped before read; child output capped; store JSON via jq.Capped
doctor no longer requires jq/shasum (the binary never runs them)
verbs agree one thread count (ready/report --live/calibrate), one finding rank (next/report/fix), one sig resolver
hygiene .err sidecars 0600; one gh retry helper; integer parsing refuses overflow
removed the copy-based verdict install (use verdict skill install)
host credentials server-supplied URLs (Bitbucket next, Forgejo diff_url, Azure remoteUrl) must match the configured API origin before a token is sent
read completeness Forgejo/GitLab/Azure list reads page through results; caps and failed reads warn instead of silently truncating
repeat posts post also refuses repeats found in the PR's live reviews (hidden verdict-review marker), so a fresh CI checkout can't double-post
MCP surface triage (a human-owned status flip) is opt-in via verdict mcp --operator; every tool carries readOnly/destructive/idempotent/openWorld hints, enums in input schemas, and initialize instructions
host capabilities fetch --json advertises what each host supports (data.capabilities), so agents learn post is GitHub-only up front
install entry points curl -fsSL https://stainless-code.com/verdict/install.sh | sh / irm …/install.ps1 | iex: the docs deploy publishes the latest release's scripts (sha256-verified against the release assets); binaries, checksums and signatures still come from GitHub Releases
Homebrew tap formula pushed to stainless-code/homebrew-tap at Formula/verdict.rb (what brew install stainless-code/tap/verdict reads), shared-tap safe with rebase-and-retry on contended pushes; the push is opt-in behind the TAP_PUSH variable
guards internal/threads classified in the import guards + a coverage test that fails on any unclassified verb adapter; MCP firstKey made deterministic
diff paths one quote/space-safe diff-header parser shared by hunks and the sensitive-path check
PR conversation threads.json in every bundle: normalized threads for all six hosts from each host's authoritative API (GitHub GraphQL isResolved/isOutdated), author kind human/bot/verdict, finding_sig links via a hidden marker on verdict's inline comments; verdict threads (+ MCP tool) refreshes it; address-reviews/incremental-review prompts read it instead of raw gh api
docs/prompts agent-facing prompts, SKILL.md, README and manual re-grounded against the binary (of 47 claims checked: 25 stale or wrong fixed, plus 3 missing statements documented)

Evidence

  • Real PR (Add deepseek-lossless adapter, web presets, e2e recipe lossless#8, 757 KB / 122 files): fetch --chunk from a non-checkout dir → 2 chunks, controls at base; post --dry-run anchored; a real COMMENT post landed and a repeat refused already-posted; ready saw the new thread; fetch-local --range read controls at base; verdict mcp handshake listed the tool set; verdict threads read 55 real threads (54 resolved / 44 outdated via GraphQL).

  • CI: the setup-verdict Action workflow is green on all three OSes, and all 16 CI jobs are green on the current head f5866bba0 — run 41793046944, 16 of 16 succeeded (Go on Linux/macOS/Windows, installers on all three OSes, evals, TS client, release dry-run, lint, audit, docs). Three test-only problems were found and fixed on this branch, none in the product: ce7e64437 (the kb recall test expected backslash bundle paths; slash literals are now asserted on every OS), a3278b8d9 (the tree-kill test now gives the stub time to report its pid before the deadline), and the atomic-symlink identity test, which broke twice — 1b4688875 compares identity after one write, because Linux reuses the first staged file's inode for the second (macOS hides that), and f5866bba0 pins the target's Windows file id before the write, because Go resolves it lazily.

  • Branch size: git diff --shortstat main...agent/go-port = 1,018 files, +149,679 / −8,784 over 342 commits (69 of them since 6590c0592). Evals are unchanged in number at 66 passed, 0 failed, 0 skipped, with 0 real gh calls (latest gate log, on this head's tree).

  • Before: bash parity suite + evals against scripts/review.sh.
    After: go test -race ./... green (65 packages), golangci-lint 0 issues, make schemas-check clean, GOOS=windows go vet clean, make deadcode 0 baselined, make evals 66 passed, 0 failed, 0 skipped (parallel).

  • Before: a PR adding .review/overrides/* or editing kb.jsonl changed its own review.
    After: evals/cases/controls-base.sh — hostile head controls don't change fetch or the posted body; a tampered snapshot refuses controls-stale; a missing one refuses controls-unavailable.

  • Before: TestCostRecordsStoreCap & co. stayed green with the size cap removed (NUL-padded fixture).
    After: valid over-cap fixtures; removing the cap turns all five red (mutation-probed).

Test and CI hardening also in this PR:

  • Tests that couldn't fail (STA-24 mutation-probe audit): 20 confirmed defects plus the 15 suspected items are resolved, each proven red against a deliberate production bug and green on the real code.
  • Schema guardrails: the test validator enforces bounds/formats/$ref; a committed baseline fails breaking schema changes; all 216 envelope goldens validate against envelope.schema.json.
  • Deterministic CI: one test env strips secret-shaped vars and pins git config for every harness (the GH_TOKEN/CRLF/default-branch class of flake); CI complete fails on skipped or cancelled jobs.
  • Resumable release: scripts/release.sh runs as idempotent tag → goreleaser → npm → tap stages, so a mid-chain failure can be re-run.

Hardening sweep (everything this branch introduced is finished in this branch — Linear project "Verdict · Hardening" is 62/62 closed: 60 Done, 2 Canceled):

Area What changed
one of each one envelope renderer, one --json toggle, one diff scanner + file-role heuristic, one store reader per file (readcommon), one jq value model, one item locator, one CLI adapter plumbing (Progress/RouteHuman/RefuseTyped), one golden engine for every suite
bugs found on the way SDK Result.Data carried a re-encoded struct, SDK Fetch/FetchLocal could never succeed; null PR fields read as "null"; false/true sorted equal; object-valued cost models unreadable; a corpus slug collision resolved differently per verb; a value flag with no value silently used a default (fetch … --provider)
speed BenchmarkRenderOverview on a synthetic 200-file / 2 MB diff: 17.8 s and 47.2 GB per op → 1.3 s and 261 MB per op; anchor classification no longer scales with the hunk index
dead code all unreachable functions deleted or tested; make deadcode baseline is empty (any new one fails CI)
test data goldens pin large payloads by size + sha256 and skip fixture inputs: testdata 25 MB → 1.9 MB (digest pins mutation-probed)
security verify tails redact credentials by shape (bearer/basic, vendor token prefixes, URL userinfo) and strip control bytes
contracts one Go schema validator (internal/schemacheck, schemas/validate.sh is a shim); retryable refusals carry retry_at; MCP hidden tools answer -32602 with typed data; result-text budget
CI the merge gate declares required jobs once (Windows Go stays required) with a drift guard; a skipped eval fails the run (it exposed Linux never running the pty legs); changeset frontmatter is guarded
release notes changesets consolidated for 0.4.0: 66 filed on this branch, 55 files deleted, 15 user-facing entries left

Audit 2 (evidence-gated second audit)

A second, tool-driven audit ran on this branch after the Hardening sweep, in isolated
worktrees, one lane per area. A finding only counted with objective evidence — a surviving
mutant a new test now kills, a fuzz crasher, a test that fails before the fix and passes
after, or a command whose output contradicts the docs — and a different model family then
verified every lane, with the right to regrade, repair or reject it. Mutation testing
(gremlins), native fuzzing (60 s per target) and parity guards (internal/archtest over
refusal codes and the four verb surfaces) did the discovery; every new test was checked
against a banned-tautology list.

Lane Focus Findings Fixed here
A1-security verify gate, hostile input, fuzz targets 15 10 (5 open)
A2-parity refusal codes Go↔TS, verb surfaces 6 4 (2 open)
A3 + A3b test strength: fetch, record, report 22 20 (2 open)
A3c test strength: post, pkg/verdict 9 9
A3d test strength: readcommon, hunks 19 19
A3e test strength: cli, jq 6 5 (1 open)
B1-providers six hosts: pagination, failed reads 9 9
B2-process concurrency, signals, Windows 10 5 (5 open)
B3-docs manual/help/SKILL vs the binary 3 3
C1-architecture simplification spec, no code 5 0 (operator decides)
C1-D1 cancel exit code 1 1
Step 1 (F lanes) mcp signals, Windows job object, three small fixes 6 6

114 findings across the lanes and the step-1 pass; 112 are issues in Linear project "Verdict · Audit 2" (97 Done, 15
Backlog
, 7 High). A2-parity-06 was disputed and stays in its lane report; C1-D1-02 was
recorded as a non-defect rather than filed.

Highs fixed here, one line each:

  • Verify gate, bypass 1 (A1-01): 9+ nested $(…) hid a tool word from the string gate — a real rm was reproduced; the gate now refuses nesting past its scan bound.
  • Verify gate, bypass 2 (V-01, verifier-found): an unreducible $( (…) ) span glued to a word still hid it; a glued span now refuses.
  • Runner hang (B2-process-01): Runner had no WaitDelay, so a cancelled verb waited forever on a grandchild holding the pipe.
  • GitLab multi-page files (B1-01): a paginated GitLab diff list produced a PR.json with no files at all.
  • Bitbucket failed page (V-12, verifier-found): a failed diffstat/comments page was handed to the walk as {}, so an empty list was reported as complete.
  • Cancel exit code (C1-D1): a cancel inside 8 read verbs exited 1 where GO-CLI-05 documents 3.
  • Literal \n in the posted body (A3c-V-05): the stale-downgrade note wrote a literal \n into a review — a port-era parity artifact; now a real blank line, pinned by a test that fails before the fix.

Step 1 — the last fixable Backlog items, three F lanes each with an independent verifier:

  • verdict mcp cancels on a signal (B2-process-A): SIGINT/SIGTERM now cancel the session through the existing watchdog and kill the process tree; the base orphaned an in-flight verify tree on SIGTERM (exit −15, grandchild alive). The fix's verifier then found the shutdown data race it introduced — inflight.Wait racing inflight.Go, DATA RACE in 30 of 30 race-built sessions and invisible in CI because the race runtime rewrites only a zero exit — fixed as V-33.
  • Windows child spawned suspended (B2-process-B): the verify child is created CREATE_SUSPENDED and joined to its job object before it runs, which closes the window the ticket said could only be narrowed.
  • report --output / --sarif written atomically (B2-process-C): staged and renamed through a symlink to its target, keeping the file's own mode and 0600 for a new file; its verifier's two defects are fixed too — V-36 (the new mode tests had no Windows skip) and V-37 (with EvalSymlinks removed the test stayed green, so an os.SameFile new-inode check now kills that mutant).
  • Codex TOML with a multi-line string refused (A1-07): a [mcp_servers.verdict] header hidden in a literal made the merge insert inside the string; the merge now refuses mcp-config-unmergeable and leaves the file byte-identical.
  • arm64 numbers ≥ 2^63 match jq (V-32): a literal is rendered from its own digits, so 9223372036854775808 matches jq 1.7.1 and 1.8.2 on every arch (5392-literal differential fuzz, 0 mismatches); the float64 callers that this turned into 1E+6 are back on jq's dtoa rule through jq.Float (V-35, 3939-double differential fuzz, 0 mismatches).
  • A cancel during start refuses canceled (V-34): a cancel that won the race between the Windows spawn and the resume exited 1 (verify-failed) where GO-CLI-05 says 3; the ctx.Err() check now precedes the refusal.

Three Backlog items stay open on purpose — A1-06 (deferred to F2 / STA-118), V-05 and V-07 — each with the reason on its issue. Audit 2 now totals 112 issues, 97 Done, 15 Backlog.

Mutation efficacy, before → after (killed / lived):

Package Before After
internal/core/fetch 74.5% (474/162) 80.3% (564/138)
internal/core/record 58.2% (103/74) 84.1% (201/38)
internal/core/report 68.8% (119/54) 83.2% (183/37)
internal/core/verify 88.1% (199/27) 98.2% (271/5; all survivors equivalent)
internal/envsecret not measured 100% (11/0)
internal/readcommon 83.4% (146/29) 96.6% (196/7)
internal/hunks 88.1% (59/8) 95.7% (67/3)
internal/cli 88.9% (40/5) 100% (56/0; 2 timeouts, i.e. detected)
internal/jq 87.1% (81/12) 96.3% (104/4; all four survivors equivalent)
internal/core/post not gremlins-measured 3 break survivors, all killed; 39 hand mutations + 9 zero-returns red after V-18…V-20

internal/mcp measured 93.7% at phase 0 and was not re-measured; verify read 97.8% after
the lane's own pass and 98.2% once the verifier's fix landed.

  • Fuzzing: 11 targets, up from 0 (jq decoders, hunks diff paths, mcpconfig JSON + TOML merges, the MCP stdio loop, threads mapping, release tar/zip). 11 × 60 s = 59,197,132 executions, 0 crashers; the re-fuzz after the fixes is clean.
  • One refusal-code registry (core.RefusalCodes) is now the single source for the code set: the TypeScript RefusalCode union went from 57 of 128 codes to 128 of 128, and internal/archtest fails in both directions — a code sighted at an emission site but unregistered, or a registered code with no emission site.
  • Cross-model verification yield: 38 verifier findings (V-01…V-38), 12 defects no lane had found (2 High: V-01 verify gate, V-12 Bitbucket; 5 Medium: V-13, V-14, V-22, V-33 the mcp shutdown race, V-35 the float64 rendering the arm64 fix broke; 5 Low: V-09, V-16, V-17, V-32, V-34), 25 defects in the lanes' own evidence (11 tests that could not fail, 1 test file that would not have passed on Windows, 7 gaps the mutation sweep missed or wrote off, 1 disproved equivalent-mutant claim, 1 copied oracle, 1 gate never run, 2 proposed fixes that did not close their issue, 1 overstated report), and 1 design trade-off recorded rather than fixed (V-38). 2 of the project's 7 High issues came from a verifier.

Merge Danger

Door: two-way

Merging publishes nothing: with changesets pending, release.yml only opens/updates a Version Packages PR; npm/GitHub Release/Homebrew publishing happens when that PR is merged (the tap repo stainless-code/homebrew-tap exists and the tap push is opt-in behind TAP_PUSH; the six npm platform packages need their one-time bootstrap publish first). Reverting this PR restores the bash script. Merge with Create a merge commit (not squash) to keep the per-change history for bisect/revert.

Blast Radius: wide

Every user-facing command is reimplemented. Behaviour is pinned by 344 golden files and 66 evals, but expect edge-case differences. Breaking for anyone who: calls scripts/review.sh directly, depends on verdict install, or runs fetch for a non-GitHub host in a shallow CI checkout (refuses controls-unavailable — use fetch-depth: 0 or --allow-head-controls). The diff is large (1,018 files, +149,679 / −8,784); the bash script and its parity suite are gone. CI is green on f5866bba0 — run 41793046944, 16 of 16 jobs — after three test-only fixes (ce7e64437, a3278b8d9, and the atomic symlink-identity pair 1b4688875/f5866bba0), none of them in the product; but watch the first run on a fresh Windows runner.

SutuSebastian and others added 30 commits November 3, 2026 08:11
A new docs/ci-recipe.md page plus examples/verdict-review.yml run fetch, agent review, and post behind the ready pre-check and the report --check merge gate in the operator's own CI via the setup-verdict action. A new eval case grades the page, the SHA pins, and the gate mechanics.
usage now names which verbs run on any provider bundle and which need
GitHub, and dates the GitHub-only incremental re-review exception.
Unknown-path review comments render under Unanchored observations instead
of posting inline; bodies past the hosting limit post across follow-up
COMMENT reviews instead of trimming.
Ticket 02 replaced the 65,536-char trim with a split into follow-up
COMMENT reviews; the manual still described the trim, and a stale note
about the deleted shell leg.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corpus-* bundles carry corpus.json with ground-truth bugs; calibrate grades findings against it and trend aggregates precision/recall/false-positive rate per model and panel. local-* keeps refusing the live join. Adds the corpus manifest schema and record support for the marked kind.
Eight deterministic seeded cases with two fake agent outputs each, assembled through record into corpus bundles. The bench-corpus eval proves exact calibrate/trend numbers, the local refusal boundary, additive trend output, and the offline/read-only contract.
Documents the matching rule, corpus construction, operator runbook for real PRs and agent runs, cost estimates, reproducibility tolerance, and what the comparison page may cite after 06b.
Replace auto-discovered harness transcripts with an explicit usage
contract (VERDICT_USAGE, schemas/usage.schema.json); vendor parsing
moves to examples/usage-adapters/. No release ever shipped discovery.
The Go binary never spawns jq or shasum, so doctor no longer fails a healthy harness without them; install-skill.sh's doctor gate stops aborting too. Docs now name the real runtime tools; goldens lose only the two removed rows (and the summary count).
Delete internal/install, the top-level install verb, its usage block, and the copy-installer eval. The embedded, atomic, receipted verdict skill install is now the single install path; install-skill.sh and docs point at it, and uninstall/upgrade are unchanged.
Fetch and post persisted raw forge stderr at 0644 while report already staged the same .recheck.err path at 0600; route all three through one atomic.WriteErrSidecar and document the sidecars as owner-only debug residue.
Move the duplicated backoff classifier into internal/retry so fetch retries GitHub's transient internal-error note on the same 3-attempt budget post already used; plain auth and validation failures still fail fast.
Read agent files through a limiter and stat guard, bound every commander's captured output with a typed over-cap error or truncation marker, and route store JSON through jq.Capped while keeping each store's refusal codes.
Route ready, report --live, and calibrate through readcommon.Threads and OpenThreadCount. Non-object, missing, and non-bool isResolved nodes count as unresolved everywhere (fail-closed), gh spawns through the injected commander (including the report adapter), and the duplicate queries/counters are deleted.
Export readcommon.TopOpenInline and decorate the eight ranked keys once per entry, then sort. Fix's default pick now uses the same comparator as report and next instead of its four-key severity/path/line/sig order, and Rank drops from per-comparison key slices to two allocations at 500 entries.
Delete bundle.ResolveSig and point triage and fix at readcommon.ResolveSig, whose tally counts matching entries. Two identical entries now read MANY everywhere, so fix --sig refuses the store show already refuses instead of acting on it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Anchor, counter, threshold, adopt, verify, and jq parses now refuse an int
overflow instead of wrapping, and every hand-rolled digit/bool/tag parser is
replaced by strconv or the shared jq helpers.
fetch and fetch-local read .review/{panel,budget,max_bytes,chunk,kb.jsonl,
kb-policy,learnings.md,overrides/*} from the PR base commit with
git show <base>:<path> through the Commander seam, instead of the working
tree a pull request can edit. The bytes are snapshotted into the bundle
(controls/) with a controls.json manifest (policy, base_sha, sha, per-file
path/status/bytes/sha256; schemas/controls.schema.json).

--allow-head-controls is the one opt-out: it reads the worktree as before,
warns once, and stamps policy head. A base the clone does not hold refuses
controls-unavailable; verdict never fetches it. Control files are capped at
256 KiB each (1 MiB total) and never truncated. The default run prints
nothing extra; the JSON envelope gains data.controls.

The repo .gitignore now tracks the control files, and the CI recipe checks
out with fetch-depth: 0 so the base commit is present.
post and record load the bundle's controls.json before any merge read and
verify it: schema/policy valid, base_sha equal to the bundle base (PR.json
baseRefOid or source.json base_sha), a base-policy snapshot read at exactly
that base, and every used file re-hashed. A missing or invalid snapshot
refuses controls-unavailable; a base or hash mismatch refuses
controls-stale. A pre-D1 bundle must be re-fetched.

The merge reads its decisions from the snapshot instead of the worktree:
kb.jsonl citations and kb-policy thresholds, and the four overrides
fragments (locked-block checks and the footer/attribution). The KB credit
read-modify-write paths (counters, joins, retirement) stay on the worktree
store. The prompts point the agent at the snapshot learnings.md, and the
manual and SECURITY.md document the base-owned control plane. Adds the
controls-base eval and seeds hand-crafted eval bundles with a head snapshot.
When git cannot supply the PR base (not a repository, or the object is
missing), a GitHub fetch reads each inventory path through
gh api repos/<owner>/<repo>/contents/<path>?ref=<base> on the same
Commander seam: 404 is an absent control, any other failure refuses,
and the per-file and total caps apply to the reported size before any
byte is decoded. Other providers keep refusing controls-unavailable.
A chunked fetch told the agent to feed full.diff, the very file the cap
refused. The envelope and human next lines now name chunks/manifest.json
and the chunks it lists; unchunked output is unchanged.
The local-worktree/branch/stash/paths/untracked/dump goldens record head_ref
and the stash commit (whose hash covers 'WIP on <branch>'); git init took the
runner's default branch (master on CI), so they only passed where
init.defaultBranch=main.
NTFS carries no executable bit, so the embed-drift, skill-install, and
npm-tree checks read 'not executable' for files git marks 0755. Linux and
macOS CI keep pinning the modes.
runCapture wrote the whole usage block into an unread pipe; a Windows pipe
buffers 4 KiB, so the front-door tests blocked until the 25-minute test
timeout killed the package.
When a child held the output pipe past WaitDelay, Wait returned
ErrWaitDelay for a command that had exited 0 and the watchdog recorded
exit 1. The orphan sweep already flags that run through the decoy marker;
the exit now stays 0. The orphan test moves out of the Windows-only file so
every OS pins it.
The harness wrote the gh stub as an extensionless script, which Windows
exec.LookPath never resolves, so every Windows parity run executed the
runner's real gh ('To use GitHub CLI in a GitHub Actions workflow, set
GH_TOKEN', 'gh version 2.103.3'). Each stub now gets a stubshim.exe copy
that hands the script to bash with the argv untouched (a .cmd shim would
re-parse quotes and pipes through cmd.exe), and the fetch suite installs its
smart stubs through the same path.
…t waiting

The guard `attempt >= retry.MaxAttempts-1` in runReadRetry is not an equivalent
mutant: dropping it sleeps after the final failed attempt (up to the 60s
backoff cap) and, under cancellation, surfaces the context error instead of
the attempt's exit failure. Cancelling as the third attempt returns observes
exactly that.
- the 300-byte head cap and the 65,536 hosting limit are literals, not the
  production constants they guard (a changed constant used to move test and
  code together)
- the dry-run recheck leg runs as a non-author reviewer and asserts APPROVE,
  so it reaches the guard it names
- postCounts uses three distinct counts, so swapped statuses fail
- the stale-downgrade test no longer pins the literal backslash-n separator
  the production code emits (not specified by the manual)
- the no-base fetch control asserts the fetch really ran
- failed-post marker check globs instead of recomputing a hash
- errcheck, gofumpt, fieldalignment, unparam, QF1008 fixes; repo-style
  nolint on the long table tests
The awk-port branches that decide which side rows a hunk gets, whether a
header indexes at all, and where a span ends were all unexercised: gremlins
left 8 mutants alive and 3 uncovered, at 88.06% test efficacy and 95.71%
mutator coverage.

`branches_test.go` adds the four cases those mutants hide behind: `Parse`
skips the zero-count side (a new file indexes only NEW, so no anchor on it
reads as outside its hunk), the header field gate keeps a 3-field header and
drops a 2-field one, `spanEnd` keeps the last non-saturating span exact, and
`Files` counts a combined `@@@` header in both counters. `diffpath_test.go`
gains a single unquoted token (the only header shape that reaches
`cutGitPath`'s not-found branch) and an empty quoted b-side, and
`TestUnquotePath` gains the invalid-escape and empty-quoted rows that pin
`unquoteGitPath`'s fallbacks.

Now 67 killed, 3 lived (all equivalent: two boundary flips and the unquoted
branch's discarded remainder), 1 non-terminating mutant timed out; efficacy
95.71%, mutator coverage 100%.
`report`, `next`, `show`, `ready` and `trend` all read bundles through this
package, and gremlins found the shared seams nearly untested: 29 mutants
alive and 43 uncovered, at 83.43% test efficacy and 80.28% mutator coverage.

The new tests pin, with literal or independently derived expectations, the
finding rank tiebreak chain (severity, the rigor rungs, the path
normalization) and the two status counters, the usage handoff's record index,
zero-value guards, size cap and session tiebreak, the cost rollup's tier and
top totals, modelless gate and estimate sentinel, the slug cap and both
character-range edges (plus `ASCIILower`'s), `ShortSHA`'s seven-byte head, the
threads page argv and decoder with their refusal paths, and the overrides
placeholder gate on the preamble as well as the attribution file.

Now 196 killed, 7 lived (each argued as equivalent in
`.scratch/audit2/A3d-tests-findings.md`), 15 uncovered (instrumentation
artifacts and two legs only other packages' tests reach); efficacy 96.55%,
mutator coverage 93.12%.
…g and a lone-quote path

The eight-key rank fixtures put each winner first on sig as well, so
disabling the anchored or inBounds comparison stayed green. Add pairs whose
winner carries the larger path and sig. The manifest chunk names are not
equivalent to the chunk-* glob (the manual allows any <name>), so pin a
manifest-only chunk. A lone quote token must come back whole, not panic.
Tighten the est_usd null check to require a present null.
`Decode` ends its tail check on `json.Decoder.More`, which also reports
false in front of a stray `}` or `]`: `{"a":1}}` decoded as a clean
document and the extra byte vanished. Only a clean EOF now ends the
stream; `decodeSequence` shared the same `More`-plus-tail-check shape, so
both call one `sealTail` helper instead of two copies of the check.

The stricter tail immediately caught a malformed fixture: the fetch
golden stub's fallback threads envelope carried one closing brace too
many, and only ever decoded because the stray closer was dropped. Fixing
the literal leaves every golden byte-identical.
…ering

The gremlins run lived through the ordered-object edits (Set keeps a
key's position, Delete drops it from both the map and the order slice),
the tolerant `NewObj` pairing loop, and the pretty printer every findings
store is frozen with.
Adds the missing half of the front door: the `--json` failure envelope
byte for byte (key order, `data: null`, candidates, retry_at, the
injected clock), the `canceled` exit-3 rule at the renderer, the
human/envelope stream split, `--no-color` precedence in all four
directions, the value-operand helper, `PeekJSON`, the seven boolean
setters no test named, and `--flag=value` spellings.
The float64 arm of Str and R is the path a plain json.Unmarshal result
takes, and it was unexercised; 1e7/-1e7 pin that integral floats print as
integers without an exponent. Gremlins' internal/jq coverage is now
100% with 104 killed, the four survivors all proven equivalent.
The DecodeObject malformed row only required the "decode json:" prefix,
which the typed non-object refusal shares, so it could not tell a decode
error from a collapsed one. Require the decoder's own "unexpected EOF".
The accepts-one-document comment named a helper (requireEOF) that does not
exist; the tail check is sealTail.
…e it runs

The child joined its kill-on-close job object only on the watchdog's first
poll tick (or at kill time on an unbudgeted context), so a grandchild
spawned in that window escaped the job and survived a timeout or cancel.
Spawn CREATE_SUSPENDED, assign to the job, then resume the primary thread
via a Toolhelp thread snapshot. A failed assignment or resume terminates and
reaps the child and returns a typed error; it is never left suspended.
SIGTERM to `verdict mcp` used to take the default signal action: the server
died outright, its in-flight tool call never saw a cancel, and the child
`verify` (its own process group) kept running with nobody left to kill it.
`runMCP` now reuses the CLI's shutdown signal context, so the per-call
contexts cancel. `Serve` also has to end without stdin EOF: it reads frames
in a goroutine and returns when the context is done, after waiting for the
handlers, with a closed flag so a late frame is never written.
On a signal Serve left its select without synchronising with the read
loop, so inflight.Go (read loop) and inflight.Wait (Serve) had no
happens-before edge: the race detector flagged every signaled session,
and a call dispatched in the same instant could slip past the wait.
Serve now marks the session stopping under callMu before it waits, and
handleToolsCall adds to the wait group under that lock, refusing a call
that arrives after shutdown began.

The end-to-end test missed the report because the race runtime only
rewrites a zero exit, and the child exits 3; it now fails on a DATA RACE
in the child's stderr and covers SIGINT as well as SIGTERM. A package
test pins the stdin-open shutdown, signalling readiness through a file
so the test adds no edge the real signal lacks.
…n every arch

CanonNumber converted non-integer literals to float64 and then to int64.
At 2^63 that conversion differs by architecture: arm64 saturates to
MaxInt64 and prints 9223372036854775807, amd64 wraps to MinInt64 and
prints 9.223372036854776e+18. jq prints the literal's own digits,
9223372036854775808.

jq 1.8 keeps a literal's significant digits and only reformats them:
plain notation while the exponent is non-positive and the adjusted
exponent is at least -6, exponential notation otherwise, trailing
fraction zeros and the sign of zero preserved. Rebuilt that way, no
float64 or int64 conversion is left in the path, so the output is
identical on arm64 and amd64 (both proved by running the same table).

TestCanonNumber's table now carries jq's literal output verbatim, taken
with `printf '%s\n' <lit> | jq -c '.'` on jq 1.8.2, including 9.2e18,
both sides of 2^63, 1e19 and their negatives. Rows for 2.0, 1e7, -1e7
and 1e999 move from the double form to jq's literal form (2.0, 1E+7,
-1E+7, 1E+999); every other package's suite is unchanged.

Before the fix on arm64: 9.2e18 -> 9200000000000000000 (want 9.2E+18),
9.223372036854775808e18 -> 9223372036854775807 (want ...808),
-9.223372036854775807e18 -> -9223372036854775808 (want ...807), 1e19 ->
1e+19 (want 1E+19). On amd64 the same rows report 9.223372036854776e+18.
…the file's own mode

`report --output`, `report --sarif` and the MCP report artifact went
through os.WriteFile: a kill mid-write left a truncated report, and
reports can carry reviewed-diff excerpts.

Both adapters now call atomic.WriteThrough, which stages a temp in the
target directory and renames it over the target:

- a symlink is resolved first, so the link survives and only the file it
  names is replaced;
- an existing file keeps its own mode, and a new file gets the caller's
  0600 (unchanged: reports can carry diff excerpts);
- a device, FIFO, socket, directory or dangling link keeps the direct
  write, because a rename would replace the node instead of writing
  through it — `/dev/stdout` still works;
- a failed write refuses `report-failed` and leaves the previous file
  byte-for-byte intact, with no staged temp left behind.

No `--output -` special case exists today (`-` is a literal filename), so
there was none to preserve.

Tests: mode kept on overwrite; a symlink target replaced through the link;
a dangling link's target created with the link intact; /dev/null left a
device; an injected failure (unwritable directory) keeping the old bytes
and no temp; the adapter's report-failed refusal naming the path. Proofs:
before the fix both refusal tests report "want a report-failed refusal,
got success"; with the adapters calling atomic.WriteFileMode instead the
link tests report "link mode = -rw-------; want the symlink preserved";
with the mode-preservation dropped the mode rows report 600 against 640;
writing directly for every target turns both refusal tests green-but-wrong.
… multi-line string

The Codex merge is line based, by design: it never runs a TOML parser. A
multi-line string breaks that assumption. `[mcp_servers.verdict]` spelled
inside a `'''`/`"""` literal was read as a real table, so the merge
inserted `command`/`args` into the literal — the config was corrupted and
verdict silently stayed unconfigured.

Refuse instead, typed `mcp-config-unmergeable` (already registered), with
a message that says to add the table by hand. The check is bounded to
lines at or before the table's own end: a literal in an earlier or later
table can neither hide this header nor block an append, and it runs after
the "already configured" decision, so a host that needs no change still
reports `keep` rather than refusing.

Tests: both quote styles with a fake header (refused, file byte-identical),
a literal before the table, a literal inside its body, a literal in another
table still allowing the append and then `keep`, and a literal in a later
table still allowing the missing keys to be filled. Proofs: without the
guard the first case merges (`ref = <nil>`); checking the whole file
instead of the table's end refuses the later-literal case wrongly;
checking before the keep decision refuses the already-configured host.
…ugh the literal canonicalizer

CanonNumber now rebuilds a literal from its own digits, so feeding it the
shortest 'g' form of an untyped float64 turned 1e6 into 1E+6 and 1e-05 into
0.00001 (jq prints 1000000 and 1e-05). Float renders a double from its
shortest digits with jq's plain/exponential switch and no float-to-int
conversion, so it cannot diverge by architecture either.
Windows reports every file as 0666 and a read-only directory still allows
creating files, so the mode and unwritable-directory assertions are POSIX-only,
as the neighbouring atomic tests already split them.
…rewritten in place

Writing through a link with a plain os.WriteFile leaves the link and the bytes
identical to the atomic path; only the target's identity tells them apart, so
the test now requires the staged file to take its place.
@changeset-bot

changeset-bot Bot commented Nov 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f5866bb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@stainless-code/verdict Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 1015 files, which is 915 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cfe35b02-39a7-4355-9b47-f4fe337494d2
Commits

Reviewing files that changed from the base of the PR and between 21ac180 and f5866bb.

Files ignored due to path filters: 3
  • bun.lock is excluded by !**/*.lock
  • evals/fixtures/verify-allowlist.tsv is excluded by !**/*.tsv
  • evals/fixtures/verify-fuzz-corpus.tsv is excluded by !**/*.tsv
Files selected for processing: 1015
  • .changeset/benchmark-corpus.md
  • .changeset/cost-accounting.md
  • .changeset/fetch-local-worktree.md
  • .changeset/finalizer-recheck.md
  • .changeset/mcp-server.md
  • .changeset/one-static-binary.md
  • .changeset/posting-safety.md
  • .changeset/pr-conversation-threads.md
  • .changeset/programmatic-clients.md
  • .changeset/prompt-batch-docs.md
  • .changeset/provenance-and-small-outputs.md
  • .changeset/reliability-fixes.md
  • .changeset/report-live-gate.md
  • .changeset/review-prompts.md
  • .changeset/security-hardening.md
  • .changeset/split-range-chunking.md
  • .changeset/verify-hardening.md
  • .gitattributes
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • .github/ISSUE_TEMPLATE/config.yml
  • .github/ISSUE_TEMPLATE/feature_request.yml
  • .github/PULL_REQUEST_TEMPLATE.md
  • .github/dependabot.yml
  • .github/workflows/ci.yml
  • .github/workflows/deploy-docs.yml
  • .github/workflows/release.yml
  • .github/workflows/scorecard.yml
  • .github/workflows/setup-verdict.yml
  • .gitignore
  • .golangci.yml
  • .goreleaser.yml
  • AGENTS.md
  • CLAUDE.md
  • CODEOWNERS
  • CONTRIBUTING.md
  • Makefile
  • README.md
  • SECURITY.md
  • SKILL.md
  • apps/docs/blume.config.ts
  • apps/docs/content/build-a-client.mdx
  • apps/docs/content/comparison.mdx
  • apps/docs/content/glossary.mdx
  • apps/docs/content/how-it-reviews.mdx
  • apps/docs/content/quickstart.mdx
  • apps/docs/content/why-verdict.mdx
  • apps/docs/pages/index.astro
  • bench/corpus/README.md
  • bench/corpus/auth-bypass/agents/fixture-good.json
  • bench/corpus/auth-bypass/agents/fixture-noisy.json
  • bench/corpus/auth-bypass/case.json
  • bench/corpus/auth-bypass/full.diff
  • bench/corpus/missing-error-check/agents/fixture-good.json
  • bench/corpus/missing-error-check/agents/fixture-noisy.json
  • bench/corpus/missing-error-check/case.json
  • bench/corpus/missing-error-check/full.diff
  • bench/corpus/nil-deref/agents/fixture-good.json
  • bench/corpus/nil-deref/agents/fixture-noisy.json
  • bench/corpus/nil-deref/case.json
  • bench/corpus/nil-deref/full.diff
  • bench/corpus/off-by-one/agents/fixture-good.json
  • bench/corpus/off-by-one/agents/fixture-noisy.json
  • bench/corpus/off-by-one/case.json
  • bench/corpus/off-by-one/full.diff
  • bench/corpus/panic-index/agents/fixture-good.json
  • bench/corpus/panic-index/agents/fixture-noisy.json
  • bench/corpus/panic-index/case.json
  • bench/corpus/panic-index/full.diff
  • bench/corpus/path-traversal/agents/fixture-good.json
  • bench/corpus/path-traversal/agents/fixture-noisy.json
  • bench/corpus/path-traversal/case.json
  • bench/corpus/path-traversal/full.diff
  • bench/corpus/race-close/agents/fixture-good.json
  • bench/corpus/race-close/agents/fixture-noisy.json
  • bench/corpus/race-close/case.json
  • bench/corpus/race-close/full.diff
  • bench/corpus/sql-injection/agents/fixture-good.json
  • bench/corpus/sql-injection/agents/fixture-noisy.json
  • bench/corpus/sql-injection/case.json
  • bench/corpus/sql-injection/full.diff
  • clients/ts/README.md
  • clients/ts/package.json
  • clients/ts/scripts/gen-ts-types.mjs
  • clients/ts/src/client.ts
  • clients/ts/src/envelope.ts
  • clients/ts/src/errors.ts
  • clients/ts/src/index.ts
  • clients/ts/src/platforms.gen.ts
  • clients/ts/src/refusal-codes.gen.ts
  • clients/ts/src/types.gen.ts
  • clients/ts/test/client.test.mjs
  • clients/ts/test/fixtures/fake-verdict.mjs
  • clients/ts/test/types-check.ts
  • clients/ts/tsconfig.json
  • clients/ts/tsconfig.types.json
  • cmd/schemagen/main.go
  • cmd/tsgen/main.go
  • cmd/tsgen/main_test.go
  • cmd/verdict/arity_test.go
  • cmd/verdict/cancel_exit_test.go
  • cmd/verdict/consts.go
  • cmd/verdict/main.go
  • cmd/verdict/main_test.go
  • cmd/verdict/mcp.go
  • cmd/verdict/mcp_signal_unix_test.go
  • cmd/verdict/mcp_test.go
  • cmd/verdict/mcpconfig.go
  • cmd/verdict/mcpconfig_test.go
  • cmd/verdict/missingvalue_test.go
  • cmd/verdict/signal_unix_test.go
  • cmd/verdict/skill.go
  • cmd/verdict/skill_test.go
  • cmd/verdict/upgrade.go
  • cmd/verdict/upgrade_test.go
  • cmd/verdict/usage.go
  • cmd/verdict/verbhelp.go
  • cmd/verdict/verbhelp_test.go
  • cmd/verdict/version_test.go
  • docs/benchmark.md
  • docs/ci-recipe.md
  • docs/glossary.md
  • docs/go-rules.md
  • docs/manual.md
  • docs/vision.md
  • evals/README.md
  • evals/cases/absence-guard.sh
  • evals/cases/adopt.sh
  • evals/cases/approve-recheck.sh
  • evals/cases/automation-recipe.sh
  • evals/cases/bench-corpus.sh
  • evals/cases/bind-downgrade.sh
  • evals/cases/chunk-cost.sh
  • evals/cases/chunk-coverage.sh
  • evals/cases/chunk-envelope.sh
  • evals/cases/chunk-incremental.sh
  • evals/cases/chunk-knob.sh
  • evals/cases/chunk-local.sh
  • evals/cases/chunk-manifest.sh
  • evals/cases/chunk-manual-recipe.sh
  • evals/cases/chunk-synthesize.sh
  • evals/cases/completeness.sh
  • evals/cases/controls-base.sh
  • evals/cases/cost-cache-mix.sh
  • evals/cases/doc-coverage.sh
  • evals/cases/doctor-scope-audit.sh
  • evals/cases/envelope-shape.sh
  • evals/cases/fetch-worktree.sh
  • evals/cases/fix-prompt-pins.sh
  • evals/cases/fix.sh
  • evals/cases/hunk-snapshot.sh
  • evals/cases/install-routes.sh
  • evals/cases/installer-binary.ps1
  • evals/cases/installer-binary.sh
  • evals/cases/kb.sh
  • evals/cases/kbgrade.sh
  • evals/cases/kbmanifest.sh
  • evals/cases/kboverlap.sh
  • evals/cases/live-offline-contract.sh
  • evals/cases/live-recheck-report.sh
  • evals/cases/mcp-stdio.sh
  • evals/cases/never-prompts.sh
  • evals/cases/post-go-guards.sh
  • evals/cases/post-refusals.sh
  • evals/cases/precommit-hook.sh
  • evals/cases/probe-doctrine-docs.sh
  • evals/cases/prompt-dump-summary.sh
  • evals/cases/prompt-injection.sh
  • evals/cases/publish-diagram.sh
  • evals/cases/publish-footer.sh
  • evals/cases/publish-links.sh
  • evals/cases/publish-overrides.sh
  • evals/cases/publish-overview.sh
  • evals/cases/read-refusals.sh
  • evals/cases/real-usage-cost.sh
  • evals/cases/record-input-refusals.sh
  • evals/cases/review-provenance.sh
  • evals/cases/sandbox-recipe-docs.sh
  • evals/cases/scaffolder-settings.sh
  • evals/cases/schema-contract.sh
  • evals/cases/sha-finalizer.sh
  • evals/cases/show-fix-block.sh
  • evals/cases/skill-installer.sh
  • evals/cases/skill-route.sh
  • evals/cases/tarball-contract.sh
  • evals/cases/terminal-write.sh
  • evals/cases/threads.sh
  • evals/cases/upgrade.sh
  • evals/cases/usage-adapters.sh
  • evals/cases/usage-doc-gates.sh
  • evals/cases/usage-errors.sh
  • evals/cases/verify-allowlist.sh
  • evals/cases/verify-fuzz-corpus.sh
  • evals/cases/version-source.sh
  • evals/fixtures/bench-corpus/calibrate.golden.jsonl
  • evals/fixtures/bench-corpus/trend.golden.json
  • evals/fixtures/prompt-injection/README.md
  • evals/fixtures/prompt-injection/diff-approve.txt
  • evals/fixtures/prompt-injection/diff-exec-exfil.txt
  • evals/fixtures/prompt-injection/diff-fake-close.txt
  • evals/fixtures/prompt-injection/diff-fake-system.txt
  • evals/fixtures/prompt-injection/diff-forged-fence.txt
  • evals/fixtures/prompt-injection/pr-body.txt
  • evals/fixtures/prompt-injection/threads-inline.json
  • evals/fixtures/prompt-injection/threads-reviews.json
  • evals/fixtures/show-fix-block/full.fix.golden
  • evals/fixtures/show-fix-block/null-suggestion.fix.golden
  • evals/fixtures/show-fix-block/verify-hint.fix.golden
  • evals/lib/common.sh
  • evals/lib/testenv.sh
  • evals/one.sh
  • evals/run.sh
  • examples/python-client/README.md
  • examples/python-client/example.py
  • examples/python-client/fixtures/bundle/123/PR.json
  • examples/python-client/fixtures/bundle/123/findings.json
  • examples/python-client/fixtures/bundle/404/PR.json
  • examples/python-client/generate_models.sh
  • examples/python-client/models.py
  • examples/python-client/requirements-dev.txt
  • examples/python-client/smoke.py
  • examples/python-client/smoke.sh
  • examples/python-client/typed.py
  • examples/python-client/verdict_client.py
  • examples/usage-adapters/README.md
  • examples/usage-adapters/claude-code/claude-to-usage.sh
  • examples/usage-adapters/claude-code/fixtures/transcript.jsonl
  • examples/usage-adapters/claude-code/hook.json
  • examples/usage-adapters/claude-code/on-stop.sh
  • examples/usage-adapters/opencode/fixtures/export.json
  • examples/usage-adapters/opencode/opencode-to-usage.sh
  • examples/verdict-review.yml
  • go.mod
  • hooks/pre-commit
  • install-skill.sh
  • install.ps1
  • install.sh
  • internal/adopt/adopt.go
  • internal/adopt/golden_test.go
  • internal/adopt/testdata/already-adopted.golden
  • internal/adopt/testdata/bad-from.golden
  • internal/adopt/testdata/bad-target.golden
  • internal/adopt/testdata/corrupt-store.golden
  • internal/adopt/testdata/happy-human.golden
  • internal/adopt/testdata/happy-json.golden
  • internal/adopt/testdata/hunks-pinned.golden
  • internal/adopt/testdata/missing-diff.golden
  • internal/adopt/testdata/missing-findings.golden
  • internal/adopt/testdata/provider-unimplemented.golden
  • internal/adopt/testdata/unknown-flag.golden
  • internal/archtest/changeset_test.go
  • internal/archtest/ci_gate_test.go
  • internal/archtest/evalpipe_test.go
  • internal/archtest/guard_test.go
  • internal/archtest/imports_test.go
  • internal/archtest/refusalcodes_test.go
  • internal/archtest/surfaces_test.go
  • internal/atomic/atomic.go
  • internal/atomic/atomic_other.go
  • internal/atomic/atomic_test.go
  • internal/atomic/atomic_unix_test.go
  • internal/atomic/atomic_windows.go
  • internal/atomic/atomic_windows_test.go
  • internal/atomic/through_test.go
  • internal/atomic/through_unix_test.go
  • internal/calibrate/calibrate.go
  • internal/checktree/checktree.go
  • internal/cli/cli.go
  • internal/cli/consts.go
  • internal/cli/flags.go
  • internal/cli/flags_test.go
  • internal/cli/messages.go
  • internal/cli/prefs.go
  • internal/cli/publish.go
  • internal/cli/refuse_test.go
  • internal/cli/runner_test.go
  • internal/cli/tty_bsd.go
  • internal/cli/tty_linux.go
  • internal/cli/tty_other.go
  • internal/cli/tty_unix.go
  • internal/cli/tty_windows.go
  • internal/controls/contents.go
  • internal/controls/contents_test.go
  • internal/controls/controls.go
  • internal/controls/controls_test.go
  • internal/controls/git.go
  • internal/core/adopt/service.go
  • internal/core/adopt/service_internal_test.go
  • internal/core/calibrate/corpus.go
  • internal/core/calibrate/live.go
  • internal/core/calibrate/probe.go
  • internal/core/calibrate/service.go
  • internal/core/checktree/service.go
  • internal/core/command.go
  • internal/core/config.go
  • internal/core/controls.go
  • internal/core/corpus.go
  • internal/core/corpus/corpus.go
  • internal/core/corpus/corpus_test.go
  • internal/core/cost.go
  • internal/core/doctor/service.go
  • internal/core/exec/capture.go
  • internal/core/exec/capture_test.go
  • internal/core/exec/exec.go
  • internal/core/exec/exec_unix.go
  • internal/core/exec/exec_unix_test.go
  • internal/core/exec/exec_windows.go
  • internal/core/exec/exec_windows_test.go
  • internal/core/exec/orphan_test.go
  • internal/core/exec/runner.go
  • internal/core/fetch/budget.go
  • internal/core/fetch/budget_test.go
  • internal/core/fetch/bundle.go
  • internal/core/fetch/cap.go
  • internal/core/fetch/cap_test.go
  • internal/core/fetch/capabilities.go
  • internal/core/fetch/capabilities_test.go
  • internal/core/fetch/chunkwrite.go
  • internal/core/fetch/consts.go
  • internal/core/fetch/controls.go
  • internal/core/fetch/envelope.go
  • internal/core/fetch/exec.go
  • internal/core/fetch/fetch_helper_test.go
  • internal/core/fetch/fetch_unit_test.go
  • internal/core/fetch/fetch_verbatim_test.go
  • internal/core/fetch/github.go
  • internal/core/fetch/kbrecall.go
  • internal/core/fetch/kbrecall_test.go
  • internal/core/fetch/local.go
  • internal/core/fetch/local_mode_test.go
  • internal/core/fetch/manifest_order_test.go
  • internal/core/fetch/pagewalk.go
  • internal/core/fetch/pagewalk_test.go
  • internal/core/fetch/paging.go
  • internal/core/fetch/promptdump.go
  • internal/core/fetch/providers.go
  • internal/core/fetch/providers_parity_test.go
  • internal/core/fetch/retry_test.go
  • internal/core/fetch/sensitive.go
  • internal/core/fetch/service.go
  • internal/core/fetch/service_test.go
  • internal/core/fetch/sidecar_test.go
  • internal/core/fetch/threads.go
  • internal/core/fetch/threadsverb.go
  • internal/core/fetch/threadsverb_test.go
  • internal/core/fetch/worktree.go
  • internal/core/fetch/worktree_test.go
  • internal/core/fetchapi.go
  • internal/core/fix/service.go
  • internal/core/hint.go
  • internal/core/hostcaps.go
  • internal/core/imports_test.go
  • internal/core/init/service.go
  • internal/core/learn/cap_test.go
  • internal/core/learn/corrupt_posture_test.go
  • internal/core/learn/service.go
  • internal/core/post/drift_test.go
  • internal/core/post/finalizer_hoist_test.go
  • internal/core/post/live_reviews.go
  • internal/core/post/live_reviews_test.go
  • internal/core/post/marker_test.go
  • internal/core/post/messages.go
  • internal/core/post/payload.go
  • internal/core/post/read_retry_test.go
  • internal/core/post/seed_test.go
  • internal/core/post/service.go
  • internal/core/post/service_test.go
  • internal/core/post/sidecar_test.go
  • internal/core/post/store.go
  • internal/core/post/submit.go
  • internal/core/post/submit_contract_test.go
  • internal/core/postapi.go
  • internal/core/presence.go
  • internal/core/ranking_crossverb_test.go
  • internal/core/ready/service.go
  • internal/core/record/chunk.go
  • internal/core/record/chunk_order_internal_test.go
  • internal/core/record/claims.go
  • internal/core/record/fields.go
  • internal/core/record/finalize.go
  • internal/core/record/merge.go
  • internal/core/record/merge_anchor_test.go
  • internal/core/record/mergeapi.go
  • internal/core/record/mergeapi_test.go
  • internal/core/record/messages.go
  • internal/core/record/seed_test.go
  • internal/core/record/service.go
  • internal/core/record/service_test.go
  • internal/core/record/store_contract_test.go
  • internal/core/record/validate.go
  • internal/core/recordapi.go
  • internal/core/refusal.go
  • internal/core/refusalcodes.go
  • internal/core/report/fixblock.go
  • internal/core/report/gate_test.go
  • internal/core/report/live.go
  • internal/core/report/next.go
  • internal/core/report/output.go
  • internal/core/report/overview.go
  • internal/core/report/overview_bench_test.go
  • internal/core/report/overview_gate_test.go
  • internal/core/report/render.go
  • internal/core/report/report_test.go
  • internal/core/report/sarif.go
  • internal/core/report/service.go
  • internal/core/report/show.go
  • internal/core/reportapi.go
  • internal/core/resolvesig_crossverb_test.go
  • internal/core/runtime.go
  • internal/core/skill/service.go
  • internal/core/skill/service_test.go
  • internal/core/stores.go
  • internal/core/threads/fuzz_test.go
  • internal/core/threads/mappers.go
  • internal/core/threads/threads.go
  • internal/core/threads/threads_test.go
  • internal/core/threads_crossverb_test.go
  • internal/core/trend/cap_test.go
  • internal/core/trend/corpus.go
  • internal/core/trend/cost_cross_test.go
  • internal/core/trend/overlap.go
  • internal/core/trend/rollup.go
  • internal/core/trend/rollup_test.go
  • internal/core/trend/service.go
  • internal/core/triage/service.go
  • internal/core/types.go
  • internal/core/upgrade/delegate.go
  • internal/core/upgrade/handoff.go
  • internal/core/upgrade/handoff_test.go
  • internal/core/upgrade/handoff_windows_test.go
  • internal/core/upgrade/platform_unix.go
  • internal/core/upgrade/platform_windows.go
  • internal/core/upgrade/selfreplace.go
  • internal/core/upgrade/service.go
  • internal/core/upgrade/service_test.go
  • internal/core/upgrade/uninstall.go
  • internal/core/upgrade/windows_handoff_test.go
  • internal/core/verify/gate.go
  • internal/core/verify/gate_credential.go
  • internal/core/verify/gate_destructive.go
  • internal/core/verify/gate_escape.go
  • internal/core/verify/gate_git.go
  • internal/core/verify/gate_golden_test.go
  • internal/core/verify/gate_networked.go
  • internal/core/verify/gate_probes_test.go
  • internal/core/verify/gate_security_test.go
  • internal/core/verify/normalize.go
  • internal/core/verify/normalize_internal_test.go
  • internal/core/verify/redact.go
  • internal/core/verify/redact_internal_test.go
  • internal/core/verify/service.go
  • internal/core/verify/service_internal_test.go
  • internal/core/verify/service_security_test.go
  • internal/core/verify/service_test.go
  • internal/core/verify/testdata/gate.golden
  • internal/core/verifyapi.go
  • internal/diagram/diagram.go
  • internal/diagram/diagram_test.go
  • internal/doctor/doctor.go
  • internal/envsecret/envsecret.go
  • internal/envsecret/envsecret_test.go
  • internal/fetch/fetch.go
  • internal/fetch/golden_test.go
  • internal/fetch/testdata/api-fallback.golden
  • internal/fetch/testdata/azure-auth-missing.golden
  • internal/fetch/testdata/azure-happy.golden
  • internal/fetch/testdata/bad-budget.golden
  • internal/fetch/testdata/bad-chunk-knob.golden
  • internal/fetch/testdata/bad-max-bytes.golden
  • internal/fetch/testdata/bad-provider.golden
  • internal/fetch/testdata/base-sha-json.golden
  • internal/fetch/testdata/base-sha-note.golden
  • internal/fetch/testdata/bitbucket-auth-missing.golden
  • internal/fetch/testdata/bitbucket-happy.golden
  • internal/fetch/testdata/bitbucket-paging.golden
  • internal/fetch/testdata/budget-over-consented.golden
  • internal/fetch/testdata/budget-over-refused.golden
  • internal/fetch/testdata/budget-unknown.golden
  • internal/fetch/testdata/budget-unreadable.golden
  • internal/fetch/testdata/budget-unset.golden
  • internal/fetch/testdata/budget-within.golden
  • internal/fetch/testdata/cap-override-beats-chunk.golden
  • internal/fetch/testdata/cap-override.golden
  • internal/fetch/testdata/controls-base-absent.golden
  • internal/fetch/testdata/controls-contents-error.golden
  • internal/fetch/testdata/dump-json.golden
  • internal/fetch/testdata/dump-text.golden
  • internal/fetch/testdata/empty-diff.golden
  • internal/fetch/testdata/file-paging.golden
  • internal/fetch/testdata/forgejo-auth-missing.golden
  • internal/fetch/testdata/forgejo-happy.golden
  • internal/fetch/testdata/gitcafe-happy.golden
  • internal/fetch/testdata/gitlab-base-refused.golden
  • internal/fetch/testdata/gitlab-happy.golden
  • internal/fetch/testdata/gitlab-text.golden
  • internal/fetch/testdata/happy-json.golden
  • internal/fetch/testdata/happy-text.golden
  • internal/fetch/testdata/local-bad-base.golden
  • internal/fetch/testdata/local-bad-range.golden
  • internal/fetch/testdata/local-bad-stash.golden
  • internal/fetch/testdata/local-branch.golden
  • internal/fetch/testdata/local-dump-chunk.golden
  • internal/fetch/testdata/local-dump-text.golden
  • internal/fetch/testdata/local-modes-exclusive.golden
  • internal/fetch/testdata/local-not-a-repo.golden
  • internal/fetch/testdata/local-paths-empty.golden
  • internal/fetch/testdata/local-paths.golden
  • internal/fetch/testdata/local-range.golden
  • internal/fetch/testdata/local-range3.golden
  • internal/fetch/testdata/local-slug-empty.golden
  • internal/fetch/testdata/local-slug-number.golden
  • internal/fetch/testdata/local-slug-prefix.golden
  • internal/fetch/testdata/local-staged.golden
  • internal/fetch/testdata/local-stash.golden
  • internal/fetch/testdata/local-unknown-flag.golden
  • internal/fetch/testdata/local-untracked.golden
  • internal/fetch/testdata/local-worktree-text.golden
  • internal/fetch/testdata/local-worktree.golden
  • internal/fetch/testdata/over-cap-absent-text.golden
  • internal/fetch/testdata/over-cap-chunk-text.golden
  • internal/fetch/testdata/over-cap-chunk.golden
  • internal/fetch/testdata/over-cap-knob.golden
  • internal/fetch/testdata/over-cap-refusal.golden
  • internal/fetch/testdata/provider-base-refused.golden
  • internal/fetch/testdata/ratelimit-retry.golden
  • internal/fetch/testdata/sensitive-kb-head.golden
  • internal/fetch/testdata/sensitive-kb.golden
  • internal/fetch/testdata/since-alias.golden
  • internal/fetch/testdata/single-file-degenerate.golden
  • internal/fetch/testdata/threads-degraded.golden
  • internal/fetch/testdata/undecodable-pr.golden
  • internal/fetch/testdata/unknown-flag.golden
  • internal/fetch/testdata/upstream-too-large.golden
  • internal/fetch/testdata/view-failed.golden
  • internal/fix/fix.go
  • internal/fix/golden_test.go
  • internal/fix/testdata/bad-sig-status.golden
  • internal/fix/testdata/bad-sig-unknown.golden
  • internal/fix/testdata/ceiling.golden
  • internal/fix/testdata/complete-human.golden
  • internal/fix/testdata/complete-json.golden
  • internal/fix/testdata/explicit-sig-json.golden
  • internal/fix/testdata/missing-findings.golden
  • internal/fix/testdata/not-local.golden
  • internal/fix/testdata/pass-human.golden
  • internal/fix/testdata/pass-json.golden
  • internal/fix/testdata/scope-escape.golden
  • internal/fix/testdata/tiebreak-json.golden
  • internal/fix/testdata/unknown-flag.golden
  • internal/golden/case.go
  • internal/golden/golden.go
  • internal/golden/harness.go
  • internal/golden/harness_test.go
  • internal/golden/stubshim/main.go
  • internal/hunks/branches_test.go
  • internal/hunks/diffpath.go
  • internal/hunks/diffpath_test.go
  • internal/hunks/files.go
  • internal/hunks/files_test.go
  • internal/hunks/fuzz_test.go
  • internal/hunks/hunks.go
  • internal/hunks/hunks_test.go
  • internal/jq/capped.go
  • internal/jq/capped_test.go
  • internal/jq/decode_test.go
  • internal/jq/errors.go
  • internal/jq/fuzz_test.go
  • internal/jq/jq.go
  • internal/jq/jq_test.go
  • internal/jq/ordered.go
  • internal/kb/cap_test.go
  • internal/kb/credit.go
  • internal/kb/fields.go
  • internal/kb/kb.go
  • internal/kb/kb_test.go
  • internal/kb/num_internal_test.go
  • internal/kb/retire.go
  • internal/kb/store.go
  • internal/kb/store_test.go
  • internal/learn/golden_test.go
  • internal/learn/learn.go
  • internal/learn/testdata/already-learned.golden
  • internal/learn/testdata/already-retired.golden
  • internal/learn/testdata/append-human.golden
  • internal/learn/testdata/append-json.golden
  • internal/learn/testdata/bad-id.golden
  • internal/learn/testdata/bad-retire-reason.golden
  • internal/learn/testdata/bad-rigor.golden
  • internal/learn/testdata/corrupt-store.golden
  • internal/learn/testdata/id-taken.golden
  • internal/learn/testdata/need-one-mode.golden
  • internal/learn/testdata/not-retired.golden
  • internal/learn/testdata/reason-needs-veto.golden
  • internal/learn/testdata/restore-human.golden
  • internal/learn/testdata/restore-json.golden
  • internal/learn/testdata/retire-human.golden
  • internal/learn/testdata/retire-json.golden
  • internal/learn/testdata/scope-needs-rule.golden
  • internal/learn/testdata/status-empty.golden
  • internal/learn/testdata/status-human.golden
  • internal/learn/testdata/status-json.golden
  • internal/learn/testdata/unknown-flag.golden
  • internal/learn/testdata/unknown-rule.golden
  • internal/mcp/artifact_test.go
  • internal/mcp/budget_test.go
  • internal/mcp/commanders_test.go
  • internal/mcp/contract_test.go
  • internal/mcp/decode.go
  • internal/mcp/decode_test.go
  • internal/mcp/dispatch_test.go
  • internal/mcp/fuzz_test.go
  • internal/mcp/mcp_test.go
  • internal/mcp/params_contract_test.go
  • internal/mcp/presence_test.go
  • internal/mcp/requests.go
  • internal/mcp/schema.go
  • internal/mcp/schema_selfcheck_test.go
  • internal/mcp/schema_test.go
  • internal/mcp/server.go
  • internal/mcp/snapshot_test.go
  • internal/mcp/testdata/tools_list_default.jsonl
  • internal/mcp/testdata/tools_list_operator.jsonl
  • internal/mcp/testdata/tools_list_read-only.jsonl
  • internal/mcp/tools.go
  • internal/mcpconfig/config.go
  • internal/mcpconfig/config_test.go
  • internal/mcpconfig/fuzz_test.go
  • internal/overrides/overrides.go
  • internal/overrides/overrides_test.go
  • internal/provenance/basis.go
  • internal/provenance/consts.go
  • internal/provenance/cost_cap_test.go
  • internal/provenance/footer.go
  • internal/provenance/provenance.go
  • internal/provenance/provenance_test.go
  • internal/readcommon/bundle.go
  • internal/readcommon/bundle_test.go
  • internal/readcommon/cap_test.go
  • internal/readcommon/cost.go
  • internal/readcommon/cost_branches_test.go
  • internal/readcommon/cost_findings_test.go
  • internal/readcommon/findings.go
  • internal/readcommon/gh.go
  • internal/readcommon/jqx.go
  • internal/readcommon/jqx_test.go
  • internal/readcommon/num_test.go
  • internal/readcommon/overrides.go
  • internal/readcommon/overrides_test.go
  • internal/readcommon/overrides_unix_test.go
  • internal/readcommon/post_test.go
  • internal/readcommon/rank.go
  • internal/readcommon/rank_test.go
  • internal/readcommon/rank_tiebreak_test.go
  • internal/readcommon/readcommon.go
  • internal/readcommon/roles.go
  • internal/readcommon/roles_test.go
  • internal/readcommon/slug.go
  • internal/readcommon/slug_test.go
  • internal/readcommon/stores_test.go
  • internal/readcommon/threadpage_test.go
  • internal/readcommon/threads_test.go
  • internal/readcommon/usage.go
  • internal/readcommon/usage_branches_test.go
  • internal/readcommon/usage_test.go
  • internal/readgolden/calibrate_test.go
  • internal/readgolden/doctor_checktree_test.go
  • internal/readgolden/golden_test.go
  • internal/readgolden/next_show_test.go
  • internal/readgolden/ready_test.go
  • internal/readgolden/report_test.go
  • internal/readgolden/stub_test.go
  • internal/readgolden/testdata/calibrate/corrupt-store.golden
  • internal/readgolden/testdata/calibrate/judge-needs-probe.golden
  • internal/readgolden/testdata/calibrate/live-compare-down.golden
  • internal/readgolden/testdata/calibrate/live-compare-garbage.golden
  • internal/readgolden/testdata/calibrate/live-current-json.golden
  • internal/readgolden/testdata/calibrate/live-stale-human.golden
  • internal/readgolden/testdata/calibrate/live-stale-json.golden
  • internal/readgolden/testdata/calibrate/local-refused.golden
  • internal/readgolden/testdata/calibrate/missing-post.golden
  • internal/readgolden/testdata/calibrate/no-review-id.golden
  • internal/readgolden/testdata/calibrate/probe-bad-judge.golden
  • internal/readgolden/testdata/calibrate/probe-human.golden
  • internal/readgolden/testdata/calibrate/probe-json.golden
  • internal/readgolden/testdata/calibrate/probe-judge.golden
  • internal/readgolden/testdata/calibrate/provider-refused.golden
  • internal/readgolden/testdata/calibrate/threads-failed.golden
  • internal/readgolden/testdata/check-tree/clean-human.golden
  • internal/readgolden/testdata/check-tree/clean-json.golden
  • internal/readgolden/testdata/check-tree/dirty-human.golden
  • internal/readgolden/testdata/check-tree/dirty-json.golden
  • internal/readgolden/testdata/check-tree/expect-covered.golden
  • internal/readgolden/testdata/check-tree/expect-uncovered.golden
  • internal/readgolden/testdata/check-tree/norepo-json.golden
  • internal/readgolden/testdata/check-tree/review-scratch.golden
  • internal/readgolden/testdata/doctor/human.golden
  • internal/readgolden/testdata/doctor/json.golden
  • internal/readgolden/testdata/next/bad-status-human.golden
  • internal/readgolden/testdata/next/bad-status-json.golden
  • internal/readgolden/testdata/next/corrupt-human.golden
  • internal/readgolden/testdata/next/corrupt-json.golden
  • internal/readgolden/testdata/next/empty-human.golden
  • internal/readgolden/testdata/next/empty-json.golden
  • internal/readgolden/testdata/next/human.golden
  • internal/readgolden/testdata/next/json.golden
  • internal/readgolden/testdata/next/status-addressed.golden
  • internal/readgolden/testdata/ready/blocked-check.golden
  • internal/readgolden/testdata/ready/blocked-human.golden
  • internal/readgolden/testdata/ready/blocked-json.golden
  • internal/readgolden/testdata/ready/local-refused.golden
  • internal/readgolden/testdata/ready/missing-bundle.golden
  • internal/readgolden/testdata/ready/provider-refused.golden
  • internal/readgolden/testdata/ready/ready-check-json.golden
  • internal/readgolden/testdata/ready/refused-dead-check.golden
  • internal/readgolden/testdata/ready/refused-dead-json.golden
  • internal/readgolden/testdata/ready/refused-dead.golden
  • internal/readgolden/testdata/report/check-critical-dirty.golden
  • internal/readgolden/testdata/report/check-critical-pass.golden
  • internal/readgolden/testdata/report/completeness-missing.golden
  • internal/readgolden/testdata/report/completeness-stale.golden
  • internal/readgolden/testdata/report/cost-human.golden
  • internal/readgolden/testdata/report/cost-json.golden
  • internal/readgolden/testdata/report/cost-unreadable.golden
  • internal/readgolden/testdata/report/human.golden
  • internal/readgolden/testdata/report/json.golden
  • internal/readgolden/testdata/report/kind-section-json.golden
  • internal/readgolden/testdata/report/kitchen-sink.golden
  • internal/readgolden/testdata/report/live-auto-unreachable.golden
  • internal/readgolden/testdata/report/live-skip.golden
  • internal/readgolden/testdata/report/live-strict-unreachable.golden
  • internal/readgolden/testdata/report/local-check-json.golden
  • internal/readgolden/testdata/report/local-human.golden
  • internal/readgolden/testdata/report/refuse-human.golden
  • internal/readgolden/testdata/report/refuse-missing-store.golden
  • internal/readgolden/testdata/report/refuse-non-array.golden
  • internal/readgolden/testdata/report/refuse-non-object.golden
  • internal/readgolden/testdata/report/refuse-null-store.golden
  • internal/readgolden/testdata/report/refuse-numeric-body.golden
  • internal/readgolden/testdata/report/refuse-numeric-sig.golden
  • internal/readgolden/testdata/report/refuse-patch.golden
  • internal/readgolden/testdata/report/status-open.golden
  • internal/readgolden/testdata/show/ambiguous-sig.golden
  • internal/readgolden/testdata/show/corrupt-store.golden
  • internal/readgolden/testdata/show/human.golden
  • internal/readgolden/testdata/show/json.golden
  • internal/readgolden/testdata/show/missing-sig.golden
  • internal/readgolden/testdata/show/unknown-sig.golden
  • internal/readgolden/testdata/trend/corrupt-skip-json.golden
  • internal/readgolden/testdata/trend/corrupt-skip-overlap.golden
  • internal/readgolden/testdata/trend/empty-human.golden
  • internal/readgolden/testdata/trend/empty-json.golden
  • internal/readgolden/testdata/trend/joins-unreadable.golden
  • internal/readgolden/testdata/trend/mixed-human.golden
  • internal/readgolden/testdata/trend/mixed-json.golden
  • internal/readgolden/testdata/trend/overlap-human.golden
  • internal/readgolden/testdata/trend/overlap-json.golden
  • internal/readgolden/trend_test.go
  • internal/ready/ready.go
  • internal/record/golden_cases_test.go
  • internal/record/golden_extra_test.go
  • internal/record/golden_garnish_test.go
  • internal/record/golden_kb_test.go
  • internal/record/golden_refusals_test.go
  • internal/record/golden_store_test.go
  • internal/record/post.go
  • internal/record/record.go
  • internal/record/seed_test.go
  • internal/record/testdata/body/mermaid-stripped.golden
  • internal/record/testdata/body/non-ascii.golden
  • internal/record/testdata/body/receipt-collision.golden
  • internal/record/testdata/chunk/bad-schema.golden
  • internal/record/testdata/chunk/drift.golden
  • internal/record/testdata/chunk/malformed-attestation.golden
  • internal/record/testdata/chunk/missing-snapshot.golden
  • internal/record/testdata/chunk/partial.golden
  • internal/record/testdata/chunk/unattested.golden
  • internal/record/testdata/chunk/unknown-chunk-claim.golden
  • internal/record/testdata/chunk/valid.golden
  • internal/record/testdata/claims/bad-triage-status/rereview.golden
  • internal/record/testdata/claims/verify-triage-resolved/rereview.golden
  • internal/record/testdata/degenerate/bad-schema.golden
  • internal/record/testdata/degenerate/basis-bad.golden
  • internal/record/testdata/degenerate/basis-ok.golden
  • internal/record/testdata/degenerate/blob-link-local.golden
  • internal/record/testdata/degenerate/carried-footer.golden
  • internal/record/testdata/degenerate/confidence-invalid.golden
  • internal/record/testdata/degenerate/confidence-valid.golden
  • internal/record/testdata/degenerate/empty-diff-body.golden
  • internal/record/testdata/degenerate/false-anchors.golden
  • internal/record/testdata/degenerate/false-side.golden
  • internal/record/testdata/degenerate/fenced-body-section.golden
  • internal/record/testdata/degenerate/missing-marker-ok.golden
  • internal/record/testdata/degenerate/null-path.golden
  • internal/record/testdata/degenerate/placeholder-body.golden
  • internal/record/testdata/degenerate/short-body.golden
  • internal/record/testdata/degenerate/unknown-flag.golden
  • internal/record/testdata/incremental/non-touching/rereview.golden
  • internal/record/testdata/incremental/reopen/rereview.golden
  • internal/record/testdata/kb/absent.golden
  • internal/record/testdata/kb/bad-id-shape.golden
  • internal/record/testdata/kb/bad-policy-env.golden
  • internal/record/testdata/kb/bad-policy-file.golden
  • internal/record/testdata/kb/bad-shape.golden
  • internal/record/testdata/kb/broken-store.golden
  • internal/record/testdata/kb/counter-adds/rereview.golden
  • internal/record/testdata/kb/duplicate.golden
  • internal/record/testdata/kb/empty.golden
  • internal/record/testdata/kb/false-positive/rereview.golden
  • internal/record/testdata/kb/joins-idempotent/rereview.golden
  • internal/record/testdata/kb/malformed-id.golden
  • internal/record/testdata/kb/no-store.golden
  • internal/record/testdata/kb/null.golden
  • internal/record/testdata/kb/retired.golden
  • internal/record/testdata/kb/string-counters/rereview.golden
  • internal/record/testdata/kb/truncated.golden
  • internal/record/testdata/kb/unknown.golden
  • internal/record/testdata/kb/valid.golden
  • internal/record/testdata/legacy/backfill-passthrough/rereview.golden
  • internal/record/testdata/matrix/n10/first.golden
  • internal/record/testdata/matrix/n10/rereview.golden
  • internal/record/testdata/matrix/n200/first.golden
  • internal/record/testdata/matrix/n200/rereview.golden
  • internal/record/testdata/matrix/n50/first.golden
  • internal/record/testdata/matrix/n50/rereview.golden
  • internal/record/testdata/missing/bundle.golden
  • internal/record/testdata/missing/full.diff.golden
  • internal/record/testdata/missing/review.json.golden
  • internal/record/testdata/missing/source.json.golden
  • internal/record/testdata/not-local/github.golden
  • internal/record/testdata/overrides/bad-placeholder.golden
  • internal/record/testdata/overrides/bad-threshold.golden
  • internal/record/testdata/overrides/dir-as-fragment.golden
  • internal/record/testdata/overrides/duplicate-footer.golden
  • internal/record/testdata/overrides/duplicate-threshold.golden
  • internal/record/testdata/overrides/eq-threshold.golden
  • internal/record/testdata/overrides/locked-marker.golden
  • internal/record/testdata/overrides/marker-fragment.golden
  • internal/record/testdata/overrides/multiline-attribution.golden
  • internal/record/testdata/overrides/unknown-field.golden
  • internal/record/testdata/overrides/valid.golden
  • internal/record/testdata/provider/gitlab.golden
  • internal/record/testdata/refuse/corrupt-prior.golden
  • internal/record/testdata/refuse/corrupt-review.golden
  • internal/record/testdata/refuse/empty-prior.golden
  • internal/record/testdata/refuse/false-prior.golden
  • internal/record/testdata/refuse/invalid-utf8-review.golden
  • internal/record/testdata/refuse/non-array-resolved.golden
  • internal/record/testdata/refuse/non-array-triage.golden
  • internal/record/testdata/refuse/non-array-verification.golden
  • internal/record/testdata/refuse/non-list-prior.golden
  • internal/record/testdata/refuse/non-object-comment.golden
  • internal/record/testdata/refuse/non-object-review.golden
  • internal/record/testdata/refuse/non-object-sections.golden
  • internal/record/testdata/refuse/non-object-triage.golden
  • internal/record/testdata/refuse/non-object-verification.golden
  • internal/record/testdata/refuse/non-string-resolved.golden
  • internal/record/testdata/refuse/null-prior.golden
  • internal/record/testdata/refuse/numeric-body.golden
  • internal/record/testdata/refuse/numeric-path.golden
  • internal/record/testdata/refuse/numeric-suggestion.golden
  • internal/record/testdata/refuse/object-path.golden
  • internal/record/testdata/refuse/true-prior.golden
  • internal/record/testdata/refuse/true-suggestion.golden
  • internal/record/testdata/source/corrupt-pr.golden
  • internal/record/testdata/source/corrupt.golden
  • internal/record/testdata/source/dirty-head.golden
  • internal/record/testdata/source/dirty-string.golden
  • internal/record/testdata/source/garbage-provider.golden
  • internal/record/testdata/uncite/absent-keeps/rereview.golden
  • internal/record/testdata/uncite/explicit-clears/rereview.golden
  • internal/record/testdata/uncite/malformed-clears/rereview.golden
  • internal/record/testdata/uncite/null-keeps/rereview.golden
  • internal/record/testdata/verify/ambiguous-prefix/rereview.golden
  • internal/record/testdata/verify/bad-head/rereview.golden
  • internal/record/testdata/verify/contradict-exit/rereview.golden
  • internal/record/testdata/verify/contradict-timeout/rereview.golden
  • internal/record/testdata/verify/empty-cmd/rereview.golden
  • internal/record/testdata/verify/inconclusive/rereview.golden
  • internal/record/testdata/verify/on-addressed/rereview.golden
  • internal/release/fuzz_test.go
  • internal/release/release.go
  • internal/release/release_test.go
  • internal/report/next.go
  • internal/report/report.go
  • internal/report/show.go
  • internal/report/writeartifact_test.go
  • internal/retry/retry.go
  • internal/retry/retry_test.go
  • internal/scaffold/golden_test.go
  • internal/scaffold/scaffold.go
  • internal/scaffold/testdata/bad-preset.golden
  • internal/scaffold/testdata/chill.golden
  • internal/scaffold/testdata/dirty-tree.golden
  • internal/scaffold/testdata/json.golden
  • internal/scaffold/testdata/not-a-repo.golden
  • internal/scaffold/testdata/overwrite-json-refuse.golden
  • internal/scaffold/testdata/overwrite-refuse.golden
  • internal/scaffold/testdata/overwrite-yes.golden
  • internal/scaffold/testdata/preset-eq.golden
  • internal/scaffold/testdata/standard.golden
  • internal/scaffold/testdata/strict.golden
  • internal/scaffold/testdata/unknown-flag.golden
  • internal/schemacheck/cli.go
  • internal/schemacheck/cli_test.go
  • internal/schemacheck/keywords.go
  • internal/schemacheck/refs.go
  • internal/schemacheck/schemacheck.go
  • internal/schemacheck/schemacheck_test.go
  • internal/schemagen/additive_test.go
  • internal/schemagen/build.go
  • internal/schemagen/build_test.go
  • internal/schemagen/conformance_fetch_test.go
  • internal/schemagen/conformance_mutating_test.go
  • internal/schemagen/conformance_post_test.go
  • internal/schemagen/conformance_record_test.go
  • internal/schemagen/conformance_show_test.go
  • internal/schemagen/conformance_test.go
  • internal/schemagen/conformance_verbs_test.go
  • internal/schemagen/drift_test.go
  • internal/schemagen/envelope_contract_test.go
  • internal/schemagen/golden_envelope_test.go
  • internal/schemagen/model.go
  • internal/schemagen/overlay.go
  • internal/schemagen/overlay.json
  • internal/schemagen/print.go
  • internal/schemagen/schemagen.go
  • internal/schemagen/semantics_test.go
  • internal/schemagen/testdata/baseline/controls.schema.json
  • internal/schemagen/testdata/baseline/corpus.schema.json
  • internal/schemagen/testdata/baseline/cost.schema.json
  • internal/schemagen/testdata/baseline/envelope.schema.json
  • internal/schemagen/testdata/baseline/findings.schema.json
  • internal/schemagen/testdata/baseline/post.schema.json
  • internal/schemagen/testdata/baseline/record.schema.json
  • internal/schemagen/testdata/baseline/review.schema.json
  • internal/schemagen/testdata/baseline/threads.schema.json
  • internal/schemagen/testdata/baseline/usage.schema.json
  • internal/schemagen/threads_golden_test.go
  • internal/sig/sig.go
  • internal/sig/sig_test.go
  • internal/testenv/testenv.go
  • internal/testenv/testenv_test.go
  • internal/threads/threads.go
  • internal/trend/trend.go
  • internal/triage/golden_test.go
  • internal/triage/testdata/addressed-credits.golden
  • internal/triage/testdata/ambiguous-sig.golden
  • internal/triage/testdata/bad-triage-status.golden
  • internal/triage/testdata/corrupt-store.golden
  • internal/triage/testdata/dry-run-writes-nothing.golden
  • internal/triage/testdata/false-positive-credits.golden
  • internal/triage/testdata/force-short-rationale.golden
  • internal/triage/testdata/human-mode.golden
  • internal/triage/testdata/local-bundle.golden
  • internal/triage/testdata/missing-findings.golden
  • internal/triage/testdata/rationale-required.golden
  • internal/triage/testdata/unknown-flag.golden
  • internal/triage/testdata/unknown-sig.golden
  • internal/triage/triage.go
  • internal/verify/edge_contract_test.go
  • internal/verify/verify.go
  • package.json
  • pkg/verdict/api.txt
  • pkg/verdict/api_test.go
  • pkg/verdict/client.go
  • pkg/verdict/client_internal_test.go
  • pkg/verdict/doc.go
  • pkg/verdict/example_test.go
  • pkg/verdict/sdk_fetch_test.go
  • pkg/verdict/sdk_helpers_test.go
  • pkg/verdict/sdk_mutate_test.go
  • pkg/verdict/sdk_read_test.go
  • pkg/verdict/verbs.go
  • prompts/address-reviews.md
  • prompts/ci.md
  • prompts/fix-ci.md
  • prompts/grade.md
  • prompts/incremental-review.md
  • prompts/review.md
  • prompts/reviewer-subagent.md
  • prompts/system.md
  • release/contract.go
  • release/contract.json
  • release/contract_test.go
  • release/testdata/verdict.rb.golden
  • schemas/README.md
  • schemas/controls.schema.json
  • schemas/corpus.schema.json
  • schemas/cost.schema.json
  • schemas/envelope.schema.json
  • schemas/findings.schema.json
  • schemas/post.schema.json
  • schemas/record.schema.json
  • schemas/review.schema.json
  • schemas/threads.schema.json
  • schemas/usage.schema.json
  • schemas/validate.sh
  • scripts/brew-audit.sh
  • scripts/deadcode-baseline.txt
  • scripts/deadcode.sh
  • scripts/fake-npm.sh
  • scripts/generate-formula.mjs
  • scripts/generate-npm.mjs
  • scripts/npm-shim/platforms.gen.json
  • scripts/npm-shim/verdict.js
  • scripts/publish-npm.mjs
  • scripts/release.sh
  • scripts/review.sh
  • scripts/verdict
  • scripts/verdict-complete.sh
  • setup-verdict/action.yml
  • setup-verdict/hermetic-test.sh
  • setup-verdict/test-fixtures/make-fake-release.py
  • shim_test.go
  • skillfs.go
  • skillfs_test.go

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@SutuSebastian
SutuSebastian merged commit e6862e1 into main Nov 4, 2026
36 checks passed
@SutuSebastian
SutuSebastian deleted the agent/go-port branch November 4, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant