Decision-Oriented Programming with Aporia
Saketh Ram Kasibatla *, Raven Rothkopf *, Hila Peleg, Benjamin C. Pierce, Sorin Lerner, Harrison Goldstein, Nadia Polikarpova · 2026
Read Decision-Oriented Programming with Aporia by Saketh Ram Kasibatla *, Raven Rothkopf *, Hila Peleg, Benjamin C. Pierce, Sorin Lerner, Harrison Goldstein, Nadia Polikarpova (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-05203.txt.
Introduction
Kasibatla and six colleagues give choice-led coding, a workflow fronting design choices as the shared medium between coder and agent. Choices are clear and set, made live with the agent asking them, and traceable to code. They built Aporia, a probe tracking choices in an open Choice Bank, asking them through design questions, and coding each as a test suite checking code. A study of 14 coders showed choice-led teamwork kept coder and agent in sync and showed gaps to support coder choices.
Catalog record
| CREATOR | Saketh Ram Kasibatla *, Raven Rothkopf *, Hila Peleg, Benjamin C. Pierce, Sorin Lerner, Harrison Goldstein, Nadia Polikarpova |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 62730 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.05203
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Decision-Oriented Programming with Aporia Thanks: * Equal contribution. Saketh Ram Kasibatla *, Raven Rothkopf *, Hila Peleg, Benjamin C. Pierce, Sorin Lerner, Harrison Goldstein, Nadia Polikarpova Abstract . AI agents allow developers to express computational intent abstractly, reducing cognitive effort and helping achieve flow during programming. Increased abstraction, however, comes at a cost: developers cede decision-making authority to agents, often without realizing that important design decisions are being made without them. We aim to bring these decisions to the foreground in a paradigm we dub decision-oriented programming . In DOP, (1) decisions are explicit and structured , serving as the shared medium between the programmer and the agent; (2) decisions are co-authored interactively , with the agent proactively eliciting them from the programmer; and (3) each decision is traceable to code . As a step towards this vision, we have built Aporia , a design probe that tracks decisions in a persistent, editable Decision Bank; elicits them by asking programmers design questions; and encodes each decision as an executable test suite that can be used to validate the implementation. In a user study of 14 14 programmers, Aporia increased engagement in the design process and scaffolded both exploration and validation. Participants also gained a more accurate understanding of their implementations, with their mental models 5 x 5x less likely to disagree with the code than a baseline coding agent. Figure 1 . We describe Decision-Oriented Programming, a paradigm for supporting human decision-making in AI-assisted programming, and its instantiation in a system called Aporia . In Aporia , the programmer communicates with the agent via a structured representation of design decisions, called a Decision Bank . The agent elicits decisions from the programmer 1 , and the programmer responds and manages the decisions 2 . The agent then uses the Decision Bank to generate code 3 , and the programmer relies on the bank when validating the system behavior 4 . 1. Introduction “A language that doesn’t affect the way you think about programming is not worth knowing.” Alan Perlis AI is changing the way people think about programming. The transformation began with GitHub Copilot ( Inc. 2022 ) in 2022; as of 2025, 84% of developers used AI tools, 47% daily ( Inc. [n. d.] ) . Modern tools go far beyond auto-completion, with AI agents ( PBC 2025 ; Cursor 2023 ; Inc. 2024 ) autonomously modifying codebases, executing shell commands, etc. Studies exploring developer use of these tools report that using natural language and letting AI deal with implementation details reduces cognitive effort ( Pimenova et al. 2025 ) and that using agents can help developers achieve flow states ( Pimenova et al. 2025 ; Fawzy et al. 2025 ) and improve productivity ( Pimenova et al. 2025 ; Fawzy et al. 2025 ; Huang et al. 2025 ) . These experiences demonstrate the potential of AI programming tools to further a fundamental design goal of programming languages: to express computation at a level of abstraction that is closer to the way humans think and talk ( Hopper 1952 ; Hopper 1969 ) . The downside of expressing intent at a high level is that crucial details are left out. Without user intervention, agents fill in these details on their own, sometimes incorrectly. The default interaction model of today’s coding agents—prompt, generate, review—makes it easy to let the agent drive, and studies have found that “vibe coding” often means ceding decision-making authority to the agent altogether ( Pimenova et al. 2025 ) . Researchers and practitioners are increasingly worried about the resulting cognitive debt ( Borg et al. 2026 ; Storey 2026 ) : the erosion of a team’s understanding and mental models of their own system. Professional developers resist this tendency, but doing so requires discipline and workarounds like restricting the scope of each agent change, reviewing generated code line by line, and manually authoring plans and design documents ( Huang et al. 2025 ) . In other words, developers who want to stay in control must work against the grain of their tools! How might we design the interaction model itself to support programmer decision-making, rather than leaving developers to maintain control in spite of their assistant? The approach we explore is to reify programmer decisions as first-class objects, a programming paradigm we dub decision-oriented programming (DOP, Fig. 1 ), characterized by three design goals: DG1 Decisions are explicit and structured . Rather than being buried in prompts, plans, or code, decisions are reified as first-class objects in a persistent, editable record; this record is the shared medium through which programmer and agent negotiate the design. DG2 Decisions are co-authored interactively . In particular, the agent proactively elicits design decisions from the programmer, which keeps them engaged rather than passively reviewing agent output. DG3 Decisions are traceable to code . Each decision is formally connected to the implementation, giving programmers a concrete way to validate that the code reflects their intent. As a foray into decision-oriented programming, we have built a concrete design probe called Aporia , 1 1 1 From the socratic term referring to the suspension of views on a subject, accompanied by a continuous questioning in an effort to better understand. embodying all three of the design goals above: (1) It tracks decisions in a Decision Bank : a persistent, structured record that programmers can view and edit at any time via a UI. (2) It elicits decisions by asking programmers design questions about the software they are seeking to build. (3) It encodes each decision formally in a test suite , giving users an unambiguous interpretation of their decisions and providing executable feedback that helps validate the agent’s implementation. To evaluate Aporia , we conducted a within-subjects user study with N=14 participants, which involved adding new features to an existing codebase with the help of either Aporia or a baseline coding agent ( Claude Code ). The results show that DOP promoted engagement in the design process: participants using Aporia articulated significantly more design decisions and exhibited continuous reflection throughout the development process. DOP also provided scaffolding for the design process, helping programmers organize and track their decisions during both exploration and validation phases and giving them a more thorough and accurate understanding of their code, with 79% lower likelihood of mismatches between their mental model and the actual implementation compared to the baseline coding agent. In summary, our contributions are: (1) We articulate decision-oriented programming , a paradigm which supports programmer decision-making when working with AI coding agents. (2) We instantiate DOP with Aporia , a design probe that elicits decisions through questions and formalizes those decisions in test suites, giving programmers a concrete way to validate that their intent is reflected in the final product. (3) We evaluate Aporia through a user study, showing that DOP promotes programmer engagement in the design process and provides structure that helps scaffold both design and validation. 2. Related Work Empirical studies of AI assistants There are several studies exploring how users interact with completion models. Grounded Copilot ( Barke et al. 2023 ) , found that programmers use GitHub Copilot in two main modes: exploration, where programmers consider their options, and acceleration,