Skip to content

Move the Okapi parity suite to okapi-bridge and drop the release gate - #3207

Merged
asgeirf merged 1 commit into
mainfrom
parity-move-to-bridge
Oct 16, 2026
Merged

asgeirf merged 1 commit into
mainfrom
parity-move-to-bridge

Conversation

@asgeirf

@asgeirf asgeirf commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Refs #1073 (D3). Companion to neokapi/okapi-bridge#29, which adds the suite to the bridge repository.

The Okapi parity suite now lives in the okapi-bridge repository as the parity/ module, compiles against a released github.com/neokapi/neokapi, and runs there weekly against the latest kapi release. This PR removes it from here and everything that built, ran or gated on the bridge.

Removed

  • cli/parity/ (the suite), scripts/okapi-test-scan, scripts/testcompare (dropped from go.work), core/formats/*/parity-annotations.yaml (now parity/annotations/<format>.yaml in the bridge), docs/internals/roundtrip-testing.md (moved with the harness).
  • .github/workflows/parity.yml, and the Parity Gate jobs plus their needs: edges in release.yml and release-bowrain.yml. No release waits on a parity run.
  • contract-audit.yml no longer checks out okapi-bridge; BRIDGE_SCHEMAS and -parity-report are opt-in flags with empty defaults, so the audit needs only upstream Okapi and this repository. The dashboard's Bridge column is empty until a report is passed in by hand.
  • Makefile: parity-sandbox, parity-test, parity-publish, parity-clean, regen-okapi-fixtures; scripts/fetch-okapi-bridge.sh, scripts/parity-sandbox.sh, scripts/run-bridge-tests.sh, scripts/start-bridge-pool.sh.
  • bench/pseudobench: the kapi-bridge, kapi-bridge-daemon and okapi engines and the -okapi-bridge/-bridge-jar flags. The bench keeps the native engine and the corpus discovery; make bench-run now depends on build and a new fetch-okapi-testdata target instead of the parity sandbox. The full bench with the bridge engines is in the bridge repository.
  • The parity build tag from .golangci.yml and scripts/fieldguard.

Kept and repointed

  • core/formats/support.yaml: the 18 formats whose gate was parity.yml now name make test (the native spec suite); TestSupportYAML requires a gate file that exists.
  • check-support-gates.mjs: a Supported format with an Okapi counterpart must have core/formats/<id>/spec_test.go. Route mode is unchanged and reads the bridge workflow's artifact.
  • The format-ops parity-publish ritual now downloads the latest parity-report artifact from the bridge's Parity workflow instead of running a suite; the ledger fields are unchanged.
  • The parity eval card reproduces through that ritual (make eval-index regenerated _index.json).
  • A-02, the testing docs, format-engineering.md, format-maturity.md, format-ops.md, the skills and the code comments that named cli/parity/... now describe the bridge-side suite. Dossier divergences: entries link to the bridge's annotation files.

Not changed

  • make generate-reference-docs WITH_BRIDGE=1 / BRIDGE_PLUGIN (opt-in local inspection, never in CI; check-reference-provenance.sh still rejects a committed bridge entry).
  • scripts/fetch-okapi-testdata.sh and regen-srx-parity-golden: upstream Okapi data and tikal, no bridge bytes.
  • The dated research notes under docs/internals/research/format-ops/eval/ still quote the old paths as the state they audited.

Verification

make ci-tidy, make audit-modules, GOWORK=off go build ./... in cli, go vet on every touched package, go test ./core/formats (support/dossier gates), ./scripts/evalindex, ./scripts/fieldguard, bench/pseudobench, check-support-gates.mjs, validate-ledger.mjs, check-abs-paths.sh, check-em-dashes.sh, check-vocabulary.sh, check-reference-provenance.sh; the three edited workflows parse and every needs: names an existing job.

🤖 Generated with Claude Code

The parity suite (cli/parity) now lives in the okapi-bridge repository as
the parity/ module, compiles against a released neokapi, and runs there on
a weekly schedule against the latest kapi release (neokapi/okapi-bridge#29).
Nothing here builds, runs or gates on the bridge any more.

Removed: cli/parity, scripts/okapi-test-scan and scripts/testcompare (and
their go.work entries), core/formats/*/parity-annotations.yaml, parity.yml,
the Parity Gate jobs in release.yml and release-bowrain.yml, the bridge
checkout in contract-audit.yml, the Makefile parity targets, the bridge
fetch/sandbox/pool scripts, pseudobench's bridge and okapi engines, and the
parity build tag from .golangci.yml and fieldguard.

support.yaml gates that named parity.yml now name make test; the
Supported-tier check asks for core/formats/<id>/spec_test.go; the
format-ops parity-publish ritual downloads the bridge workflow's report;
make bench-run and conversion-eval fetch the okapi-testdata corpus directly.
Docs, skills and code comments point at the bridge-side suite.

Refs #1073

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@asgeirf
asgeirf merged commit 0c13af4 into main Oct 16, 2026
42 checks passed
@asgeirf
asgeirf deleted the parity-move-to-bridge branch October 16, 2026 22:12
@github-actions

Copy link
Copy Markdown
Contributor

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