Formula
AFPR = (Lens findings dismissed
on agent-authored PRs
÷ total Lens findings
on agent-authored PRs)
× 100Thresholds
Lenses work for both
Monitor periodicallyLenses over-fire on agent code
Recalibrate via CHIReading it
AFPR shows whether Lens prompts over-fire on the structural patterns agents tend to produce. Agent code is typically more defensive, more verbose and more conditional than human code. A Lens written with human code in mind can flag those patterns even when the design intent is met.
A high AFPR on agent PRs does not mean the code is architecturally wrong. It may mean the Lens was authored around a specific human expression of a rule rather than the structural intent behind it.
That makes AFPR a Lens calibration metric. Prompts with a high AFPR on agent code need to be refined to detect the structural intent being evaluated, not the specific human expression of it.
How rkito produces it
AFPR is designed around two inputs: which PRs were agent-authored, and which Lens findings an architect later dismissed. Agent-authored PRs need to be identifiable from commit metadata — co-author signatures, agent labels, session IDs, or MCP access logs correlated with branch creation. Like the other agentic metrics, AFPR only gives a statistically valid signal once a meaningful fraction of PRs are agent-authored.
- 01
PR attributed to agent or human
Authorship identified from commit metadata
- 02
CDA evaluates the PR
Each applicable Lens produces a finding or a pass
- 03
Architect reviews findings
Findings judged not to be real violations are dismissed
- 04
Dismissal rates compared
Agent-PR dismissal rate vs. human-PR dismissal rate, per Lens
Who reads it
AFPR points to the specific Lenses whose findings on agent code keep getting dismissed. Those are the prompts to rewrite around structural intent rather than a human coding style.
If Lenses over-fire on agent code, agent conformance numbers look worse than the architecture really is. AFPR is the check before drawing conclusions from agent-vs-human comparisons.
Findings that are routinely dismissed teach teams to ignore Lenses. Keeping AFPR close to the human rate keeps CDA findings worth reading.
How it misleads
What to do at each signal
Step-by-step response playbook for each signal state.
Lens prompts are working well for both human and agent code.
- No calibration action needed. Monitor periodically as agent toolchain patterns evolve.
- Not yet in rkito: agent PR attribution, which this comparison depends on. Until it exists, the agent and human rates cannot be separated.
Lenses are over-firing on agent code. Find which ones, and rewrite them around structural intent.
- Navigate to
/changecontrols/designaudits, filter by agent-authored PRs (once attribution is available), and identify which Lenses are dismissed most frequently. Open each at/steerings/lensesto recalibrate the prompt. Not yet in rkito: agent PR attribution and an automated AFPR comparison view. - Recalibrate over-firing Lens prompts via CHI at
/changecontrols/changeintentionsso they detect the underlying structural pattern rather than a human-specific expression of it — agent code is more defensive and verbose.