Skip to main content

Goal-driven Agent development model

Native is the requirement workflow designed by Comet for cloud flagship models. Models such as Fable 5 and GPT-5.6 have been able to independently investigate code, formulate solutions, and select testing strategies based on risks. For this type of model, continuing to enforce the application of fixed design, planning and TDD processes will bring limited additional benefits. Native only stipulates two things:
  • Fix the requirements: Use brief.md (which records the goals, scope, non-objectives, and confirmed user decisions) and the complete target Specs to clarify “what to do”.
  • Determine completion with evidence: The Runtime runs necessary checks, and Verify determines whether the result meets the acceptance criteria.
The methods for planning, implementation, testing and review are still independently chosen by the model. In the evaluation experiment with Classic inside Comet Eval (16 tasks, 48 runs, taking 41 pairs of samples that both sides passed), the total token of Native was 76.8% less, the number of Agent rounds was 57.4% less, and the time consumption was 47.4% shorter. The pass rate for all three attempts is 87.5%. The experimental design and original figures can be found in Native vs. 0.4.0 Classic Real Evaluation. An approximately 100-line Native Skill supports complex long-running workflows. Across 16 real tasks with three runs per task, Native reduces total tokens and model duration compared with Classic, while RC1 improves repeat-run stability over Beta16.

How does Native Loop achieve its goals

Shape transforms user goals into briefs, Specs, and verifiable acceptance items; Build is independently implemented by the model. Runtime runs necessary checks, and Verify evaluates the original request and acceptance items. The Native Runtime connects Shape, Build, Verify, and Archive in a recoverable execution loop, supported by portable state, guarded transitions, and evidence gates. Any failed items return to Build together with concrete failure evidence, are fixed, and are re-verified across all acceptance items. Once every acceptance item passes, the Runtime enters Archive according to the project’s archive confirmation policy (automatic by default, or configurable to require manual confirmation). When a new user decision, external blocker, or failure limit is encountered, the Loop pauses automatically and hands control back to you to avoid wasted retries.

The difference from /goal

A Native Loop is also a Goal Loop. Both it and /goal enable agents to continuously advance around verifiable endpoints. The difference lies in that /goal offers universal long-term execution capabilities; Native Loop defines fixed stages, acceptance criteria, and state management specifically for software development. You can also combine the two: let /goal provide long-term continuous execution, and let Native handle the goals, workspaces, statuses, and completion determinations during the R&D process.
How to combine Goal and Comet: in your Agent platform, enter /goal use the comet skill to implement this task, and the Comet Skill runs alongside Goal at the same time.
Benchmark data: Native vs. native Goal stabilityIn the Native 0.5.3 vs. native Goal benchmark, Comet compared Native 0.5.3 against Claude Code’s native /goal mode without Comet on stratified tasks from SkillsBench and WorkBuddy-Bench.The results show that while native Goal is capable of passing tasks in isolated runs (pass@3 reached 100.0% on SkillsBench), the lack of deterministic quality gates leads to behavioral drift or timeouts across repeated executions (pass^3 for 3 consecutive perfect scores was 0.0% on SkillsBench). In contrast, through the acceptance-item constraints of the Shape stage and a Verify-stage rollback mechanism based on real test results, Comet Native achieves a 66.7% overall perfect score rate (vs. 44.4% for Goal) and a 33.3% pass^3 rate, demonstrating significantly higher stability on complex long-horizon tasks.

Let Skill return to its essence

In the traditional development paradigm, developers tend to write large amounts of complicated engineering rules into Skills, forcing the Agent to advance through fixed design, planning, TDD, and review steps. Cloud flagship models, however, already have the code investigation, logical reasoning, and tool planning capabilities to support autonomous implementation. Overly rigid hard-coded processes instead conflict with the model’s more efficient native reasoning. The underlying mechanism of a Skill is this: the Skill itself enters the Agent Harness process as a System Prompt. At runtime, the Agent decides whether to gradually load a certain Skill by checking whether the current task matches the Skill name and desc. Therefore, Comet Native deliberately avoids piling lengthy engineering implementation rules into the entire flow. Take TDD / Code Review as an example: if you want the Agent to develop test-first or to run an automatic Code Review after the code is written, just install general TDD and Code Review Skills. When Comet Native is executed, the Agent will independently select and invoke the engineering Skill that best fits the current task, and you can note your Skill preferences for task execution in equivalent places such as AGENTS.md / CLAUDE.md / Comet memory / rules, which steers the direction of the Skills the Agent chooses for engineering tasks. The Native Skill therefore only manages lifecycle and the state protocol, while concrete technical implementation is provided by dedicated Skills. This approach to ReAct Agent corresponds to the transformation of the industry’s Agent architecture from Workflow exploration to full ReAct over the past two years, and the same changes are taking place in the Skill field. With this architecture, more than 100 lines of Comet Native skills can carry out the work that was previously accomplished collaboratively by multiple skills of Comet Classic.

From goal to delivery in four stages

The four stages focus on four key outcomes: clear goals, controllable implementation, reliable acceptance, and traceable delivery. The model can independently determine the specific execution method, and the Runtime is responsible for automatically connecting the phases and pausing when you need to make a decision. For the internal components of the Runtime, see Inside the Native Runtime.

