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.

OpenSpec v0.22.0: Project Configuration

TL;DR

  • Project-level configuration via openspec/config.yaml for custom rules and schema control
  • Define project-local schemas in openspec/schemas/ for workflow-specific artifacts
  • New openspec schema commands to list, show, export, and validate schemas
  • Fixed null rules field handling in config loading

New

  • Project configuration — Configure OpenSpec per-project with openspec/config.yaml to 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 schema commands (list, show, export, validate)

Fixed

  • Config loading now handles null rules field 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