Harness Hub
All papers

Useful but Unwieldy: How Software Engineers Perceive the Design of Chain-of-Thought Explanations in Coding Agents

Carlos Rafael Catalan, Lheane Marie Dizon, Patricia Nicole Monderin, Hyo Jin Do, Qiaosi Wang

Verdict: Incremental

This is a small formative survey. Its observations about verbose, detached reasoning traces are plausible and relevant to coding-agent UI design. The abstract overstates the interview sample and the 'indispensable' finding, almost no quantitative survey results are reported, the stimuli were synthetic plan-mode vignettes, and no proposed design is evaluated.

  • Novelty

    2 out of 5
  • Rigor

    2 out of 5
  • Reproducibility

    2 out of 5
  • Relevance to harnesses

    3 out of 5

TL;DR

A survey of 36 respondents plus 4 short follow-up interviews about the chain-of-thought message that Cline shows in plan mode. Respondents say the message helps when the agent is wrong, but is verbose, mismatched to their expertise, and reads like the agent talking to itself. The paper proposes untested UI ideas: summaries, flowcharts, CoT-to-code links and voice.

Adversarial review by Harness Hub · Nov 26, 2026 · read full text · Suggest a correction

Original abstract (authors’ text, select to expand)

Coding agents (CAs) powered by Large Language Models (LLMs) are increasingly integrated into software engineering (SE) workflows. As these CAs take up more tasks and responsibilities, it is imperative for software engineers to understand the CA's rationale behind its' decisions, also known as the chain-of-thought (CoT). During the interaction, some CAs are capable of showing this CoT as a separate message to users with the goal of providing transparency and explainability. However, its effectiveness as an explainable AI (XAI) mechanism for end-users in software engineering has not yet been established in the literature. This motivates us to understand their experiences with the CoT message as an XAI tool through a survey and semi-structured follow-up interviews with 36 software engineers. Through thematic analysis of the survey responses and interview transcripts, we found that CoT message is an indispensable tool for software engineers in terms of transparency, scrutability, and trust towards the CA. However, various instances of CoT messages being overly verbose, containing technical information that does not match the users' expertise, or being perceived by the users as ``detached'' from the conversation because the ``agent is talking to itself'', lead to comprehension difficulties and selective use or abandonment of the tool. We synthesize these insights to inform the design of CoT messages that support software engineers in their explainability needs.

Filed undercoding-agentsagentsllm

Summary

The authors study how software engineers perceive the chain-of-thought (CoT) message that coding agents surface in the IDE. Method: - A Qualtrics survey with 36 valid responses: 26 from one company and 10 from university students. - Each respondent evaluated one vignette of Cline in plan mode, built from DevGPT prompts. The survey text calls it 'a synthetic scenario'. The paper describes 60 vignettes: 5 task categories x 3 prompts x 4 languages. - 15-minute follow-up interviews with 4 participants, chosen because their free-text answers looked vague. - Inductive thematic analysis by three authors. Three themes: 1. Misalignment with user background and goals. 2. The CoT message is not worth the cognitive effort by default; it becomes useful when the agent errs. 3. Visualizations should respect how the content is represented, especially source code. Three design considerations follow: - A 'getting-to-know' phase so the agent can build a model of the user. - Phase-specific presentation: hierarchical summaries and a flowchart toggle in planning; CoT-to-output attribution links in execution. - Voice delivery of the CoT. The only quantitative results reported are the demographic percentages and the share of respondents wanting visualizations for code (8.3%) versus text (19.4%).

Key findings

  • Survey N=36 (26 company, 10 university); follow-up interviews N=4, 15 minutes each (Sections 3.2 and 6).
  • Experience: 61% had 1-5 years, 19% more than 10, 11% less than 1, 8% 6-10 (Section 3.1).
  • Fewer respondents wanted visualizations for source code in the CoT (8.3%) than for its text parts (19.4%) (Section 4.3).
  • Participants described the CoT as too long, full of unfamiliar jargon, sometimes circular, and 'detached' ('the agent monologue-ing'). Interviewees said they return to it mainly when the final output is wrong (Sections 4.1-4.2).
  • Proposed designs, shown only as a wireframe and not evaluated (Section 5, Fig. 2): - Summary by default with detail on demand. - A flowchart toggle in plan mode. - Bidirectional links between CoT premises and code in execution. - Voice delivery of the CoT.

