Long-Range AI Coding Tested: Capability Boundaries and Security Acceptance
This article reports hands-on tests of a new-generation AI coding model on long-range software tasks, using one legacy-project migration and one build-from-scratch project. It covers where the model improved over the previous generation, what it delivered well, and a P1-level permission isolation flaw found during manual acceptance. It also outlines the scenarios that still require human review and practical guidance for applying long-range coding in real projects.
1. The Conclusion First
The new generation of AI coding models has raised the ceiling for long-range coding tasks again. The evidence is not a benchmark ranking, but whether the model can do three things in a real engineering project: understand complex context with legacy baggage, keep driving changes across modules, and bring a task to a runnable and testable state.
That said, it is not yet at the point where “all tests green means safe to ship.” In two very different tasks, the model completed the main workflow in both, but one exposed a P1-level permission isolation defect during manual acceptance. A more sensible positioning is therefore: it is worth testing on real projects, and it is especially suited to long-chain development; once permissions, security, and final acceptance are involved, humans cannot step away.
2. Test Design: Why These Two Tasks
A single task can easily hide capability gaps, so this test used a two-sample design pairing one legacy task with one new task.
- Task A (rework): In a project with a large body of legacy code, add the ability to “securely import user image assets and reference them in animation scenarios.” It tests legacy system understanding, data boundary handling, and enforcement of security constraints at the same time.
- Task B (from scratch): Given only a learning resource and a requirements document, build a knowledge-learning game that can actually be completed from zero. It tests the full chain from resource analysis and rule modeling to a closed product loop.
The two tasks correspond to “maintaining existing code” and “incremental creation” respectively; only together do they reflect the real level of long-range capability.
3. Where the Improvement Comes From Compared with the Previous Generation
It is worth stressing that this generation did not change the base model. It still uses the same ultra-large-parameter base as the previous generation, and the upgrade comes mainly from scaled-up expansion in the post-training stage: the scale of long-range task environments grew by tens of times, the environment types became more diverse, and training time increased significantly.
The official summary groups the changes into three directions:
- Coding capability: positioned as a leading open-source model for coding, staying at the front of open-source results across multiple terminal and software engineering evaluations, with more emphasis on long-range and production-grade engineering;
- Security capability: extended from “generating code” to white-box code review and vulnerability reasoning, with basic security tasks approaching frontier closed-source levels, though complete vulnerability exploitation scenarios still show a gap;
- Open strategy: full weights will be released after security evaluation and model hardening are complete, making self-deployment, verification, and further improvement easier.
For comparison, the previous generation could already work continuously in a monorepo with multiple packages, completing a cross-frontend-and-backend animation video generation pipeline rework: the first implementation took about seventy-plus minutes, and browser verification plus fixes took about another hour. The progress of the new generation should be understood against this baseline: the question is not “can it do it,” but “how stable and how deep is the result.”
4. Task A in Practice: Gains and Losses in Reworking a Legacy Project
4.1 What It Did Well
- Accurate context location: it followed the call chain to find the coupling points among contract definitions, data models, task state, the interface layer, background jobs, and frontend rendering, so changes were not “single-point patches.”
- Good constraint adherence: requirements such as “allow only safe formats, limit size, isolate the storage path” were carried into implementation details rather than staying in comments.
- Runnable delivery: after the changes, the project could start and the main path was reproducible, showing that it can push a design to a verifiable state.
4.2 Problems Exposed
During manual acceptance, a P1-level permission isolation defect was found: the access boundary for asset resources between different users was not actually cut off, leaving the possibility of unauthorized reads. This kind of problem does not fail tests, because the functional path itself works.
The root causes usually fall into three categories:
1) Only checking "is logged in," without checking "does the resource belong to the current principal";2) Resource identifiers are predictable, lacking unguessability and access signatures;3) The permission models on the storage side and the business side are inconsistent, creating a bypass entry point.
4.3 A Minimal Fix Pattern
// Pseudocode: resource access must verify both identity and ownershippublic ResourceView load(UUID userId, UUID assetId) {Asset asset = repo.findById(assetId).orElseThrow(NotFound::new);if (!asset.ownerId().equals(userId)) {throw new Forbidden(); // do not leak whether the resource exists}return view.of(asset);}
The key points are “ownership check + no existence disclosure + a unified storage access policy”; none of the three can be missing.
5. Task B in Practice: Completeness of Building from Scratch
In the from-scratch task, the model showed strong resource extraction and rule modeling ability: it broke the learning resource into knowledge points, dependencies, and assessment points, and used them to design a closed loop of level progression, error feedback, and completion judgment. Playability was not the focus; the focus was “self-consistent rules, traceable state, reproducible completion.”
A reusable structured prompt is as follows:
Role: senior engineering implementerInputs: learning resource + requirements documentOutput order:1. Knowledge point graph and dependency ordering2. Level state machine and completion conditions3. Data structures and persistence approach4. Minimal runnable version5. Self-test checklist and known risksConstraint: do not invent content that does not exist in the resource
The value of this order is that it turns “creation” into a verifiable engineering process and reduces late rework.
6. Capability Boundaries: Three Scenarios That Must Have Human Oversight
- Permissions and multi-tenant isolation: passing functionality does not mean correct boundaries; reverse validation with “access as another identity” cases is required.
- Security semantics: white-box review can find common defects, but reasoning through complete attack chains still falls short and cannot replace a security review.
- Final acceptance: product, compliance, and experience criteria need human confirmation; the model is only responsible for narrowing the problem space.
7. Implementation Advice: Using Long-Range Coding Properly
- Task slicing: deliver work in layers of “contract—data—interface—jobs—frontend,” with acceptance criteria for each layer.
- Environment standardization: unify dependencies and startup methods to reduce environment noise interfering with long-range tasks.
- Dual-track validation: automated tests ensure “it runs,” while manual reverse cases ensure “it does not cross boundaries.”
- Artifacts and traceability: keep the change list, risk list, and verification records for auditing and retrospection.
- Supporting general cloud capabilities: object storage can hold assets, logging services and monitoring alerts can track long-running tasks, and container platforms can pin down environments; industry-standard categories are sufficient in each case.
8. Closing
This generation of models has pushed the “advanceability” of long-range development to a new level and is suited to cross-module, long-chain implementation work; but permission isolation, security semantics, and final acceptance remain in the human domain. Treating it as a high-intensity executor rather than the final owner is currently the most rational way to use it.
