Before you begin
- Node.js 22.16 or later in the 22.x line, or Node.js 24 or later
- Git
- Any supported AI coding platform
Start a Native change in three steps
1
Install and initialize Comet
Run once in your project root terminal:Initialization installs the Native Skill and Rule files automatically; on platforms that support Hooks, it also registers the unified Router. Project settings live in
.comet/config.yaml, and generated Native docs default to docs/comet/.2
Describe your requirement in Agent chat
Open your Agent client and type in chat:
/comet is a chat Skill entry point (not a terminal command) that reads your project configuration and enters the Native workflow automatically. Subsequent task creation, stage progression, and status validation are handled by the Agent in the background—you do not need to run comet native ... commands manually.When creating a change, you can stay in the current workspace or let Comet create a dedicated branch or Git worktree; when running multiple requirements in parallel, Comet isolates code automatically in separate worktrees.3
Confirm key decisions and acceptance criteria to start execution
Native scans your existing codebase first and asks only about decisions that affect visible behavior, defaults, or compatibility. For example:Reply in natural language (such as “Keep the default 2MB limit and allow JPG and PNG”) and confirm the final requirements summary. Once confirmed, Comet writes the decisions into
brief.md and target Specs, then advances automatically through Build (implementation) and Verify (item-by-item acceptance) with no manual phase switching.What Comet handles for you
- Workspace preparation and binding: Automatically creates or reuses branches and worktrees and returns to the right directory on resume; blocks writes immediately if the branch or directory does not match so edits never land in the wrong place.
- Continuous workflow progression: The Agent inspects code, writes implementations, and runs tests, while the Runtime tracks state, prevents stale writes, and returns the next step—pausing only when you need to make a decision or a blocker occurs.
- Completion verified with real evidence: The Agent runs builds and tests via platform tools, and Verify checks your original request and every acceptance item one by one; failed items return to Build with concrete evidence while reusing checks that still apply.
- Cross-session and cross-device recovery: Requirements, target Specs, and recovery checkpoints live in repository files. After closing a window, compacting context, or switching machines, you can resume without re-explaining the background.
- On-demand context injection: When Personal Memory and Project Knowledge are enabled, Comet automatically retrieves personal preferences and repository knowledge relevant to the active task.
Resume after interruption
Reopen your project session and type in Agent chat:comet status:
What you get upon completion
Once complete, beyond the implemented code, your repository retains thebrief.md summary, updated project Specs, state file, and verification.md verification report. Future collaborators or new Agent sessions can build directly on those files without relying on old chat transcripts.
Continue reading: Native workflow, Supervisor Change, Archive and delivery, Native artifacts and state, and Native task recovery.
