ci: check whitespace in committed PR/push range (WealthLedger/specs#2) #72

Merged
codex-bot merged 3 commits from ci/2-verify-commit-range into develop 2026-11-02 20:36:59 +03:00
Owner

Refs #2 (audit supplement VERIFY-001 / CA-H08). Partial: OpenSpec validation in CI and AI_INDEX link checks stay open in #2.

  • verify ran git diff --check on a clean checkout → always no-op. Now checks the actual committed range: PR merge-base→head, push before→after, zero/absent before → last pushed commit (full tree would flag read-only archives with existing blank-line-at-EOF).
  • fetch-depth: 0; Node setup / npm ci removed from this job (git-only). Commits/security jobs unchanged; verify context name kept.
  • README describes scope: whitespace-only structural check, not semantic spec validation.

Local proof (disposable repo): clean range with pre-existing whitespace outside it → 0; committed trailing whitespace → 2; zero-SHA fallback → 2.

Pending CI proof: disposable commit with trailing whitespace on this PR must FAIL, then revert → PASS.

Refs #2 (audit supplement VERIFY-001 / CA-H08). Partial: OpenSpec validation in CI and AI_INDEX link checks stay open in #2. - `verify` ran `git diff --check` on a clean checkout → always no-op. Now checks the actual committed range: PR merge-base→head, push before→after, zero/absent before → last pushed commit (full tree would flag read-only archives with existing blank-line-at-EOF). - `fetch-depth: 0`; Node setup / `npm ci` removed from this job (git-only). Commits/security jobs unchanged; `verify` context name kept. - README describes scope: whitespace-only structural check, not semantic spec validation. Local proof (disposable repo): clean range with pre-existing whitespace outside it → 0; committed trailing whitespace → 2; zero-SHA fallback → 2. Pending CI proof: disposable commit with trailing whitespace on this PR must FAIL, then revert → PASS.
codex-bot added 1 commit 2026-11-02 20:28:31 +03:00
ci: check whitespace in committed PR/push range (WealthLedger/specs#2)
Specs security / security (pull_request) Canceled after 0s
Specs verify / verify (pull_request) Canceled after 0s
Conventional commits / commits (pull_request) Canceled after 9s
45e871c0f2
ksv741 added 1 commit 2026-11-02 20:28:41 +03:00
test: disposable whitespace probe (WealthLedger/specs#2)
Conventional commits / commits (pull_request) Successful in 9s
Specs security / security (pull_request) Successful in 7s
Specs verify / verify (pull_request) Failing after 3s
ee1b188a7b
ksv741 added 1 commit 2026-11-02 20:31:50 +03:00
test: remove whitespace probe (WealthLedger/specs#2)
Conventional commits / commits (pull_request) Successful in 11s
Specs security / security (pull_request) Successful in 7s
Specs verify / verify (pull_request) Successful in 3s
52c6e3ddef
codex-bot merged commit 7f73de76ac into develop 2026-11-02 20:36:59 +03:00
codex-bot deleted branch ci/2-verify-commit-range 2026-11-02 20:36:59 +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#72