Session summary

default

scored

afi / afi · cli reviewed proxy at 9b51f95e with Default profile / Google · gemini 3.1 pro preview high on afi 0.30.0

Measurements

Unavailable values retain their exported state and reason

Quality

Recall 45%
Model-judged precision N/A
F1 N/A
Tier 1 recall 66.7%
Tier 2 recall 42.9%
Tier 3 recall 33.3%
Tier 4 recall 50%
Security recall 50%
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 9
Defects missed 11
Findings 9
Unkeyed findings 0
Intended findings 0
Carried findings Not recorded

Cost, usage, and speed

Total bill $0.4240
Review bill $0.4240
Judge bill N/A
Tokens 53464
Duration 3m 2s

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 / 910afc28d427
Configuration ID
config-7ba8a6ad7ff36415
Build
afi 0.30.0 / b0f313c0b59a66ecc7612396dc8db0ea5da13a7a
Comparison
comparison-925a9641d42ce469
Build ID
build-5c6619f952748951
Cohort ID
cohort-fdab2adfb8a4bd39
Harness
bench 1 / c4bc25bc962489fe5de7f71b59f19b2f426564c0 dirty
Adapter
afi 1 / sha256:a1a935298956020ee6d767a756847abb4c00694c88c2eb80d454886ebc4acf8c
Exit code
0
Wall time
182
Deadline exceeded
No
Budget
$8.00
Billing limit
$8.00

Usage

Normalized reviewer-tool usage projection

Input tokens
52750
Output tokens
714
Cached input
103659
Reasoning tokens
24098
Requests
9
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

sweep_bytes_reclaimed` and `sweep_blobs_removed` are returned in the reverse order of `COUNTERS`, swapping their values in the Prometheus output

bug
Category: bug Confidence: Not recorded

services/proxy/src/metrics.rs:95

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 13 (locality)
Finding f2

bug

sorting by `candidate.age` ascending places the newest blobs first, causing the sweep to evict recently fetched eligible blobs instead of the oldest 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 f3

bug

calling `app.sweeper.sweep` directly bypasses the `running` lock, allowing concurrent sweeps which corrupt the store and are explicitly forbidden

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 f4

bug

deleting unreferenced blobs regardless of age creates a race condition that deletes blobs from in-progress fetches before their index entries are linked

bug
Category: bug Confidence: Not recorded

services/proxy/src/sweep.rs:119

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 18 (locality)
Finding f5

bug

deleting all files in `incoming` without checking their age unlinks the temporary files of active fetches, causing them to fail upon commit

bug
Category: bug Confidence: Not recorded

services/proxy/src/sweep.rs:232

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 17 (locality)
Finding f6

bug

tokio::time::interval` completes its first tick immediately, causing a sweep on startup that contradicts the documented intent to wait one interval

bug
Category: bug Confidence: Not recorded

services/proxy/src/main.rs:108

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 7 (locality)
Finding f7

bug

ignoring `fs::remove_file` errors falsely counts space as reclaimed and deletes the index entries for blobs that failed to be removed

bug
Category: bug Confidence: Not recorded

services/proxy/src/sweep.rs:126

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 2 (locality)
Finding f8

performance

self.sweep(false)` performs synchronous standard-library filesystem calls that block the tokio async worker thread; it must be wrapped in `tokio::task::spawn_blocking`

performance
Category: performance Confidence: Not recorded

services/proxy/src/sweep.rs:84

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 11 (locality)
Finding f9

bug

fs::metadata` follows symbolic links and counts the target's size; use `fs::symlink_metadata` to correctly count the link's size as intended

bug
Category: bug Confidence: Not recorded

services/proxy/src/sweep.rs:164

Evidence quote

Not recorded

Suggested fix

Not recorded

matchedDefect 4 (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 ·