Thanks for your interest. NessGate aims to be a small, neutral, open specification for a compatibility resolver — see the Charter for the commitments that govern it and the specification for the technical contract.
NessGate separates two things, versioned independently under Semantic Versioning:
- NessGate Resolver Specification — the open specification (which standards are read, resolution, the normalized response shape). Evolves slowly and deliberately.
- Reference implementation — the software in this repository. May change often without changing the specification.
Compatibility promise: a declaration valid under one major specification
version keeps working across every later release in that version. A breaking
change would only ever arrive as a new major specification version (e.g. /v2/),
with the previous version supported through a long transition.
- Open an issue to discuss a change before large work.
- Submit changes as pull requests against
main.mainis protected; changes require review and passing tests (npm test) before merging. - Specification changes (anything touching the resolution contract or response shape) must be additive within the current major version, and are called out explicitly in the PR and the changelog.
- Keep the honesty and neutrality invariants intact: NessGate never ranks, never charges to participate, never favors a provider, never stores resource content, and never claims adoption it does not have.
Each standard NessGate reads is a small, independent adapter on one of four discovery
channels: well-known (a fixed path), link-rel (a <link rel> on the homepage), robots
(a robots.txt directive), or dns (a DoH TXT lookup). Adding support is usually a small PR:
- Confirm a concrete, domain-native discovery surface first. NessGate only reads a location a
domain itself publishes at a verifiable path. If the discovery mechanism is federated,
undocumented, or paywalled (so a path would be guessed), it does not get an adapter — a
guessed path is fake conformance. This is a firm honesty rule (see the GB/Z note in
README.md). - Add an entry to the
ADAPTERSarray insrc/worker.js(id,channel, and the channel's locator — e.g.pathsforwell-known). - If the document has a shape not already covered, extend
probeShapeOk(reject a generic{}from being a false-positive discovery) and add acasetonormalizeResourcesthat maps the document into{ source, type, url, sourceUrl }records — reuse the source's own type labels; invent no taxonomy. - Mirror the exact same pure logic into
public/resolver.mjs, then copy it topackages/resolver/index.mjs(the npm package is a single self-contained file). A parity test keeps all three byte-identical — run it. - Add a conformance test (a sample document → expected records) and update the docs that list the
supported set:
README.md, the spec/api pages underpublic/,public/openapi.json(checked[]),public/llms.txt, andpublic/ai-info.json. - Add compatibility corpus entries in
compat/: an adapter manifest (compat/adapters/<id>.json), a matrix entry (compat/matrix.json), and at least onepositiveand onerejectfixture undercompat/fixtures/. Seecompat/README.md. npm run checkmust pass (regression + v2 + compatibility corpus + matrix consistency + smoke).
New standards are outputs of the architecture, never competitors — a new adapter, not a new format NessGate defines.
Never fix a compatibility problem only in code. Every real compatibility fix MUST add a permanent regression fixture in
compat/fixtures/. A code fix without a fixture fails review.
This is what makes the corpus a durable foundation rather than a pile of one-off patches. If an unseen
domain (see benchmarks/holdout-unseen.json) teaches a fix, turn it into a fixture and replace it
in the holdout with a fresh unseen domain — never tune against the holdout.
You do not need to contribute here to use the specification. Anyone may build a compatible resolver from the spec, under the trademark policy. Independent implementations are a primary goal, not a threat.
By submitting a contribution you agree it is licensed under Apache-2.0 (the license of this repository). The WordPress plugin is maintained separately under the GPL, as required by WordPress.org.