Black-Box AI Autonomous Development: Practices and Evaluation Methods
This article explores black-box AI autonomous development, where humans define requirements and acceptance criteria while AI handles design, coding, debugging, and testing without human code review. It presents a two-layer architecture of an AI supervisor and containerized workers, a five-dimension evaluation framework, and empirical findings on design, coding accuracy, defect diagnosis, end-to-end closure, and quota endurance. Readers will find a reusable AI-Coding SOP and practical engineering constraints for running unattended AI development in backend and algorithm scenarios.
1. Why Run a “Black-Box” AI Autonomous Development Experiment
The default premise of traditional AI-assisted programming is “human in the loop”: the model produces suggestions, and developers review them line by line, add unit tests, and debug manually. This mode is safe, but it cannot answer a key question: when humans completely exit the code review process, can AI independently complete the full loop from design to delivery?
This article defines that extreme mode as black-box software development: humans only issue requirements and acceptance criteria, and do not participate in code review, unit test writing, or debugging; all intermediate artifacts are generated autonomously by AI. The experiment has three goals:
- Verify whether AI can reliably complete the “design -> coding -> debugging -> end-to-end testing” loop under zero manual code inspection;
- Accumulate a reusable AI-Coding standard operating procedure (SOP);
- Explore a low-cost, high-coverage automated verification strategy.
It is worth emphasizing that the acceptance threshold for this mode is deliberately pragmatic: success is declared once the final test script passes, and code readability and elegance are not part of the evaluation. This is not an endorsement of low-quality output, but a way to converge the variables onto the single hard metric of “runnability.”
2. Experiment Framework Design
2.1 Task Scheduling Bus
The overall architecture uses a two-layer structure of “AI supervisor + containerized Worker.” The supervisor is responsible for breaking down requirements, dispatching tasks, collecting results, and deciding whether to proceed to the next round. Workers run in isolated containers with independent file systems and runtime environments, and a failed task can be destroyed and rebuilt as a whole.
A schematic scheduling loop is shown below:
while not backlog.empty():task = backlog.pop()worker = spawn_container(image=task.runtime)result = worker.run(task.prompt, timeout=task.budget)if verify(result) is True:merge(result.artifacts)else:backlog.push(refine(task, result.logs))
The value of this design is that it encapsulates “model uncertainty” within container boundaries, making failure costs controllable and replayable.
2.2 Project Scope and Resource Model
The experiment is limited to backend and algorithm logic, excluding frontend interfaces, and the core deliverables are runnable services and scripts. On the resource side, two typical quota forms run in parallel: one is a high-tier coding subscription that consumes about 3 billion tokens; the other is a weekly-renewing allowance that is completely exhausted for four consecutive weeks. The cumulative output is about 110,000 lines of code.
3. Five-Dimension Evaluation System
| Dimension | Focus | Criterion |
|---|---|---|
| A. Solution design and code structure | Consistency of directories, files, path naming, and the initial plan | Proportion matching expectations |
| B. Coding accuracy | Compile/startup success rate, runtime crash frequency | First-pass rate |
| C. Defect localization and patching | Whether root cause and minimal change can be provided | Convergence rounds, patch side effects |
| D. Autonomous end-to-end test closure | Whether log analysis -> modification -> retest can run unattended | Closure success rate |
| E. Quota endurance | Whether it can support long, repeated trial and error | Sustainable iteration duration |
Dimensions C and D are the real dividing line for the black-box mode: the former examines the depth of attribution, and the latter examines self-verification capability.
4. Empirical Findings and Interpretation
4.1 Design and Coding: No Significant Gap
The two types of AI coding tools are at the same level in capability and performance: both can understand an existing codebase, output a structured Markdown plan annotated with new and modified file paths, and the proportion of directory structures matching expectations exceeds 80%. The common problems are low-level implementation errors and over-engineering, the latter of which improves markedly after removing redundant specification plugins. The conclusion is that solution generation is no longer the bottleneck; the real cost occurs in the verification stage.
4.2 Defect Diagnosis: Attribution Depth Determines Efficiency
The differences are concentrated in the level of attribution. One type of model tends to give a design-level root cause in one shot, converging in a little over one round on average, and proactively offers multiple alternative solutions for confirmation; the other often stays at surface-level code errors, usually requiring three to five rounds of guidance, and tends to modify code directly, with a higher probability of mispatching that easily triggers new problems in a chain reaction.
The engineering takeaway is that the black-box mode must set “interception points” that force the model to output root cause hypotheses and a change list before making modifications.
[Interception rule] Writing to files is prohibited before submitting root cause analysis and impact assessment.
4.3 End-to-End Closure and Endurance
The prerequisite for unattended operation is the ability to autonomously read logs, locate failing cases, rerun, and determine a pass. In practice, three pieces of infrastructure are needed: a log service to centrally collect runtime output, monitoring and alerting triggered on crashes, and a container platform that provides a clean, rebuildable environment. Quota endurance is equally critical: high-frequency trial and error quickly exhausts the allowance, so token consumption should be reduced through failed-case caching, incremental reruns, and layered testing (unit -> integration -> end-to-end).
5. A Reusable AI-Coding SOP
- Solidify requirements into executable acceptance scripts; write tests before implementation;
- Plan first, and enforce a file-level change list;
- Commit in small steps, with one compile and startup verification per step;
- Failures must be fed back with complete logs; verbal human supplements are prohibited;
- Clean up redundant artifacts daily to suppress over-engineering;
- Store artifact versions in object storage to ensure any round can be traced back.
In summary, black-box development is currently better suited to backend scenarios without interfaces, with clear logic and automatable acceptance. There remain observable differences among models in attribution depth and self-verification capability, and the completeness of engineering constraints and verification infrastructure often determines the final delivery quality more than model choice does.
