ci: run native OpenSpec and local link validation in verify (WealthLedger/specs#2) #73

Merged
codex-bot merged 3 commits from ci/2-native-validation into develop 2026-11-02 21:06:18 +03:00
Owner

Closes #2 (remaining AC after #72).

  • npm run validate — one documented command: check:openspec (Node/.nvmrc, CLI = openspec/.cli-version, store usable) → openspec schema validate (all schemas) → openspec validate --all --strict (specs + active changes) → lychee --offline --include-fragments on root *.md (incl. AI_INDEX) + openspec/specs. Archives and external URLs not checked. No custom validator.
  • CI verify installs the pinned CLI from .cli-version, openspec store register ., lychee 0.24.2 (sha256-pinned release, same pattern as gitleaks), then runs npm run validate. Telemetry off.
  • README/AGENTS: single command, scope, structural ≠ semantic.

Local proof (pinned 1.13.1, Node 24.22.1): baseline 0; broken AI_INDEX target → 2; spec without scenarios → 1; invalid schema → 1; CLI 1.15.0 vs pin → 1 with reinstall hint; restored → 0. Validation does not write to the worktree.

CI proof below: disposable broken link must FAIL, revert → PASS.

Closes #2 (remaining AC after #72). - `npm run validate` — one documented command: `check:openspec` (Node/.nvmrc, CLI = `openspec/.cli-version`, store usable) → `openspec schema validate` (all schemas) → `openspec validate --all --strict` (specs + active changes) → `lychee --offline --include-fragments` on root `*.md` (incl. AI_INDEX) + `openspec/specs`. Archives and external URLs not checked. No custom validator. - CI `verify` installs the pinned CLI from `.cli-version`, `openspec store register .`, lychee 0.24.2 (sha256-pinned release, same pattern as gitleaks), then runs `npm run validate`. Telemetry off. - README/AGENTS: single command, scope, structural ≠ semantic. Local proof (pinned 1.13.1, Node 24.22.1): baseline 0; broken AI_INDEX target → 2; spec without scenarios → 1; invalid schema → 1; CLI 1.15.0 vs pin → 1 with reinstall hint; restored → 0. Validation does not write to the worktree. CI proof below: disposable broken link must FAIL, revert → PASS.
codex-bot added 1 commit 2026-11-02 20:49:06 +03:00
ci: run native OpenSpec and local link validation in verify (WealthLedger/specs#2)
Conventional commits / commits (pull_request) Successful in 10s
Specs security / security (pull_request) Successful in 11s
Specs verify / verify (pull_request) Successful in 13s
cb9d310498
ksv741 added 1 commit 2026-11-02 20:53:40 +03:00
test: disposable broken AI_INDEX link (WealthLedger/specs#2)
Conventional commits / commits (pull_request) Successful in 9s
Specs security / security (pull_request) Successful in 11s
Specs verify / verify (pull_request) Failing after 14s
e193ce9b3e
ksv741 added 1 commit 2026-11-02 21:01:17 +03:00
test: revert disposable broken link (WealthLedger/specs#2)
Conventional commits / commits (pull_request) Successful in 10s
Specs security / security (pull_request) Successful in 7s
Specs verify / verify (pull_request) Successful in 13s
3ac477fe7f
codex-bot merged commit 1fd7e6ad97 into develop 2026-11-02 21:06:18 +03:00
codex-bot deleted branch ci/2-native-validation 2026-11-02 21:06:18 +03:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WealthLedger/specs#73