Version
as the document mention, run openspec init, and then:
$ openspec new change test
✖ Failed to create change 'test'
✖ Error: Unknown schema 'spec-driven'. Available:
⬆️ NO output after the "Available:". And then I ran:
$ openspec schema init spec-driven
Note: Schema commands are experimental and may change.
✔ Schema description: Custom workflow schema for spec-driven
✔ Select artifacts to include: proposal, specs, design, tasks
✔ Set as project default schema? No
✔ Created schema 'spec-driven'
Schema created at: /home/xxx
Artifacts: proposal, specs, design, tasks
Next steps:
1. Edit /home/xxx
2. Modify templates in the schema directory
3. Use with: openspec new --schema spec-driven
Then:
$ openspec new change test
✔ Created change 'test' at openspec/changes/test/ (schema: spec-driven)
Perhaps after openspec init, it's necessary to automatically create the default schema spec-driven, or prompt the user to execute openspec schema init
And The documentation docs/getting-started.md does not mention the need for openspec schema init.
Version
as the document mention, run
openspec init, and then:⬆️ NO output after the "Available:". And then I ran:
Then:
Perhaps after
openspec init, it's necessary to automatically create the default schemaspec-driven, or prompt the user to executeopenspec schema initAnd The documentation
docs/getting-started.mddoes not mention the need foropenspec schema init.