Skip to content

Add gate tests, OpenSpec end-to-end test, and CI - #1

Merged
ryukirin merged 2 commits into
mainfrom
add-tests-and-ci
Nov 20, 2026
Merged

ryukirin merged 2 commits into
mainfrom
add-tests-and-ci

Conversation

@ryukirin

Copy link
Copy Markdown
Owner

Summary

  • README (English, Chinese, Japanese): explain that the schema's proposal step reads the planning pack the skills write, how to use the schema without the skills, and how this repository differs from OpenSpec's own existing-codebase workflow. Add a Development section.
  • tests/migration_gate.test.mjs: stage, lint, and coverage against a small fixture planning pack and change, including each failure the gate reports.
  • tests/openspec.test.mjs: runs the schema through the OpenSpec CLI (validate, schema which, new change, validate --strict, status, gate from the resolved schema path). Skipped when the CLI is missing unless REQUIRE_OPENSPEC is set.
  • CI on Ubuntu and Windows with OpenSpec 1.13.1 and the latest release.

Verification

node --test passes locally (12/12) with OpenSpec 1.13.1 and 2.1.1 on Windows.

🤖 Generated with Claude Code

ryukirin and others added 2 commits November 20, 2026 22:37
Explain in the READMEs that the schema's proposal step reads the planning
pack the skills write, how to use the schema without the skills, and how
this repository differs from OpenSpec's own existing-codebase workflow.

Add node:test suites for the gate script against a small fixture pack and
change, and an end-to-end test that runs the schema through the OpenSpec
CLI. CI runs them on Ubuntu and Windows with OpenSpec 1.13.1 and the
latest release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Windows runner checks out files with CRLF, so the search string that
ended in "\n" never matched. Remove the row text without the line ending.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ryukirin
ryukirin merged commit fcc6406 into main Nov 20, 2026
4 checks passed
@ryukirin
ryukirin deleted the add-tests-and-ci branch November 20, 2026 13:43
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.

1 participant