Commit graph

6 commits

Author SHA1 Message Date
Ragnor Comerford
e0d48ad825
Document openapi.json auto-sync in CI
Describe the CI workflow that regenerates openapi.json on PRs and the
fork fallback. The workflow itself is added in a follow-up commit via
the GitHub API (local tooling lacks workflow-scope).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 16:28:01 +02:00
Ragnor Comerford
9eb3c9fde4
Revert "Add opt-in git hook for openapi.json drift"
This reverts commit 7427d87e9a.
2026-04-17 16:26:57 +02:00
Ragnor Comerford
7427d87e9a
Add opt-in git hook for openapi.json drift
Track a project pre-commit hook under scripts/hooks/ that regenerates
openapi.json when server source is staged, and auto-stages the updated
spec into the commit. Zero external dependencies — plain bash + cargo.

Enable via `git config core.hooksPath scripts/hooks`. The CI drift
test remains the authoritative check.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 16:19:08 +02:00
Ragnor Comerford
2fedcf7e2f
Revert "Add pre-commit hook for openapi.json drift"
This reverts commit 7c6d89d194.
2026-04-17 16:06:54 +02:00
Ragnor Comerford
7c6d89d194
Add pre-commit hook for openapi.json drift
Wire a local pre-commit hook that regenerates openapi.json whenever
the server source changes, and document the workflow in CONTRIBUTING.
Opt-in via `pre-commit install`; the existing CI test remains the
authoritative drift check.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 15:53:13 +02:00
andrew
338289656a Initial public Omnigraph repository 2026-04-10 20:49:41 +03:00