Skip to main content
.comet/config.yaml is a project-level configuration, with a global copy. This page only covers the Classic related parts: the shared entry field and the default values of classic.*. The meaning of the native.* field can be found in Native Configuration The following text uses <classic-root> to represent the current Classic OpenSpec root directory: The default for new projects is docs/openspec/, and for projects that retain the old layout, it is openspec/. The actual location is determined by classic.artifact_layout. See Project File structure for details.

Change walkthroughs

Classic generates walkthrough.html at Build completion by default. Verify updates actual results on the same page, and Archive retains existing pages. Set change_walkthrough: false at the project configuration’s top level to disable extra explanation and rendering. See shared configuration.

Complete example

When two sets of workflows are enabled simultaneously and Chinese is selected, project-level installation will generate a similar configuration (from the Classic perspective, only shared fields and classic: blocks are concerned):

Shared entry field

Modifying default_workflow only changes the entry of /comet without migrating any changes.

Hook write release

hook.allow_paths is a shared write release policy: when it is empty by default, writes within the project (outside the artifact area) are determined according to the Classic’s own phase and guard rules. After configuration, writes to the matching directory and its subdirectories will be directly allowed. A typical application is to enable the implementation code directory (such as src/) to be modified at any stage, avoiding triggering interception during non-coding phases.
.comet (Runtime state) and the OpenSpec and Superpowers artifact roots of Classic are always protected and cannot be released through this configuration. Path out-of-bounds or format errors will report an error during the comet doctor check.

Classic fields

artifact_layout is the project-level directory selection. The remaining four items will be snapshots to .comet.yaml of the new Classic change when it is created:
Classic project defaults snapshot when creating the new change to .com et. The yaml; Subsequent modifications will not retrospectively change the existing changes.
Changing classic.artifact_layout only changes the directory Comet reads; it does not move existing artifacts. When you switch layouts for an existing project, first run comet classic root move docs —dry-run to check the current state, conflicts, and blocking items, then run comet classic root move docs —apply to migrate.

The difference between artifact language and Skill language

The “Skill language” in comet init will determine whether to install the Chinese or English version of Comet Skill. The artifact language of Classic is recorded in classic.language: When creating a new Classic change later, Comet will snapshot the project-level classic.language to <classic-root>/changes/<name>/.comet.yaml. OpenSpec proposal, design, tasks, Superpowers Design/Plan, verification report and archive description are all based on this snapshot as the output language.
Project-level and change-level language values only accept en or zh-CN. zh is only used for comet init - language zh CLI options, not .com et/config yaml legal values.

Configuration priority

The following priorities only describe the Classic language, context_compression, review_mode and auto_transition:

Detailed Explanation of auto_transition

Whether the next Skill is automatically called after the control phase of auto_transition advances.
Phase advancement always executes: Running the guard command with —apply always updates the phase state, regardless of whether auto_transition is enabled or disabled. auto_transition only controls whether the subsequent Skill is invoked automatically. At required human decision points (such as confirming proposals or selecting execution modes), the workflow always pauses and waits for your input.
Environment variable override (only effective when the change level is empty):

Environment variables

COMET_LANGUAGE, COMET_AUTO_TRANSITION, COMET_FORCE_PHASE, COMET_OPENSPEC are environment variables available to users. COMET_CONTEXT_COMPRESSION and COMET_REVIEW_MODE exists in the parsing layer but is not officially recorded in the user documentation. It is mainly used internally and for testing.

How to configure

Configure the default values of the project

Editor: .comet/config.yaml
When submitted to the repository, new changes for team members will use these default values.

Temporary coverage (environment variable)

Affect the current session and do not modify the file.

Next step

Last modified on November 19, 2026