Shape: Transform vague requirements into executable goals

Shape will first investigate the repository and then dynamically raise questions that need to be confirmed based on the known information. Information is divided into three categories:
  • Verifiable facts: They can be identified from the code and the environment, and investigated by the Agent itself.
  • User decisions: You confirm decisions that affect user-visible behavior, technical choices, or compatibility.
  • Implementation selection: It does not affect the visible results for users and is left for the model to handle.
The entire Shape adopts a high-intensity clarification method similar to Grill Me. The Agent will dynamically maintain a decision tree. Each time a survey yields new facts or you confirm a choice, it updates the affected branches and then decides what exactly needs to be asked next. Whether you choose Batch or Sequential, for each question that requires your decision, recommendations and the actual impact of each option will be provided.
  • Batch (Batch Clarification): Display all current independent issues at once, suitable for those who wish to complete confirmation quickly.
  • Sequential (Linear Clarification): Ask only one key question that has the greatest impact at a time; Update the decision tree immediately after answering and then proceed to the next level.
Comet Native Shape investigates the repository and maintains a dynamic decision tree before confirming the final goal, scope, and key decisions through Batch or Sequential clarification. Only when all key branches have been handled, the brief, Specs and acceptance criteria are consistent, and you confirm the ultimate goal, scope and key decisions, will the Runtime allow it to enter the Build. For details, see Clarification Modes and Decision Ownership.

Build: The model implements autonomously, while Comet manages the environment and state

After entering the Build process, the brief and Specs define “what is ultimately to be achieved”, while the model independently selects the design plan, testing method, and engineering skills based on the task. Comet is responsible for the workspace, state, phase transition, and interrupt recovery, allowing the model to focus on the code itself. You can complete a typical request in one change. For larger work that can be split into independent modules, Native uses Supervisor Change. It defines each subtask, its dependencies, and its acceptance scope, then prepares separate worktrees for subtasks that are ready to start. Subtasks can run in parallel across sessions, and Comet integrates results after they pass their checks and their dependencies are ready. Comet Native Build works autonomously in a standard Change, or uses Supervisor Change to run dependency-ready children in independent worktrees before integrating them. The code submitted by the Builder serves as a candidate implementation, and Verify checks it against the original request and all acceptance items. For details, see Supervisor Change.

Verify: Ensure that every completion is supported by evidence

Verify evaluates the Builder candidate against the original request, brief, complete Specs, actual implementation, and Runtime check results. New tasks allow acceptance in the current session, with independent review selected for task needs and your requirements. Reports record the actual review method. Valid Runtime checks from Build can be reused. Acceptance requires every listed item to pass. Missing, duplicate, or unknown items, fabricated evidence, and failed checks cannot count as passing. Existing tasks retain their original verification contracts. If the acceptance fails, the Runtime will bring the failure reason back to the Build. When repairing, the Builder prioritizes checking the failed items and the affected scope. After the local issues are resolved, a final verification covering all acceptance items must be conducted again. When there are consecutive failures, progress stagnation, or execution errors reaching the upper limit, the Loop will pause and explain the reason to prevent further consumption of rounds. For details, see Native Loop and Verification and Repair.

Archive: Merge Specs cleanly and deliver

Once all acceptance items pass and acceptance of the result is confirmed (accepted automatically by default, or explicitly confirmed by you when set to required), the Runtime runs preflight checks, merges your project’s official Specs, moves the change directory into the archive history, and generates or updates verification.md. If code or requirements change again before archiving, the Agent assesses the impact and runs targeted re-checks or re-verification as needed so stale verdicts never enter the formal archive. After archiving completes, the Agent executes and verifies the actual Git state according to the delivery scope you confirm (keep in the local workspace only, commit locally, merge into the target branch, push, or create a PR). See Archive and Delivery.

State and interruption recovery

When you close a window, compact conversation context, or switch machines, Comet restores the session using three dedicated records:
  1. Local Run directory (isolated per workspace under ~/.comet by default): stores full execution history, action claims, user decisions, and transaction logs; does not need to be committed to Git.
  2. comet-state.yaml in the change directory: records workflow stage and acceptance status, and stores validated recovery checkpoints (run_checkpoint) at key phase boundaries. When you switch machines or lose local records, syncing the repository files alone is enough to restore the original Run from the checkpoint.
  3. .comet/current-change.json: tracks which change is selected in the current workspace to prevent accidentally editing another task’s directory. In daily use, simply tell the Agent in chat to switch tasks or temporarily deselect a change—there is no need to edit this file manually.
If Comet detects a mismatch in the local branch, directory, or transaction state during recovery, it pauses and explains the reason instead of writing blindly into the wrong directory. See Native task recovery.

Relationship with Classic

Native and Classic are two independent workflows targeting different model capabilities and development approaches. For how to choose between Native and Classic, see Native or Classic. When you run /comet, it routes automatically according to .comet/config.yaml, and each workflow manages its own changes, Guards, state, and directories. Continue reading: Native Quick Start, Native Loop, Native artifacts and state and Safety and Recovery.
Last modified on December 4, 2026