TLDR: we need to add .gitkeep to every empty folder openspec creates
After initialising the openspec, it creates:
openspec/changes
openspec/changes/archive
openspec/specs
And if you try immediately commit the changes and someone fetches the repo, these folders are absent and openspec list command recommends openspec init. Even if you init once again those folders are not recreated.
TLDR: we need to add
.gitkeepto every empty folder openspec createsAfter initialising the openspec, it creates:
openspec/changesopenspec/changes/archiveopenspec/specsAnd if you try immediately commit the changes and someone fetches the repo, these folders are absent and
openspec listcommand recommendsopenspec init. Even if you init once again those folders are not recreated.