Description
When running openspec init --tools none (e.g. when managing skills/commands externally via a global agent config), the command creates the openspec/ directory structure (changes/, specs/) but does not create an openspec/config.yaml file.
Steps to Reproduce
- Run
openspec init --tools none in a project
- Check the
openspec/ directory
Actual Behavior
openspec/
├── changes/
└── specs/
No config.yaml is created.
Expected Behavior
openspec/
├── changes/
├── specs/
└── config.yaml
config.yaml should always be created during init, regardless of the --tools setting. This file is where users define project-level configuration such as:
- Default schema (
schema: spec-driven)
- Project context (tech stack, conventions, domain knowledge)
- Per-artifact rules
The --tools flag controls which AI tool integrations get set up (skills, slash commands, etc.), but config.yaml is an OpenSpec-level project config file, not a tool integration file. Its creation should not be gated by the tools selection.
Use Case
This is particularly relevant for users who manage their AI tool configuration externally (e.g., a shared/global config repo for OpenCode skills) and use --tools none because they don't need per-project tool integration files. They still need config.yaml to define their project context and schema.
Environment
- OpenSpec version: 1.1.1
- OS: macOS (darwin)
Description
When running
openspec init --tools none(e.g. when managing skills/commands externally via a global agent config), the command creates theopenspec/directory structure (changes/,specs/) but does not create anopenspec/config.yamlfile.Steps to Reproduce
openspec init --tools nonein a projectopenspec/directoryActual Behavior
No
config.yamlis created.Expected Behavior
config.yamlshould always be created duringinit, regardless of the--toolssetting. This file is where users define project-level configuration such as:schema: spec-driven)The
--toolsflag controls which AI tool integrations get set up (skills, slash commands, etc.), butconfig.yamlis an OpenSpec-level project config file, not a tool integration file. Its creation should not be gated by the tools selection.Use Case
This is particularly relevant for users who manage their AI tool configuration externally (e.g., a shared/global config repo for OpenCode skills) and use
--tools nonebecause they don't need per-project tool integration files. They still needconfig.yamlto define their project context and schema.Environment