Skip to content

ci: strict verify gate + verify SSOT script - #121

Merged
catomean merged 3 commits into
mainfrom
devops/verify-gate-reconciled
Jul 28, 2026
Merged

ci: strict verify gate + verify SSOT script#121
catomean merged 3 commits into
mainfrom
devops/verify-gate-reconciled

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Reconciles #109 onto post-#120 main (self-hosted, no Vercel). #109 conflicted on the workflow #120 renamed (deploy.ymlci.yml) and its draft AGENTS.md carried stale Vercel/Next.js-14 facts that would have re-introduced Vercel.

Changes

  • verify script (format:check && lint && test && build) — one definition of "green", run identically locally and in CI (the global verify-SSOT standard).
  • ci.yml: npm ci then a single npm run verify step (no --if-present — a missing/renamed gate fails loudly), replacing the old split steps.
  • AGENTS.md: corrected to the real stack (Next.js 16 / React 19) and self-hosted Hetzner deploy referencing ci.yml.

Closes #109.

🤖 Generated with Claude Code

Reconciles PR #109's intent onto post-#120 main (self-hosted, no Vercel):
- add "verify" script (format:check && lint && test && build) — one
  definition of "green", run identically locally and in CI
- ci.yml runs `npm ci` then a single `npm run verify` step (no --if-present:
  a missing/renamed gate script fails loudly) instead of the old split steps
- add AGENTS.md, corrected to the real stack (Next.js 16 / React 19) and
  self-hosted Hetzner deploy referencing ci.yml — NOT the stale Vercel/Next14
  draft from #109 that would have re-added Vercel

Supersedes #109 (which conflicted on the workflow #120 renamed).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
catomean and others added 2 commits July 28, 2026 10:04
The strict verify gate surfaced pre-existing format debt that main's long-red
CI (blocked-Vercel deploy step) had masked. prettier --write is mechanical and
content-preserving — the executive-docs keep their text (incl. the separate
Vercel-in-financials follow-up), only whitespace is normalised. Also excludes
the auto-generated next-env.d.ts from prettier. Build/lint/test already pass;
this clears format:check so verify is truly green (and un-reds main on merge).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Prior format commit used a prettier invocation that didn't resolve .prettierrc
(fell back to printWidth 80); the pinned config (printWidth 100) rejected it.
Re-run with the repo's own prettier so format:check matches CI exactly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@catomean
catomean merged commit b18e56e into main Jul 28, 2026
2 checks passed
@catomean
catomean deleted the devops/verify-gate-reconciled branch July 28, 2026 08:10
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