OpenSpec v0.22.0: Project Configuration
OpenSpec v0.22.0 adds per-project configuration and custom schema support. Define workflows in openspec/config.yaml and manage schemas with new CLI commands.
TL;DR
- Project-level configuration via
openspec/config.yamlfor custom rules and schema control - Define project-local schemas in
openspec/schemas/for workflow-specific artifacts - New
openspec schemacommands to list, show, export, and validate schemas - Fixed null
rulesfield handling in config loading
New
- Project configuration — Configure OpenSpec per-project with
openspec/config.yamlto inject custom rules, specify context files, and control schema resolution - Project-local schemas — Define custom artifact schemas in
openspec/schemas/for project-specific workflows - Schema management — Inspect and manage artifact schemas with new
openspec schemacommands (list,show,export,validate)
Fixed
- Config loading now handles null
rulesfield without errors
Status: Experimental. Full docs: experimental-workflow.md
Update with: npm install openspec@0.22.0 or check the release page for your package manager.
Source: OpenSpec