AI Autonomous Development in a Black-Box Setup: An In-Depth Analysis
This article examines a black-box AI autonomous development experiment in which humans only submit requirements and never review code, write unit tests, or debug. It outlines the experimental framework, including a task scheduling bus, containerized workers, scope constraints, success thresholds, and token consumption, then evaluates model behavior across five dimensions: solution design, coding accuracy, defect diagnosis, end-to-end test closure, and quota endurance. The findings show that models are broadly similar in design and coding, but diverge sharply in root-cause depth and restraint when modifying code. The article concludes with a reusable AI-Coding SOP and explains why attribution depth, change restraint, and automated closure matter more than raw code generation for scalable black-box development.
1. Introduction: When Humans Leave the Code Review Loop
Traditional AI-assisted programming is essentially a “copilot” model: the model handles completion and suggestions, while humans make decisions and act as gatekeepers. This article discusses a more extreme engineering experiment—black-box autonomous development. In this workflow, humans act only as requirement providers. They do not participate in code review, unit test writing, or breakpoint debugging. All intermediate artifacts are produced independently by AI coding tools.
The value of this experiment is to test whether AI can complete the full loop of “design → coding → debugging → end-to-end verification” and deliver a runnable service without human fallback. It also exposes the real weaknesses of current large models across the software engineering chain, helping teams build a reusable AI-Coding standard operating procedure (SOP).
2. Experimental Framework: Task Bus and Containerized Workers
Keeping a model working continuously for a month requires more than a chat window. It requires scheduling infrastructure.
- Task scheduling bus: An “AI supervisor” role breaks down requirements, dispatches tasks, collects results, and drives the next iteration.
- Containerized workers: Each task runs in an independent container. Environments are reproducible and rollback-friendly, avoiding dependency pollution.
- Project scope constraints: The scope covers only backend services and algorithm logic, with no frontend interface. The core deliverables are runnable services and scripts.
- Success threshold: Success is determined solely by whether all final test scripts pass. Code readability and style are not evaluated.
- Resource consumption model: On one side, a top-tier coding subscription of an AI coding tool consumed about 3 billion tokens in total. On the other side, weekly usage quotas were continuously exhausted over four weeks.
The key design of this architecture is “unattended operation”: the scheduler only checks whether tests pass, not whether the code is well written. This forces the model into a genuine autonomous repair loop.
3. Five Evaluation Dimensions: Measuring Model Performance Objectively
To avoid subjective impressions, the experiment breaks evaluation into five dimensions:
- A. Solution design and code structure: Consistency among directories, files, path naming, and the initial plan.
- B. Coding accuracy: Compilation and startup success rate, and frequency of runtime crashes.
- C. Defect localization and repair: Whether a single conversation round can identify the root cause and make the minimal change, and whether the model can detect deeper design flaws.
- D. Autonomous end-to-end test closure: Whether the loop of log analysis → modification → retesting can be completed without human involvement.
- E. Quota endurance: Whether the model can support long-duration, high-frequency trial and error.
4. Test Results: Capability Gradient and Boundaries of Difference
4.1 Design and Coding: Broadly the Same Capability Tier
Both types of models can understand an existing codebase, produce structured Markdown plans, and clearly list new and modified file paths. The probability that the directory structure matches expectations exceeds 80%. A shared problem is a tendency to generate redundant or over-abstracted code. After simplifying extension plugin configuration, this tendency clearly converges. Low-level implementation errors are also common and require multiple rounds of local fixes. The conclusion is that the two are not significantly different at the solution and coding levels.
4.2 Defect Diagnosis: Deep Attribution Becomes the Dividing Line
The difference is concentrated in this stage. One type of model tends to provide a design-level root cause in one go, usually converging in a little over one round, and offers multiple options for confirmation. The other tends to stay at surface-level code errors, often requiring three to five rounds of guidance. It also tends to modify code directly without confirmation, triggering cascading new problems that require manual interception.
The engineering implication is clear: in black-box mode, a model’s “attribution depth” and “change restraint” matter more than raw code generation. A practical approach is to add mandatory constraints to the scheduling bus:
Rule 1: Output the root-cause hypothesis and validation method before modifying files.Rule 2: Automatically reject and replan when the number of files changed in one operation exceeds the threshold.Rule 3: After a fix, automatically rerun the full test suite and roll back on failure.
4.3 End-to-End Test Closure: The Real Test of Unattended Operation
Whether the model can extract key stack frames from failure logs, locate the specific module, make changes, and pass retesting determines whether the black-box workflow holds. In practice, closure failures are often caused not by coding ability but by incomplete log reading, missing reproduction steps, and absent rollback mechanisms. It is therefore recommended to connect the scheduler to standard capabilities such as log services, monitoring alerts, and container platforms, so the model receives structured failure signals rather than a truncated block of text.
5. A Reusable AI-Coding Standard Operating Procedure
- Structure requirements: Convert natural-language requirements into a task list with acceptance criteria.
- Plan first: Require a file-level change plan before coding begins.
- Commit in small steps: Limit the scope of each change to reduce the probability of cascading failures.
- Tests as gates: Allow the next task only after test scripts pass.
- Quota budget management: Track token consumption by dimension and include endurance in feasibility assessment.
6. Conclusion
Under an extreme stress test of 3 billion tokens and 110,000 lines of code, AI coding tools can independently complete the main chain from design to delivery. However, the real bottleneck is not “writing code” but “figuring out why it is wrong.” For engineering teams, rather than chasing the absolute capability of a single model, it is better to encode attribution depth, change restraint, and automated closure into workflow constraints. These are the decisive factors for whether black-box development can scale.
