Skip to content

ci: validate OpenSpec changes and specs in CI - #20

Draft
bengreenier wants to merge 1 commit into
mainfrom
cursor/openspec-ci-86f9
Draft

ci: validate OpenSpec changes and specs in CI#20
bengreenier wants to merge 1 commit into
mainfrom
cursor/openspec-ci-86f9

Conversation

@bengreenier

Copy link
Copy Markdown
Owner

Summary

Light OpenSpec CI integration: validate change/spec structure on every PR without trying to enforce “code matches spec.”

Changes

  • Add @fission-ai/openspec as a root devDependency (pinned via override)
  • Script: pnpm openspec:validateopenspec validate --all --strict
  • CI build job runs validate after lint
  • Allow OpenSpec postinstall via onlyBuiltDependencies
  • Document the command in the root README

Notes

  • Empty openspec/specs / no active changes: validate exits 0 (safe always-on)
  • This catches broken proposals/deltas; it does not verify implementation against scenarios
Open in Web Open in Cursor 

Add @fission-ai/openspec as a workspace dependency, expose
pnpm openspec:validate, and run strict validation in the build job.

Co-authored-by: Ben Greenier <ben@bengreenier.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants