Session summary

default

scored

afi / afi · cli reviewed proxy at 9b51f95e with Default profile / xAI · grok 4.5 high on afi 0.30.0

Measurements

Unavailable values retain their exported state and reason

Quality

Recall 40%
Model-judged precision N/A
F1 N/A
Tier 1 recall 66.7%
Tier 2 recall 28.6%
Tier 3 recall 50%
Tier 4 recall 25%
Security recall 0%
Defect recall 53.8%
Maintainability recall 0%
Performance recall 33.3%
Median anchor distance 0
Worst anchor distance 0
Refusals a judge overturned Not recorded

Review outcomes

Distinct matched defects 8
Defects missed 12
Findings 8
Unkeyed findings 0
Intended findings 0
Carried findings Not recorded

Cost, usage, and speed

Total bill $0.1491
Review bill $0.1491
Judge bill N/A
Tokens 38735
Duration 2m 25s

Execution and identity

Lifecycle, reviewer, build, settings, and normalized execution limits

Lifecycle
completed
Lifecycle reason
Not recorded
Started
Finished
Reviewer
afi
Reviewer tool
afi · cli
Configuration
default / 1a9fd43b245e
Configuration ID
config-e42343de8516eb8c
Build
afi 0.30.0 / b0f313c0b59a66ecc7612396dc8db0ea5da13a7a
Comparison
comparison-041168a6e4dbca97
Build ID
build-4ceb7cbd44e9619b
Cohort ID
cohort-fdab2adfb8a4bd39
Harness
bench 1 / 10b3b2068100b7ba429855e062500eaf83b90120 dirty
Adapter
afi 1 / sha256:a1a935298956020ee6d767a756847abb4c00694c88c2eb80d454886ebc4acf8c
Exit code
0
Wall time
145
Deadline exceeded
No
Budget
$2.00
Billing limit
$2.00

Usage

Normalized reviewer-tool usage projection

Input tokens
37754
Output tokens
981
Cached input
94976
Reasoning tokens
6534
Requests
5
Models counted
Not recorded

Judge

Normalized assessment summary

Judge data is N/A for this run

Findings

Review text is escaped; normalized decisions follow each finding

Finding f1

bug

forget()` always deletes index entries, including when `dry_run` is true, so `POST /v1/admin/cache/sweep?dry_run=true` mutates the store and turns would-be victims into cache misses.

bug
Category: bug Confidence: Not recorded

services/proxy/src/sweep.rs:140

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 12 (locality)
Finding f2

bug

clear_partials` unlinks every file in `incoming`, including in-flight `BlobWriter` temps still being fetched; the later `rename` in `commit` then fails with ENOENT and the download is lost.

bug
Category: bug Confidence: Not recorded

services/proxy/src/sweep.rs:224

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 17 (locality)
Finding f3

bug

sort_by_key(|c| c.age)` orders youngest→oldest, so ceiling eviction deletes the most recently written blobs first and keeps cold ones.

bug
Category: bug Confidence: Not recorded

services/proxy/src/sweep.rs:102

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 1 (locality)
Finding f4

bug

values()` emits `sweep_bytes_reclaimed` then `sweep_blobs_removed`, but `COUNTERS` names them in the opposite order, so Prometheus scrapes swap the two series.

bug
Category: bug Confidence: Not recorded

services/proxy/src/metrics.rs:94

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 13 (locality)
Finding f5

bug

on-demand `sweep()` calls `Sweeper::sweep` directly and skips the `running` mutex that `run()` holds, so a manual sweep can race the background sweeper and over-delete.

bug
Category: bug Confidence: Not recorded

services/proxy/src/routes/admin.rs:76

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 6 (locality)
Finding f6

bug

the full filesystem walk/`unlink` pass runs inline on the async worker (admin handler and `run()` after `lock`), so a large store stalls the runtime and other requests for the whole sweep.

bug
Category: bug Confidence: Not recorded

services/proxy/src/sweep.rs:90

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 11 (locality)
Finding f7

bug

tokio::time::interval` fires its first tick immediately, so the process sweeps on startup contrary to the “first tick is one interval away” guarantee in the comment above.

bug
Category: bug Confidence: Not recorded

services/proxy/src/main.rs:108

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 7 (locality)
Finding f8

bug

a failed `remove_file` is only logged; the blob is still counted as reclaimed and its digest is still passed to `forget()`, dropping index entries while the bytes may remain on disk.

bug
Category: bug Confidence: Not recorded

services/proxy/src/sweep.rs:126

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 2 (locality)

Source artifacts

Open a row to inspect or download evidence from this atomically published local run

findings present

Open verified source artifact

Open this path at the exported commit

The artifact is present; its content is available through the verified source link

meta present

Open verified source artifact

Open this path at the exported commit

The artifact is present; its content is available through the verified source link

record present

Open verified source artifact

Open this path at the exported commit

The artifact is present; its content is available through the verified source link

result present

Open verified source artifact

Open this path at the exported commit

The artifact is present; its content is available through the verified source link

spend present

Open verified source artifact

Open this path at the exported commit

The artifact is present; its content is available through the verified source link

stderr present

Open verified source artifact

Open this path at the exported commit

The artifact is present; its content is available through the verified source link

summary present

Open verified source artifact

Open this path at the exported commit

The artifact is present; its content is available through the verified source link

traffic present

Open verified source artifact

Open this path at the exported commit

The artifact is present; its content is available through the verified source link

benchee benchee-dashboard-1 built from 10f4ec58 Static benchmark evidence ·