Repository navigation
Make the downstream importer registry executable - #366
Merged
Merged
Conversation
The estate carries 42 repositories that apply GNN across a dozen pin shapes (`commit`/`revision`, `tag`/`release`, four file locations), and nothing could check them as a whole: each repository hand-rolled its own conformance job, and the prose registry had no machine-readable mirror. - `src/gnn/importers.py` is the single reader for those pins. `python -m gnn.importers check --repo .` normalizes the pin, reads the specifications the pin declares or discovers them, and validates each at the compliance level (the normative section contract, not just a parse) with the installed parser. Findings carry stable codes and `--json` emits the whole report. - `docs/downstream/importers.json` mirrors the registry tables: 42 rows with pin path, revision, specification count and conformance job. `scripts/check_importer_registry.py` keeps the prose and JSON forms one artifact offline and deterministically (schema, docs parity both ways, pin parity against the declared upstream, spec-count contract per row kind), and its `--online` mode re-reads origin report-only for release preparation. - `run.sh gates` and the CI `quality` job run the offline check; the downstream agent guide states the split (internal consistency gated, currency report-only). - The first estate-wide pass found five repositories whose specifications parse but omit a required section or name an undeclared matrix. Those are recorded here and fixed in their own repositories.
This was referenced Nov 12, 2026
docxology
added a commit
that referenced
this pull request
Nov 12, 2026
…382) Every member that attempted the cutover discovered the same blocker: the estate pin is v5.0.3 at 8f293d9, and gnn.importers was added later in e6a9d39 ("Make the downstream importer registry executable", #366). A virtual environment built from the pinned revision has no gnn.importers module, so the contract's single call cannot run there. - Add "Prerequisite: the reader ships in a revision, not in a version name": adoption is staged by the pin; until a member's pin contains src/gnn/importers.py it keeps its own reader with the pin/pointer drift check; cutover lands in the change that advances the pin. - Record the eight blocker PRs as the cutover queue; none merges before the pin moves. - Fix the upstream row: this repository verifies the reader with ./run.sh contracts, never with an importer check. check_importer_registry.py: 42 repositories, group gnn-fep 22 members, 20 call the reader directly, verdict ok.
docxology
added a commit
that referenced
this pull request
Nov 12, 2026
* Prepare GNN 5.1.0 as the importer-registry release
`gnn.importers` landed in `e6a9d3917` ("Make the downstream importer
registry executable", #366) and no tag contains it: the estate pins `v5.0.3`
at `8f293d9b`, which predates the module, so an environment built from the
pin has no reader and `python -m gnn.importers` cannot run there. Nineteen
downstream cutovers wait on a release, not on member work.
Bump the version to 5.1.0 — a new module is added public surface, so this is
a minor bump — across every surface the version-consistency contract covers:
pyproject.toml (canonical), uv.lock, gnn.__version__, CITATION.cff, the
README and .github badge and software statements, the SECURITY
supported-versions table, the version map, the two interoperability guides
and the install instructions that select a published tag.
Add the 5.1.0 changelog section and move the downstream-importer-conformance
entries out of Unreleased, since this release is what publishes them. The
release date the manuscript reads comes from its heading.
No reader contract, registry schema or member pin changes here: the registry
keeps recording `v5.0.3` at `8f293d9b` until each member's own cutover
advances its pin. The manuscript re-render that renews the custody chain for
the new version follows as its own commit.
* Re-render the manuscript for 5.1.0
SC-22 ritual at the final content state, in the template checkout documented
by manuscript/05_reproducibility.md: the producer wrote manuscript/config.yaml
(version 5.1.0, date 2026-11-12) and the token map from source `b88df7134`,
scripts.manuscript_build_figures rebuilt the seven figures, the template's
stage_03_render at revision `f1fc24de` produced the PDF, HTML and slides, and
scripts/z_record_manuscript_render_manifest.py recorded the custody manifest
with the template revision exported.
Rendered with TEMPLATE_DETERMINISTIC=1 so xelatex stamps the HEAD commit epoch
as /CreationDate and the PDF canonicalizer rewrites the trailer id and
font-subset prefixes: the PDF is byte-stable rather than wall-clock stamped.
Recorded PDF: 1,448,935 bytes, sha256
d40b1de12593a718430cd63628fb0b7ede5af53f93a11a099dfe47b454351185.
The counts and the custody manifest describe `b88df7134`; the artifacts land
in this commit, as the ritual's ordering requires. No further owner-file edit
follows.
* Make the 5.1.0 release record exact
`PIN_CANDIDATES` in `src/gnn/importers.py` lists seven locations
(`.github/gnn-pin.json`, `specs/gnn-pin.json`, `gnn/upstream.json`,
`models/gnn-pin.json`, `models/gnn.pin.json`, `NHIM/gnn-pin.json`,
`.github/gnn-pair.json`) and `docs/workflows/gnn-fep.md` already says seven.
The pre-release changelog text said four, which was stale; the release notes
must not ship a wrong count.
The security row claimed "local gate arms passed"; the canonical local gate
(`./run.sh gates`) passed, while `just release-preflight` refuses at its
flag-parity step for drift that predates this branch. State the narrower,
true claim.
No derived token moves: the token map counts files, not changelog lines, and
`GNN_RELEASE_DATE` still reads the 5.1.0 heading. The re-render commit still
describes `b88df7134` and remains valid.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The estate carries 42 repositories that apply GNN across a dozen pin shapes (
commit/revision,tag/release, four file locations). Nothing could check them as a whole: each repository hand-rolled its own conformance job, and the prose registry had no machine-readable mirror.What lands
src/gnn/importers.py— the single reader for those pins.python -m gnn.importers check --repo .normalizes the pin, reads the specifications the pin declares (or discovers them), and validates each at the compliance level — the normative section contract, not just a parse — with the installed parser. Findings carry stable codes (pin-missing,pin-commit-mismatch,pin-tag-mismatch,spec-missing,spec-invalid,pin-schema-legacy) and--jsonemits the whole report.docs/downstream/importers.json— 42 rows (23 with a specification, 14 pinned-baseline, 5 contract-only), each with pin path, revision, specification count and conformance job.scripts/check_importer_registry.py— keeps the prose and JSON forms one artifact: schema, docs↔JSON parity in both directions, pin parity against the declared upstream release, and the spec-count contract per row kind. Offline and deterministic;--onlinere-reads every public repository's pin and job at origin and stays report-only.run.sh gates+ CIqualityrun the offline check. The downstream agent guide now states the split precisely: internal consistency is gated, per-repository currency is report-only.docs/development/interop.md,INDEX.md,CHANGELOG.mddocument the consumer command and the registry.First estate-wide pass
14 repositories pass. Five parse but do not satisfy the normative section contract:
Active_FedferenceTime; no dedicated pin file (commit recorded in a backend lock, no tag)active_fractal_rabbitInitialParameterizationactive_inference_powerInitialParameterizationmissing; connection targets:prior_initializationundeclaredon_policy_distillationInitialParameterization;J:cross_stream_couplingundeclaredpolicy_entanglementJ/J12in connection targetsThose are recorded in the registry and fixed in their own repositories; this gate checks internal consistency only.
Verification
ruff format --check/ruff checkmypy src/gnn .github/release_gate.pypytest tests/gnn/test_importers.pycheck_importer_registry.py(offline)check_importer_registry.py --onlinedocs_audit --strict --check-anchors,check_doc_contracts,check_capability_contracts,check_gnn_doc_patternsThe red checks on this PR are the org-wide Actions billing lock, not code.