Hands-On Evaluation of a Long-Horizon Coding Agent: Capability Boundaries and Security Acceptance

    This article reports a hands-on evaluation of a new long-horizon coding agent, focusing on what public benchmark scores fail to capture. It compares two tracks: adding secure image asset import and animation references to a legacy project with strict security constraints, and building a complete, winnable learning application from scratch using only reference material and a requirements document. The findings show that the upgrade comes mainly from post-training scaling rather than a new base model, improving persistence and environment adaptability. The agent handles most implementation work well, but manual acceptance exposed a P1 permission-isolation flaw that functional tests missed. The article closes with practical guidance on what to delegate, what humans must review, and how to make implicit constraints explicit.

    1. Starting Point: Why Benchmark Scores Are Not Enough for Long-Horizon Coding

    When evaluating a new generation of coding agents, a common mistake is treating public benchmark scores as equivalent to delivery capability. Benchmark tasks are usually closed problems with clear boundaries, limited context, and well-defined acceptance criteria. Real engineering is the opposite: requirements are vague, legacy baggage is heavy, constraints are scattered, and acceptance criteria are often redefined during development.

    A more useful evaluation looks at three behaviors during long tasks: whether the model can understand complex context, whether it can keep driving cross-module changes forward, and whether it can bring a task to a runnable, testable state. These three points determine whether an agent can actually enter the development workflow instead of staying at the demo stage.

    This evaluation uses a two-track design. Track one is a legacy project upgrade: in a system with a large amount of historical code and explicit security constraints, add the capability for “secure import of user image assets and reference to those assets in HTML animation scenarios.” Track two is a build from scratch: given only one piece of reference material and one requirements document, the agent must implement a knowledge-learning application that can be fully completed. The first track tests understanding of a legacy system and handling of security constraints; the second tests completeness, from material analysis to product delivery.

    2. The Right Reference Frame for Capability Evolution: Post-Training Scaling on the Same Base

    To evaluate a version upgrade, you first need a reference frame. A previous version in the same series could already work continuously within a multi-package engineering structure, completing a full chain spanning contract definitions, data storage, task state, interface layers, background execution units, frontend UI, and rendering output. A single implementation round took about one hour, and subsequent browser verification and fixes took about another hour. This shows that “working continuously for hours in a real project” is no longer a new capability.

    The new-generation model does not change the underlying base; it keeps the same base parameter scale. The upgrade comes mainly from post-training scaling: the scale of long-horizon task environments expanded by more than an order of magnitude, environment types became more diverse, and training time increased significantly. The official summary groups the changes into three directions.

    • Coding capability: emphasis on long-horizon tasks and production-oriented software engineering, staying ahead in the open-source camp on terminal-operation and software-engineering evaluations;
    • Security capability: extending from code generation to white-box code review and vulnerability reasoning, with basic security tasks approaching frontier closed-source levels, though full exploit-chain scenarios still show a gap;
    • Open strategy: full weights will be released after security assessment and model hardening are complete, making self-deployment, verification, and further improvement easier.

    The point of understanding this is that post-training scaling mainly improves “persistence and environment adaptability,” not “single-point intelligence.” So the evaluation should focus on stability during long tasks.

    3. Hands-On Test 1: Secure Asset Import and Animation References in a Legacy Project

    3.1 Task Breakdown

    The task was split into five layers: input validation for asset upload, isolation and naming on the storage side, metadata persistence, reference resolution for assets in animation scenarios, and a fallback for resource availability during rendering. Security constraints included: only whitelisted image formats allowed, limits on size and total pixel count, metadata stripping, no path traversal, and no mutual access between assets.

    3.2 Observed Behavior

    The agent autonomously located existing conventions in the legacy code and followed the project’s original layering and error-handling style instead of introducing a new one; cross-layer changes kept moving forward, and the final output compiled, ran, and passed one round of self-verification through the existing automated test entry point. This behavior matches the judgment that “long-horizon coding is usable.”

    3.3 P1 Issue Exposed by Manual Acceptance

    The problem was in permission isolation: the asset read interface only validated the legitimacy of the resource identifier but did not validate the caller’s ownership relationship to that resource, allowing unauthorized reads of another user’s assets when the identifier was known. This kind of defect is not caught by functional tests, because all functional paths work normally.

    1. Request: GET /assets/{assetId}
    2. Validation: assetId format is valid ✔
    3. Missing: ownership comparison between subjectId and asset.ownerId ✘
    4. Result: functional test passes, unauthorized access succeeds

    There are three root causes: first, the agent tends to satisfy the explicit goal of “the feature runs,” while permissions are an implicit constraint; second, the legacy code lacked a unified authorization aspect, and the model did not proactively fill the gap; third, test cases were written by the model itself, with coverage biased toward the normal flow.

    3.4 Conclusion

    In legacy project upgrades, the agent can take on most of the implementation work, but permissions, security boundaries, and final acceptance must remain human responsibilities, and they should be a separate review item rather than merged into functional acceptance.

    4. Hands-On Test 2: Building a Winnable Learning Application from Scratch

    4.1 Task Characteristics

    The input was only reference material and a requirements document, with no existing code constraints. The evaluation focused on the ability to structure material, design the mapping between gameplay and knowledge points, build a state machine with progress persistence, and close the loop on the end condition of “being winnable.”

    4.2 Behavior and Reusable Practices

    The agent first produced a knowledge-point graph and level mapping, then implemented the state machine and save system, and finally added retry and hint mechanisms for failures; the result was end-to-end winnable. An effective practice was to formalize the “win condition” first, then derive level dependencies in reverse:

    1. Win condition = set of mastered core knowledge points ⊇ target set
    2. Level dependency = prerequisite knowledge points ⊆ mastered set

    4.3 Comparison with Track One

    The from-scratch project lacked legacy baggage and implicit security constraints, so long-horizon capability was more fully expressed; this conversely shows that the problem in track one was not a capability gap but insufficient explicitness of constraints.

    5. Capability Boundaries and Adoption Recommendations

    • Suitable to delegate: cross-module feature implementation, test completion, documentation and refactoring, repetitive fixes;
    • Must be reviewed by humans: permissions and tenant isolation, keys and data compliance, payments and irreversible operations, final acceptance;
    • Engineering support: write security constraints as executable architecture rules and checks, unify the authorization aspect, include unauthorized-access cases in automated tests, add dependency and static checks to continuous integration, and use logging services plus monitoring and alerting for canary observation;
    • For on-premises deployment, general cloud capabilities such as object storage and container platforms can carry the runtime and isolation requirements.

    The overall judgment is that the new-generation long-horizon coding agent is worth putting into real projects for validation, especially for long-cycle coding tasks; but on permissions, security, and final delivery decisions, humans cannot yet let go. Making implicit constraints explicit is the most effective capability amplifier at the current stage.