The paper at a glance

01Recruit 26 companyengineers and 10students02Survey on AI useand CoT habits03Show one syntheticCline plan-modevignette (DevGPTprompt,respondent's…04Free-text painpoints andvisualizationpreferences054 follow-upinterviews (15 min)06Inductive thematicanalysis by 3authors073 themes, 3 designconsiderations,wireframe
  1. Recruit 26 company engineers and 10 students
  2. Survey on AI use and CoT habits
  3. Show one synthetic Cline plan-mode vignette (DevGPT prompt, respondent's language)
  4. Free-text pain points and visualization preferences
  5. 4 follow-up interviews (15 min)
  6. Inductive thematic analysis by 3 authors
  7. 3 themes, 3 design considerations, wireframe
Fig. 1 — How the paper works, step by step (arXiv:2611.30894).

Why it matters

The topic matters to anyone building a coding-agent harness. Every harness that streams thinking, plan text or tool reasoning has to decide how to show it. The reported observations match what builders already see: users skip the trace when the output looks right, dig into it when the output is wrong, ignore long traces, and read them as the agent talking to itself. The attribution idea is a concrete feature a harness could build and test: link each code change back to the reasoning premise that produced it. 'Summary by default, detail on demand' is also concrete. The evidence is thin. It comes from 36 respondents who each judged one synthetic static vignette of Cline in plan mode, plus four 15-minute interviews. The survey's quantitative items are mostly unreported, and none of the proposed designs was built or tested. Treat it as a list of hypotheses to A/B test in your own harness, not as evidence for any particular design.

Issues (8)

  • High severity

    The abstract says the study used 'a survey and semi-structured follow-up interviews with 36 software engineers'. Only 4 of the 36 were interviewed, for 15 minutes each, and they were selected because their answers looked vague. Several headline findings rest mainly on statements from these interviewees (P6, P11, P14, P17 per Table 2): the 'detached'/'talking to itself' perception, and the CoT becoming useful when the agent errs.

  • High severity

    The abstract calls the CoT message 'an indispensable tool' for transparency, scrutability and trust. The introduction says its utility 'arises for SE tasks such as bugfixing and code generation'. Neither claim has reported numbers behind it. The paper gives no results for: - Q9: how often respondents view CoT, including how many answered Never. - Q10: task types. - Q11: reasons for reading CoT. - Q13: Likert statements. - Q15: comprehension. Theme 4.2 is titled 'Not Worth The Cognitive Effort (By Default)', and several quotes say participants ignore the message.

  • High severity

    Ecological validity is weak: - Each respondent evaluated a single static vignette, which the survey itself calls 'a synthetic scenario', not a live agent session. - Only one agent (Cline) was used, only in plan mode. - Prompts came from DevGPT, a ChatGPT dataset, not from the respondents' own work. The authors assert that plan-mode findings 'are generalizable to the execution phase' without any execution-phase data. DC2.2 is nonetheless built on that phase.

  • Medium severity

    The survey conflates prompting an LLM to show CoT with the agent's surfaced reasoning message. Q9 asks how often respondents 'prompt any LLM to show its Chain of Thought'. Q8 also primes respondents by stating that CoT gives more accurate answers. Responses such as 'It has nothing to do with me' may reflect this framing or chat-LLM habits rather than the coding-agent UI.

  • Medium severity

    The method reporting is incomplete: - The code count is garbled ('3 final themes with a total of 1: codes'). - No inter-coder process or agreement is reported. - Table 1 lists only example codes. - '36 valid responses' is given without saying how many responses were excluded, for example by the Q14 attention check. The sample is narrow: one company plus one university's students, with 61% having 1-5 years of experience.

  • Medium severity

    DC3 (voice output for the CoT) is derived from cited theories (Mayer and Moreno; Kock), not from any participant response shown in the paper. The flowchart and attribution designs in Fig. 2 are unevaluated. The claim that the attribution design is 'generalizable to diverse software engineering contexts' rests only on two participant suggestions (P6, P10).

  • Low severity

    The claim that 'CAs perform exceptionally well in SE benchmarks that their output is mostly reliable' is used to explain why users skip the CoT. It is uncited and was not measured in the study.

  • Low severity

    The visualization preference contrast (8.3% for code vs 19.4% for text) covers only a few of the 36 respondents. No test is reported, yet the contrast is used to support a theme.

Questions for the authors

  • What were the response distributions for Q9, Q10, Q11, Q13 and Q15, and how many respondents answered Never to Q9? Do these support 'indispensable'?
  • How many responses were excluded before reaching 36 valid ones?
  • How many distinct codes did the thematic analysis produce, and how were disagreements between coders resolved?
  • Were the vignette CoT messages generated by actual Cline runs or written by the authors?
  • Would the 'detached' perception hold in live sessions with execution mode, tool calls and the user's own repository?
  • Did any participant request voice output, or is DC3 purely theory-driven?
  • How would premise-to-edit attribution links be computed reliably, given known CoT unfaithfulness?

Related in the directory

Open-source projects

The coding agent used for all vignettes (plan mode); chosen for its plan/act separation and its open source code for future prototypes.
Cited in the introduction as an example coding agent.
Cited in the introduction as an example coding agent.

More tools on the same problem

Products and open-source projects in the directory closest in meaning to this paper.

Prevent wasting time building the wrong thing. A plugin that keeps you and your AI coding agent focused, from first idea to market.
Model-driven harness for AI coding agents with semantic modeling and verification.
Codebase standards and spec shaping for spec-driven agent development.
A design vocabulary for coding agents: polish, bolder, critique, audit.
A control plane for an AI software factory: governed, stateful agent workflows across the software lifecycle.
An open-source harness builder that runs coding agents through YAML workflows.

Large language model (LLM)-based coding agents increasingly resolve real-world software engineering tasks, yet still fail on many of them. Prior trajectory studies characterize these failures through task-agnostic patterns of agent behavior, such as repeated actions. However, an agent may follow a sound workflow yet act on a faulty understanding of the existing code, the task requirements, or a candidate fix. Reasoning models, which power most state-of-the-art coding agents, reveal this understanding in their native chain-of-thought (CoT), whose claims about the task can be checked against the facts. Yet it remains unclear how many such checkable claims the CoT contains, how many are faulty, and whether faulty claims actually cause incorrect patches. We present the first empirical study of such claims, which we term task-grounded reasoning, analyzing 400 trajectories of four open-weight reasoning models on SWE-bench Pro. We extract atomic claims from the CoT with an LLM, assess them against evidence gathered by an LLM agent, and manually trace the defects of incorrect patches back to faulty claims, confirming each link with a claim-corrected replay. Task-grounded reasoning covers only 18.5% of the CoT tokens, yet yields 191 atomic claims per trajectory, at least 9.6% of which are faulty. Faulty claims also occur in 96.7% of the resolved trajectories, so their mere presence is a weak signal of failure. Yet two thirds of the 188 incorrect patches trace back to faulty claims. Correcting such a claim makes the agent fix the linked defect in 89.0% of the cases, and correcting all such claims resolves 11.7% of the failed tasks. Our findings show that the CoT carries task-specific signals for diagnosing and repairing agent failures, but exploiting them requires pinpointing the few faulty claims that actually cause patch defects.

You Wang, Jinjun Huang +4

Coding agents succeed or fail in the context humans give them, yet most evaluations measure only output. Drawing on developer experience research, we introduce Agent Experience (AX), an instrument that scores session transcripts on four dimensions of the CAFE(S) framework: Clarity, Actionability, Fidelity, and Efficiency; Security, a gate rather than a friction dimension, is out of scope. A rubric-guided language model rates each dimension from 1 to 5 and explains what the human could have provided. We report on three studies that tested this model. In the Stack Overflow Developer Survey, respondents reporting context problems were less likely to rate AI as very useful in all seven activities examined (12-28%). Across 882 rated agentic sessions from a pilot sample of 1,000, Actionability received the lowest ratings (59.6% of ratings at or below 3, versus 26.6% for Fidelity), and ratings were lower in longer sessions. One researcher's unblinded review of 15 randomly sampled sessions found all scores reasonable and explanations supported. In a controlled scenario, we injected context defects into one data-analysis task and ran it twelve times. Every defect condition used more tokens than the clean baseline (mean +91%), and five evaluator models flagged 50-85% of targeted dimensions and 14-36% of non-targeted dimensions. Fidelity defects were detected most consistently and Actionability defects least. Because interventions were imperfectly isolated, these results are exploratory. AX gives teams structured, actionable evidence about context-related friction that complements output and outcome measures.

Gratiana Fu, Josh Beitler +1

People have long wanted software shaped around their own data, routines, and preferences. We refer to such software as \emph{personal software}. For decades, programming expertise limited who could build it: people without that expertise could build software only within constrained end-user programming tools, such as spreadsheets. AI coding agents seem to remove this bottleneck by letting people build full applications from natural-language descriptions, and many people now build and share personal software publicly. Yet personal software has rarely been studied at scale: we know little about what people build and why, how they build it, and what opportunities and challenges they encounter. We investigate these questions with a mixed-methods study. A grey-literature review examines 6,168 web and Reddit posts, and an observation study follows eight people as they build software for their own needs with AI coding agents and use it for up to a week. We find that creators value personal software for how closely it fits a particular person or community. The software takes shape as creators react to what the agent builds: most functionality emerged during building, and creators' effort shifted from writing code to checking it.

Shaokang Jiang, Kira Yuha Cho +2

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.

Vahid Etemadi, Gregorio Robles

Coding agents send their models more than the user's prompt: they add instructions, tool definitions, and environmental context that form an instruction stack. This stack guides execution and changes across releases, yet remains largely unexposed to users and insufficiently characterized in research. We present a longitudinal, cross-agent study of the instruction stacks captured in the first model requests of 1,886 releases of Claude Code, Codex, Gemini CLI, Qwen Code, and OpenCode. Under controlled conditions, we analyze their composition and evolution and trace changes in the four open-source agents to documented motivations. Our findings show why examining the system prompt or reporting the model alone provides an incomplete account of agent inputs. Tool definitions dominate three agents' latest requests, while occasional concentrated revisions alter instructions governing tool use, attribution, and coding style. Such revisions can complicate how researchers identify agent-authored contributions and interpret generated code. We also found that only 48% of examined change units directly explain the motivation for stack revisions. Across agents, shared capabilities emerge despite increasingly distinct wording. These findings expose an evolving, incompletely documented layer of agent design. The findings motivate documenting captured instruction stacks alongside agent releases, models, and user prompts, and preserving the rationale behind their revisions.

Felipe de Sant'Anna Paixão, Dhyego Tavares +2

The emergence of artificial intelligence (AI) coding agents has put pull requests under pressure: agents open millions of pull requests per month, while some open-source projects have begun to restrict or disable external contributions. We investigate which alternatives to pull requests practitioners are proposing or adopting and what these changes mean for empirical software engineering research. We reviewed 50 gray-literature documents from 31 organizations or individuals published between October 2025 and October 2026, coding the problems each named, the mechanisms it proposed or adopted, which of five roles of pull requests (integration, review, rationale, accountability, and external contribution) each mechanism takes over, and the evidence offered. Most responses retained pull requests in some form, whether by adding tooling, attaching a new artifact, or restricting access, and restriction was the response most often reported as adopted. Several proposed alternatives moved review and rationale into agent conversations and session records, but only Zed reported using a replacement in practice. Only two documents outlined a replacement for external contribution, and neither reported adoption. Pull requests are changing in ways that pull-request datasets will not capture: reviews conducted in agent conversations leave no pull-request comments, and projects that disable pull requests disappear from samples of newly opened ones. We outline a research agenda on the effectiveness of the emerging alternatives, their consequences for open-source participation, and the adaptation of empirical methods.

Christoph Treude, Sebastian Baltes

The Harness Hub newsletter

New harness companies, projects, releases and the monthly State of Harness report, in your inbox.