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.
Methods
The authors propose Decision-Oriented Programming (DOP), a paradigm built on three core design goals:
- Explicit and Structured Decisions: Decisions are stored in a persistent, editable record called a Decision Bank.
- Interactive Co-Authoring: The AI proactively surfaces design questions to the developer rather than passively waiting for prompts.
- 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.
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.
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