PaperarXiv:2611.34377 · cs.SE · Nov 25, 2026
SmartLens: Turning AI Agent Changes into Learning, Review, and Risk Signals in the IDE
Vahid Etemadi, Gregorio Robles
The body is more careful than the abstract, but the three headline results do not hold up: 8/12 is a planted script, 253 is a lexical max under whole-commit co-author labeling, and Risk is not better than recent churn once the authors' own control is used. No result here is something a harness builder should treat as measured.
Novelty
2 out of 5Rigor
1 out of 5Reproducibility
2 out of 5Relevance to harnesses
1 out of 5
TL;DR
IntelliJ plugin that labels pending edits as agent, developer, or mixed, then lists lexical skills, a hand-weighted review order, and a churn-based hotspot score. The abstract's 8/12, 253-skill, and risk lines rest on scripted cases and a tiny, confounded repo sample.
Adversarial review by Harness Hub · Nov 28, 2026 · read full text · Suggest a correction
Original abstract (authors’ text, select to expand)
Developers increasingly act as managers of AI agents: they hand tasks to AI coding agents and then have to understand, verify, ship, and learn from what the agents produce. IDEs and recent tools can show which committed lines were written by AI, but they do not attribute the pending changes of external agents, and they do not use attribution to help the developer review, learn, or judge risk. We present SmartLens, an IntelliJ IDEA plugin that attributes changes to an AI agent, the developer, or both. It combines this attribution with the Git history to support three goals: (i) Learn compares the skills (APIs, language features, annotations) that agents used with the skills the developer has used in their own commits; (ii) Understand ranks pending changes by review priority; and (iii) Risk shows hotspots: files that change often, are mostly written by AI, and that the developer barely knows. In a preliminary evaluation, SmartLens attributed 8 of 12 scripted IDE scenarios correctly; all failures were in (expected) blind spots. On 8 Open Source Software repositories with agent co-authored commits, agents introduced up to 253 skills that do not appear in the main developer's own commits. The Risk ranking was as good as or better than plain churn at predicting later bug fixes, but part of this gain is due to recency.
Filed underevaluationcoding-agentsagents
Summary
SmartLens is an IntelliJ IDEA plugin (about 2.3k lines, 49 classes) that attributes uncommitted changes from editor events, external disk writes, an optional agent hook log, and Git author or Co-authored-by trailers, then builds three views from Git history: Learn (lexical APIs, annotations, and language features in agent edits but not in the developer's own commits), Understand (Equation 1 review priority), and Risk (Equation 2: churn times agent line share and low familiarity). RQ1 is 12 scripted headless scenarios. RQ2 mines up to 2,000 non-merge commits on 8 Java/Kotlin repos found via Co-Authored-By: Claude. Understand is not tested. No user study. History treats a matching commit as entirely agent.
Key findings
- Abstract and Table II: attribution was correct on 8/12 scripted scenarios with the default 5 s Git quiet period, and 7/12 with that period removed. The four 5 s misses are the planted blind spots (edit within 1 s scored Agent not Mixed; in-IDE assistant scored Developer, or Mixed with a hook; external formatter scored Agent).
- Table III, wisp: 218 commits, 140 agent (64%), 95% AI lines, |V_dev| 64, New 253. That 253 is the abstract's 'up to 253'. kotlinstall has |V_dev| 0 and New 120; xemantic-kotlin-script has |V_dev| 12 and New 161.
- Section V-B and Table IV: versus plain churn, Risk top-10 precision was never worse and was better on three of six repos. Versus recent churn it was better on two and worse on two. Examples: libseqera SmartLens .50, churn .20, recent .70; asciidoctorj-pdf SmartLens .30, churn .30, recent .50; wisp SmartLens .30, churn .10, recent .20. lifx-client Base .38 exceeds SmartLens .30.
- Section V-B drops kotlinstall and xemantic-kotlin-script from the risk test because the held-out 20% has at most one fix commit. Remaining fix counts in Table IV are 6, 2, 3, 1, 20, and 9. Fix commits are keyword-matched.
The paper at a glance
- Editor typing, external disk writes, agent hook log, Git trailers
- File attribution: Agent, Mixed, Developer, or Unknown
- Developer vocabulary, familiarity, churn, and author count from Git
- Learn skill gap, Understand review rank, Risk hotspot score
Data table
| Method | count of 12 |
|---|---|
| SmartLens, 5 s quiet period (this paper) | 8 count of 12 |
| Ablation, 0 s quiet period | 7 count of 12 |
Why it matters
This paper is not useful to someone building an agent loop, tool router, memory store, or eval harness. It is an IDE overlay for a human who already delegated edits to terminal agents such as Claude Code, Codex, or Aider. The only transferable point is that commit-time AI blame misses pending external-agent edits. Nothing in the evaluation shows that the labels, skill list, or risk rank change review quality or what a developer later knows.
Issues (5)
- High severityWhere in paper: Abstract; Section V-A; Table II; Section V-C
The abstract's 8 of 12 is a scripted headless checklist, not accuracy on real sessions. Table II's four misses are cases the authors planted: developer edits within 1 s (prose also cites a 3 s reload window) scored Agent instead of Mixed; in-IDE assistants scored Developer, and Mixed rather than Agent even with a hook entry; external formatters scored Agent. Section V-C says the scenarios measure known cases, not accuracy in real use. CLI disk writes, the case the introduction emphasizes, are among the passes, so the abstract's success rate still does not cover in-IDE agents on the IDE this plugin targets.
- High severityWhere in paper: Abstract; Table III; Section III-C; Section V-B; Section V-C
The abstract's 'up to 253 skills' is the wisp row in Table III (New 253, |V_dev| 64, 95% AI lines), a maximum on a repo that is already 95% agent-added lines, not a typical gap. Section V-B says that when almost every commit is co-authored the developer vocabulary is nearly empty and every agent feature counts as new, and that vocabulary then has to come from other repositories, which this study does not do. That caveat fits kotlinstall (|V_dev| 0, New 120) and xemantic-kotlin-script (|V_dev| 12, New 161) more tightly than wisp, but the same pipeline produces the headline number. Features are lexical extracts from diff fragments. Section V-C states Learn does not measure whether anyone learns them.
- High severityWhere in paper: Table I; Table III; Section V-B; Section V-C; Section VII
History attribution inflates both headline empirical claims. Table I and Section VII: a commit whose author or Co-authored-by trailer matches an agent is attributed as a whole, so lines the human wrote in that commit are not in V_dev and count toward agent share s_f. Section V-C: the sample was found only via Co-Authored-By: Claude, and agent commits without trailers are counted as human. The paper does not measure how many of the 253 'new' features, or of the AI-line shares in Table III, are human-written lines inside co-authored commits.
- High severityWhere in paper: Abstract; Table IV; Section III-C Equation (2); Section V-B
Risk is reported against the weaker baseline. The abstract's 'as good as or better than plain churn' matches Table IV, and the abstract does add that part of the gain is recency, but it omits the mixed result versus recent churn: better on two repos and worse on two (libseqera .50 vs recent .70; asciidoctorj-pdf .30 vs .50). Section III-C says the Equation 2 weights were not tuned on this data. With 1 to 20 keyword-matched fixes, a .10 gap in top-10 precision is one file. Table IV also prints a Base column that Section V-B never defines; on lifx-client Base .38 exceeds SmartLens .30.
- Medium severityWhere in paper: Abstract; Section III-C Equation (1); Section V
Understand, one of the three advertised views, has no evaluation. Equation (1) is an untuned heuristic (origin 0.5, size 0.3, unfamiliarity 0.2). Section V defines only RQ1 (attribution) and RQ2 (Learn and Risk). The abstract describes review ranking as a delivered function next to the numbers, which overstates what was measured.
Questions for the authors
- What fraction of real pending edits fall in the Table II blind spots, and what is origin accuracy on those sessions with and without the hook log?
- If co-authored commits were split by who added each line, and if V_dev were taken from the developer's other repositories as Section V-B says is required, how many of the 253 wisp features remain?
- What is the Base column in Table IV, and why is plain churn the abstract baseline when recent churn is worse for SmartLens on two of six repos?
- What defect-finding or later-recall difference would a with/without user study need before Understand or Learn is claimed to change review or learning?
Related in the directory
Open-source projects
Open source · Anthropic
Open source · OpenAI
Open source · Aider AI
More tools on the same problem
Products and open-source projects in the directory closest in meaning to this paper.
Open source · boshu2
Open source · agent-sh
Open source · softaworks
Open source · Arize AI
Open source · Alibaba
Open source · openqodex
Related papers
arXiv:2610.32578 · cs.SE · Oct 23, 2026
AI coding agents increasingly work inside a harness: rule files such as AGENTS.md, on-demand skills, runtime hooks and automated checks. Most studies of harnesses look at a single point in time or at short benchmark runs. I report a six-week case study of my personal system of record, a plain-markdown repository that three AI agent tools edited daily under one shared rule set. I built a ledger of 118 agent failures, their fixes and whether they came back. I also tested the system's monthly LLM documentation audit against 47 known stale statements and 20 planted errors. Finally, I replayed five past failures in isolated git clones, with and without their fixes. All results come from one repository with three runs per condition, so I report them as exploratory. Stale documentation (drift) was the largest failure class (48 of 118), although 35 of those were found on one audit day. A single audit run found about half of the known drift (Claude Sonnet 5.5 mean: 50%), and at least 93% of its findings were correct. On Sonnet 5.5, the agent finished four of the five replayed tasks. In three of those four, the failure did not happen, with or without its fix. Only the stale-count failure came back without its check, and the check stopped it in every run. On older models, an agent drafted an em-dash once while the em-dash lint check was active, and the check rejected it. A written rule on run-time estimates did not change Sonnet 4.5's overestimates. These results suggest that harness lessons can outlive the failures they were written to fix, while drift persists and still needs mechanical checks. Tools that evolve a harness add lessons faster than they retire them, so they should re-test their rules from time to time and retire the obsolete ones.
Hassan Hassanzadeh Aliabadi
arXiv:2611.21501 · cs.SE · Nov 16, 2026
Software engineering courses are starting to ask students to build entire systems with AI coding agents, but little is known about what students actually do with them and whether they still own what they deliver. If the agent writes both the code and the decisions behind it, the artifacts we grade no longer show what students learned. We studied an assignment in which 18 pairs of students built applications with agents under Spec-Driven Development, combining the mined history of their repositories, the prompts they recorded, and a survey of 33 students. The agents wrote 69\% of the specifications meant to keep students in control, sometimes from a prompt of a few words. Students locate their ownership in the ideas, crediting themselves with half of them but a fifth of the code, yet most could not explain that code to a colleague or modify it without the agent, and what they report having written is unrelated to what their own commits declare. The three teams that met the 100,000-line target did so with generated code the application never uses, in one case proposed by the agent itself, and one team rewrote its history to backdate its specifications. Teaching with agents should therefore assess what students specify, review, and can explain, rather than what they ship, and enforce the engineering process with tools rather than trusting it to students or agents.
Gustavo Pinto, Enne Rebeca Silva de Freitas +1
arXiv:2610.34098 · cs.SE · Oct 25, 2026
Pull requests written by coding agents can pass a project's test suite while omitting a guard or a validation step. To find the missing condition, a reviewer currently relies on static analysis of the final code. An agent-generated change, however, is accompanied by a development history that a human commit does not provide. The agent's trajectory records each edit together with the agent's stated assumptions, and structural differencing shows how each changed function evolved. We present TRACER, a workflow that uses this development history as evidence for security review. TRACER tracks changes at the symbol level, treats the agent's recorded rationale as claims to be verified against the current code, accepts a repair only after assessment and functional validation, and attaches to each accepted repair an executable check that later changes must satisfy. On the SusVibes benchmark, symbol-level tracking places the vulnerable symbol in the review scope for 94.6% of agent patches, compared with 13.4% for the primary scanner warning. With two investigator models, the configuration that includes the agent's rationale yields the largest number of verified security repairs while preserving functionality, and adding AST history to it does not increase that number. A funnel analysis identifies where the remaining candidates are lost. In a study of structural-biology software, the combination of repair memory and a boundary check allows a subsequent feature request to succeed in nine of ten tasks without reintroducing the repaired vulnerability, whereas functional feedback alone succeeds in four and reintroduces the vulnerability in three.
Prateek Kumar Rajput, Shahzeb Khan +4
arXiv:2610.32313 · cs.SE · Oct 23, 2026
AI coding agents are increasingly integrated into software development workflows. However, most coding agent studies rely on benchmarks similar to SWE-bench, which assume autonomous agents operating in a single trajectory. This assumption does not mirror real-world usage, where developers interactively collaborate with agents. We address this gap by studying human-in-the-loop agent trajectories in the wild, focusing on 7,581 Copilot-authored PRs with publicly accessible session data. We find that 58% of Copilot PRs have no human intervention, and that when developers do intervene, collaboration is brief (median of 2 Human-AI loops). Merged PRs also tend to have fewer initial trajectory iterations than unmerged ones. We also find that the trajectory following the first human intervention exhibits a significant drop of 20.8 iterations and 8.4 min in duration. However, trajectories following later interventions show minimal iteration drops and no significant duration change, signifying that most of the work happens in the initial trajectory. Our qualitative analysis of illustrative PRs explains this pattern: many developer interventions are small, focused requests that Copilot completes in shorter later trajectories. We also illustrate that developers collaborate with Copilot in multiple ways, including delegated work through feedback as well as adding their own commits. However, we find that developers may need to guide Copilot through multiple (sometimes repeated) interventions in the PR, or even across multiple editions of the PR.
Izah Sohail, Yerdanat Kurmantayev +2
arXiv:2610.31715 · cs.SE · Oct 22, 2026
Coding agents can be guided with instruction files in a repository. We examine this emerging practice through a census of popular, active GitHub repositories in thirteen languages, treating each repository's root AGENTS.md and CLAUDE.md as one instruction set. Agent instructions appear in of repositories and of the most-starred; where both files exist, CLAUDE.md usually points to AGENTS.md. We analyse statements using model-assisted annotation and human review. The annotations reveal a practical mix of project knowledge and rules about code, building and workflow. Collaboration rules name concrete requirements, from test plans to commit formats, yet of directives give no reason. Projects disagree on AI attribution: commit-message rules more often prohibit it than require it, while pull-request rules more often require disclosure. A third of instruction sets have a generator-associated signature, a tool-inserted block, shared text or an AI-marked creation commit; four in five are edited after creation. Prespecified tests associate repository popularity with rules on pull requests and AI contributions. Exploratory analyses link activity to process-oriented content and show that LLM and agent projects are over-represented among adopters. The models agree much more closely with each other than with the human reviewer's topic assignments, a caution for automated annotation. We release the annotations, taxonomies and pointers to the analysed file versions.
Pawel Zarzycki
arXiv:2610.29870 · cs.SE · Oct 21, 2026
Coding agents can invest substantial effort in repository exploration and testing yet still produce unsuccessful patches. Existing online steering methods review trajectories periodically or invoke an advisor when a monitor detects behavioral problems; frequent reviews are costly, and the absence of anomalous behavior does not mean that an agent is on the right track. We propose PAUSE, a framework for steering coding agents with a single planning intervention. Agents reach their first source-code edit at a median of 60% of trajectory progress, after exploration, bug reproduction, and testing. PAUSE intercepts this edit request before it executes, which requires no learned monitor, no search over checkpoints, and no extra model call (search-free). A separate Planner reads the task and the pre-edit transcript and writes one repair plan; the same agent, the Executor, resumes with this plan, keeping its context and workspace. PAUSE applies online, during a live run, and offline, from a recorded trajectory prefix. We evaluate PAUSE on SWE-bench Verified and SWE-bench Multilingual with two Executors and three agent harnesses. With Qwen3-coder as Executor and GPT-5.6 Sol as Planner, online steering improves resolution by 16.8% on Verified in OpenHands and by 14.7% on Multilingual in SWE-agent. In SWE-agent, PAUSE outperforms LivePlan, a rule-triggered advisor, by 3.2% on Verified and 3.7% on Multilingual at similar Planner cost, and is comparable to SICA's periodic overseer at about 11-15% of its Planner cost. Offline, PAUSE recovers 35.4% of eligible failed Verified tasks, and resuming from the recorded prefix uses 33-41% fewer Executor tokens than restarting.
Viral Patel, Boyin Tan +2