Decision-Oriented Programming with Aporia

Saketh Ram Kasibatla, Raven Rothkopf, Hila Peleg, Benjamin C. Pierce, Sorin Lerner, Harrison Goldstein, Nadia PolikarpovaarXiv 2026

TL;DR

As AI coding assistants shift from simple autocomplete to autonomous agents, developers risk ceding critical design authority—a phenomenon known as "vibe coding." This paper introduces Decision-Oriented Programming (DOP) and its tool instantiation, Aporia, which brings design choices back to the foreground by having AI proactively elicit, track, and test structured developer decisions. In user studies, this paradigm reduced mismatches between a developer's mental model and the actual codebase by 5x compared to standard AI coding workflows.

What Problem Does This Paper Address?

Modern AI agents can autonomously modify entire codebases from a single high-level prompt. While this boosts productivity, it introduces a hidden cost: intent debt (or cognitive debt). Because natural language prompts leave out crucial implementation details, AI agents fill in the blanks on their own—often making critical design assumptions without the developer's explicit knowledge or consent.

To maintain control, developers currently have to work against the grain of their tools—painstakingly reviewing AI-generated code line-by-line or manually drafting rigid design documents. The authors address this gap by reimagining the human-AI interaction model, turning design decisions into first-class, traceable objects within the development lifecycle.

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 .

Methods

The authors propose Decision-Oriented Programming (DOP), a paradigm built on three core design goals:

  1. Explicit and Structured Decisions: Decisions are stored in a persistent, editable record called a Decision Bank.
  2. Interactive Co-Authoring: The AI proactively surfaces design questions to the developer rather than passively waiting for prompts.
  3. Traceability to Code: Every decision is formally tied to the codebase via an automatically generated test suite.

To evaluate DOP, they built Aporia, a design probe implemented as a VS Code extension. Aporia orchestrates three specialized sub-agents (powered by Claude Sonnet):

  • A Questioner that analyzes the user's high-level goal and generates binary (yes/no) design questions grounded in the existing codebase context.
  • A Planner that formalizes the user's answers into executable, property-based test suites.
  • An Implementer that modifies the codebase to satisfy both the high-level goal and the generated test suites.
Figure 3: Aporia is a VS Code extension that supports decision-oriented programming. Users enter their high-level goal into the Goal Field 1 , which prompts Aporia to generate design questions as Question Bubbles 2 . Clicking on a question opens the Question Detail View 3 , which includes Aporia’s argument for the question, as well as references to relevant code. Users can answer the question with a yes/no response and an optional comment 4 . Decisions are accumulated in the Decision Bank 5 , where they can be edited or revoked. Users can also add decisions that were not elicited by Aporia via the Custom Decision field 6 . Each decision is formally encoded in a test suite that validates the implementation against that decision 7 . Once users are satisfied with their design, they can click “Implement plan” 8 to prompt Aporia to implement the feature in the codebase.

Datasets

The paper does not utilize standard machine learning datasets. Instead, the authors evaluated Aporia using a custom-built Python web application called NotCRP (a conference management system probe). The repository included a pre-populated database of users and papers specifically designed to test access control policies and reviewer assignment algorithms.

Key Insights and Ideas

  • Recognition Over Recall: Developers often struggle to proactively articulate edge cases in prompts. Aporia leverages binary questions to drastically lower the cognitive load of decision-making; it is much easier for a developer to validate a surfaced edge case than to remember to specify it from scratch.
  • The Pitfalls of Chat Histories: Standard linear chat interfaces bury previous design choices in a mountain of chain-of-thought text. A centralized Decision Bank acts as a living document and a "mental map," allowing developers to easily audit or reverse choices mid-flight.
  • Tests as the Ultimate Truth: By translating abstract natural-language decisions directly into executable test suites, DOP bridges the gap between human intent and system behavior, turning validation into an automated checklist.

Key Results

The authors conducted a within-subjects user study with 14 programmers comparing Aporia against a state-of-the-art baseline agent (Claude Code).

  • Higher Engagement: Aporia users made 13.5x more elicited decisions and 2.99x more decisions overall than baseline users, demonstrating that proactive questioning successfully keeps humans in the loop.
  • Drastically Fewer Mismatches: Mismatches between what developers thought their code did and what it actually did were 79% less likely (a 5x reduction) when using Aporia. On average, only 4.7% of described policies resulted in mismatches with Aporia, compared to 12.1% with the baseline.
  • Better Code Correctness: 94% of the design criteria described by Aporia users were successfully implemented in the final code, compared to 88% for the baseline.
Figure 4: Sample correctness analysis of post-task survey responses from P12 (Task A, left) and P3 (Task B, right). Free- form answers are encoded into a Description Grid, which is then compared to the actual implementation encoded in the Implementation Grid. Policy alignment is classified into matches, mismatches, or not described (N/D).

Limitations and Future Work

Despite its success, Aporia revealed several usability challenges:

  • High Latency: Waiting for the AI to generate questions and implement code created "dead time" that occasionally broke developer flow.
  • Rigid Goal Steering: Unlike a fluid chat interface, Aporia made it difficult for users to pivot or modify their high-level goals mid-way through a task.
  • UI Complexity: Some users found navigating multiple panels (questions, code, tests, and decision banks) overwhelming.

Future Directions: The authors suggest organizing future iterations hierarchically (moving from high-level architectural decisions down to low-level implementation details) and introducing a "saturation point" indicator to let developers know when enough edge cases have been covered to safely begin code generation.

Summary updated

BibTeX
@misc{kasibatla2026decision,
  author = {Saketh Ram Kasibatla and Raven Rothkopf and Hila Peleg and Benjamin C. Pierce and Sorin Lerner and Harrison Goldstein and Nadia Polikarpova},
  title = {{Decision-Oriented Programming with Aporia}},
  year = {2026},
  eprint = {2604.05203},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.05203},
}
Figure