Skip to main content
Once Verify passes completely and acceptance of the result is confirmed (automatically by default per project configuration, or via manual confirmation if configured), Native executes Archive: it merges the confirmed Spec changes into your project’s official Specs and moves the change directory into the archive history directory. How code and archived artifacts enter Git—left in your working tree, committed, merged, pushed, or opened as a pull request—depends on the delivery scope you specify in chat. Everyday archiving runs automatically via the Agent in the background without manual commands; at wrap-up, verify “Archive completed” and “Git delivery completed” separately.

Accept the current verification result

After Verify passes, review the per-item verdicts, check evidence, and known limitations in verification.md (or the summary reported by the Agent). Your acceptance applies to this specific implementation and verdict:
  • If you spot anything else to fix, tell the Agent in chat to revise the implementation and return to Build;
  • If requirements or acceptance criteria need to change, describe the new requirement to return to Shape and reconfirm;
  • New projects default to native.archive_confirmation: automatic (accepting and archiving automatically once Verify passes and all safety conditions hold); if your project sets it to required, you can still explicitly tell the Agent in chat beforehand to “accept and archive automatically once everything passes.”
You can specify your Git delivery scope when accepting, for example: “Accept this result, archive it, and commit to the current branch without pushing yet.”

Check prerequisites and execute Archive in the background

After you accept the result, the Agent advances the archive pipeline automatically in the background (archive preflight, Spec merge, and directory move):
  • Preflight fails (ready: false): The Runtime lists the exact blockers—such as unaccepted verification, a workspace binding mismatch, or a conflict with the project’s official Spec—without modifying any Specs or directories. Resolve the blockers before retrying.
  • Preflight passes: The Runtime merges the confirmed Spec changes into your project’s official Specs (for example, docs/comet/specs/authentication/spec.md) and moves the change directory—along with brief.md, comet-state.yaml, and verification.md—into the archive directory under docs/comet/archive/ (or your configured custom artifact root).
If another parallel change recently updated the same capability Spec, Archive pauses and flags the conflict. Sync with the latest project Spec and rerun affected checks before archiving. See Parallel changes and conflict control.

Verify the archive result

When Archive finishes, the Run status becomes completed and the workflow status becomes done. Confirm three things:
  • The archive directory is readable and contains brief.md, comet-state.yaml, and verification.md;
  • Your project’s official Specs include the approved additions or updates;
  • If Archive was interrupted partway through, ask the Agent in chat to run diagnostics and recover the original transaction—completed writes are never repeated. See Native task recovery.

Complete and verify Git delivery

Before running Git commands, the Agent checks the current branch, target branch, and files belonging to this change. Staging includes only this change’s implementation code, updated project Specs, and formal archive artifacts. The Agent inspects the staged diff before committing and respects project commit conventions and Git hooks while leaving unrelated workspace edits untouched. If pushing or opening a pull request is interrupted, check the actual remote branch and PR state first to see which steps already succeeded before completing the rest—do not blindly re-commit. Everyday archiving is handled automatically by the Agent in the background. If you want to inspect archive readiness yourself in a terminal beforehand, you can run the read-only preview command below; it does not modify any files.
Last modified on December 1, 2026