Black-Box AI Autonomous Development: Practices and Evaluation Methods

    This article presents a black-box approach to AI autonomous development, where humans define requirements and acceptance criteria while AI handles design, coding, debugging, and end-to-end verification without human code review. It outlines a three-layer experiment framework, five evaluation dimensions, and measured results comparing two model categories across roughly 110,000 lines of code. Key findings cover over-design tendencies, root-cause diagnosis as the main differentiator, log noise in unattended loops, and quota efficiency. The article closes with a reusable black-box development SOP.

    1. Experiment Background: Removing Humans from Code Review

    Traditional AI-assisted programming positions the model as a “copilot”: it completes code fragments while humans own architecture, review, and debugging. This experiment deliberately removed that safety net and defined a more extreme paradigm—black-box autonomous development. Humans only issue requirements and acceptance criteria. They do not review code, write unit tests, or run breakpoint debugging. AI independently produces all intermediate artifacts.

    The goal was not production readiness. It was to answer three engineering questions. First, with zero human code inspection, can a model close the loop from design to coding to debugging to end-to-end verification on its own? Second, how durable is each model’s quota during long cycles of repeated trial and error? Third, can a tool-agnostic standard operating procedure for AI programming be distilled?

    The delivery threshold was intentionally loose: a run counted as successful if the final test script passed. Code readability and cleanliness were not scored. This removed aesthetic bias and kept the comparison focused on one hard metric—whether the code runs.

    2. Experiment Framework and Task Shape

    The architecture had three layers. The top layer was a task scheduling bus acting as an “AI supervisor,” responsible for breaking down requirements, dispatching tasks, and collecting results. The middle layer was a local containerized worker cluster, where each task ran in an isolated environment to prevent dependency pollution and state cross-talk. The bottom layer was an automated testing and log collection pipeline that decided pass or fail and returned failure context.

    Scope was limited to backend and algorithm logic, with no frontend UI. The core deliverables were runnable services and batch scripts. On the resource side, one track used the highest-tier coding subscription of an AI coding tool and consumed roughly 3 billion tokens in total. The other track exhausted its weekly quota within four weeks, forming a natural long-cycle stress test sample. Final code volume was about 110,000 lines.

    3. Evaluation Dimensions

    To avoid subjective judgments about which model “feels stronger,” capability was split into five observable dimensions:

    Dimension Focus Criterion
    A. Solution design and code structure Consistency of directories, files, path naming, and the initial plan Percentage of structures matching expectations
    B. Coding correctness Compile/startup success rate, runtime crash frequency First-pass success rate
    C. Defect localization and patching Whether root cause and a minimal change are produced Rounds to convergence, wrong-patch rate
    D. Autonomous end-to-end test closure Whether log analysis, modification, and retesting run unattended Number of human interventions
    E. Quota durability Whether it supports long periods of repeated trial and error Cost per unit of effective output

    4. Results and Analysis

    4.1 Design and Coding: The Same Capability Gradient

    Both model categories understood the existing codebase, produced structured Markdown plans, and explicitly listed new and modified file paths. Over 80% of directory structures matched expectations. The shared problem was over-design: a tendency to generate redundant abstractions and branch code that was never called. After a certain spec-driven plugin was removed from the experiment, redundancy dropped significantly, indicating that toolchain context amplifies the model’s “completion inertia.” Low-level implementation errors appeared on both sides and required multiple rounds of local fixes; the difference was not enough to declare a winner.

    4.2 Defect Diagnosis: Deep Root-Cause Analysis Became the Dividing Line

    Metric Category A Category B
    Localization depth Tends to give a design-level root cause in one pass Often stops at surface-level code errors
    Interaction rounds Converges in an average of 1.x rounds Often needs 3–5 rounds of guidance
    Solution completeness Presents multiple options for confirmation first Changes code directly and must be intercepted midway
    Wrong-patch probability Low Higher, easily triggering cascading new issues

    The key difference was not “can it be fixed” but “does it understand why it broke.” Surface patching often trades a new special-case branch for a local pass, and the defect resurfaces in later tasks. Design-level attribution converges in one pass but requires cross-file reasoning.

    4.3 Autonomous End-to-End Closure and Quota Durability

    Failures in the unattended loop concentrated on log noise: models were easily led astray by irrelevant alerts and repeatedly modified unrelated modules. A workable practice is to agree on log severity levels and a keyword whitelist in advance, and to write “ignorable errors” explicitly into scheduling instructions. On quota, the high-consumption approach hit its limit earlier in long cycles, while the approach with more convergence rounds actually cost more per unit of output. Evaluation should look at quota spend per 1,000 lines of effective code, not absolute consumption.

    5. A Reusable Black-Box Development SOP

    1. Turn requirements into an executable acceptance script up front; write tests before dispatching tasks.
    2. Give each task its own container with hard timeout and resource limits.
    3. Have the scheduler return only a summary of failure logs to control context size.
    4. Enforce a two-phase “plan first, then code” flow, with the plan listing all files to be changed.
    5. Require defect fixes to output a root-cause hypothesis and a minimal change set.
    6. Archive all pipeline logs and artifacts to object storage for later review.

    In summary, black-box autonomous development is currently better suited as a capability stress test and a way to refine SOPs than as a production delivery method. Its value lies in using quantifiable dimensions to turn “model strength” into “process design quality.”