Убрать закрепление версии OpenSpec CLI (.cli-version, check-openspec) #67

Closed
opened 2026-10-30 08:56:46 +03:00 by codex-bot · 1 comment
Owner

Контекст и результат

openspec/.cli-version (1.13.1) требует ручной синхронизации с глобально установленным CLI и уже расходится с ним (1.15.0). Решение владельца: не закреплять версию.

Acceptance Criteria

  • Удалены openspec/.cli-version, scripts/check-openspec.cjs и npm script check:openspec.
  • README не ссылается на них.
  • npm run verify проходит.
## Контекст и результат `openspec/.cli-version` (1.13.1) требует ручной синхронизации с глобально установленным CLI и уже расходится с ним (1.15.0). Решение владельца: не закреплять версию. ## Acceptance Criteria - [x] Удалены `openspec/.cli-version`, `scripts/check-openspec.cjs` и npm script `check:openspec`. - [x] README не ссылается на них. - [x] `npm run verify` проходит.
Author
Owner

Done in PR #78 (squash, develop 8b2b742). CI (3 runs) green before merge.

Change

  • Removed openspec/.cli-version, scripts/check-openspec.cjs, npm script check:openspec and its call in validate.
  • CI verify: npm install -g @fission-ai/openspec (latest) instead of the version from the file.
  • README describes no pin and why --strict is gone. Archived records in openspec/changes/archive/** mention 1.13.1 as past evidence and were left untouched (read-only).
  • Owner decision: --strict removed from validate as well. Since CLI 1.15 the warning "Requirement text is very long (>500 characters)" counts as an error in strict mode: 77 warnings in 19 canonical specs; openspec validate --all --strict on 1.16.0 gives 9 passed / 19 failed (on 1.13.1 it was INFO).

Evidence

  • npm run validate on global 1.15.0: 28 passed / 0 failed, lychee 0 errors. npm run verify and git diff --check: OK.
  • openspec validate --all --no-interactive alone on 1.13.1 and on 1.16.0 (latest): 28 passed / 0 failed on both.

Limits

  • Warnings stay in the output but no longer fail the check; returning to --strict first needs the 19 specs' long requirements split (separate Issue, not done here).
  • Node version is no longer verified by a script; CI takes it from .nvmrc via setup-node, locally engines in package.json applies.
  • Behaviour of future CLI versions not verified.
Done in PR #78 (squash, develop `8b2b742`). CI (3 runs) green before merge. ## Change - Removed `openspec/.cli-version`, `scripts/check-openspec.cjs`, npm script `check:openspec` and its call in `validate`. - CI `verify`: `npm install -g @fission-ai/openspec` (latest) instead of the version from the file. - README describes no pin and why `--strict` is gone. Archived records in `openspec/changes/archive/**` mention 1.13.1 as past evidence and were left untouched (read-only). - Owner decision: `--strict` removed from `validate` as well. Since CLI 1.15 the warning "Requirement text is very long (>500 characters)" counts as an error in strict mode: 77 warnings in 19 canonical specs; `openspec validate --all --strict` on 1.16.0 gives 9 passed / 19 failed (on 1.13.1 it was INFO). ## Evidence - `npm run validate` on global 1.15.0: 28 passed / 0 failed, lychee 0 errors. `npm run verify` and `git diff --check`: OK. - `openspec validate --all --no-interactive` alone on 1.13.1 and on 1.16.0 (latest): 28 passed / 0 failed on both. ## Limits - Warnings stay in the output but no longer fail the check; returning to `--strict` first needs the 19 specs' long requirements split (separate Issue, not done here). - Node version is no longer verified by a script; CI takes it from `.nvmrc` via `setup-node`, locally `engines` in `package.json` applies. - Behaviour of future CLI versions not verified.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WealthLedger/specs#67