arXiv:2611.08456cs.SENov 2026

Manuscript Offprint

arXiv:2611.08456

Cognitive Tours: Making Understanding a Deliverable in AI-Assisted Development

Margaret-Anne Storey

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Margaret-Anne Storey

Department of Computer Science University of Victoria, Canada mstorey@uvic.ca

Abstract—Generative AI and agentic development are accelerating software development, leading to concerns about technical debt. But two less visible forms of debt, cognitive debt and intent debt, are emerging as key risks to software health. Cognitive debt is the absence or erosion of a team's shared understanding where no one can confidently explain how a system works or predict the impact of a change. Intent debt is the absence of clearly articulated goals, constraints, and rationale that explain what the system is for and guide how it should evolve. This paper presents Cognitive Tours, a tool designed to mitigate and repair cognitive and intent debt. Cognitive Tours is a web-based prototype for creating and following curated paths connecting user needs, design decisions, code, tests, and open questions. AI-assisted skills help audit existing waypoints and tours for possible problems or staleness and suggest candidates for new ones; humans decide what matters, verify relationships, and construct the narrative. This division of work deliberately preserves productive friction: the sensemaking involved in selecting, explaining, and revising a tour, which is intended to foster and share understanding. Our demonstration uses a tour of Cognitive Tours itself to introduce the tool and illustrate its design decisions and interaction mechanisms. A proposed evaluation agenda concludes the paper.

Index Terms—program comprehension, AI-assisted development, cognitive debt, software intent, code tours.

I. INTRODUCTION

Generative AI and agentic development are accelerating software development, allowing individuals and teams to generate and modify code faster than ever before. But many developers and teams are sharing how they struggle to keep track of the work they are doing and answer questions about the reason for its design, the constraints it must satisfy and how the system can evolve to meet future requirements and changes [1]. Cognitive debt is held by a team, not only an individual: when the reasoning behind a change lives in one developer's head or one chat transcript, everyone else on the team, and that developer months later, inherits the gap.

Although developers may have access to the code, agent interaction histories and agents to explain how their systems work, developers struggle to maintain understanding and control of their system [2]. Writing and modifying code has traditionally provided opportunities for developers to develop their understanding through implementation decisions and problem solving. Delegating these activities to AI may remove some of those opportunities. Our prior research on troubleshooting [3] and developer momentum [4] describes the cognitive work involved in building up working context to support progress on a task during development with AI.

Furthermore, the why behind many of the decisions developers make is often not found in the source code (e.g., discarded ideas) and both humans and agents struggle to understand invisible but critical design decisions.

The triple debt model of software health draws attention to two concerns beyond technical debt: cognitive debt, the absence or erosion of the shared understanding needed to work with a system, and intent debt, the loss or absence of explicit goals, constraints, and rationale [1]. A program may be technically sound and of high quality, but be difficult for its maintainers to explain or know how it can be safely evolved. Furthermore, a working and plausible implementation may not satisfy a requirement that was never adequately articulated or externalized.

Cognitive Tours provides a mechanism for developers relying on AI and/or agents to hand craft curated journeys through the reasons, decisions, implementation, evidence, and uncertainties that help tell the story behind a feature or task. The intended user of these tours is not only a newcomer onboarding to unfamiliar code, but also the developer themselves who must later make changes to the system and recapture forgotten decisions and assumptions.

Tours are human-authored by default, with optional AI drafting that requires human verification. The designer or developer must decide what matters to record and what to omit so that the important information in the tour is salient. AI supports the identification of new candidate and outdated waypoints and tours as the system evolves. The approach is designed to reduce the toil in creating and updating them, but not to automate them fully, which would suppress the understanding they build.

This paper demonstrates a web-based prototype through a self-tour: we use a tour of Cognitive Tours to explain the motivation and design of Cognitive Tours.

Our contribution is a tool and interaction design proposition, not a validated claim (yet) that tours can reduce or mitigate cognitive or intent debt. However, the tool has been used by the author during its development and provided cognitive support across sessions over six months and exposed a discrepancy between a design decision (captured as an ADR [5]) and a recent implementation choice.