The Capabilities and Boundaries of AI-Driven Development: Putting "Wishful Programming" into Practice

    This article explores the practical application of "wishful programming"—natural language-driven development. It examines the essential capabilities required to transition from a simple prompt to a complete project, clarifies why benchmark improvements do not necessarily translate to better project delivery, and discusses how to evaluate performance, cost, and security risks. Additionally, it provides a reproducible validation workflow and enterprise adoption strategies, emphasizing that engineering governance and human judgment remain crucial.

    I. What Does “Wishful Programming” Actually Change?

    “Wishful programming” is not a strictly defined technical standard, but rather a vivid description of the natural language-driven development experience: the user states a goal, and the intelligent programming system takes responsibility for breaking down the task, generating code, running the program, and continuously refining the results based on feedback.

    Traditional development typically requires developers to define the implementation path explicitly before using tools to improve execution efficiency. Natural language-driven development attempts to shift some of this path-planning work to the system. A user can simply describe the need for “an admin page with search, filtering, and export capabilities,” and the system will deduce the page structure, data models, interaction flows, and validation steps.

    The truly valuable change is not generating more code at once, but shortening the distance from a requirement to a verifiable result. When evaluating such technologies, three levels should be distinguished:

    • Code Generation: Outputting functions, pages, or configuration snippets.
    • Task Execution: Modifying multiple files, running checks, locating errors, and fixing them.
    • Engineering Delivery: Delivering results that meet business acceptance criteria while possessing security, maintainability, and deployment readiness.

    Excelling in the first two levels does not mean the third is automatically satisfied. An application that can start might still suffer from missing permissions, data loss, or insufficient exception handling. Therefore, “one-click to reality” is better suited to describe the simplification of the interaction entry point, rather than serving as a promise of software quality.

    II. From a Single Requirement to a Complete Project: What Capabilities Does the System Need?

    1. Requirement Understanding: Turning Wishes into Verifiable Constraints

    Natural language requirements often contain ambiguities. For instance, “build a simple inventory system” does not specify whether multiple warehouses are supported, who can modify inventory, whether operation logs are required, or how concurrent modifications are handled.

    A reliable development process should first identify these gaps rather than immediately generating a complete project. For high-impact uncertainties, the system should proactively ask; for low-risk UI details, it can propose default solutions and clearly label the assumptions.

    The requirement description should at least cover:

    • Users and core business objectives;
    • Must-have features;
    • Data sources and data structures;
    • Permissions and security boundaries;
    • Execution environment and resource constraints;
    • Acceptance methods and out-of-scope items.

    The key here is not to make the prompt endlessly long, but to make critical constraints explicit. The more verifiable the goal, the more direction subsequent auto-repair will have.

    2. Project Planning: Define Boundaries First, Then Generate Implementation

    A complete project involves module dependencies, directory structures, data flows, and API contracts. If the system generates files one by one directly, it is prone to naming inconsistencies, mismatched API parameters, and feature duplication.

    A more robust approach is to first form a brief design: clarify the responsibilities of the interface layer, business layer, and data access layer, define inputs, outputs, and error handling, and then proceed with implementation in dependency order.

    For small prototypes, planning can be very lightweight; for systems involving transactions, permissions, or sensitive data, stricter design reviews are required. The depth of planning should be determined by risk, not by generation speed.

    3. Tool Execution: Code Must Enter a Real Feedback Environment

    Intelligent programming systems usually need to read project files, edit code, execute tests, observe logs, and retrieve necessary information. Model generation is just one component; the execution environment is the key to verifying results.

    For example, syntactically valid code does not mean dependencies can be installed; a page that displays correctly does not mean buttons trigger the correct business behavior; passing tests does not mean the tests cover the truly important edge cases.

    Therefore, the execution environment should have mechanisms for repeatable builds, controlled dependencies, timeout limits, and logging. Tool feedback should be as structured as possible, allowing the system to distinguish between build failures, test failures, environment faults, and business logic errors, rather than treating all failures as reasons to rewrite code.

    4. Feedback and Repair: Establish a Closed Loop, Not Infinite Trial and Error

    A common workflow loop can be summarized as:

    Requirements & Constraints -> Formulate Plan -> Modify Code -> Execute Verification -> Analyze Failure -> Targeted Repair -> Re-verify.

    Feedback-driven training and operational mechanisms help improve decision-making in multi-step tasks, but this does not mean the system can reliably handle arbitrary requirements. Feedback itself may be incomplete: tests missing critical scenarios, error messages lacking context, or generated tests merely repeating the implementation logic can all lead to “surface-level passes.”

    Clear stopping conditions should be set, including task success, budget exhaustion, no progress in consecutive repairs, and high-risk operations requiring human confirmation. An automatic loop without stopping mechanisms may continuously consume resources without improving delivery quality.

    III. Why Higher Benchmark Scores Do Not Equal Better Project Delivery Capabilities

    1. Different Evaluations Measure Different Capabilities

    Intelligent programming evaluations might focus on existing code repair, command execution, building applications from scratch, or complex reasoning. While these tasks are related, they are not equivalent.

    Repairing an existing project usually has clear code context and testing goals; developing from scratch requires the system to fill in the design itself; command execution capability emphasizes tool usage and environment understanding; business delivery also includes requirement clarification and risk control.

    Therefore, a single score cannot replace an overall judgment. A more reasonable approach is to build a capability matrix based on actual business needs: maintenance tasks focus on regression risks and modification accuracy, prototype development focuses on feature completeness and iteration efficiency, and production systems focus on permissions, security, data consistency, and maintainability.

    2. Model Performance and Execution Framework Performance Must Be Separated

    The same model can yield significantly different results under different tool permissions, context management, task decomposition, and retry strategies.

    For instance, if an execution framework can retain critical logs, filter irrelevant output, and correctly resume interrupted tasks, it can reduce the cost of repeated exploration. Conversely, if important errors are truncated, even if the model has the capacity to fix them, it may lack the necessary information.

    A fair comparison should at least specify the model version, execution framework, tool scope, resource budget, timeout rules, and retry limits. Otherwise, the observed improvement might come from the model, or it might primarily come from changes in the execution strategy.

    3. Success Rate Should Be Analyzed Combining Distribution and Failure Reasons

    Looking only at the average success rate easily masks differences in task difficulty. A certain solution might excel at page generation but frequently fail at permission control or complex state updates.

    Evaluation reports should tally results by task type and record failure reasons, such as requirement misunderstanding, dependency issues, tool misuse, logic errors, or budget shortfalls. For tasks with randomness, multiple independent runs should be conducted to report result volatility, rather than just showcasing the best attempt.

    Demos are suitable for illustrating where capabilities could reach; evaluations need to show where capabilities typically reach.

    IV. How Should Performance and Cost Be Calculated Together?

    1. A Drop in Unit Price Does Not Mean a Drop in Delivery Cost

    The cost of intelligent development includes not only model calls but also execution resources, retrieval services, retries, manual review, and subsequent rework. A more meaningful metric is:

    Cost per successful task = Total cost of evaluated tasks ÷ Number of successfully delivered tasks.

    The total cost should include the consumption from failed tasks. Otherwise, a solution that occasionally succeeds after repeated attempts might look very cheap, but is actually unsustainable.

    Enterprises should also track two types of costs separately: directly billable resource costs, and human costs required for review, communication, repair, and maintenance. Fast generation that requires extensive manual rewriting may not yield a net benefit.

    2. Latency Also Needs End-to-End Measurement

    Fast generation of the first piece of code does not mean fast project delivery. Complete latency should start from requirement submission and end when acceptance passes, including environment preparation, information retrieval, building, testing, repair, and manual confirmation.

    Besides averages, the latency distribution of slower tasks should also be monitored. A few tasks failing repeatedly can tie up significant execution resources and disrupt team schedules. Only by considering success rate, cost, and end-to-end latency together can we determine if a solution fits the actual workflow.

    3. “Pareto Improvement” Requires a Clear Comparison Scope

    In multi-objective optimization, a Pareto improvement usually means at least one objective improves while the other compared objectives do not worsen.

    Applied to intelligent programming, the set of objectives must first be clear: Are success rate, cost, latency, security, and maintainability all within the comparison scope? If it is only proven that the success rate on a test set improved and costs decreased, one cannot further assert that all business scenarios require no trade-offs.

    A more rigorous statement is: Under a given task set, resource budget, and evaluation protocol, a specific solution performs better on measured metrics. This conclusion is valuable, but its boundaries of applicability must be retained.

    V. Retrieval and External Data Access: Improving Accuracy While Expanding the Attack Surface

    Intelligent programming often needs to query dependency manuals, API documentation, and error causes. Retrieval locates information, and content fetching reads specific materials; both compensate for the timeliness limitations of the model’s knowledge.

    However, retrieved content cannot be directly treated as fact or instruction. The applicable version, publication date, and context of the documentation should be verified to avoid applying old examples to new environments. Text in external web pages, comments, and files may also contain content designed to induce the system to leak information or perform dangerous operations.

    Security design should adhere to:

    • External content acts only as unverified material and must not change system permissions;
    • Retrieval requests must not contain keys, personal information, or non-essential internal code;
    • Downloading and execution must be separated; scripts from unknown sources must not be run automatically;
    • Record key information sources for manual review;
    • Prioritize trusted knowledge bases maintained by the organization.

    Expanding tool access widens the system’s actionable scope, which also means stricter access control and auditing are required.

    VI. A Reproducible Practice Validation Workflow

    Step 1: Select a Task with Clear Boundaries

    For initial validation, avoid open-ended tasks like “build a large-scale business system.” Instead, choose a small application that includes list display, filtering, editing, persistence, and error prompts. This covers the complete development workflow while remaining easy to verify.

    The task should clearly define which features must be completed, which only need placeholders, and which operations must not be executed.

    Step 2: Define Acceptance Before Allowing Implementation

    The following requirement template can be used:

    1. Objective:
    2. Build an internal item registration application.
    3. Required Features:
    4. Add, edit, query, and archive records.
    5. Business Constraints:
    6. IDs must be unique; saving must be rejected if required fields are missing;
    7. Archived records must not appear in the active list by default.
    8. Security Requirements:
    9. Unauthorized modification of data is prohibited;
    10. Credentials or sensitive fields must not be output in logs.
    11. Acceptance Criteria:
    12. Verify normal operations, illegal input, insufficient permissions, and duplicate submissions;
    13. Check if data still exists after restarting the application.
    14. Execution Restrictions:
    15. Run in an isolated environment;
    16. Wait for confirmation before deleting data or modifying permissions.

    This is not a parameter configuration for any specific product, but a general description format used to improve task verifiability.

    Step 3: Complete the Minimum Loop First, Then Expand Features

    Prioritize implementing the vertical chain of “input data -> validate -> save -> read -> display,” then add features like filtering, archiving, and permissions. This helps discover data model and API design issues earlier, avoiding finding the underlying solution unfeasible only after the entire UI is completed.

    Each round of modifications should maintain a controllable scope and execute relevant validations. Large-scale one-time rewrites may seem efficient but often increase the difficulty of fault localization and rollback.

    Step 4: Use Independent Acceptance to Avoid Self-Confirmation

    Auto-generated tests can assist development, but should not be the sole acceptance basis. The system might generate tests consistent with its own incorrect assumptions, resulting in “wrong implementations passing wrong tests.”

    Independently designed acceptance cases should be supplemented, and critical flows checked manually. Features involving data deletion, permission changes, financial calculations, and external sending should be subject to higher-level review requirements.

    Step 5: Generate a Task Report, Not Just Show Screenshots

    Each experiment should at least record the requirement version, execution environment, resource budget, modification scope, validation results, failure reasons, and human intervention details.

    Screenshots only prove that a certain interface once appeared; they do not prove data persistence, permission isolation, or reliable exception recovery. A task report helps determine whether the results are reproducible and whether failures are concentrated at certain capability boundaries.

    VII. Enterprise Adoption: The Scope of Automation Should Be Determined by Risk

    Intelligent programming is best suited to first enter low-risk, reversible, and easily verifiable tasks, such as internal prototypes, test generation, bug fixing with clear boundaries, and auxiliary script development.

    When entering production workflows, tiered permissions should be established: reading code and executing tests can be more lenient, while modifying sensitive configurations, accessing production data, and executing destructive operations require manual approval. The execution environment should adopt the principle of least privilege, restricting network access, resource usage, and task duration.

    Generated results should also be integrated into standard engineering governance, including code review, dependency checks, security scanning, log auditing, change records, and rollback mechanisms. The fact that an intelligent programming system takes on the implementation work does not mean the team can abandon the management of architecture, quality, and accountability boundaries.

    Conclusion

    Evaluating “wishful programming” should not focus solely on how short the prompt is, how flashy the demo looks, or how much a certain benchmark score has improved. What truly matters is: whether requirements can be translated into explicit constraints, whether the system can complete a closed loop in a real environment, whether results can pass independent acceptance, and whether the total cost of successful delivery is controllable.

    Natural language is lowering the expression barrier for software implementation, but requirement judgment, engineering validation, and risk governance have not disappeared. A mature intelligent development practice allows automation to handle repetitive execution, allows humans to retain critical judgment, and connects the two with reproducible evidence.