.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 generateswalkthrough.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 andclassic: 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.The difference between artifact language and Skill language
The “Skill language” incomet 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.
Configuration priority
The following priorities only describe the Classiclanguage, context_compression, review_mode and auto_transition:
Detailed Explanation of auto_transition
Whether the next Skill is automatically called after the control phase ofauto_transition advances.
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
Temporary coverage (environment variable)
Next step
- State Management —
.comet.yamlfields and state machine constraints - Context Compression Mechanism — Detailed explanation of off/beta modes for context_compression
- Code Review Mechanism — Detailed explanation of off/standard/thorough for review_mode
- Auto-Transition Mechanism — Detailed explanation of auto_transition behavior
- Project File Structure — Where configurations and artifacts live

